Annotation of parser3/configure, revision 1.203

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.186     moko        3: # Generated by GNU Autoconf 2.69 for parser 3.4.6b.
1.150     moko        4: #
                      5: #
1.166     moko        6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.150     moko        7: #
1.1       paf         8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
1.150     moko       11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
1.62      paf        14: 
1.150     moko       15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf        18:   emulate sh
                     19:   NULLCMD=:
1.150     moko       20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
1.150     moko       23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     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'
1.62      paf        70: fi
                     71: 
1.150     moko       72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     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.62      paf        79: fi
                     80: 
                     81: 
1.150     moko       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.
                     90: as_myself=
                     91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
                    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
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    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 || :
                    121: done
1.62      paf       122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
1.150     moko      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.166     moko      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.150     moko      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.166     moko      193: test x\$exitcode = x0 || exit 1
                    194: test -x / || exit 1"
1.150     moko      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.62      paf       219: do
1.150     moko      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.166     moko      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.150     moko      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."
1.62      paf       274:   else
1.150     moko      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.62      paf       279:   fi
1.150     moko      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.166     moko      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.150     moko      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.62      paf       426: 
1.150     moko      427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
1.150     moko      434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
1.150     moko      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.62      paf       445: 
1.150     moko      446: as_me=`$as_basename -- "$0" ||
1.62      paf       447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
1.150     moko      449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    450: $as_echo X/"$0" |
                    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'`
1.62      paf       464: 
                    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
                    471: 
                    472: 
1.150     moko      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 |
1.62      paf       482:     sed '
1.150     moko      483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
1.62      paf       487:       N
1.150     moko      488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       490:       t loop
1.150     moko      491:       s/-\n.*//
1.62      paf       492:     ' >$as_me.lineno &&
1.150     moko      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.62      paf       495: 
1.166     moko      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.62      paf       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
1.150     moko      502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
1.62      paf       504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
1.150     moko      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';;
1.62      paf       519: esac
                    520: 
1.150     moko      521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
1.62      paf       524: else
1.150     moko      525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
1.62      paf       527: fi
1.150     moko      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.166     moko      534:     # In both cases, we have to default to `cp -pR'.
1.150     moko      535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko      536:       as_ln_s='cp -pR'
1.150     moko      537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.166     moko      540:     as_ln_s='cp -pR'
1.62      paf       541:   fi
                    542: else
1.166     moko      543:   as_ln_s='cp -pR'
1.62      paf       544: fi
1.150     moko      545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
1.62      paf       547: 
                    548: if mkdir -p . 2>/dev/null; then
1.150     moko      549:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       550: else
1.86      paf       551:   test -d ./-p && rmdir ./-p
1.62      paf       552:   as_mkdir_p=false
                    553: fi
                    554: 
1.166     moko      555: as_test_x='test -x'
                    556: as_executable_p=as_fn_executable_p
1.62      paf       557: 
                    558: # Sed expression to map a string onto a valid CPP name.
1.86      paf       559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       560: 
                    561: # Sed expression to map a string onto a valid variable name.
1.86      paf       562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       563: 
1.128     moko      564: lt_ltdl_dir='src/lib/ltdl'
                    565: 
                    566: SHELL=${CONFIG_SHELL-/bin/sh}
                    567: 
                    568: lt_dlopen_dir="$lt_ltdl_dir"
                    569: 
1.1       paf       570: 
1.150     moko      571: test -n "$DJDIR" || exec 7<&0 </dev/null
                    572: exec 6>&1
                    573: 
1.62      paf       574: # Name of the host.
1.150     moko      575: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      paf       576: # so uname gets run too.
                    577: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    578: 
                    579: #
                    580: # Initializations.
                    581: #
1.1       paf       582: ac_default_prefix=/usr/local
1.150     moko      583: ac_clean_files=
1.62      paf       584: ac_config_libobj_dir=.
1.150     moko      585: LIBOBJS=
1.62      paf       586: cross_compiling=no
                    587: subdirs=
                    588: MFLAGS=
                    589: MAKEFLAGS=
                    590: 
                    591: # Identity of this package.
1.128     moko      592: PACKAGE_NAME='parser'
                    593: PACKAGE_TARNAME='parser'
1.186     moko      594: PACKAGE_VERSION='3.4.6b'
                    595: PACKAGE_STRING='parser 3.4.6b'
1.128     moko      596: PACKAGE_BUGREPORT=''
1.150     moko      597: PACKAGE_URL=''
1.62      paf       598: 
                    599: ac_unique_file="README"
                    600: # Factoring default headers for most tests.
                    601: ac_includes_default="\
                    602: #include <stdio.h>
1.150     moko      603: #ifdef HAVE_SYS_TYPES_H
1.62      paf       604: # include <sys/types.h>
                    605: #endif
1.150     moko      606: #ifdef HAVE_SYS_STAT_H
1.62      paf       607: # include <sys/stat.h>
                    608: #endif
1.150     moko      609: #ifdef STDC_HEADERS
1.62      paf       610: # include <stdlib.h>
                    611: # include <stddef.h>
                    612: #else
1.150     moko      613: # ifdef HAVE_STDLIB_H
1.62      paf       614: #  include <stdlib.h>
                    615: # endif
                    616: #endif
1.150     moko      617: #ifdef HAVE_STRING_H
                    618: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       619: #  include <memory.h>
                    620: # endif
                    621: # include <string.h>
                    622: #endif
1.150     moko      623: #ifdef HAVE_STRINGS_H
1.62      paf       624: # include <strings.h>
                    625: #endif
1.150     moko      626: #ifdef HAVE_INTTYPES_H
1.62      paf       627: # include <inttypes.h>
                    628: #endif
1.150     moko      629: #ifdef HAVE_STDINT_H
                    630: # include <stdint.h>
                    631: #endif
                    632: #ifdef HAVE_UNISTD_H
1.62      paf       633: # include <unistd.h>
                    634: #endif"
                    635: 
1.150     moko      636: enable_option_checking=no
                    637: ac_subst_vars='ltdl_LTLIBOBJS
                    638: ltdl_LIBOBJS
                    639: am__EXEEXT_FALSE
                    640: am__EXEEXT_TRUE
                    641: LTLIBOBJS
                    642: LIBOBJS
                    643: LTDLOPEN
                    644: LT_CONFIG_H
                    645: subdirs
                    646: CONVENIENCE_LTDL_FALSE
                    647: CONVENIENCE_LTDL_TRUE
                    648: INSTALL_LTDL_FALSE
                    649: INSTALL_LTDL_TRUE
                    650: ARGZ_H
                    651: sys_symbol_underscore
                    652: LIBADD_DL
                    653: LT_DLPREOPEN
                    654: LIBADD_DLD_LINK
                    655: LIBADD_SHL_LOAD
                    656: LIBADD_DLOPEN
                    657: LT_DLLOADERS
                    658: INCLTDL
                    659: LTDLINCL
                    660: LTDLDEPS
                    661: LIBLTDL
                    662: CXXCPP
                    663: CPP
                    664: OTOOL64
                    665: OTOOL
                    666: LIPO
                    667: NMEDIT
                    668: DSYMUTIL
                    669: MANIFEST_TOOL
                    670: RANLIB
                    671: ac_ct_AR
                    672: AR
                    673: LN_S
                    674: NM
                    675: ac_ct_DUMPBIN
                    676: DUMPBIN
                    677: LD
                    678: FGREP
                    679: EGREP
                    680: GREP
                    681: SED
                    682: LIBTOOL
                    683: OBJDUMP
                    684: DLLTOOL
                    685: AS
                    686: COMPILE_APACHE_MODULE_FALSE
                    687: COMPILE_APACHE_MODULE_TRUE
                    688: APACHE_CFLAGS
                    689: APACHE_INC
                    690: APACHE
                    691: MIME_LIBS
                    692: MIME_INCLUDES
                    693: XML_LIBS
                    694: XML_INCLUDES
                    695: PCRE_LIBS
                    696: PCRE_INCLUDES
                    697: GC_LIBS
                    698: dll_extension
                    699: am__fastdepCC_FALSE
                    700: am__fastdepCC_TRUE
                    701: CCDEPMODE
                    702: ac_ct_CC
                    703: CFLAGS
                    704: CC
                    705: am__fastdepCXX_FALSE
                    706: am__fastdepCXX_TRUE
                    707: CXXDEPMODE
1.187     moko      708: am__nodep
1.150     moko      709: AMDEPBACKSLASH
                    710: AMDEP_FALSE
                    711: AMDEP_TRUE
                    712: am__include
                    713: DEPDIR
                    714: OBJEXT
                    715: EXEEXT
                    716: ac_ct_CXX
                    717: CPPFLAGS
                    718: LDFLAGS
                    719: CXXFLAGS
                    720: CXX
                    721: YFLAGS
                    722: YACC
                    723: host_os
                    724: host_vendor
                    725: host_cpu
                    726: host
                    727: build_os
                    728: build_vendor
                    729: build_cpu
                    730: build
                    731: P3S
1.187     moko      732: AM_BACKSLASH
                    733: AM_DEFAULT_VERBOSITY
                    734: AM_DEFAULT_V
                    735: AM_V
1.150     moko      736: am__untar
                    737: am__tar
                    738: AMTAR
                    739: am__leading_dot
                    740: SET_MAKE
                    741: AWK
                    742: mkdir_p
                    743: MKDIR_P
                    744: INSTALL_STRIP_PROGRAM
                    745: STRIP
                    746: install_sh
                    747: MAKEINFO
                    748: AUTOHEADER
                    749: AUTOMAKE
                    750: AUTOCONF
                    751: ACLOCAL
                    752: VERSION
                    753: PACKAGE
                    754: CYGPATH_W
                    755: am__isrc
                    756: INSTALL_DATA
                    757: INSTALL_SCRIPT
                    758: INSTALL_PROGRAM
                    759: target_alias
                    760: host_alias
                    761: build_alias
                    762: LIBS
                    763: ECHO_T
                    764: ECHO_N
                    765: ECHO_C
                    766: DEFS
                    767: mandir
                    768: localedir
                    769: libdir
                    770: psdir
                    771: pdfdir
                    772: dvidir
                    773: htmldir
                    774: infodir
                    775: docdir
                    776: oldincludedir
                    777: includedir
1.191     moko      778: runstatedir
1.150     moko      779: localstatedir
                    780: sharedstatedir
                    781: sysconfdir
                    782: datadir
                    783: datarootdir
                    784: libexecdir
                    785: sbindir
                    786: bindir
                    787: program_transform_name
                    788: prefix
                    789: exec_prefix
                    790: PACKAGE_URL
                    791: PACKAGE_BUGREPORT
                    792: PACKAGE_STRING
                    793: PACKAGE_VERSION
                    794: PACKAGE_TARNAME
                    795: PACKAGE_NAME
                    796: PATH_SEPARATOR
1.199     moko      797: SHELL
                    798: am__quote'
1.62      paf       799: ac_subst_files=''
1.150     moko      800: ac_user_opts='
                    801: enable_option_checking
1.187     moko      802: enable_silent_rules
1.150     moko      803: enable_dependency_tracking
                    804: with_build_warnings
1.182     moko      805: with_coverage
                    806: with_profiler
1.150     moko      807: with_assertions
                    808: with_sjlj_exceptions
1.203   ! moko      809: with_system_cfg
1.201     moko      810: with_system_log
1.150     moko      811: enable_safe_mode
                    812: enable_execs
                    813: enable_stringstream
                    814: with_gc
                    815: with_pcre
                    816: with_xml
1.154     moko      817: with_mailreceive
1.150     moko      818: with_sendmail
                    819: with_apache
                    820: with_pic
                    821: enable_shared
                    822: enable_static
                    823: enable_fast_install
                    824: with_gnu_ld
                    825: with_sysroot
                    826: enable_libtool_lock
                    827: with_included_ltdl
                    828: with_ltdl_include
                    829: with_ltdl_lib
                    830: enable_ltdl_install
1.171     moko      831: enable_largefile
1.150     moko      832: '
                    833:       ac_precious_vars='build_alias
                    834: host_alias
                    835: target_alias
                    836: YACC
                    837: YFLAGS
                    838: CXX
                    839: CXXFLAGS
                    840: LDFLAGS
                    841: LIBS
                    842: CPPFLAGS
                    843: CCC
                    844: CC
                    845: CFLAGS
                    846: CPP
                    847: CXXCPP'
                    848: ac_subdirs_all='src/lib/ltdl'
1.1       paf       849: 
                    850: # Initialize some variables set by options.
1.62      paf       851: ac_init_help=
                    852: ac_init_version=false
1.150     moko      853: ac_unrecognized_opts=
                    854: ac_unrecognized_sep=
1.1       paf       855: # The variables have the same names as the options, with
                    856: # dashes changed to underlines.
1.62      paf       857: cache_file=/dev/null
1.1       paf       858: exec_prefix=NONE
                    859: no_create=
                    860: no_recursion=
                    861: prefix=NONE
                    862: program_prefix=NONE
                    863: program_suffix=NONE
                    864: program_transform_name=s,x,x,
                    865: silent=
                    866: site=
                    867: srcdir=
                    868: verbose=
                    869: x_includes=NONE
                    870: x_libraries=NONE
1.62      paf       871: 
                    872: # Installation directory options.
                    873: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    874: # and all the variables that are supposed to be based on exec_prefix
                    875: # by default will actually change.
                    876: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      877: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       878: bindir='${exec_prefix}/bin'
                    879: sbindir='${exec_prefix}/sbin'
                    880: libexecdir='${exec_prefix}/libexec'
1.150     moko      881: datarootdir='${prefix}/share'
                    882: datadir='${datarootdir}'
1.1       paf       883: sysconfdir='${prefix}/etc'
                    884: sharedstatedir='${prefix}/com'
                    885: localstatedir='${prefix}/var'
1.191     moko      886: runstatedir='${localstatedir}/run'
1.1       paf       887: includedir='${prefix}/include'
                    888: oldincludedir='/usr/include'
1.150     moko      889: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    890: infodir='${datarootdir}/info'
                    891: htmldir='${docdir}'
                    892: dvidir='${docdir}'
                    893: pdfdir='${docdir}'
                    894: psdir='${docdir}'
                    895: libdir='${exec_prefix}/lib'
                    896: localedir='${datarootdir}/locale'
                    897: mandir='${datarootdir}/man'
1.1       paf       898: 
                    899: ac_prev=
1.150     moko      900: ac_dashdash=
1.1       paf       901: for ac_option
                    902: do
                    903:   # If the previous option needs an argument, assign it.
                    904:   if test -n "$ac_prev"; then
1.150     moko      905:     eval $ac_prev=\$ac_option
1.1       paf       906:     ac_prev=
                    907:     continue
                    908:   fi
                    909: 
1.150     moko      910:   case $ac_option in
                    911:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    912:   *=)   ac_optarg= ;;
                    913:   *)    ac_optarg=yes ;;
                    914:   esac
1.1       paf       915: 
                    916:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    917: 
1.150     moko      918:   case $ac_dashdash$ac_option in
                    919:   --)
                    920:     ac_dashdash=yes ;;
1.1       paf       921: 
                    922:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    923:     ac_prev=bindir ;;
                    924:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       925:     bindir=$ac_optarg ;;
1.1       paf       926: 
                    927:   -build | --build | --buil | --bui | --bu)
1.62      paf       928:     ac_prev=build_alias ;;
1.1       paf       929:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       930:     build_alias=$ac_optarg ;;
1.1       paf       931: 
                    932:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    933:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    934:     ac_prev=cache_file ;;
                    935:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    936:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       937:     cache_file=$ac_optarg ;;
                    938: 
                    939:   --config-cache | -C)
                    940:     cache_file=config.cache ;;
1.1       paf       941: 
1.150     moko      942:   -datadir | --datadir | --datadi | --datad)
1.1       paf       943:     ac_prev=datadir ;;
1.150     moko      944:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       945:     datadir=$ac_optarg ;;
1.1       paf       946: 
1.150     moko      947:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    948:   | --dataroo | --dataro | --datar)
                    949:     ac_prev=datarootdir ;;
                    950:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    951:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    952:     datarootdir=$ac_optarg ;;
                    953: 
1.1       paf       954:   -disable-* | --disable-*)
1.150     moko      955:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       956:     # Reject names that are not valid shell variable names.
1.150     moko      957:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    958:       as_fn_error $? "invalid feature name: $ac_useropt"
                    959:     ac_useropt_orig=$ac_useropt
                    960:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    961:     case $ac_user_opts in
                    962:       *"
                    963: "enable_$ac_useropt"
                    964: "*) ;;
                    965:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    966:         ac_unrecognized_sep=', ';;
                    967:     esac
                    968:     eval enable_$ac_useropt=no ;;
                    969: 
                    970:   -docdir | --docdir | --docdi | --doc | --do)
                    971:     ac_prev=docdir ;;
                    972:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    973:     docdir=$ac_optarg ;;
                    974: 
                    975:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    976:     ac_prev=dvidir ;;
                    977:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    978:     dvidir=$ac_optarg ;;
1.1       paf       979: 
                    980:   -enable-* | --enable-*)
1.150     moko      981:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       982:     # Reject names that are not valid shell variable names.
1.150     moko      983:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    984:       as_fn_error $? "invalid feature name: $ac_useropt"
                    985:     ac_useropt_orig=$ac_useropt
                    986:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    987:     case $ac_user_opts in
                    988:       *"
                    989: "enable_$ac_useropt"
                    990: "*) ;;
                    991:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    992:         ac_unrecognized_sep=', ';;
1.1       paf       993:     esac
1.150     moko      994:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       995: 
                    996:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    997:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    998:   | --exec | --exe | --ex)
                    999:     ac_prev=exec_prefix ;;
                   1000:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1001:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1002:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1003:     exec_prefix=$ac_optarg ;;
1.1       paf      1004: 
                   1005:   -gas | --gas | --ga | --g)
                   1006:     # Obsolete; use --with-gas.
                   1007:     with_gas=yes ;;
                   1008: 
1.62      paf      1009:   -help | --help | --hel | --he | -h)
                   1010:     ac_init_help=long ;;
                   1011:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1012:     ac_init_help=recursive ;;
                   1013:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1014:     ac_init_help=short ;;
1.1       paf      1015: 
                   1016:   -host | --host | --hos | --ho)
1.62      paf      1017:     ac_prev=host_alias ;;
1.1       paf      1018:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1019:     host_alias=$ac_optarg ;;
1.1       paf      1020: 
1.150     moko     1021:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1022:     ac_prev=htmldir ;;
                   1023:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1024:   | --ht=*)
                   1025:     htmldir=$ac_optarg ;;
                   1026: 
1.1       paf      1027:   -includedir | --includedir | --includedi | --included | --include \
                   1028:   | --includ | --inclu | --incl | --inc)
                   1029:     ac_prev=includedir ;;
                   1030:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1031:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1032:     includedir=$ac_optarg ;;
1.1       paf      1033: 
                   1034:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1035:     ac_prev=infodir ;;
                   1036:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1037:     infodir=$ac_optarg ;;
1.1       paf      1038: 
                   1039:   -libdir | --libdir | --libdi | --libd)
                   1040:     ac_prev=libdir ;;
                   1041:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1042:     libdir=$ac_optarg ;;
1.1       paf      1043: 
                   1044:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1045:   | --libexe | --libex | --libe)
                   1046:     ac_prev=libexecdir ;;
                   1047:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1048:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1049:     libexecdir=$ac_optarg ;;
1.1       paf      1050: 
1.150     moko     1051:   -localedir | --localedir | --localedi | --localed | --locale)
                   1052:     ac_prev=localedir ;;
                   1053:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1054:     localedir=$ac_optarg ;;
                   1055: 
1.1       paf      1056:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1057:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1058:     ac_prev=localstatedir ;;
                   1059:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1060:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1061:     localstatedir=$ac_optarg ;;
1.1       paf      1062: 
                   1063:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1064:     ac_prev=mandir ;;
                   1065:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1066:     mandir=$ac_optarg ;;
1.1       paf      1067: 
                   1068:   -nfp | --nfp | --nf)
                   1069:     # Obsolete; use --without-fp.
                   1070:     with_fp=no ;;
                   1071: 
                   1072:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1073:   | --no-cr | --no-c | -n)
1.1       paf      1074:     no_create=yes ;;
                   1075: 
                   1076:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1077:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1078:     no_recursion=yes ;;
                   1079: 
                   1080:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1081:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1082:   | --oldin | --oldi | --old | --ol | --o)
                   1083:     ac_prev=oldincludedir ;;
                   1084:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1085:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1086:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1087:     oldincludedir=$ac_optarg ;;
1.1       paf      1088: 
                   1089:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1090:     ac_prev=prefix ;;
                   1091:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1092:     prefix=$ac_optarg ;;
1.1       paf      1093: 
                   1094:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1095:   | --program-pre | --program-pr | --program-p)
                   1096:     ac_prev=program_prefix ;;
                   1097:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1098:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1099:     program_prefix=$ac_optarg ;;
1.1       paf      1100: 
                   1101:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1102:   | --program-suf | --program-su | --program-s)
                   1103:     ac_prev=program_suffix ;;
                   1104:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1105:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1106:     program_suffix=$ac_optarg ;;
1.1       paf      1107: 
                   1108:   -program-transform-name | --program-transform-name \
                   1109:   | --program-transform-nam | --program-transform-na \
                   1110:   | --program-transform-n | --program-transform- \
                   1111:   | --program-transform | --program-transfor \
                   1112:   | --program-transfo | --program-transf \
                   1113:   | --program-trans | --program-tran \
                   1114:   | --progr-tra | --program-tr | --program-t)
                   1115:     ac_prev=program_transform_name ;;
                   1116:   -program-transform-name=* | --program-transform-name=* \
                   1117:   | --program-transform-nam=* | --program-transform-na=* \
                   1118:   | --program-transform-n=* | --program-transform-=* \
                   1119:   | --program-transform=* | --program-transfor=* \
                   1120:   | --program-transfo=* | --program-transf=* \
                   1121:   | --program-trans=* | --program-tran=* \
                   1122:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1123:     program_transform_name=$ac_optarg ;;
1.1       paf      1124: 
1.150     moko     1125:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1126:     ac_prev=pdfdir ;;
                   1127:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1128:     pdfdir=$ac_optarg ;;
                   1129: 
                   1130:   -psdir | --psdir | --psdi | --psd | --ps)
                   1131:     ac_prev=psdir ;;
                   1132:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1133:     psdir=$ac_optarg ;;
                   1134: 
1.1       paf      1135:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1136:   | -silent | --silent | --silen | --sile | --sil)
                   1137:     silent=yes ;;
                   1138: 
1.191     moko     1139:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1140:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1141:   | --run | --ru | --r)
                   1142:     ac_prev=runstatedir ;;
                   1143:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1144:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1145:   | --run=* | --ru=* | --r=*)
                   1146:     runstatedir=$ac_optarg ;;
                   1147: 
1.1       paf      1148:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1149:     ac_prev=sbindir ;;
                   1150:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1151:   | --sbi=* | --sb=*)
1.62      paf      1152:     sbindir=$ac_optarg ;;
1.1       paf      1153: 
                   1154:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1155:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1156:   | --sharedst | --shareds | --shared | --share | --shar \
                   1157:   | --sha | --sh)
                   1158:     ac_prev=sharedstatedir ;;
                   1159:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1160:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1161:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1162:   | --sha=* | --sh=*)
1.62      paf      1163:     sharedstatedir=$ac_optarg ;;
1.1       paf      1164: 
                   1165:   -site | --site | --sit)
                   1166:     ac_prev=site ;;
                   1167:   -site=* | --site=* | --sit=*)
1.62      paf      1168:     site=$ac_optarg ;;
1.1       paf      1169: 
                   1170:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1171:     ac_prev=srcdir ;;
                   1172:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1173:     srcdir=$ac_optarg ;;
1.1       paf      1174: 
                   1175:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1176:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1177:     ac_prev=sysconfdir ;;
                   1178:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1179:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1180:     sysconfdir=$ac_optarg ;;
1.1       paf      1181: 
                   1182:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1183:     ac_prev=target_alias ;;
1.1       paf      1184:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1185:     target_alias=$ac_optarg ;;
1.1       paf      1186: 
                   1187:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1188:     verbose=yes ;;
                   1189: 
1.62      paf      1190:   -version | --version | --versio | --versi | --vers | -V)
                   1191:     ac_init_version=: ;;
1.1       paf      1192: 
                   1193:   -with-* | --with-*)
1.150     moko     1194:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1195:     # Reject names that are not valid shell variable names.
1.150     moko     1196:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1197:       as_fn_error $? "invalid package name: $ac_useropt"
                   1198:     ac_useropt_orig=$ac_useropt
                   1199:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1200:     case $ac_user_opts in
                   1201:       *"
                   1202: "with_$ac_useropt"
                   1203: "*) ;;
                   1204:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1205:         ac_unrecognized_sep=', ';;
1.1       paf      1206:     esac
1.150     moko     1207:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1208: 
                   1209:   -without-* | --without-*)
1.150     moko     1210:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1211:     # Reject names that are not valid shell variable names.
1.150     moko     1212:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1213:       as_fn_error $? "invalid package name: $ac_useropt"
                   1214:     ac_useropt_orig=$ac_useropt
                   1215:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1216:     case $ac_user_opts in
                   1217:       *"
                   1218: "with_$ac_useropt"
                   1219: "*) ;;
                   1220:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1221:         ac_unrecognized_sep=', ';;
                   1222:     esac
                   1223:     eval with_$ac_useropt=no ;;
1.1       paf      1224: 
                   1225:   --x)
                   1226:     # Obsolete; use --with-x.
                   1227:     with_x=yes ;;
                   1228: 
                   1229:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1230:   | --x-incl | --x-inc | --x-in | --x-i)
                   1231:     ac_prev=x_includes ;;
                   1232:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1233:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1234:     x_includes=$ac_optarg ;;
1.1       paf      1235: 
                   1236:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1237:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1238:     ac_prev=x_libraries ;;
                   1239:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1240:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1241:     x_libraries=$ac_optarg ;;
1.1       paf      1242: 
1.150     moko     1243:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1244: Try \`$0 --help' for more information"
1.1       paf      1245:     ;;
                   1246: 
1.62      paf      1247:   *=*)
                   1248:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1249:     # Reject names that are not valid shell variable names.
1.150     moko     1250:     case $ac_envvar in #(
                   1251:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1252:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1253:     esac
                   1254:     eval $ac_envvar=\$ac_optarg
1.62      paf      1255:     export $ac_envvar ;;
                   1256: 
1.1       paf      1257:   *)
1.62      paf      1258:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1259:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1260:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1261:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1262:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1263:     ;;
                   1264: 
                   1265:   esac
                   1266: done
                   1267: 
                   1268: if test -n "$ac_prev"; then
1.62      paf      1269:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1270:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1271: fi
                   1272: 
1.150     moko     1273: if test -n "$ac_unrecognized_opts"; then
                   1274:   case $enable_option_checking in
                   1275:     no) ;;
                   1276:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1277:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1278:   esac
                   1279: fi
                   1280: 
                   1281: # Check all directory arguments for consistency.
                   1282: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1283:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1284:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1285:                libdir localedir mandir runstatedir
1.62      paf      1286: do
1.150     moko     1287:   eval ac_val=\$$ac_var
                   1288:   # Remove trailing slashes.
1.62      paf      1289:   case $ac_val in
1.150     moko     1290:     */ )
                   1291:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1292:       eval $ac_var=\$ac_val;;
1.62      paf      1293:   esac
1.150     moko     1294:   # Be sure to have absolute directory names.
1.62      paf      1295:   case $ac_val in
1.150     moko     1296:     [\\/$]* | ?:[\\/]* )  continue;;
                   1297:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1298:   esac
1.150     moko     1299:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1300: done
                   1301: 
1.62      paf      1302: # There might be people who depend on the old broken behavior: `$host'
                   1303: # used to hold the argument of --host etc.
                   1304: # FIXME: To remove some day.
                   1305: build=$build_alias
                   1306: host=$host_alias
                   1307: target=$target_alias
                   1308: 
                   1309: # FIXME: To remove some day.
                   1310: if test "x$host_alias" != x; then
                   1311:   if test "x$build_alias" = x; then
                   1312:     cross_compiling=maybe
                   1313:   elif test "x$build_alias" != "x$host_alias"; then
                   1314:     cross_compiling=yes
                   1315:   fi
                   1316: fi
                   1317: 
                   1318: ac_tool_prefix=
                   1319: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1320: 
1.62      paf      1321: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1322: 
                   1323: 
1.150     moko     1324: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1325: ac_ls_di=`ls -di .` &&
                   1326: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1327:   as_fn_error $? "working directory cannot be determined"
                   1328: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1329:   as_fn_error $? "pwd does not report name of working directory"
                   1330: 
                   1331: 
1.1       paf      1332: # Find the source files, if location was not specified.
                   1333: if test -z "$srcdir"; then
                   1334:   ac_srcdir_defaulted=yes
1.150     moko     1335:   # Try the directory containing this script, then the parent directory.
                   1336:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1337: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1338:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1339:         X"$as_myself" : 'X\(//\)$' \| \
                   1340:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1341: $as_echo X"$as_myself" |
                   1342:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1343:            s//\1/
                   1344:            q
                   1345:          }
                   1346:          /^X\(\/\/\)[^/].*/{
                   1347:            s//\1/
                   1348:            q
                   1349:          }
                   1350:          /^X\(\/\/\)$/{
                   1351:            s//\1/
                   1352:            q
                   1353:          }
                   1354:          /^X\(\/\).*/{
                   1355:            s//\1/
                   1356:            q
                   1357:          }
                   1358:          s/.*/./; q'`
1.1       paf      1359:   srcdir=$ac_confdir
1.150     moko     1360:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1361:     srcdir=..
                   1362:   fi
                   1363: else
                   1364:   ac_srcdir_defaulted=no
                   1365: fi
1.150     moko     1366: if test ! -r "$srcdir/$ac_unique_file"; then
                   1367:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1368:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1369: fi
                   1370: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1371: ac_abs_confdir=`(
                   1372:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1373:        pwd)`
                   1374: # When building in place, set srcdir=.
                   1375: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1376:   srcdir=.
                   1377: fi
                   1378: # Remove unnecessary trailing slashes from srcdir.
                   1379: # Double slashes in file names in object file debugging info
                   1380: # mess up M-x gdb in Emacs.
                   1381: case $srcdir in
                   1382: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1383: esac
                   1384: for ac_var in $ac_precious_vars; do
                   1385:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1386:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1387:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1388:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1389: done
1.62      paf      1390: 
                   1391: #
                   1392: # Report the --help message.
                   1393: #
                   1394: if test "$ac_init_help" = "long"; then
                   1395:   # Omit some internal or obsolete options to make the list less imposing.
                   1396:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1397:   cat <<_ACEOF
1.186     moko     1398: \`configure' configures parser 3.4.6b to adapt to many kinds of systems.
1.62      paf      1399: 
                   1400: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1401: 
                   1402: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1403: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1404: 
                   1405: Defaults for the options are specified in brackets.
                   1406: 
                   1407: Configuration:
                   1408:   -h, --help              display this help and exit
                   1409:       --help=short        display options specific to this package
                   1410:       --help=recursive    display the short help of all the included packages
                   1411:   -V, --version           display version information and exit
1.150     moko     1412:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1413:       --cache-file=FILE   cache test results in FILE [disabled]
                   1414:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1415:   -n, --no-create         do not create output files
                   1416:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1417: 
                   1418: Installation directories:
                   1419:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1420:                           [$ac_default_prefix]
1.62      paf      1421:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1422:                           [PREFIX]
1.62      paf      1423: 
                   1424: By default, \`make install' will install all the files in
                   1425: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1426: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1427: for instance \`--prefix=\$HOME'.
                   1428: 
                   1429: For better control, use the options below.
                   1430: 
                   1431: Fine tuning of the installation directories:
1.150     moko     1432:   --bindir=DIR            user executables [EPREFIX/bin]
                   1433:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1434:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1435:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1436:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1437:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1438:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1439:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1440:   --includedir=DIR        C header files [PREFIX/include]
                   1441:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1442:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1443:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1444:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1445:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1446:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1447:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1448:   --htmldir=DIR           html documentation [DOCDIR]
                   1449:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1450:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1451:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1452: _ACEOF
                   1453: 
                   1454:   cat <<\_ACEOF
                   1455: 
                   1456: Program names:
                   1457:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1458:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1459:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1460: 
                   1461: System types:
                   1462:   --build=BUILD     configure for building on BUILD [guessed]
                   1463:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1464: _ACEOF
                   1465: fi
                   1466: 
                   1467: if test -n "$ac_init_help"; then
1.128     moko     1468:   case $ac_init_help in
1.186     moko     1469:      short | recursive ) echo "Configuration of parser 3.4.6b:";;
1.128     moko     1470:    esac
1.62      paf      1471:   cat <<\_ACEOF
                   1472: 
                   1473: Optional Features:
1.150     moko     1474:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1475:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1476:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1477:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1478:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1479:   --enable-dependency-tracking
                   1480:                           do not reject slow dependency extractors
                   1481:   --disable-dependency-tracking
                   1482:                           speeds up one-time build
1.67      paf      1483:   --disable-safe-mode    to enable reading and executing
1.62      paf      1484:                           files belonging to group+user other then effective
1.146     moko     1485:   --disable-execs        to disable any execs
1.62      paf      1486:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1487:   --disable-stringstream to disable stringstream usage.
                   1488:                           when disabled table.save uses more memory, but more compilers are supported
1.150     moko     1489:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1490:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1491:   --enable-fast-install[=PKGS]
                   1492:                           optimize for fast installation [default=yes]
                   1493:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1494:   --enable-ltdl-install   install libltdl
1.171     moko     1495:   --disable-largefile     omit support for large files
1.62      paf      1496: 
                   1497: Optional Packages:
                   1498:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1499:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1500:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1501:   --with-coverage         to enable gcov code coverage support
                   1502:   --with-profiler         to enable gprof code profiler support
1.67      paf      1503:   --with-assertions       to enable assertions
1.201     moko     1504:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1505:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1506:   --with-system-log=FILE  to specify system-wide parser3.log
                   1507:   --with-gc=DIR           DIR is the directory where
1.142     moko     1508:                           Boehm garbage collecting library is installed
1.201     moko     1509:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1510:                           PCRE library is installed
1.201     moko     1511:   --with-xml=DIR          DIR is the directory where
1.142     moko     1512:                           Gnome XML libraries are installed
1.201     moko     1513:   --with-mailreceive=DIR  is the directory where
1.154     moko     1514:                           Gnome MIME library is installed
1.62      paf      1515:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1516:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1517:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1518:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1519:                           builds apache DSO module using apxs
1.150     moko     1520:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1521:                           both]
                   1522:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1523:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1524:                         (or the compiler's sysroot if not specified).
                   1525:   --with-included-ltdl    use the GNU ltdl sources included here
                   1526:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1527:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1528: 
                   1529: Some influential environment variables:
1.150     moko     1530:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1531:               Defaults to the first program found out of: `bison -y', `byacc',
                   1532:               `yacc'.
                   1533:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1534:               This script will default YFLAGS to the empty string to avoid a
                   1535:               default value of `-d' given by some make applications.
1.66      paf      1536:   CXX         C++ compiler command
                   1537:   CXXFLAGS    C++ compiler flags
1.62      paf      1538:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1539:               nonstandard directory <lib dir>
1.150     moko     1540:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1541:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1542:               you have headers in a nonstandard directory <include dir>
1.66      paf      1543:   CC          C compiler command
                   1544:   CFLAGS      C compiler flags
                   1545:   CPP         C preprocessor
1.128     moko     1546:   CXXCPP      C++ preprocessor
1.62      paf      1547: 
                   1548: Use these variables to override the choices made by `configure' or to help
                   1549: it to find libraries and programs with nonstandard names/locations.
                   1550: 
1.150     moko     1551: Report bugs to the package provider.
1.62      paf      1552: _ACEOF
1.150     moko     1553: ac_status=$?
1.62      paf      1554: fi
                   1555: 
                   1556: if test "$ac_init_help" = "recursive"; then
                   1557:   # If there are subdirs, report their specific --help.
                   1558:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1559:     test -d "$ac_dir" ||
                   1560:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1561:       continue
1.62      paf      1562:     ac_builddir=.
                   1563: 
1.150     moko     1564: case "$ac_dir" in
                   1565: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1566: *)
                   1567:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1568:   # A ".." for each directory in $ac_dir_suffix.
                   1569:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1570:   case $ac_top_builddir_sub in
                   1571:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1572:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1573:   esac ;;
                   1574: esac
                   1575: ac_abs_top_builddir=$ac_pwd
                   1576: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1577: # for backward compatibility:
                   1578: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1579: 
                   1580: case $srcdir in
1.150     moko     1581:   .)  # We are building in place.
1.62      paf      1582:     ac_srcdir=.
1.150     moko     1583:     ac_top_srcdir=$ac_top_builddir_sub
                   1584:     ac_abs_top_srcdir=$ac_pwd ;;
                   1585:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1586:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1587:     ac_top_srcdir=$srcdir
                   1588:     ac_abs_top_srcdir=$srcdir ;;
                   1589:   *) # Relative name.
                   1590:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1591:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1592:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1593: esac
1.150     moko     1594: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1595: 
1.150     moko     1596:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1597:     # Check for guested configure.
                   1598:     if test -f "$ac_srcdir/configure.gnu"; then
                   1599:       echo &&
                   1600:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1601:     elif test -f "$ac_srcdir/configure"; then
                   1602:       echo &&
                   1603:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1604:     else
1.150     moko     1605:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1606:     fi || ac_status=$?
                   1607:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1608:   done
                   1609: fi
                   1610: 
1.150     moko     1611: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1612: if $ac_init_version; then
                   1613:   cat <<\_ACEOF
1.186     moko     1614: parser configure 3.4.6b
1.166     moko     1615: generated by GNU Autoconf 2.69
1.62      paf      1616: 
1.166     moko     1617: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1618: This configure script is free software; the Free Software Foundation
                   1619: gives unlimited permission to copy, distribute and modify it.
                   1620: _ACEOF
1.150     moko     1621:   exit
1.62      paf      1622: fi
                   1623: 
1.150     moko     1624: ## ------------------------ ##
                   1625: ## Autoconf initialization. ##
                   1626: ## ------------------------ ##
                   1627: 
                   1628: # ac_fn_cxx_try_compile LINENO
                   1629: # ----------------------------
                   1630: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1631: ac_fn_cxx_try_compile ()
1.62      paf      1632: {
1.150     moko     1633:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1634:   rm -f conftest.$ac_objext
                   1635:   if { { ac_try="$ac_compile"
                   1636: case "(($ac_try" in
                   1637:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1638:   *) ac_try_echo=$ac_try;;
                   1639: esac
                   1640: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1641: $as_echo "$ac_try_echo"; } >&5
                   1642:   (eval "$ac_compile") 2>conftest.err
                   1643:   ac_status=$?
                   1644:   if test -s conftest.err; then
                   1645:     grep -v '^ *+' conftest.err >conftest.er1
                   1646:     cat conftest.er1 >&5
                   1647:     mv -f conftest.er1 conftest.err
                   1648:   fi
                   1649:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1650:   test $ac_status = 0; } && {
                   1651:         test -z "$ac_cxx_werror_flag" ||
                   1652:         test ! -s conftest.err
                   1653:        } && test -s conftest.$ac_objext; then :
                   1654:   ac_retval=0
                   1655: else
                   1656:   $as_echo "$as_me: failed program was:" >&5
                   1657: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1658: 
1.150     moko     1659:        ac_retval=1
                   1660: fi
                   1661:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1662:   as_fn_set_status $ac_retval
1.62      paf      1663: 
1.150     moko     1664: } # ac_fn_cxx_try_compile
                   1665: 
                   1666: # ac_fn_c_try_compile LINENO
                   1667: # --------------------------
                   1668: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1669: ac_fn_c_try_compile ()
                   1670: {
                   1671:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1672:   rm -f conftest.$ac_objext
                   1673:   if { { ac_try="$ac_compile"
                   1674: case "(($ac_try" in
                   1675:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1676:   *) ac_try_echo=$ac_try;;
                   1677: esac
                   1678: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1679: $as_echo "$ac_try_echo"; } >&5
                   1680:   (eval "$ac_compile") 2>conftest.err
                   1681:   ac_status=$?
                   1682:   if test -s conftest.err; then
                   1683:     grep -v '^ *+' conftest.err >conftest.er1
                   1684:     cat conftest.er1 >&5
                   1685:     mv -f conftest.er1 conftest.err
                   1686:   fi
                   1687:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1688:   test $ac_status = 0; } && {
                   1689:         test -z "$ac_c_werror_flag" ||
                   1690:         test ! -s conftest.err
                   1691:        } && test -s conftest.$ac_objext; then :
                   1692:   ac_retval=0
                   1693: else
                   1694:   $as_echo "$as_me: failed program was:" >&5
                   1695: sed 's/^/| /' conftest.$ac_ext >&5
                   1696: 
                   1697:        ac_retval=1
                   1698: fi
                   1699:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1700:   as_fn_set_status $ac_retval
                   1701: 
                   1702: } # ac_fn_c_try_compile
                   1703: 
                   1704: # ac_fn_c_try_link LINENO
                   1705: # -----------------------
                   1706: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1707: ac_fn_c_try_link ()
                   1708: {
                   1709:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1710:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1711:   if { { ac_try="$ac_link"
                   1712: case "(($ac_try" in
                   1713:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1714:   *) ac_try_echo=$ac_try;;
                   1715: esac
                   1716: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1717: $as_echo "$ac_try_echo"; } >&5
                   1718:   (eval "$ac_link") 2>conftest.err
                   1719:   ac_status=$?
                   1720:   if test -s conftest.err; then
                   1721:     grep -v '^ *+' conftest.err >conftest.er1
                   1722:     cat conftest.er1 >&5
                   1723:     mv -f conftest.er1 conftest.err
                   1724:   fi
                   1725:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1726:   test $ac_status = 0; } && {
                   1727:         test -z "$ac_c_werror_flag" ||
                   1728:         test ! -s conftest.err
                   1729:        } && test -s conftest$ac_exeext && {
                   1730:         test "$cross_compiling" = yes ||
1.166     moko     1731:         test -x conftest$ac_exeext
1.150     moko     1732:        }; then :
                   1733:   ac_retval=0
                   1734: else
                   1735:   $as_echo "$as_me: failed program was:" >&5
                   1736: sed 's/^/| /' conftest.$ac_ext >&5
                   1737: 
                   1738:        ac_retval=1
                   1739: fi
                   1740:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1741:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1742:   # interfere with the next link command; also delete a directory that is
                   1743:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1744:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1745:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1746:   as_fn_set_status $ac_retval
                   1747: 
                   1748: } # ac_fn_c_try_link
                   1749: 
                   1750: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1751: # -------------------------------------------------------
                   1752: # Tests whether HEADER exists and can be compiled using the include files in
                   1753: # INCLUDES, setting the cache variable VAR accordingly.
                   1754: ac_fn_c_check_header_compile ()
                   1755: {
                   1756:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1757:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1758: $as_echo_n "checking for $2... " >&6; }
                   1759: if eval \${$3+:} false; then :
                   1760:   $as_echo_n "(cached) " >&6
                   1761: else
                   1762:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1763: /* end confdefs.h.  */
                   1764: $4
                   1765: #include <$2>
                   1766: _ACEOF
                   1767: if ac_fn_c_try_compile "$LINENO"; then :
                   1768:   eval "$3=yes"
                   1769: else
                   1770:   eval "$3=no"
                   1771: fi
                   1772: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1773: fi
                   1774: eval ac_res=\$$3
                   1775:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1776: $as_echo "$ac_res" >&6; }
                   1777:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1778: 
                   1779: } # ac_fn_c_check_header_compile
                   1780: 
                   1781: # ac_fn_c_try_cpp LINENO
                   1782: # ----------------------
                   1783: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1784: ac_fn_c_try_cpp ()
                   1785: {
                   1786:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1787:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1788: case "(($ac_try" in
                   1789:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1790:   *) ac_try_echo=$ac_try;;
                   1791: esac
                   1792: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1793: $as_echo "$ac_try_echo"; } >&5
                   1794:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1795:   ac_status=$?
                   1796:   if test -s conftest.err; then
                   1797:     grep -v '^ *+' conftest.err >conftest.er1
                   1798:     cat conftest.er1 >&5
                   1799:     mv -f conftest.er1 conftest.err
                   1800:   fi
                   1801:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1802:   test $ac_status = 0; } > conftest.i && {
                   1803:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1804:         test ! -s conftest.err
                   1805:        }; then :
                   1806:   ac_retval=0
                   1807: else
                   1808:   $as_echo "$as_me: failed program was:" >&5
                   1809: sed 's/^/| /' conftest.$ac_ext >&5
                   1810: 
                   1811:     ac_retval=1
                   1812: fi
                   1813:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1814:   as_fn_set_status $ac_retval
                   1815: 
                   1816: } # ac_fn_c_try_cpp
                   1817: 
                   1818: # ac_fn_c_try_run LINENO
                   1819: # ----------------------
                   1820: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1821: # that executables *can* be run.
                   1822: ac_fn_c_try_run ()
                   1823: {
                   1824:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1825:   if { { ac_try="$ac_link"
                   1826: case "(($ac_try" in
                   1827:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1828:   *) ac_try_echo=$ac_try;;
                   1829: esac
                   1830: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1831: $as_echo "$ac_try_echo"; } >&5
                   1832:   (eval "$ac_link") 2>&5
                   1833:   ac_status=$?
                   1834:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1835:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1836:   { { case "(($ac_try" in
                   1837:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1838:   *) ac_try_echo=$ac_try;;
                   1839: esac
                   1840: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1841: $as_echo "$ac_try_echo"; } >&5
                   1842:   (eval "$ac_try") 2>&5
                   1843:   ac_status=$?
                   1844:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1845:   test $ac_status = 0; }; }; then :
                   1846:   ac_retval=0
                   1847: else
                   1848:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1849:        $as_echo "$as_me: failed program was:" >&5
                   1850: sed 's/^/| /' conftest.$ac_ext >&5
                   1851: 
                   1852:        ac_retval=$ac_status
                   1853: fi
                   1854:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1855:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1856:   as_fn_set_status $ac_retval
                   1857: 
                   1858: } # ac_fn_c_try_run
                   1859: 
                   1860: # ac_fn_c_check_func LINENO FUNC VAR
                   1861: # ----------------------------------
                   1862: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1863: ac_fn_c_check_func ()
                   1864: {
                   1865:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1866:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1867: $as_echo_n "checking for $2... " >&6; }
                   1868: if eval \${$3+:} false; then :
                   1869:   $as_echo_n "(cached) " >&6
                   1870: else
                   1871:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1872: /* end confdefs.h.  */
                   1873: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1874:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1875: #define $2 innocuous_$2
                   1876: 
                   1877: /* System header to define __stub macros and hopefully few prototypes,
                   1878:     which can conflict with char $2 (); below.
                   1879:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1880:     <limits.h> exists even on freestanding compilers.  */
                   1881: 
                   1882: #ifdef __STDC__
                   1883: # include <limits.h>
                   1884: #else
                   1885: # include <assert.h>
                   1886: #endif
                   1887: 
                   1888: #undef $2
                   1889: 
                   1890: /* Override any GCC internal prototype to avoid an error.
                   1891:    Use char because int might match the return type of a GCC
                   1892:    builtin and then its argument prototype would still apply.  */
                   1893: #ifdef __cplusplus
                   1894: extern "C"
                   1895: #endif
                   1896: char $2 ();
                   1897: /* The GNU C library defines this for functions which it implements
                   1898:     to always fail with ENOSYS.  Some functions are actually named
                   1899:     something starting with __ and the normal name is an alias.  */
                   1900: #if defined __stub_$2 || defined __stub___$2
                   1901: choke me
                   1902: #endif
                   1903: 
                   1904: int
                   1905: main ()
                   1906: {
                   1907: return $2 ();
                   1908:   ;
                   1909:   return 0;
                   1910: }
                   1911: _ACEOF
                   1912: if ac_fn_c_try_link "$LINENO"; then :
                   1913:   eval "$3=yes"
                   1914: else
                   1915:   eval "$3=no"
                   1916: fi
                   1917: rm -f core conftest.err conftest.$ac_objext \
                   1918:     conftest$ac_exeext conftest.$ac_ext
                   1919: fi
                   1920: eval ac_res=\$$3
                   1921:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1922: $as_echo "$ac_res" >&6; }
                   1923:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1924: 
                   1925: } # ac_fn_c_check_func
                   1926: 
                   1927: # ac_fn_cxx_try_cpp LINENO
                   1928: # ------------------------
                   1929: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1930: ac_fn_cxx_try_cpp ()
                   1931: {
                   1932:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1933:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1934: case "(($ac_try" in
                   1935:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1936:   *) ac_try_echo=$ac_try;;
                   1937: esac
                   1938: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1939: $as_echo "$ac_try_echo"; } >&5
                   1940:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1941:   ac_status=$?
                   1942:   if test -s conftest.err; then
                   1943:     grep -v '^ *+' conftest.err >conftest.er1
                   1944:     cat conftest.er1 >&5
                   1945:     mv -f conftest.er1 conftest.err
                   1946:   fi
                   1947:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1948:   test $ac_status = 0; } > conftest.i && {
                   1949:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1950:         test ! -s conftest.err
                   1951:        }; then :
                   1952:   ac_retval=0
                   1953: else
                   1954:   $as_echo "$as_me: failed program was:" >&5
                   1955: sed 's/^/| /' conftest.$ac_ext >&5
                   1956: 
                   1957:     ac_retval=1
                   1958: fi
                   1959:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1960:   as_fn_set_status $ac_retval
                   1961: 
                   1962: } # ac_fn_cxx_try_cpp
                   1963: 
                   1964: # ac_fn_cxx_try_link LINENO
                   1965: # -------------------------
                   1966: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1967: ac_fn_cxx_try_link ()
                   1968: {
                   1969:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1970:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1971:   if { { ac_try="$ac_link"
                   1972: case "(($ac_try" in
                   1973:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1974:   *) ac_try_echo=$ac_try;;
                   1975: esac
                   1976: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1977: $as_echo "$ac_try_echo"; } >&5
                   1978:   (eval "$ac_link") 2>conftest.err
                   1979:   ac_status=$?
                   1980:   if test -s conftest.err; then
                   1981:     grep -v '^ *+' conftest.err >conftest.er1
                   1982:     cat conftest.er1 >&5
                   1983:     mv -f conftest.er1 conftest.err
                   1984:   fi
                   1985:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1986:   test $ac_status = 0; } && {
                   1987:         test -z "$ac_cxx_werror_flag" ||
                   1988:         test ! -s conftest.err
                   1989:        } && test -s conftest$ac_exeext && {
                   1990:         test "$cross_compiling" = yes ||
1.166     moko     1991:         test -x conftest$ac_exeext
1.150     moko     1992:        }; then :
                   1993:   ac_retval=0
                   1994: else
                   1995:   $as_echo "$as_me: failed program was:" >&5
                   1996: sed 's/^/| /' conftest.$ac_ext >&5
                   1997: 
                   1998:        ac_retval=1
                   1999: fi
                   2000:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   2001:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2002:   # interfere with the next link command; also delete a directory that is
                   2003:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2004:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2005:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2006:   as_fn_set_status $ac_retval
                   2007: 
                   2008: } # ac_fn_cxx_try_link
                   2009: 
                   2010: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2011: # ---------------------------------------------
                   2012: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2013: # accordingly.
                   2014: ac_fn_c_check_decl ()
                   2015: {
                   2016:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2017:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2018:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2019:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2020: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2021: if eval \${$3+:} false; then :
                   2022:   $as_echo_n "(cached) " >&6
                   2023: else
                   2024:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2025: /* end confdefs.h.  */
                   2026: $4
                   2027: int
                   2028: main ()
                   2029: {
                   2030: #ifndef $as_decl_name
                   2031: #ifdef __cplusplus
                   2032:   (void) $as_decl_use;
                   2033: #else
                   2034:   (void) $as_decl_name;
                   2035: #endif
                   2036: #endif
                   2037: 
                   2038:   ;
                   2039:   return 0;
                   2040: }
                   2041: _ACEOF
                   2042: if ac_fn_c_try_compile "$LINENO"; then :
                   2043:   eval "$3=yes"
                   2044: else
                   2045:   eval "$3=no"
                   2046: fi
                   2047: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2048: fi
                   2049: eval ac_res=\$$3
                   2050:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2051: $as_echo "$ac_res" >&6; }
                   2052:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2053: 
                   2054: } # ac_fn_c_check_decl
                   2055: 
                   2056: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2057: # -------------------------------------------
                   2058: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2059: # variable VAR accordingly.
                   2060: ac_fn_c_check_type ()
                   2061: {
                   2062:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2063:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2064: $as_echo_n "checking for $2... " >&6; }
                   2065: if eval \${$3+:} false; then :
                   2066:   $as_echo_n "(cached) " >&6
                   2067: else
                   2068:   eval "$3=no"
                   2069:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2070: /* end confdefs.h.  */
                   2071: $4
                   2072: int
                   2073: main ()
                   2074: {
                   2075: if (sizeof ($2))
                   2076:         return 0;
                   2077:   ;
                   2078:   return 0;
                   2079: }
                   2080: _ACEOF
                   2081: if ac_fn_c_try_compile "$LINENO"; then :
                   2082:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2083: /* end confdefs.h.  */
                   2084: $4
                   2085: int
                   2086: main ()
                   2087: {
                   2088: if (sizeof (($2)))
                   2089:            return 0;
                   2090:   ;
                   2091:   return 0;
                   2092: }
                   2093: _ACEOF
                   2094: if ac_fn_c_try_compile "$LINENO"; then :
                   2095: 
                   2096: else
                   2097:   eval "$3=yes"
                   2098: fi
                   2099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2100: fi
                   2101: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2102: fi
                   2103: eval ac_res=\$$3
                   2104:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2105: $as_echo "$ac_res" >&6; }
                   2106:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2107: 
                   2108: } # ac_fn_c_check_type
                   2109: 
1.156     moko     2110: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2111: # ------------------------------------
                   2112: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2113: # accordingly.
                   2114: ac_fn_c_find_uintX_t ()
                   2115: {
                   2116:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2117:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2118: $as_echo_n "checking for uint$2_t... " >&6; }
                   2119: if eval \${$3+:} false; then :
                   2120:   $as_echo_n "(cached) " >&6
                   2121: else
                   2122:   eval "$3=no"
                   2123:      # Order is important - never check a type that is potentially smaller
                   2124:      # than half of the expected target width.
                   2125:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2126:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2127:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2128: /* end confdefs.h.  */
                   2129: $ac_includes_default
                   2130: int
                   2131: main ()
                   2132: {
                   2133: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2134: test_array [0] = 0;
                   2135: return test_array [0];
1.156     moko     2136: 
                   2137:   ;
                   2138:   return 0;
                   2139: }
                   2140: _ACEOF
                   2141: if ac_fn_c_try_compile "$LINENO"; then :
                   2142:   case $ac_type in #(
                   2143:   uint$2_t) :
                   2144:     eval "$3=yes" ;; #(
                   2145:   *) :
                   2146:     eval "$3=\$ac_type" ;;
                   2147: esac
                   2148: fi
                   2149: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2150:        if eval test \"x\$"$3"\" = x"no"; then :
                   2151: 
                   2152: else
                   2153:   break
                   2154: fi
                   2155:      done
                   2156: fi
                   2157: eval ac_res=\$$3
                   2158:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2159: $as_echo "$ac_res" >&6; }
                   2160:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2161: 
                   2162: } # ac_fn_c_find_uintX_t
                   2163: 
1.161     moko     2164: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2165: # ----------------------------------------------------
                   2166: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2167: # INCLUDES, setting cache variable VAR accordingly.
                   2168: ac_fn_c_check_member ()
                   2169: {
                   2170:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2171:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2172: $as_echo_n "checking for $2.$3... " >&6; }
                   2173: if eval \${$4+:} false; then :
                   2174:   $as_echo_n "(cached) " >&6
                   2175: else
                   2176:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2177: /* end confdefs.h.  */
                   2178: $5
                   2179: int
                   2180: main ()
                   2181: {
                   2182: static $2 ac_aggr;
                   2183: if (ac_aggr.$3)
                   2184: return 0;
                   2185:   ;
                   2186:   return 0;
                   2187: }
                   2188: _ACEOF
                   2189: if ac_fn_c_try_compile "$LINENO"; then :
                   2190:   eval "$4=yes"
                   2191: else
                   2192:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2193: /* end confdefs.h.  */
                   2194: $5
                   2195: int
                   2196: main ()
                   2197: {
                   2198: static $2 ac_aggr;
                   2199: if (sizeof ac_aggr.$3)
                   2200: return 0;
                   2201:   ;
                   2202:   return 0;
                   2203: }
                   2204: _ACEOF
                   2205: if ac_fn_c_try_compile "$LINENO"; then :
                   2206:   eval "$4=yes"
                   2207: else
                   2208:   eval "$4=no"
                   2209: fi
                   2210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2211: fi
                   2212: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2213: fi
                   2214: eval ac_res=\$$4
                   2215:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2216: $as_echo "$ac_res" >&6; }
                   2217:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2218: 
                   2219: } # ac_fn_c_check_member
                   2220: 
1.150     moko     2221: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2222: # -------------------------------------------------------
                   2223: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2224: # the include files in INCLUDES and setting the cache variable VAR
                   2225: # accordingly.
                   2226: ac_fn_c_check_header_mongrel ()
                   2227: {
                   2228:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2229:   if eval \${$3+:} false; then :
                   2230:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2231: $as_echo_n "checking for $2... " >&6; }
                   2232: if eval \${$3+:} false; then :
                   2233:   $as_echo_n "(cached) " >&6
                   2234: fi
                   2235: eval ac_res=\$$3
                   2236:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2237: $as_echo "$ac_res" >&6; }
                   2238: else
                   2239:   # Is the header compilable?
                   2240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2241: $as_echo_n "checking $2 usability... " >&6; }
                   2242: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2243: /* end confdefs.h.  */
                   2244: $4
                   2245: #include <$2>
                   2246: _ACEOF
                   2247: if ac_fn_c_try_compile "$LINENO"; then :
                   2248:   ac_header_compiler=yes
                   2249: else
                   2250:   ac_header_compiler=no
                   2251: fi
                   2252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2254: $as_echo "$ac_header_compiler" >&6; }
                   2255: 
                   2256: # Is the header present?
                   2257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2258: $as_echo_n "checking $2 presence... " >&6; }
                   2259: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2260: /* end confdefs.h.  */
                   2261: #include <$2>
                   2262: _ACEOF
                   2263: if ac_fn_c_try_cpp "$LINENO"; then :
                   2264:   ac_header_preproc=yes
                   2265: else
                   2266:   ac_header_preproc=no
                   2267: fi
                   2268: rm -f conftest.err conftest.i conftest.$ac_ext
                   2269: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2270: $as_echo "$ac_header_preproc" >&6; }
                   2271: 
                   2272: # So?  What about this header?
                   2273: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2274:   yes:no: )
                   2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2276: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2277:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2278: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2279:     ;;
                   2280:   no:yes:* )
                   2281:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2282: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2283:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2284: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2285:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2286: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2287:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2288: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2289:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2290: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2291:     ;;
                   2292: esac
                   2293:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2294: $as_echo_n "checking for $2... " >&6; }
                   2295: if eval \${$3+:} false; then :
                   2296:   $as_echo_n "(cached) " >&6
                   2297: else
                   2298:   eval "$3=\$ac_header_compiler"
                   2299: fi
                   2300: eval ac_res=\$$3
                   2301:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2302: $as_echo "$ac_res" >&6; }
                   2303: fi
                   2304:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2305: 
                   2306: } # ac_fn_c_check_header_mongrel
                   2307: cat >config.log <<_ACEOF
                   2308: This file contains any messages produced by compilers while
                   2309: running configure, to aid debugging if configure makes a mistake.
                   2310: 
1.186     moko     2311: It was created by parser $as_me 3.4.6b, which was
1.166     moko     2312: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2313: 
                   2314:   $ $0 $@
                   2315: 
                   2316: _ACEOF
                   2317: exec 5>>config.log
                   2318: {
                   2319: cat <<_ASUNAME
                   2320: ## --------- ##
                   2321: ## Platform. ##
                   2322: ## --------- ##
                   2323: 
                   2324: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2325: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2326: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2327: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2328: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2329: 
                   2330: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2331: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2332: 
                   2333: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2334: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2335: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2336: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2337: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2338: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2339: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2340: 
                   2341: _ASUNAME
                   2342: 
                   2343: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2344: for as_dir in $PATH
                   2345: do
                   2346:   IFS=$as_save_IFS
                   2347:   test -z "$as_dir" && as_dir=.
1.150     moko     2348:     $as_echo "PATH: $as_dir"
                   2349:   done
                   2350: IFS=$as_save_IFS
1.1       paf      2351: 
1.62      paf      2352: } >&5
                   2353: 
                   2354: cat >&5 <<_ACEOF
                   2355: 
                   2356: 
                   2357: ## ----------- ##
                   2358: ## Core tests. ##
                   2359: ## ----------- ##
                   2360: 
                   2361: _ACEOF
                   2362: 
                   2363: 
                   2364: # Keep a trace of the command line.
                   2365: # Strip out --no-create and --no-recursion so they do not pile up.
                   2366: # Strip out --silent because we don't want to record it for future runs.
                   2367: # Also quote any args containing shell meta-characters.
                   2368: # Make two passes to allow for proper duplicate-argument suppression.
                   2369: ac_configure_args=
                   2370: ac_configure_args0=
                   2371: ac_configure_args1=
                   2372: ac_must_keep_next=false
                   2373: for ac_pass in 1 2
                   2374: do
                   2375:   for ac_arg
                   2376:   do
                   2377:     case $ac_arg in
                   2378:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2379:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2380:     | -silent | --silent | --silen | --sile | --sil)
                   2381:       continue ;;
1.150     moko     2382:     *\'*)
                   2383:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2384:     esac
                   2385:     case $ac_pass in
1.150     moko     2386:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2387:     2)
1.150     moko     2388:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2389:       if test $ac_must_keep_next = true; then
1.86      paf      2390:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2391:       else
1.86      paf      2392:        case $ac_arg in
                   2393:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2394:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2395:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2396:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2397:            case "$ac_configure_args0 " in
                   2398:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2399:            esac
                   2400:            ;;
                   2401:          -* ) ac_must_keep_next=true ;;
                   2402:        esac
1.62      paf      2403:       fi
1.150     moko     2404:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2405:       ;;
                   2406:     esac
                   2407:   done
                   2408: done
1.150     moko     2409: { ac_configure_args0=; unset ac_configure_args0;}
                   2410: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2411: 
                   2412: # When interrupted or exit'd, cleanup temporary files, and complete
                   2413: # config.log.  We remove comments because anyway the quotes in there
                   2414: # would cause problems or look ugly.
1.150     moko     2415: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2416: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2417: trap 'exit_status=$?
                   2418:   # Save into config.log some information that might help in debugging.
                   2419:   {
                   2420:     echo
                   2421: 
1.150     moko     2422:     $as_echo "## ---------------- ##
1.62      paf      2423: ## Cache variables. ##
1.150     moko     2424: ## ---------------- ##"
1.62      paf      2425:     echo
                   2426:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2427: (
                   2428:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2429:     eval ac_val=\$$ac_var
                   2430:     case $ac_val in #(
                   2431:     *${as_nl}*)
                   2432:       case $ac_var in #(
                   2433:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2434: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2435:       esac
                   2436:       case $ac_var in #(
                   2437:       _ | IFS | as_nl) ;; #(
                   2438:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2439:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2440:       esac ;;
                   2441:     esac
                   2442:   done
1.62      paf      2443:   (set) 2>&1 |
1.150     moko     2444:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2445:     *${as_nl}ac_space=\ *)
1.62      paf      2446:       sed -n \
1.150     moko     2447:        "s/'\''/'\''\\\\'\'''\''/g;
                   2448:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2449:       ;; #(
1.62      paf      2450:     *)
1.150     moko     2451:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2452:       ;;
1.150     moko     2453:     esac |
                   2454:     sort
                   2455: )
1.62      paf      2456:     echo
                   2457: 
1.150     moko     2458:     $as_echo "## ----------------- ##
1.62      paf      2459: ## Output variables. ##
1.150     moko     2460: ## ----------------- ##"
1.62      paf      2461:     echo
                   2462:     for ac_var in $ac_subst_vars
                   2463:     do
1.150     moko     2464:       eval ac_val=\$$ac_var
                   2465:       case $ac_val in
                   2466:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2467:       esac
                   2468:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2469:     done | sort
                   2470:     echo
                   2471: 
                   2472:     if test -n "$ac_subst_files"; then
1.150     moko     2473:       $as_echo "## ------------------- ##
                   2474: ## File substitutions. ##
                   2475: ## ------------------- ##"
1.62      paf      2476:       echo
                   2477:       for ac_var in $ac_subst_files
                   2478:       do
1.150     moko     2479:        eval ac_val=\$$ac_var
                   2480:        case $ac_val in
                   2481:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2482:        esac
                   2483:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2484:       done | sort
                   2485:       echo
                   2486:     fi
                   2487: 
                   2488:     if test -s confdefs.h; then
1.150     moko     2489:       $as_echo "## ----------- ##
1.62      paf      2490: ## confdefs.h. ##
1.150     moko     2491: ## ----------- ##"
1.62      paf      2492:       echo
1.150     moko     2493:       cat confdefs.h
1.62      paf      2494:       echo
                   2495:     fi
                   2496:     test "$ac_signal" != 0 &&
1.150     moko     2497:       $as_echo "$as_me: caught signal $ac_signal"
                   2498:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2499:   } >&5
1.150     moko     2500:   rm -f core *.core core.conftest.* &&
                   2501:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2502:     exit $exit_status
1.150     moko     2503: ' 0
1.62      paf      2504: for ac_signal in 1 2 13 15; do
1.150     moko     2505:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2506: done
                   2507: ac_signal=0
                   2508: 
                   2509: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2510: rm -f -r conftest* confdefs.h
                   2511: 
                   2512: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2513: 
                   2514: # Predefined preprocessor variables.
                   2515: 
                   2516: cat >>confdefs.h <<_ACEOF
                   2517: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2518: _ACEOF
                   2519: 
                   2520: cat >>confdefs.h <<_ACEOF
                   2521: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2522: _ACEOF
                   2523: 
                   2524: cat >>confdefs.h <<_ACEOF
                   2525: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2526: _ACEOF
                   2527: 
                   2528: cat >>confdefs.h <<_ACEOF
                   2529: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2530: _ACEOF
                   2531: 
1.150     moko     2532: cat >>confdefs.h <<_ACEOF
                   2533: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2534: _ACEOF
1.62      paf      2535: 
                   2536: cat >>confdefs.h <<_ACEOF
1.150     moko     2537: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2538: _ACEOF
                   2539: 
                   2540: 
                   2541: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2542: # Prefer an explicitly selected file to automatically selected ones.
                   2543: ac_site_file1=NONE
                   2544: ac_site_file2=NONE
                   2545: if test -n "$CONFIG_SITE"; then
                   2546:   # We do not want a PATH search for config.site.
                   2547:   case $CONFIG_SITE in #((
                   2548:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2549:     */*) ac_site_file1=$CONFIG_SITE;;
                   2550:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2551:   esac
                   2552: elif test "x$prefix" != xNONE; then
                   2553:   ac_site_file1=$prefix/share/config.site
                   2554:   ac_site_file2=$prefix/etc/config.site
                   2555: else
                   2556:   ac_site_file1=$ac_default_prefix/share/config.site
                   2557:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2558: fi
                   2559: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2560: do
                   2561:   test "x$ac_site_file" = xNONE && continue
                   2562:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2563:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2564: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2565:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2566:     . "$ac_site_file" \
                   2567:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2568: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2569: as_fn_error $? "failed to load site script $ac_site_file
                   2570: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2571:   fi
                   2572: done
                   2573: 
                   2574: if test -r "$cache_file"; then
1.150     moko     2575:   # Some versions of bash will fail to source /dev/null (special files
                   2576:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2577:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2578:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2579: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2580:     case $cache_file in
1.150     moko     2581:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2582:       *)                      . "./$cache_file";;
1.62      paf      2583:     esac
                   2584:   fi
1.1       paf      2585: else
1.150     moko     2586:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2587: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2588:   >$cache_file
                   2589: fi
                   2590: 
                   2591: # Check that the precious variables saved in the cache have kept the same
                   2592: # value.
                   2593: ac_cache_corrupted=false
1.150     moko     2594: for ac_var in $ac_precious_vars; do
1.62      paf      2595:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2596:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2597:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2598:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2599:   case $ac_old_set,$ac_new_set in
                   2600:     set,)
1.150     moko     2601:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2602: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2603:       ac_cache_corrupted=: ;;
                   2604:     ,set)
1.150     moko     2605:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2606: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2607:       ac_cache_corrupted=: ;;
                   2608:     ,);;
                   2609:     *)
                   2610:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2611:        # differences in whitespace do not lead to failure.
                   2612:        ac_old_val_w=`echo x $ac_old_val`
                   2613:        ac_new_val_w=`echo x $ac_new_val`
                   2614:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2615:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2616: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2617:          ac_cache_corrupted=:
                   2618:        else
                   2619:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2620: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2621:          eval $ac_var=\$ac_old_val
                   2622:        fi
                   2623:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2624: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2625:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2626: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2627:       fi;;
                   2628:   esac
                   2629:   # Pass precious variables to config.status.
                   2630:   if test "$ac_new_set" = set; then
                   2631:     case $ac_new_val in
1.150     moko     2632:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2633:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2634:     esac
                   2635:     case " $ac_configure_args " in
                   2636:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2637:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2638:     esac
                   2639:   fi
                   2640: done
                   2641: if $ac_cache_corrupted; then
1.150     moko     2642:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2643: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2644:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2645: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2646:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2647: fi
                   2648: ## -------------------- ##
                   2649: ## Main body of script. ##
                   2650: ## -------------------- ##
1.1       paf      2651: 
                   2652: ac_ext=c
                   2653: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2654: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2655: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2656: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2657: 
                   2658: 
                   2659: 
                   2660: 
                   2661: 
1.199     moko     2662: am__api_version='1.16'
1.62      paf      2663: 
1.1       paf      2664: ac_aux_dir=
1.150     moko     2665: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2666:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2667:     ac_aux_dir=$ac_dir
                   2668:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2669:     break
1.150     moko     2670:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2671:     ac_aux_dir=$ac_dir
                   2672:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2673:     break
1.150     moko     2674:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2675:     ac_aux_dir=$ac_dir
                   2676:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2677:     break
1.1       paf      2678:   fi
                   2679: done
                   2680: if test -z "$ac_aux_dir"; then
1.150     moko     2681:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2682: fi
                   2683: 
                   2684: # These three variables are undocumented and unsupported,
                   2685: # and are intended to be withdrawn in a future Autoconf release.
                   2686: # They can cause serious problems if a builder's source tree is in a directory
                   2687: # whose full name contains unusual characters.
                   2688: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2689: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2690: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2691: 
1.1       paf      2692: 
                   2693: # Find a good install program.  We prefer a C program (faster),
                   2694: # so one script is as good as another.  But avoid the broken or
                   2695: # incompatible versions:
                   2696: # SysV /etc/install, /usr/sbin/install
                   2697: # SunOS /usr/etc/install
                   2698: # IRIX /sbin/install
                   2699: # AIX /bin/install
1.62      paf      2700: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2701: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2702: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2703: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2704: # OS/2's system install, which has a completely different semantic
1.1       paf      2705: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2706: # Reject install programs that cannot install multiple files.
                   2707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2708: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2709: if test -z "$INSTALL"; then
1.150     moko     2710: if ${ac_cv_path_install+:} false; then :
                   2711:   $as_echo_n "(cached) " >&6
1.1       paf      2712: else
1.62      paf      2713:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2714: for as_dir in $PATH
                   2715: do
                   2716:   IFS=$as_save_IFS
                   2717:   test -z "$as_dir" && as_dir=.
1.150     moko     2718:     # Account for people who put trailing slashes in PATH elements.
                   2719: case $as_dir/ in #((
                   2720:   ./ | .// | /[cC]/* | \
1.62      paf      2721:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2722:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2723:   /usr/ucb/* ) ;;
                   2724:   *)
                   2725:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2726:     # Don't use installbsd from OSF since it installs stuff as root
                   2727:     # by default.
                   2728:     for ac_prog in ginstall scoinst install; do
                   2729:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2730:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2731:          if test $ac_prog = install &&
                   2732:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2733:            # AIX install.  It has an incompatible calling convention.
                   2734:            :
                   2735:          elif test $ac_prog = install &&
                   2736:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2737:            # program-specific install script used by HP pwplus--don't use.
                   2738:            :
                   2739:          else
1.150     moko     2740:            rm -rf conftest.one conftest.two conftest.dir
                   2741:            echo one > conftest.one
                   2742:            echo two > conftest.two
                   2743:            mkdir conftest.dir
                   2744:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2745:              test -s conftest.one && test -s conftest.two &&
                   2746:              test -s conftest.dir/conftest.one &&
                   2747:              test -s conftest.dir/conftest.two
                   2748:            then
                   2749:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2750:              break 3
                   2751:            fi
1.86      paf      2752:          fi
                   2753:        fi
1.1       paf      2754:       done
1.62      paf      2755:     done
                   2756:     ;;
                   2757: esac
                   2758: 
1.150     moko     2759:   done
                   2760: IFS=$as_save_IFS
                   2761: 
                   2762: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2763: 
                   2764: fi
                   2765:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2766:     INSTALL=$ac_cv_path_install
1.1       paf      2767:   else
1.150     moko     2768:     # As a last resort, use the slow shell script.  Don't cache a
                   2769:     # value for INSTALL within a source directory, because that will
1.1       paf      2770:     # break other packages using the cache if that directory is
1.150     moko     2771:     # removed, or if the value is a relative name.
1.62      paf      2772:     INSTALL=$ac_install_sh
1.1       paf      2773:   fi
                   2774: fi
1.150     moko     2775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2776: $as_echo "$INSTALL" >&6; }
1.1       paf      2777: 
                   2778: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2779: # It thinks the first close brace ends the variable substitution.
                   2780: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2781: 
1.62      paf      2782: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2783: 
                   2784: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2785: 
1.150     moko     2786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2787: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2788: # Reject unsafe characters in $srcdir or the absolute working directory
                   2789: # name.  Accept space and tab only in the latter.
                   2790: am_lf='
                   2791: '
                   2792: case `pwd` in
                   2793:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2794:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2795: esac
                   2796: case $srcdir in
                   2797:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     2798:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     2799: esac
                   2800: 
1.187     moko     2801: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2802: # arguments.  Must try -L first in case configure is actually a
                   2803: # symlink; some systems play weird games with the mod time of symlinks
                   2804: # (eg FreeBSD returns the mod time of the symlink's containing
                   2805: # directory).
                   2806: if (
1.187     moko     2807:    am_has_slept=no
                   2808:    for am_try in 1 2; do
                   2809:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2810:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2811:      if test "$*" = "X"; then
                   2812:        # -L didn't work.
                   2813:        set X `ls -t "$srcdir/configure" conftest.file`
                   2814:      fi
                   2815:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2816:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2817: 
1.187     moko     2818:        # If neither matched, then we have a broken ls.  This can happen
                   2819:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2820:        # broken ls alias from the environment.  This has actually
                   2821:        # happened.  Such a system could not be considered "sane".
                   2822:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2823:   alias in your environment" "$LINENO" 5
                   2824:      fi
                   2825:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2826:        break
                   2827:      fi
                   2828:      # Just in case.
                   2829:      sleep 1
                   2830:      am_has_slept=yes
                   2831:    done
1.62      paf      2832:    test "$2" = conftest.file
1.1       paf      2833:    )
                   2834: then
                   2835:    # Ok.
                   2836:    :
                   2837: else
1.150     moko     2838:    as_fn_error $? "newly created file is older than distributed files!
                   2839: Check your system clock" "$LINENO" 5
1.1       paf      2840: fi
1.150     moko     2841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2842: $as_echo "yes" >&6; }
1.187     moko     2843: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2844: # generated files are strictly newer.
                   2845: am_sleep_pid=
                   2846: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2847:   ( sleep 1 ) &
                   2848:   am_sleep_pid=$!
                   2849: fi
                   2850: 
                   2851: rm -f conftest.file
                   2852: 
1.1       paf      2853: test "$program_prefix" != NONE &&
1.150     moko     2854:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2855: # Use a double $ so make ignores it.
                   2856: test "$program_suffix" != NONE &&
1.150     moko     2857:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2858: # Double any \ or $.
1.62      paf      2859: # By default was `s,x,x', remove it if useless.
1.150     moko     2860: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2861: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2862: 
1.187     moko     2863: # Expand $ac_aux_dir to an absolute path.
                   2864: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      2865: 
1.150     moko     2866: if test x"${MISSING+set}" != xset; then
                   2867:   case $am_aux_dir in
                   2868:   *\ * | *\    *)
                   2869:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2870:   *)
                   2871:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2872:   esac
                   2873: fi
1.62      paf      2874: # Use eval to expand $SHELL
1.187     moko     2875: if eval "$MISSING --is-lightweight"; then
                   2876:   am_missing_run="$MISSING "
1.62      paf      2877: else
                   2878:   am_missing_run=
1.187     moko     2879:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2880: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      2881: fi
                   2882: 
1.187     moko     2883: if test x"${install_sh+set}" != xset; then
1.150     moko     2884:   case $am_aux_dir in
                   2885:   *\ * | *\    *)
                   2886:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2887:   *)
                   2888:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2889:   esac
1.86      paf      2890: fi
                   2891: 
1.187     moko     2892: # Installed binaries are usually stripped using 'strip' when the user
                   2893: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     2894: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     2895: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     2896: if test "$cross_compiling" != no; then
                   2897:   if test -n "$ac_tool_prefix"; then
                   2898:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2899: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2901: $as_echo_n "checking for $ac_word... " >&6; }
                   2902: if ${ac_cv_prog_STRIP+:} false; then :
                   2903:   $as_echo_n "(cached) " >&6
                   2904: else
                   2905:   if test -n "$STRIP"; then
                   2906:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2907: else
                   2908: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2909: for as_dir in $PATH
                   2910: do
                   2911:   IFS=$as_save_IFS
                   2912:   test -z "$as_dir" && as_dir=.
                   2913:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2914:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2915:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2916:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2917:     break 2
                   2918:   fi
                   2919: done
                   2920:   done
                   2921: IFS=$as_save_IFS
                   2922: 
                   2923: fi
                   2924: fi
                   2925: STRIP=$ac_cv_prog_STRIP
                   2926: if test -n "$STRIP"; then
                   2927:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2928: $as_echo "$STRIP" >&6; }
                   2929: else
                   2930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2931: $as_echo "no" >&6; }
                   2932: fi
                   2933: 
                   2934: 
                   2935: fi
                   2936: if test -z "$ac_cv_prog_STRIP"; then
                   2937:   ac_ct_STRIP=$STRIP
                   2938:   # Extract the first word of "strip", so it can be a program name with args.
                   2939: set dummy strip; ac_word=$2
                   2940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2941: $as_echo_n "checking for $ac_word... " >&6; }
                   2942: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2943:   $as_echo_n "(cached) " >&6
                   2944: else
                   2945:   if test -n "$ac_ct_STRIP"; then
                   2946:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2947: else
                   2948: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2949: for as_dir in $PATH
                   2950: do
                   2951:   IFS=$as_save_IFS
                   2952:   test -z "$as_dir" && as_dir=.
                   2953:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2954:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2955:     ac_cv_prog_ac_ct_STRIP="strip"
                   2956:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2957:     break 2
                   2958:   fi
                   2959: done
                   2960:   done
                   2961: IFS=$as_save_IFS
                   2962: 
                   2963: fi
                   2964: fi
                   2965: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2966: if test -n "$ac_ct_STRIP"; then
                   2967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2968: $as_echo "$ac_ct_STRIP" >&6; }
                   2969: else
                   2970:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2971: $as_echo "no" >&6; }
                   2972: fi
                   2973: 
                   2974:   if test "x$ac_ct_STRIP" = x; then
                   2975:     STRIP=":"
                   2976:   else
                   2977:     case $cross_compiling:$ac_tool_warned in
                   2978: yes:)
                   2979: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2980: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2981: ac_tool_warned=yes ;;
                   2982: esac
                   2983:     STRIP=$ac_ct_STRIP
                   2984:   fi
                   2985: else
                   2986:   STRIP="$ac_cv_prog_STRIP"
                   2987: fi
                   2988: 
                   2989: fi
                   2990: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2991: 
                   2992: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2993: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2994: if test -z "$MKDIR_P"; then
                   2995:   if ${ac_cv_path_mkdir+:} false; then :
                   2996:   $as_echo_n "(cached) " >&6
                   2997: else
                   2998:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2999: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3000: do
                   3001:   IFS=$as_save_IFS
                   3002:   test -z "$as_dir" && as_dir=.
                   3003:     for ac_prog in mkdir gmkdir; do
                   3004:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3005:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     3006:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3007:             'mkdir (GNU coreutils) '* | \
                   3008:             'mkdir (coreutils) '* | \
                   3009:             'mkdir (fileutils) '4.1*)
                   3010:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3011:               break 3;;
                   3012:           esac
                   3013:         done
                   3014:        done
                   3015:   done
                   3016: IFS=$as_save_IFS
                   3017: 
                   3018: fi
                   3019: 
                   3020:   test -d ./--version && rmdir ./--version
                   3021:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3022:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3023:   else
                   3024:     # As a last resort, use the slow shell script.  Don't cache a
                   3025:     # value for MKDIR_P within a source directory, because that will
                   3026:     # break other packages using the cache if that directory is
                   3027:     # removed, or if the value is a relative name.
                   3028:     MKDIR_P="$ac_install_sh -d"
                   3029:   fi
                   3030: fi
                   3031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3032: $as_echo "$MKDIR_P" >&6; }
                   3033: 
                   3034: for ac_prog in gawk mawk nawk awk
1.62      paf      3035: do
                   3036:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3037: set dummy $ac_prog; ac_word=$2
1.150     moko     3038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3039: $as_echo_n "checking for $ac_word... " >&6; }
                   3040: if ${ac_cv_prog_AWK+:} false; then :
                   3041:   $as_echo_n "(cached) " >&6
1.62      paf      3042: else
                   3043:   if test -n "$AWK"; then
                   3044:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3045: else
                   3046: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3047: for as_dir in $PATH
                   3048: do
                   3049:   IFS=$as_save_IFS
                   3050:   test -z "$as_dir" && as_dir=.
1.150     moko     3051:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3052:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3053:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3054:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3055:     break 2
                   3056:   fi
                   3057: done
1.150     moko     3058:   done
                   3059: IFS=$as_save_IFS
1.62      paf      3060: 
                   3061: fi
                   3062: fi
                   3063: AWK=$ac_cv_prog_AWK
                   3064: if test -n "$AWK"; then
1.150     moko     3065:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3066: $as_echo "$AWK" >&6; }
1.62      paf      3067: else
1.150     moko     3068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3069: $as_echo "no" >&6; }
1.62      paf      3070: fi
1.1       paf      3071: 
1.150     moko     3072: 
1.62      paf      3073:   test -n "$AWK" && break
                   3074: done
1.1       paf      3075: 
1.150     moko     3076: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3077: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3078: set x ${MAKE-make}
                   3079: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3080: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3081:   $as_echo_n "(cached) " >&6
1.1       paf      3082: else
1.62      paf      3083:   cat >conftest.make <<\_ACEOF
1.150     moko     3084: SHELL = /bin/sh
1.1       paf      3085: all:
1.150     moko     3086:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3087: _ACEOF
1.150     moko     3088: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3089: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3090:   *@@@%%%=?*=@@@%%%*)
                   3091:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3092:   *)
                   3093:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3094: esac
1.62      paf      3095: rm -f conftest.make
1.1       paf      3096: fi
1.150     moko     3097: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3099: $as_echo "yes" >&6; }
1.1       paf      3100:   SET_MAKE=
                   3101: else
1.150     moko     3102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3103: $as_echo "no" >&6; }
1.1       paf      3104:   SET_MAKE="MAKE=${MAKE-make}"
                   3105: fi
                   3106: 
1.86      paf      3107: rm -rf .tst 2>/dev/null
                   3108: mkdir .tst 2>/dev/null
                   3109: if test -d .tst; then
                   3110:   am__leading_dot=.
                   3111: else
                   3112:   am__leading_dot=_
                   3113: fi
                   3114: rmdir .tst 2>/dev/null
                   3115: 
1.187     moko     3116: # Check whether --enable-silent-rules was given.
                   3117: if test "${enable_silent_rules+set}" = set; then :
                   3118:   enableval=$enable_silent_rules;
                   3119: fi
                   3120: 
                   3121: case $enable_silent_rules in # (((
                   3122:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3123:    no) AM_DEFAULT_VERBOSITY=1;;
                   3124:     *) AM_DEFAULT_VERBOSITY=1;;
                   3125: esac
                   3126: am_make=${MAKE-make}
                   3127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3128: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3129: if ${am_cv_make_support_nested_variables+:} false; then :
                   3130:   $as_echo_n "(cached) " >&6
                   3131: else
                   3132:   if $as_echo 'TRUE=$(BAR$(V))
                   3133: BAR0=false
                   3134: BAR1=true
                   3135: V=1
                   3136: am__doit:
                   3137:        @$(TRUE)
                   3138: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3139:   am_cv_make_support_nested_variables=yes
                   3140: else
                   3141:   am_cv_make_support_nested_variables=no
                   3142: fi
                   3143: fi
                   3144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3145: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3146: if test $am_cv_make_support_nested_variables = yes; then
                   3147:     AM_V='$(V)'
                   3148:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3149: else
                   3150:   AM_V=$AM_DEFAULT_VERBOSITY
                   3151:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3152: fi
                   3153: AM_BACKSLASH='\'
                   3154: 
1.150     moko     3155: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3156:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3157:   # is not polluted with repeated "-I."
                   3158:   am__isrc=' -I$(srcdir)'
                   3159:   # test to see if srcdir already configured
                   3160:   if test -f $srcdir/config.status; then
                   3161:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3162:   fi
1.62      paf      3163: fi
                   3164: 
                   3165: # test whether we have cygpath
                   3166: if test -z "$CYGPATH_W"; then
                   3167:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3168:     CYGPATH_W='cygpath -w'
                   3169:   else
                   3170:     CYGPATH_W=echo
                   3171:   fi
                   3172: fi
                   3173: 
                   3174: 
                   3175: # Define the identity of the package.
1.128     moko     3176:  PACKAGE='parser'
1.186     moko     3177:  VERSION='3.4.6b'
1.128     moko     3178: 
                   3179: 
                   3180: cat >>confdefs.h <<_ACEOF
                   3181: #define PACKAGE "$PACKAGE"
                   3182: _ACEOF
1.1       paf      3183: 
                   3184: 
1.128     moko     3185: cat >>confdefs.h <<_ACEOF
                   3186: #define VERSION "$VERSION"
                   3187: _ACEOF
                   3188: 
1.62      paf      3189: # Some tools Automake needs.
                   3190: 
                   3191: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3192: 
                   3193: 
                   3194: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3195: 
                   3196: 
                   3197: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3198: 
                   3199: 
                   3200: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3201: 
                   3202: 
                   3203: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3204: 
1.187     moko     3205: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3206: # dies out for good.  For more background, see:
1.199     moko     3207: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3208: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     3209: mkdir_p='$(MKDIR_P)'
                   3210: 
                   3211: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3212: # system "awk" is bad on some platforms.
                   3213: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3214: # in the wild :-(  We should find a proper way to deprecate it ...
                   3215: AMTAR='$${TAR-tar}'
                   3216: 
                   3217: 
                   3218: # We'll loop over all known methods to create a tar archive until one works.
                   3219: _am_tools='gnutar  pax cpio none'
                   3220: 
                   3221: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3222: 
1.86      paf      3223: 
                   3224: 
                   3225: 
                   3226: 
1.62      paf      3227: 
1.187     moko     3228: # POSIX will say in a future version that running "rm -f" with no argument
                   3229: # is OK; and we want to be able to make that assumption in our Makefile
                   3230: # recipes.  So use an aggressive probe to check that the usage we want is
                   3231: # actually supported "in the wild" to an acceptable degree.
                   3232: # See automake bug#10828.
                   3233: # To make any issue more visible, cause the running configure to be aborted
                   3234: # by default if the 'rm' program in use doesn't match our expectations; the
                   3235: # user can still override this though.
                   3236: if rm -f && rm -fr && rm -rf; then : OK; else
                   3237:   cat >&2 <<'END'
                   3238: Oops!
1.1       paf      3239: 
1.187     moko     3240: Your 'rm' program seems unable to run without file operands specified
                   3241: on the command line, even when the '-f' option is present.  This is contrary
                   3242: to the behaviour of most rm programs out there, and not conforming with
                   3243: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3244: 
                   3245: Please tell bug-automake@gnu.org about your system, including the value
                   3246: of your $PATH and any error possibly output before this message.  This
                   3247: can help us improve future automake versions.
                   3248: 
                   3249: END
                   3250:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3251:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3252:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3253:     echo >&2
                   3254:   else
                   3255:     cat >&2 <<'END'
                   3256: Aborting the configuration process, to ensure you take notice of the issue.
                   3257: 
                   3258: You can download and install GNU coreutils to get an 'rm' implementation
1.199     moko     3259: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.187     moko     3260: 
                   3261: If you want to complete the configuration process using your problematic
                   3262: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3263: to "yes", and re-run configure.
                   3264: 
                   3265: END
                   3266:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3267:   fi
                   3268: fi
1.1       paf      3269: 
                   3270: 
1.128     moko     3271: 
1.12      paf      3272: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3273: 
                   3274: 
1.128     moko     3275: 
1.41      paf      3276: # Make sure we can run config.sub.
1.150     moko     3277: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3278:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3279: 
1.150     moko     3280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3281: $as_echo_n "checking build system type... " >&6; }
                   3282: if ${ac_cv_build+:} false; then :
                   3283:   $as_echo_n "(cached) " >&6
                   3284: else
                   3285:   ac_build_alias=$build_alias
                   3286: test "x$ac_build_alias" = x &&
                   3287:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3288: test "x$ac_build_alias" = x &&
                   3289:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3290: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3291:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3292: 
                   3293: fi
                   3294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3295: $as_echo "$ac_cv_build" >&6; }
                   3296: case $ac_cv_build in
                   3297: *-*-*) ;;
                   3298: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3299: esac
                   3300: build=$ac_cv_build
                   3301: ac_save_IFS=$IFS; IFS='-'
                   3302: set x $ac_cv_build
                   3303: shift
                   3304: build_cpu=$1
                   3305: build_vendor=$2
                   3306: shift; shift
                   3307: # Remember, the first character of IFS is used to create $*,
                   3308: # except with old shells:
                   3309: build_os=$*
                   3310: IFS=$ac_save_IFS
                   3311: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3312: 
                   3313: 
                   3314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3315: $as_echo_n "checking host system type... " >&6; }
                   3316: if ${ac_cv_host+:} false; then :
                   3317:   $as_echo_n "(cached) " >&6
                   3318: else
                   3319:   if test "x$host_alias" = x; then
                   3320:   ac_cv_host=$ac_cv_build
                   3321: else
                   3322:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3323:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3324: fi
                   3325: 
                   3326: fi
1.150     moko     3327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3328: $as_echo "$ac_cv_host" >&6; }
                   3329: case $ac_cv_host in
                   3330: *-*-*) ;;
                   3331: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3332: esac
1.62      paf      3333: host=$ac_cv_host
1.150     moko     3334: ac_save_IFS=$IFS; IFS='-'
                   3335: set x $ac_cv_host
                   3336: shift
                   3337: host_cpu=$1
                   3338: host_vendor=$2
                   3339: shift; shift
                   3340: # Remember, the first character of IFS is used to create $*,
                   3341: # except with old shells:
                   3342: host_os=$*
                   3343: IFS=$ac_save_IFS
                   3344: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3345: 
                   3346: 
                   3347: 
1.148     moko     3348: cat >>confdefs.h <<_ACEOF
                   3349: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3350: _ACEOF
                   3351: 
                   3352: 
1.41      paf      3353: 
1.67      paf      3354: case $host_os in
                   3355:   *cygwin* )
1.150     moko     3356: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3357: ;;
                   3358: esac
1.41      paf      3359: 
1.128     moko     3360: 
1.1       paf      3361: 
1.62      paf      3362: for ac_prog in gawk mawk nawk awk
1.41      paf      3363: do
1.62      paf      3364:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3365: set dummy $ac_prog; ac_word=$2
1.150     moko     3366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3367: $as_echo_n "checking for $ac_word... " >&6; }
                   3368: if ${ac_cv_prog_AWK+:} false; then :
                   3369:   $as_echo_n "(cached) " >&6
1.41      paf      3370: else
                   3371:   if test -n "$AWK"; then
                   3372:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3373: else
1.62      paf      3374: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3375: for as_dir in $PATH
                   3376: do
                   3377:   IFS=$as_save_IFS
                   3378:   test -z "$as_dir" && as_dir=.
1.150     moko     3379:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3380:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3381:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3382:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3383:     break 2
                   3384:   fi
                   3385: done
1.150     moko     3386:   done
                   3387: IFS=$as_save_IFS
1.62      paf      3388: 
1.41      paf      3389: fi
                   3390: fi
1.62      paf      3391: AWK=$ac_cv_prog_AWK
1.41      paf      3392: if test -n "$AWK"; then
1.150     moko     3393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3394: $as_echo "$AWK" >&6; }
1.41      paf      3395: else
1.150     moko     3396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3397: $as_echo "no" >&6; }
1.41      paf      3398: fi
                   3399: 
1.150     moko     3400: 
1.62      paf      3401:   test -n "$AWK" && break
1.41      paf      3402: done
                   3403: 
                   3404: 
                   3405: for ac_prog in 'bison -y' byacc
                   3406: do
1.62      paf      3407:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3408: set dummy $ac_prog; ac_word=$2
1.150     moko     3409: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3410: $as_echo_n "checking for $ac_word... " >&6; }
                   3411: if ${ac_cv_prog_YACC+:} false; then :
                   3412:   $as_echo_n "(cached) " >&6
1.41      paf      3413: else
                   3414:   if test -n "$YACC"; then
                   3415:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3416: else
1.62      paf      3417: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3418: for as_dir in $PATH
                   3419: do
                   3420:   IFS=$as_save_IFS
                   3421:   test -z "$as_dir" && as_dir=.
1.150     moko     3422:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3423:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3424:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3425:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3426:     break 2
                   3427:   fi
                   3428: done
1.150     moko     3429:   done
                   3430: IFS=$as_save_IFS
1.62      paf      3431: 
1.41      paf      3432: fi
                   3433: fi
1.62      paf      3434: YACC=$ac_cv_prog_YACC
1.41      paf      3435: if test -n "$YACC"; then
1.150     moko     3436:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3437: $as_echo "$YACC" >&6; }
1.41      paf      3438: else
1.150     moko     3439:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3440: $as_echo "no" >&6; }
1.41      paf      3441: fi
                   3442: 
1.150     moko     3443: 
1.62      paf      3444:   test -n "$YACC" && break
1.41      paf      3445: done
                   3446: test -n "$YACC" || YACC="yacc"
                   3447: 
                   3448: if test "$YACC" != "bison -y"; then
1.150     moko     3449:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3450: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3451: else
1.150     moko     3452:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3453: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3454:        oldIFS=$IFS; IFS=.
                   3455:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3456:        IFS=$oldIFS
                   3457:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3458:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3459: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3460:        fi
1.150     moko     3461:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3462: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3463: fi
                   3464: 
1.150     moko     3465: ac_ext=cpp
1.66      paf      3466: ac_cpp='$CXXCPP $CPPFLAGS'
                   3467: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3468: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3469: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3470: if test -z "$CXX"; then
                   3471:   if test -n "$CCC"; then
                   3472:     CXX=$CCC
                   3473:   else
                   3474:     if test -n "$ac_tool_prefix"; then
                   3475:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3476:   do
                   3477:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3478: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3479: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3480: $as_echo_n "checking for $ac_word... " >&6; }
                   3481: if ${ac_cv_prog_CXX+:} false; then :
                   3482:   $as_echo_n "(cached) " >&6
1.62      paf      3483: else
1.66      paf      3484:   if test -n "$CXX"; then
                   3485:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3486: else
                   3487: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3488: for as_dir in $PATH
                   3489: do
                   3490:   IFS=$as_save_IFS
                   3491:   test -z "$as_dir" && as_dir=.
1.150     moko     3492:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3493:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3494:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3495:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3496:     break 2
                   3497:   fi
                   3498: done
1.150     moko     3499:   done
                   3500: IFS=$as_save_IFS
1.62      paf      3501: 
                   3502: fi
                   3503: fi
1.66      paf      3504: CXX=$ac_cv_prog_CXX
                   3505: if test -n "$CXX"; then
1.150     moko     3506:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3507: $as_echo "$CXX" >&6; }
1.62      paf      3508: else
1.150     moko     3509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3510: $as_echo "no" >&6; }
1.41      paf      3511: fi
                   3512: 
1.150     moko     3513: 
1.66      paf      3514:     test -n "$CXX" && break
                   3515:   done
1.62      paf      3516: fi
1.66      paf      3517: if test -z "$CXX"; then
                   3518:   ac_ct_CXX=$CXX
1.150     moko     3519:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3520: do
                   3521:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3522: set dummy $ac_prog; ac_word=$2
1.150     moko     3523: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3524: $as_echo_n "checking for $ac_word... " >&6; }
                   3525: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3526:   $as_echo_n "(cached) " >&6
1.62      paf      3527: else
1.66      paf      3528:   if test -n "$ac_ct_CXX"; then
                   3529:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3530: else
                   3531: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3532: for as_dir in $PATH
                   3533: do
                   3534:   IFS=$as_save_IFS
                   3535:   test -z "$as_dir" && as_dir=.
1.150     moko     3536:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3537:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3538:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3539:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3540:     break 2
                   3541:   fi
                   3542: done
1.150     moko     3543:   done
                   3544: IFS=$as_save_IFS
1.62      paf      3545: 
                   3546: fi
                   3547: fi
1.66      paf      3548: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3549: if test -n "$ac_ct_CXX"; then
1.150     moko     3550:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3551: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3552: else
1.150     moko     3553:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3554: $as_echo "no" >&6; }
1.62      paf      3555: fi
                   3556: 
1.150     moko     3557: 
1.66      paf      3558:   test -n "$ac_ct_CXX" && break
                   3559: done
                   3560: 
1.150     moko     3561:   if test "x$ac_ct_CXX" = x; then
                   3562:     CXX="g++"
                   3563:   else
                   3564:     case $cross_compiling:$ac_tool_warned in
                   3565: yes:)
                   3566: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3567: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3568: ac_tool_warned=yes ;;
                   3569: esac
                   3570:     CXX=$ac_ct_CXX
                   3571:   fi
1.62      paf      3572: fi
                   3573: 
1.150     moko     3574:   fi
                   3575: fi
1.66      paf      3576: # Provide some information about the compiler.
1.150     moko     3577: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3578: set X $ac_compile
                   3579: ac_compiler=$2
                   3580: for ac_option in --version -v -V -qversion; do
                   3581:   { { ac_try="$ac_compiler $ac_option >&5"
                   3582: case "(($ac_try" in
                   3583:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3584:   *) ac_try_echo=$ac_try;;
                   3585: esac
                   3586: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3587: $as_echo "$ac_try_echo"; } >&5
                   3588:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3589:   ac_status=$?
1.150     moko     3590:   if test -s conftest.err; then
                   3591:     sed '10a\
                   3592: ... rest of stderr output deleted ...
                   3593:          10q' conftest.err >conftest.er1
                   3594:     cat conftest.er1 >&5
                   3595:   fi
                   3596:   rm -f conftest.er1 conftest.err
                   3597:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3598:   test $ac_status = 0; }
                   3599: done
1.66      paf      3600: 
1.150     moko     3601: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3602: /* end confdefs.h.  */
                   3603: 
                   3604: int
                   3605: main ()
                   3606: {
                   3607: 
                   3608:   ;
                   3609:   return 0;
                   3610: }
                   3611: _ACEOF
                   3612: ac_clean_files_save=$ac_clean_files
1.150     moko     3613: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3614: # Try to create an executable without -o first, disregard a.out.
                   3615: # It will help us diagnose broken compilers, and finding out an intuition
                   3616: # of exeext.
1.150     moko     3617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3618: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3619: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3620: 
                   3621: # The possible output files:
                   3622: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3623: 
                   3624: ac_rmfiles=
                   3625: for ac_file in $ac_files
                   3626: do
                   3627:   case $ac_file in
                   3628:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3629:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3630:   esac
                   3631: done
                   3632: rm -f $ac_rmfiles
                   3633: 
                   3634: if { { ac_try="$ac_link_default"
                   3635: case "(($ac_try" in
                   3636:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3637:   *) ac_try_echo=$ac_try;;
                   3638: esac
                   3639: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3640: $as_echo "$ac_try_echo"; } >&5
                   3641:   (eval "$ac_link_default") 2>&5
                   3642:   ac_status=$?
                   3643:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3644:   test $ac_status = 0; }; then :
                   3645:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3646: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3647: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3648: # so that the user can short-circuit this test for compilers unknown to
                   3649: # Autoconf.
                   3650: for ac_file in $ac_files ''
1.62      paf      3651: do
1.66      paf      3652:   test -f "$ac_file" || continue
                   3653:   case $ac_file in
1.150     moko     3654:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3655:        ;;
1.66      paf      3656:     [ab].out )
1.86      paf      3657:        # We found the default executable, but exeext='' is most
                   3658:        # certainly right.
                   3659:        break;;
1.66      paf      3660:     *.* )
1.150     moko     3661:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3662:        then :; else
                   3663:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3664:        fi
                   3665:        # We set ac_cv_exeext here because the later test for it is not
                   3666:        # safe: cross compilers may not add the suffix if given an `-o'
                   3667:        # argument, so we may need to know it at that point already.
                   3668:        # Even if this section looks crufty: it has the advantage of
                   3669:        # actually working.
1.86      paf      3670:        break;;
1.66      paf      3671:     * )
1.86      paf      3672:        break;;
1.66      paf      3673:   esac
1.62      paf      3674: done
1.150     moko     3675: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3676: 
1.66      paf      3677: else
1.150     moko     3678:   ac_file=''
                   3679: fi
                   3680: if test -z "$ac_file"; then :
                   3681:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3682: $as_echo "no" >&6; }
                   3683: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3684: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3685: 
1.150     moko     3686: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3687: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3688: as_fn_error 77 "C++ compiler cannot create executables
                   3689: See \`config.log' for more details" "$LINENO" 5; }
                   3690: else
                   3691:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3692: $as_echo "yes" >&6; }
1.1       paf      3693: fi
1.150     moko     3694: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3695: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3697: $as_echo "$ac_file" >&6; }
1.66      paf      3698: ac_exeext=$ac_cv_exeext
1.62      paf      3699: 
1.150     moko     3700: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3701: ac_clean_files=$ac_clean_files_save
1.150     moko     3702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3703: $as_echo_n "checking for suffix of executables... " >&6; }
                   3704: if { { ac_try="$ac_link"
                   3705: case "(($ac_try" in
                   3706:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3707:   *) ac_try_echo=$ac_try;;
                   3708: esac
                   3709: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3710: $as_echo "$ac_try_echo"; } >&5
                   3711:   (eval "$ac_link") 2>&5
1.62      paf      3712:   ac_status=$?
1.150     moko     3713:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3714:   test $ac_status = 0; }; then :
1.62      paf      3715:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3716: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3717: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3718: # `rm'.
                   3719: for ac_file in conftest.exe conftest conftest.*; do
                   3720:   test -f "$ac_file" || continue
                   3721:   case $ac_file in
1.150     moko     3722:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3723:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3724:          break;;
1.62      paf      3725:     * ) break;;
                   3726:   esac
                   3727: done
                   3728: else
1.150     moko     3729:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3730: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3731: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3732: See \`config.log' for more details" "$LINENO" 5; }
                   3733: fi
                   3734: rm -f conftest conftest$ac_cv_exeext
                   3735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3736: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3737: 
                   3738: rm -f conftest.$ac_ext
                   3739: EXEEXT=$ac_cv_exeext
                   3740: ac_exeext=$EXEEXT
1.150     moko     3741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3742: /* end confdefs.h.  */
                   3743: #include <stdio.h>
                   3744: int
                   3745: main ()
                   3746: {
                   3747: FILE *f = fopen ("conftest.out", "w");
                   3748:  return ferror (f) || fclose (f) != 0;
                   3749: 
                   3750:   ;
                   3751:   return 0;
                   3752: }
                   3753: _ACEOF
                   3754: ac_clean_files="$ac_clean_files conftest.out"
                   3755: # Check that the compiler produces executables we can run.  If not, either
                   3756: # the compiler is broken, or we cross compile.
                   3757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3758: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3759: if test "$cross_compiling" != yes; then
                   3760:   { { ac_try="$ac_link"
                   3761: case "(($ac_try" in
                   3762:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3763:   *) ac_try_echo=$ac_try;;
                   3764: esac
                   3765: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3766: $as_echo "$ac_try_echo"; } >&5
                   3767:   (eval "$ac_link") 2>&5
                   3768:   ac_status=$?
                   3769:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3770:   test $ac_status = 0; }
                   3771:   if { ac_try='./conftest$ac_cv_exeext'
                   3772:   { { case "(($ac_try" in
                   3773:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3774:   *) ac_try_echo=$ac_try;;
                   3775: esac
                   3776: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3777: $as_echo "$ac_try_echo"; } >&5
                   3778:   (eval "$ac_try") 2>&5
                   3779:   ac_status=$?
                   3780:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3781:   test $ac_status = 0; }; }; then
                   3782:     cross_compiling=no
                   3783:   else
                   3784:     if test "$cross_compiling" = maybe; then
                   3785:        cross_compiling=yes
                   3786:     else
                   3787:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3788: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3789: as_fn_error $? "cannot run C++ compiled programs.
                   3790: If you meant to cross compile, use \`--host'.
                   3791: See \`config.log' for more details" "$LINENO" 5; }
                   3792:     fi
                   3793:   fi
                   3794: fi
                   3795: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3796: $as_echo "$cross_compiling" >&6; }
                   3797: 
                   3798: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3799: ac_clean_files=$ac_clean_files_save
                   3800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3801: $as_echo_n "checking for suffix of object files... " >&6; }
                   3802: if ${ac_cv_objext+:} false; then :
                   3803:   $as_echo_n "(cached) " >&6
1.62      paf      3804: else
1.150     moko     3805:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3806: /* end confdefs.h.  */
                   3807: 
                   3808: int
                   3809: main ()
                   3810: {
                   3811: 
                   3812:   ;
                   3813:   return 0;
                   3814: }
                   3815: _ACEOF
                   3816: rm -f conftest.o conftest.obj
1.150     moko     3817: if { { ac_try="$ac_compile"
                   3818: case "(($ac_try" in
                   3819:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3820:   *) ac_try_echo=$ac_try;;
                   3821: esac
                   3822: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3823: $as_echo "$ac_try_echo"; } >&5
                   3824:   (eval "$ac_compile") 2>&5
                   3825:   ac_status=$?
                   3826:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3827:   test $ac_status = 0; }; then :
                   3828:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3829:   test -f "$ac_file" || continue;
1.62      paf      3830:   case $ac_file in
1.150     moko     3831:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3832:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3833:        break;;
                   3834:   esac
                   3835: done
                   3836: else
1.150     moko     3837:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3838: sed 's/^/| /' conftest.$ac_ext >&5
                   3839: 
1.150     moko     3840: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3841: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3842: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3843: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3844: fi
                   3845: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3846: fi
1.150     moko     3847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3848: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3849: OBJEXT=$ac_cv_objext
                   3850: ac_objext=$OBJEXT
1.150     moko     3851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3852: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3853: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3854:   $as_echo_n "(cached) " >&6
1.62      paf      3855: else
1.150     moko     3856:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3857: /* end confdefs.h.  */
1.66      paf      3858: 
1.62      paf      3859: int
                   3860: main ()
                   3861: {
1.66      paf      3862: #ifndef __GNUC__
                   3863:        choke me
                   3864: #endif
                   3865: 
1.62      paf      3866:   ;
                   3867:   return 0;
                   3868: }
                   3869: _ACEOF
1.150     moko     3870: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3871:   ac_compiler_gnu=yes
1.62      paf      3872: else
1.150     moko     3873:   ac_compiler_gnu=no
1.1       paf      3874: fi
1.150     moko     3875: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3876: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3877: 
                   3878: fi
1.150     moko     3879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3880: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3881: if test $ac_compiler_gnu = yes; then
                   3882:   GXX=yes
                   3883: else
                   3884:   GXX=
                   3885: fi
1.66      paf      3886: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3887: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3889: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3890: if ${ac_cv_prog_cxx_g+:} false; then :
                   3891:   $as_echo_n "(cached) " >&6
                   3892: else
                   3893:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3894:    ac_cxx_werror_flag=yes
                   3895:    ac_cv_prog_cxx_g=no
                   3896:    CXXFLAGS="-g"
                   3897:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3898: /* end confdefs.h.  */
1.1       paf      3899: 
1.66      paf      3900: int
                   3901: main ()
                   3902: {
1.1       paf      3903: 
1.66      paf      3904:   ;
                   3905:   return 0;
                   3906: }
1.62      paf      3907: _ACEOF
1.150     moko     3908: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3909:   ac_cv_prog_cxx_g=yes
                   3910: else
1.150     moko     3911:   CXXFLAGS=""
                   3912:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3913: /* end confdefs.h.  */
1.66      paf      3914: 
1.62      paf      3915: int
                   3916: main ()
                   3917: {
1.150     moko     3918: 
1.62      paf      3919:   ;
                   3920:   return 0;
                   3921: }
                   3922: _ACEOF
1.150     moko     3923: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3924: 
1.1       paf      3925: else
1.150     moko     3926:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3927:         CXXFLAGS="-g"
                   3928:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3929: /* end confdefs.h.  */
1.62      paf      3930: 
                   3931: int
                   3932: main ()
                   3933: {
1.150     moko     3934: 
1.62      paf      3935:   ;
                   3936:   return 0;
                   3937: }
                   3938: _ACEOF
1.150     moko     3939: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3940:   ac_cv_prog_cxx_g=yes
                   3941: fi
                   3942: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3943: fi
                   3944: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3945: fi
                   3946: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3947:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3948: fi
                   3949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3950: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3951: if test "$ac_test_CXXFLAGS" = set; then
                   3952:   CXXFLAGS=$ac_save_CXXFLAGS
                   3953: elif test $ac_cv_prog_cxx_g = yes; then
                   3954:   if test "$GXX" = yes; then
                   3955:     CXXFLAGS="-g -O2"
                   3956:   else
                   3957:     CXXFLAGS="-g"
                   3958:   fi
1.1       paf      3959: else
1.150     moko     3960:   if test "$GXX" = yes; then
                   3961:     CXXFLAGS="-O2"
                   3962:   else
                   3963:     CXXFLAGS=
                   3964:   fi
1.1       paf      3965: fi
1.62      paf      3966: ac_ext=c
                   3967: ac_cpp='$CPP $CPPFLAGS'
                   3968: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3969: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3970: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3971: DEPDIR="${am__leading_dot}deps"
1.62      paf      3972: 
1.150     moko     3973: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3974: 
1.199     moko     3975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   3976: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
                   3977: cat > confinc.mk << 'END'
1.86      paf      3978: am__doit:
1.199     moko     3979:        @echo this is the am__doit target >confinc.out
1.86      paf      3980: .PHONY: am__doit
1.62      paf      3981: END
                   3982: am__include="#"
                   3983: am__quote=
1.199     moko     3984: # BSD make does it like this.
                   3985: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   3986: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   3987: echo 'include confinc.mk # ignored' > confmf.GNU
                   3988: _am_result=no
                   3989: for s in GNU BSD; do
                   3990:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   3991:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   3992:    ac_status=$?
                   3993:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3994:    (exit $ac_status); }
                   3995:   case $?:`cat confinc.out 2>/dev/null` in #(
                   3996:   '0:this is the am__doit target') :
                   3997:     case $s in #(
                   3998:   BSD) :
                   3999:     am__include='.include' am__quote='"' ;; #(
                   4000:   *) :
                   4001:     am__include='include' am__quote='' ;;
                   4002: esac ;; #(
                   4003:   *) :
1.150     moko     4004:      ;;
1.199     moko     4005: esac
                   4006:   if test "$am__include" != "#"; then
                   4007:     _am_result="yes ($s style)"
                   4008:     break
                   4009:   fi
                   4010: done
                   4011: rm -f confinc.* confmf.*
                   4012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   4013: $as_echo "${_am_result}" >&6; }
1.62      paf      4014: 
1.150     moko     4015: # Check whether --enable-dependency-tracking was given.
                   4016: if test "${enable_dependency_tracking+set}" = set; then :
                   4017:   enableval=$enable_dependency_tracking;
                   4018: fi
1.62      paf      4019: 
                   4020: if test "x$enable_dependency_tracking" != xno; then
                   4021:   am_depcomp="$ac_aux_dir/depcomp"
                   4022:   AMDEPBACKSLASH='\'
1.187     moko     4023:   am__nodep='_no'
1.1       paf      4024: fi
1.150     moko     4025:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      4026:   AMDEP_TRUE=
                   4027:   AMDEP_FALSE='#'
                   4028: else
                   4029:   AMDEP_TRUE='#'
                   4030:   AMDEP_FALSE=
                   4031: fi
1.1       paf      4032: 
                   4033: 
                   4034: 
1.66      paf      4035: depcc="$CXX"  am_compiler_list=
1.1       paf      4036: 
1.150     moko     4037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4038: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4039: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   4040:   $as_echo_n "(cached) " >&6
1.62      paf      4041: else
                   4042:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4043:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4044:   # making bogus files that we don't know about and never remove.  For
                   4045:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4046:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4047:   # in D".
                   4048:   rm -rf conftest.dir
1.62      paf      4049:   mkdir conftest.dir
                   4050:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4051:   # using a relative directory.
                   4052:   cp "$am_depcomp" conftest.dir
                   4053:   cd conftest.dir
1.86      paf      4054:   # We will build objects and dependencies in a subdirectory because
                   4055:   # it helps to detect inapplicable dependency modes.  For instance
                   4056:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4057:   # side effect of compilation, but ICC will put the dependencies in
                   4058:   # the current directory while Tru64 will put them in the object
                   4059:   # directory.
                   4060:   mkdir sub
1.1       paf      4061: 
1.66      paf      4062:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      4063:   if test "$am_compiler_list" = ""; then
                   4064:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      4065:   fi
1.150     moko     4066:   am__universal=false
                   4067:   case " $depcc " in #(
                   4068:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4069:      esac
                   4070: 
1.62      paf      4071:   for depmode in $am_compiler_list; do
1.86      paf      4072:     # Setup a source with many dependencies, because some compilers
                   4073:     # like to wrap large dependency lists on column 80 (with \), and
                   4074:     # we should not choose a depcomp mode which is confused by this.
                   4075:     #
1.62      paf      4076:     # We need to recreate these files for each test, as the compiler may
                   4077:     # overwrite some of them when testing with obscure command lines.
                   4078:     # This happens at least with the AIX C compiler.
1.86      paf      4079:     : > sub/conftest.c
                   4080:     for i in 1 2 3 4 5 6; do
                   4081:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4082:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4083:       # Solaris 10 /bin/sh.
                   4084:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4085:     done
                   4086:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4087: 
1.187     moko     4088:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4089:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4090:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4091:     # versions had trouble with output in subdirs.
1.150     moko     4092:     am__obj=sub/conftest.${OBJEXT-o}
                   4093:     am__minus_obj="-o $am__obj"
1.62      paf      4094:     case $depmode in
1.150     moko     4095:     gcc)
                   4096:       # This depmode causes a compiler race in universal mode.
                   4097:       test "$am__universal" = false || continue
                   4098:       ;;
1.62      paf      4099:     nosideeffect)
1.187     moko     4100:       # After this tag, mechanisms are not by side-effect, so they'll
                   4101:       # only be used when explicitly requested.
1.62      paf      4102:       if test "x$enable_dependency_tracking" = xyes; then
                   4103:        continue
                   4104:       else
                   4105:        break
                   4106:       fi
                   4107:       ;;
1.187     moko     4108:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4109:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4110:       # not run yet.  These depmodes are late enough in the game, and
                   4111:       # so weak that their functioning should not be impacted.
                   4112:       am__obj=conftest.${OBJEXT-o}
                   4113:       am__minus_obj=
                   4114:       ;;
1.62      paf      4115:     none) break ;;
                   4116:     esac
                   4117:     if depmode=$depmode \
1.150     moko     4118:        source=sub/conftest.c object=$am__obj \
1.86      paf      4119:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4120:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4121:          >/dev/null 2>conftest.err &&
1.150     moko     4122:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4123:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4124:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      4125:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4126:       # icc doesn't choke on unknown options, it will just issue warnings
                   4127:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4128:       # that says an option was ignored or not supported.
                   4129:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4130:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4131:       # The diagnosis changed in icc 8.0:
                   4132:       #   icc: Command line remark: option '-MP' not supported
                   4133:       if (grep 'ignoring option' conftest.err ||
                   4134:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4135:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4136:         break
                   4137:       fi
1.66      paf      4138:     fi
                   4139:   done
                   4140: 
                   4141:   cd ..
                   4142:   rm -rf conftest.dir
                   4143: else
                   4144:   am_cv_CXX_dependencies_compiler_type=none
                   4145: fi
                   4146: 
                   4147: fi
1.150     moko     4148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4149: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4150: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4151: 
1.150     moko     4152:  if
1.66      paf      4153:   test "x$enable_dependency_tracking" != xno \
                   4154:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4155:   am__fastdepCXX_TRUE=
                   4156:   am__fastdepCXX_FALSE='#'
                   4157: else
                   4158:   am__fastdepCXX_TRUE='#'
                   4159:   am__fastdepCXX_FALSE=
                   4160: fi
                   4161: 
                   4162: 
                   4163: ac_ext=c
                   4164: ac_cpp='$CPP $CPPFLAGS'
                   4165: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4166: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4167: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4168: if test -n "$ac_tool_prefix"; then
                   4169:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4170: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4171: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4172: $as_echo_n "checking for $ac_word... " >&6; }
                   4173: if ${ac_cv_prog_CC+:} false; then :
                   4174:   $as_echo_n "(cached) " >&6
1.66      paf      4175: else
                   4176:   if test -n "$CC"; then
                   4177:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4178: else
                   4179: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4180: for as_dir in $PATH
                   4181: do
                   4182:   IFS=$as_save_IFS
                   4183:   test -z "$as_dir" && as_dir=.
1.150     moko     4184:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4185:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4186:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4187:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4188:     break 2
                   4189:   fi
                   4190: done
1.150     moko     4191:   done
                   4192: IFS=$as_save_IFS
1.66      paf      4193: 
                   4194: fi
                   4195: fi
                   4196: CC=$ac_cv_prog_CC
                   4197: if test -n "$CC"; then
1.150     moko     4198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4199: $as_echo "$CC" >&6; }
1.66      paf      4200: else
1.150     moko     4201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4202: $as_echo "no" >&6; }
1.66      paf      4203: fi
                   4204: 
1.150     moko     4205: 
1.66      paf      4206: fi
                   4207: if test -z "$ac_cv_prog_CC"; then
                   4208:   ac_ct_CC=$CC
                   4209:   # Extract the first word of "gcc", so it can be a program name with args.
                   4210: set dummy gcc; ac_word=$2
1.150     moko     4211: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4212: $as_echo_n "checking for $ac_word... " >&6; }
                   4213: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4214:   $as_echo_n "(cached) " >&6
1.66      paf      4215: else
                   4216:   if test -n "$ac_ct_CC"; then
                   4217:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4218: else
                   4219: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4220: for as_dir in $PATH
                   4221: do
                   4222:   IFS=$as_save_IFS
                   4223:   test -z "$as_dir" && as_dir=.
1.150     moko     4224:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4225:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4226:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4227:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4228:     break 2
                   4229:   fi
                   4230: done
1.150     moko     4231:   done
                   4232: IFS=$as_save_IFS
1.66      paf      4233: 
                   4234: fi
                   4235: fi
                   4236: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4237: if test -n "$ac_ct_CC"; then
1.150     moko     4238:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4239: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4240: else
1.150     moko     4241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4242: $as_echo "no" >&6; }
1.62      paf      4243: fi
                   4244: 
1.150     moko     4245:   if test "x$ac_ct_CC" = x; then
                   4246:     CC=""
                   4247:   else
                   4248:     case $cross_compiling:$ac_tool_warned in
                   4249: yes:)
                   4250: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4251: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4252: ac_tool_warned=yes ;;
                   4253: esac
                   4254:     CC=$ac_ct_CC
                   4255:   fi
1.66      paf      4256: else
                   4257:   CC="$ac_cv_prog_CC"
1.1       paf      4258: fi
1.62      paf      4259: 
1.66      paf      4260: if test -z "$CC"; then
1.150     moko     4261:           if test -n "$ac_tool_prefix"; then
                   4262:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4263: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4265: $as_echo_n "checking for $ac_word... " >&6; }
                   4266: if ${ac_cv_prog_CC+:} false; then :
                   4267:   $as_echo_n "(cached) " >&6
1.66      paf      4268: else
                   4269:   if test -n "$CC"; then
                   4270:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4271: else
                   4272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4273: for as_dir in $PATH
                   4274: do
                   4275:   IFS=$as_save_IFS
                   4276:   test -z "$as_dir" && as_dir=.
1.150     moko     4277:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4278:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4279:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4280:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4281:     break 2
                   4282:   fi
                   4283: done
1.150     moko     4284:   done
                   4285: IFS=$as_save_IFS
1.62      paf      4286: 
1.66      paf      4287: fi
                   4288: fi
                   4289: CC=$ac_cv_prog_CC
                   4290: if test -n "$CC"; then
1.150     moko     4291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4292: $as_echo "$CC" >&6; }
1.62      paf      4293: else
1.150     moko     4294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4295: $as_echo "no" >&6; }
1.1       paf      4296: fi
                   4297: 
1.150     moko     4298: 
1.66      paf      4299:   fi
1.1       paf      4300: fi
1.66      paf      4301: if test -z "$CC"; then
                   4302:   # Extract the first word of "cc", so it can be a program name with args.
                   4303: set dummy cc; ac_word=$2
1.150     moko     4304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4305: $as_echo_n "checking for $ac_word... " >&6; }
                   4306: if ${ac_cv_prog_CC+:} false; then :
                   4307:   $as_echo_n "(cached) " >&6
1.66      paf      4308: else
                   4309:   if test -n "$CC"; then
                   4310:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4311: else
                   4312:   ac_prog_rejected=no
                   4313: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4314: for as_dir in $PATH
                   4315: do
                   4316:   IFS=$as_save_IFS
                   4317:   test -z "$as_dir" && as_dir=.
1.150     moko     4318:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4319:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4320:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4321:        ac_prog_rejected=yes
                   4322:        continue
                   4323:      fi
                   4324:     ac_cv_prog_CC="cc"
1.150     moko     4325:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4326:     break 2
                   4327:   fi
                   4328: done
1.150     moko     4329:   done
                   4330: IFS=$as_save_IFS
1.62      paf      4331: 
1.66      paf      4332: if test $ac_prog_rejected = yes; then
                   4333:   # We found a bogon in the path, so make sure we never use it.
                   4334:   set dummy $ac_cv_prog_CC
                   4335:   shift
                   4336:   if test $# != 0; then
                   4337:     # We chose a different compiler from the bogus one.
                   4338:     # However, it has the same basename, so the bogon will be chosen
                   4339:     # first if we set CC to just the basename; use the full file name.
                   4340:     shift
                   4341:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4342:   fi
                   4343: fi
                   4344: fi
                   4345: fi
                   4346: CC=$ac_cv_prog_CC
                   4347: if test -n "$CC"; then
1.150     moko     4348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4349: $as_echo "$CC" >&6; }
1.66      paf      4350: else
1.150     moko     4351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4352: $as_echo "no" >&6; }
1.1       paf      4353: fi
                   4354: 
1.150     moko     4355: 
1.66      paf      4356: fi
                   4357: if test -z "$CC"; then
                   4358:   if test -n "$ac_tool_prefix"; then
1.150     moko     4359:   for ac_prog in cl.exe
1.62      paf      4360:   do
                   4361:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4362: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4364: $as_echo_n "checking for $ac_word... " >&6; }
                   4365: if ${ac_cv_prog_CC+:} false; then :
                   4366:   $as_echo_n "(cached) " >&6
1.62      paf      4367: else
1.66      paf      4368:   if test -n "$CC"; then
                   4369:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4370: else
                   4371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4372: for as_dir in $PATH
                   4373: do
                   4374:   IFS=$as_save_IFS
                   4375:   test -z "$as_dir" && as_dir=.
1.150     moko     4376:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4377:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4378:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4380:     break 2
                   4381:   fi
                   4382: done
1.150     moko     4383:   done
                   4384: IFS=$as_save_IFS
1.1       paf      4385: 
1.62      paf      4386: fi
                   4387: fi
1.66      paf      4388: CC=$ac_cv_prog_CC
                   4389: if test -n "$CC"; then
1.150     moko     4390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4391: $as_echo "$CC" >&6; }
1.1       paf      4392: else
1.150     moko     4393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4394: $as_echo "no" >&6; }
1.1       paf      4395: fi
                   4396: 
1.150     moko     4397: 
1.66      paf      4398:     test -n "$CC" && break
1.62      paf      4399:   done
                   4400: fi
1.66      paf      4401: if test -z "$CC"; then
                   4402:   ac_ct_CC=$CC
1.150     moko     4403:   for ac_prog in cl.exe
1.62      paf      4404: do
                   4405:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4406: set dummy $ac_prog; ac_word=$2
1.150     moko     4407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4408: $as_echo_n "checking for $ac_word... " >&6; }
                   4409: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4410:   $as_echo_n "(cached) " >&6
1.62      paf      4411: else
1.66      paf      4412:   if test -n "$ac_ct_CC"; then
                   4413:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4414: else
1.62      paf      4415: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4416: for as_dir in $PATH
                   4417: do
                   4418:   IFS=$as_save_IFS
                   4419:   test -z "$as_dir" && as_dir=.
1.150     moko     4420:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4421:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4422:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4423:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4424:     break 2
                   4425:   fi
                   4426: done
1.150     moko     4427:   done
                   4428: IFS=$as_save_IFS
1.62      paf      4429: 
                   4430: fi
                   4431: fi
1.66      paf      4432: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4433: if test -n "$ac_ct_CC"; then
1.150     moko     4434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4435: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4436: else
1.150     moko     4437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4438: $as_echo "no" >&6; }
1.1       paf      4439: fi
                   4440: 
1.150     moko     4441: 
1.66      paf      4442:   test -n "$ac_ct_CC" && break
                   4443: done
                   4444: 
1.150     moko     4445:   if test "x$ac_ct_CC" = x; then
                   4446:     CC=""
                   4447:   else
                   4448:     case $cross_compiling:$ac_tool_warned in
                   4449: yes:)
                   4450: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4451: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4452: ac_tool_warned=yes ;;
                   4453: esac
                   4454:     CC=$ac_ct_CC
                   4455:   fi
1.66      paf      4456: fi
                   4457: 
                   4458: fi
1.62      paf      4459: 
1.1       paf      4460: 
1.150     moko     4461: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4462: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4463: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4464: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4465: 
                   4466: # Provide some information about the compiler.
1.150     moko     4467: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4468: set X $ac_compile
                   4469: ac_compiler=$2
                   4470: for ac_option in --version -v -V -qversion; do
                   4471:   { { ac_try="$ac_compiler $ac_option >&5"
                   4472: case "(($ac_try" in
                   4473:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4474:   *) ac_try_echo=$ac_try;;
                   4475: esac
                   4476: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4477: $as_echo "$ac_try_echo"; } >&5
                   4478:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4479:   ac_status=$?
1.150     moko     4480:   if test -s conftest.err; then
                   4481:     sed '10a\
                   4482: ... rest of stderr output deleted ...
                   4483:          10q' conftest.err >conftest.er1
                   4484:     cat conftest.er1 >&5
                   4485:   fi
                   4486:   rm -f conftest.er1 conftest.err
                   4487:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4488:   test $ac_status = 0; }
                   4489: done
                   4490: 
                   4491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4492: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4493: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4494:   $as_echo_n "(cached) " >&6
1.62      paf      4495: else
1.150     moko     4496:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4497: /* end confdefs.h.  */
                   4498: 
                   4499: int
                   4500: main ()
                   4501: {
                   4502: #ifndef __GNUC__
                   4503:        choke me
                   4504: #endif
                   4505: 
                   4506:   ;
                   4507:   return 0;
                   4508: }
                   4509: _ACEOF
1.150     moko     4510: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4511:   ac_compiler_gnu=yes
                   4512: else
1.150     moko     4513:   ac_compiler_gnu=no
1.62      paf      4514: fi
1.150     moko     4515: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4516: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4517: 
                   4518: fi
1.150     moko     4519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4520: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4521: if test $ac_compiler_gnu = yes; then
                   4522:   GCC=yes
                   4523: else
                   4524:   GCC=
                   4525: fi
1.66      paf      4526: ac_test_CFLAGS=${CFLAGS+set}
                   4527: ac_save_CFLAGS=$CFLAGS
1.150     moko     4528: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4529: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4530: if ${ac_cv_prog_cc_g+:} false; then :
                   4531:   $as_echo_n "(cached) " >&6
                   4532: else
                   4533:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4534:    ac_c_werror_flag=yes
                   4535:    ac_cv_prog_cc_g=no
                   4536:    CFLAGS="-g"
                   4537:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4538: /* end confdefs.h.  */
                   4539: 
                   4540: int
                   4541: main ()
                   4542: {
                   4543: 
                   4544:   ;
                   4545:   return 0;
                   4546: }
                   4547: _ACEOF
1.150     moko     4548: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4549:   ac_cv_prog_cc_g=yes
1.62      paf      4550: else
1.150     moko     4551:   CFLAGS=""
                   4552:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4553: /* end confdefs.h.  */
                   4554: 
                   4555: int
                   4556: main ()
                   4557: {
1.62      paf      4558: 
1.150     moko     4559:   ;
                   4560:   return 0;
                   4561: }
                   4562: _ACEOF
                   4563: if ac_fn_c_try_compile "$LINENO"; then :
                   4564: 
                   4565: else
                   4566:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4567:         CFLAGS="-g"
                   4568:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4569: /* end confdefs.h.  */
                   4570: 
                   4571: int
                   4572: main ()
                   4573: {
                   4574: 
                   4575:   ;
                   4576:   return 0;
                   4577: }
                   4578: _ACEOF
                   4579: if ac_fn_c_try_compile "$LINENO"; then :
                   4580:   ac_cv_prog_cc_g=yes
                   4581: fi
                   4582: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4583: fi
1.150     moko     4584: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4585: fi
1.150     moko     4586: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4587:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4588: fi
                   4589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4590: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4591: if test "$ac_test_CFLAGS" = set; then
                   4592:   CFLAGS=$ac_save_CFLAGS
                   4593: elif test $ac_cv_prog_cc_g = yes; then
                   4594:   if test "$GCC" = yes; then
                   4595:     CFLAGS="-g -O2"
1.1       paf      4596:   else
1.66      paf      4597:     CFLAGS="-g"
1.1       paf      4598:   fi
                   4599: else
1.66      paf      4600:   if test "$GCC" = yes; then
                   4601:     CFLAGS="-O2"
1.1       paf      4602:   else
1.66      paf      4603:     CFLAGS=
1.1       paf      4604:   fi
                   4605: fi
1.150     moko     4606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4607: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4608: if ${ac_cv_prog_cc_c89+:} false; then :
                   4609:   $as_echo_n "(cached) " >&6
1.66      paf      4610: else
1.150     moko     4611:   ac_cv_prog_cc_c89=no
1.66      paf      4612: ac_save_CC=$CC
1.150     moko     4613: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4614: /* end confdefs.h.  */
                   4615: #include <stdarg.h>
                   4616: #include <stdio.h>
1.166     moko     4617: struct stat;
1.66      paf      4618: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4619: struct buf { int x; };
                   4620: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4621: static char *e (p, i)
                   4622:      char **p;
                   4623:      int i;
                   4624: {
                   4625:   return p[i];
                   4626: }
                   4627: static char *f (char * (*g) (char **, int), char **p, ...)
                   4628: {
                   4629:   char *s;
                   4630:   va_list v;
                   4631:   va_start (v,p);
                   4632:   s = g (p, va_arg (v,int));
                   4633:   va_end (v);
                   4634:   return s;
                   4635: }
1.86      paf      4636: 
                   4637: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4638:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4639:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4640:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4641:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4642:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4643:    that's true only with -std.  */
1.86      paf      4644: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4645: 
1.150     moko     4646: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4647:    inside strings and character constants.  */
                   4648: #define FOO(x) 'x'
                   4649: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4650: 
1.66      paf      4651: int test (int i, double x);
                   4652: struct s1 {int (*f) (int a);};
                   4653: struct s2 {int (*f) (double a);};
                   4654: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4655: int argc;
                   4656: char **argv;
                   4657: int
                   4658: main ()
                   4659: {
                   4660: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4661:   ;
                   4662:   return 0;
                   4663: }
                   4664: _ACEOF
1.150     moko     4665: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4666:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4667: do
                   4668:   CC="$ac_save_CC $ac_arg"
1.150     moko     4669:   if ac_fn_c_try_compile "$LINENO"; then :
                   4670:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4671: fi
1.150     moko     4672: rm -f core conftest.err conftest.$ac_objext
                   4673:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4674: done
1.150     moko     4675: rm -f conftest.$ac_ext
1.66      paf      4676: CC=$ac_save_CC
                   4677: 
                   4678: fi
1.150     moko     4679: # AC_CACHE_VAL
                   4680: case "x$ac_cv_prog_cc_c89" in
                   4681:   x)
                   4682:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4683: $as_echo "none needed" >&6; } ;;
                   4684:   xno)
                   4685:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4686: $as_echo "unsupported" >&6; } ;;
1.66      paf      4687:   *)
1.150     moko     4688:     CC="$CC $ac_cv_prog_cc_c89"
                   4689:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4690: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4691: esac
1.150     moko     4692: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4693: 
                   4694: fi
1.66      paf      4695: 
1.62      paf      4696: ac_ext=c
                   4697: ac_cpp='$CPP $CPPFLAGS'
                   4698: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4699: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4700: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4701: 
1.187     moko     4702: ac_ext=c
                   4703: ac_cpp='$CPP $CPPFLAGS'
                   4704: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4705: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4706: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   4708: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   4709: if ${am_cv_prog_cc_c_o+:} false; then :
                   4710:   $as_echo_n "(cached) " >&6
                   4711: else
                   4712:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4713: /* end confdefs.h.  */
                   4714: 
                   4715: int
                   4716: main ()
                   4717: {
                   4718: 
                   4719:   ;
                   4720:   return 0;
                   4721: }
                   4722: _ACEOF
                   4723:   # Make sure it works both with $CC and with simple cc.
                   4724:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4725:   # compilers refuse to overwrite an existing .o file with -o,
                   4726:   # though they will create one.
                   4727:   am_cv_prog_cc_c_o=yes
                   4728:   for am_i in 1 2; do
                   4729:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4730:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4731:    ac_status=$?
                   4732:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4733:    (exit $ac_status); } \
                   4734:          && test -f conftest2.$ac_objext; then
                   4735:       : OK
                   4736:     else
                   4737:       am_cv_prog_cc_c_o=no
                   4738:       break
                   4739:     fi
                   4740:   done
                   4741:   rm -f core conftest*
                   4742:   unset am_i
                   4743: fi
                   4744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   4745: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   4746: if test "$am_cv_prog_cc_c_o" != yes; then
                   4747:    # Losing compiler, so override with the script.
                   4748:    # FIXME: It is wrong to rewrite CC.
                   4749:    # But if we don't then we get into trouble of one sort or another.
                   4750:    # A longer-term fix would be to have automake use am__CC in this case,
                   4751:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4752:    CC="$am_aux_dir/compile $CC"
                   4753: fi
                   4754: ac_ext=c
                   4755: ac_cpp='$CPP $CPPFLAGS'
                   4756: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4757: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4758: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4759: 
                   4760: 
1.66      paf      4761: depcc="$CC"   am_compiler_list=
1.62      paf      4762: 
1.150     moko     4763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4764: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4765: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4766:   $as_echo_n "(cached) " >&6
1.62      paf      4767: else
                   4768:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4769:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4770:   # making bogus files that we don't know about and never remove.  For
                   4771:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4772:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4773:   # in D".
                   4774:   rm -rf conftest.dir
1.62      paf      4775:   mkdir conftest.dir
                   4776:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4777:   # using a relative directory.
                   4778:   cp "$am_depcomp" conftest.dir
                   4779:   cd conftest.dir
1.86      paf      4780:   # We will build objects and dependencies in a subdirectory because
                   4781:   # it helps to detect inapplicable dependency modes.  For instance
                   4782:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4783:   # side effect of compilation, but ICC will put the dependencies in
                   4784:   # the current directory while Tru64 will put them in the object
                   4785:   # directory.
                   4786:   mkdir sub
1.62      paf      4787: 
1.66      paf      4788:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4789:   if test "$am_compiler_list" = ""; then
                   4790:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4791:   fi
1.150     moko     4792:   am__universal=false
                   4793:   case " $depcc " in #(
                   4794:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4795:      esac
                   4796: 
1.62      paf      4797:   for depmode in $am_compiler_list; do
1.86      paf      4798:     # Setup a source with many dependencies, because some compilers
                   4799:     # like to wrap large dependency lists on column 80 (with \), and
                   4800:     # we should not choose a depcomp mode which is confused by this.
                   4801:     #
1.62      paf      4802:     # We need to recreate these files for each test, as the compiler may
                   4803:     # overwrite some of them when testing with obscure command lines.
                   4804:     # This happens at least with the AIX C compiler.
1.86      paf      4805:     : > sub/conftest.c
                   4806:     for i in 1 2 3 4 5 6; do
                   4807:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4808:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4809:       # Solaris 10 /bin/sh.
                   4810:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4811:     done
                   4812:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4813: 
1.187     moko     4814:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4815:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4816:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4817:     # versions had trouble with output in subdirs.
1.150     moko     4818:     am__obj=sub/conftest.${OBJEXT-o}
                   4819:     am__minus_obj="-o $am__obj"
1.62      paf      4820:     case $depmode in
1.150     moko     4821:     gcc)
                   4822:       # This depmode causes a compiler race in universal mode.
                   4823:       test "$am__universal" = false || continue
                   4824:       ;;
1.62      paf      4825:     nosideeffect)
1.187     moko     4826:       # After this tag, mechanisms are not by side-effect, so they'll
                   4827:       # only be used when explicitly requested.
1.62      paf      4828:       if test "x$enable_dependency_tracking" = xyes; then
                   4829:        continue
                   4830:       else
                   4831:        break
                   4832:       fi
                   4833:       ;;
1.187     moko     4834:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4835:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4836:       # not run yet.  These depmodes are late enough in the game, and
                   4837:       # so weak that their functioning should not be impacted.
                   4838:       am__obj=conftest.${OBJEXT-o}
                   4839:       am__minus_obj=
                   4840:       ;;
1.62      paf      4841:     none) break ;;
                   4842:     esac
1.66      paf      4843:     if depmode=$depmode \
1.150     moko     4844:        source=sub/conftest.c object=$am__obj \
1.86      paf      4845:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4846:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4847:          >/dev/null 2>conftest.err &&
1.150     moko     4848:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4849:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4850:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4851:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4852:       # icc doesn't choke on unknown options, it will just issue warnings
                   4853:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4854:       # that says an option was ignored or not supported.
                   4855:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4856:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4857:       # The diagnosis changed in icc 8.0:
                   4858:       #   icc: Command line remark: option '-MP' not supported
                   4859:       if (grep 'ignoring option' conftest.err ||
                   4860:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4861:         am_cv_CC_dependencies_compiler_type=$depmode
                   4862:         break
                   4863:       fi
1.66      paf      4864:     fi
                   4865:   done
                   4866: 
                   4867:   cd ..
                   4868:   rm -rf conftest.dir
                   4869: else
                   4870:   am_cv_CC_dependencies_compiler_type=none
                   4871: fi
                   4872: 
                   4873: fi
1.150     moko     4874: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4875: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4876: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4877: 
1.150     moko     4878:  if
1.66      paf      4879:   test "x$enable_dependency_tracking" != xno \
                   4880:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4881:   am__fastdepCC_TRUE=
                   4882:   am__fastdepCC_FALSE='#'
                   4883: else
                   4884:   am__fastdepCC_TRUE='#'
                   4885:   am__fastdepCC_FALSE=
                   4886: fi
                   4887: 
                   4888: 
1.128     moko     4889: 
1.66      paf      4890: ac_ext=c
                   4891: ac_cpp='$CPP $CPPFLAGS'
                   4892: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4893: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4894: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4895: 
1.67      paf      4896: 
1.62      paf      4897: 
1.150     moko     4898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4899: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4900: case "$host_os" in
1.158     moko     4901:   *cygwin* ) dll_extension=dll;;
                   4902:   * ) dll_extension=so
1.66      paf      4903: esac
1.150     moko     4904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4905: $as_echo "$dll_extension" >&6; }
1.1       paf      4906: 
1.71      paf      4907: 
                   4908: 
                   4909: 
1.150     moko     4910: # Check whether --with-build-warnings was given.
                   4911: if test "${with_build_warnings+set}" = set; then :
                   4912:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4913: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.183     moko     4914:        CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses"
1.71      paf      4915: 
1.150     moko     4916: fi
                   4917: 
1.1       paf      4918: 
                   4919: 
1.182     moko     4920: # Check whether --with-coverage was given.
                   4921: if test "${with_coverage+set}" = set; then :
                   4922:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4923: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4924:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   4925:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   4926:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4927:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4928:        LDFLAGS="$LDFLAGS -lgcov"
                   4929: 
                   4930: fi
                   4931: 
                   4932: 
                   4933: 
                   4934: # Check whether --with-profiler was given.
                   4935: if test "${with_profiler+set}" = set; then :
                   4936:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   4937: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     4938:        CFLAGS="$CFLAGS -O0 -pg -g"
                   4939:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     4940: 
                   4941: fi
                   4942: 
                   4943: 
                   4944: 
1.150     moko     4945: # Check whether --with-assertions was given.
                   4946: if test "${with_assertions+set}" = set; then :
                   4947:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4948: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4949: 
                   4950: else
                   4951: 
1.150     moko     4952: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4953: 
1.67      paf      4954: 
1.150     moko     4955: fi
1.67      paf      4956: 
                   4957: 
1.94      misha    4958: 
1.150     moko     4959: # Check whether --with-sjlj-exceptions was given.
                   4960: if test "${with_sjlj_exceptions+set}" = set; then :
                   4961:   withval=$with_sjlj_exceptions;
                   4962: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4963: 
                   4964: 
1.150     moko     4965: fi
1.128     moko     4966: 
                   4967: 
1.62      paf      4968: 
1.201     moko     4969: 
1.203   ! moko     4970: # Check whether --with-system-cfg was given.
        !          4971: if test "${with_system_cfg+set}" = set; then :
        !          4972:   withval=$with_system_cfg;
        !          4973: cat >>confdefs.h <<_ACEOF
        !          4974: #define SYSTEM_CONFIG_FILE "$withval"
        !          4975: _ACEOF
1.201     moko     4976: 
                   4977: 
                   4978: fi
                   4979: 
                   4980: 
                   4981: 
                   4982: 
                   4983: # Check whether --with-system-log was given.
                   4984: if test "${with_system_log+set}" = set; then :
                   4985:   withval=$with_system_log;
1.203   ! moko     4986: cat >>confdefs.h <<_ACEOF
        !          4987: #define SYSTEM_LOG_FILE "$withval"
        !          4988: _ACEOF
1.201     moko     4989: 
                   4990: 
                   4991: fi
                   4992: 
                   4993: 
                   4994: 
1.150     moko     4995: # Check whether --enable-safe-mode was given.
                   4996: if test "${enable_safe_mode+set}" = set; then :
                   4997:   enableval=$enable_safe_mode;
1.67      paf      4998:        SAFE_MODE=$enableval
1.60      paf      4999: 
1.1       paf      5000: 
1.150     moko     5001: fi
                   5002: 
1.128     moko     5003: 
1.60      paf      5004: if test "$SAFE_MODE" = "no"; then
1.150     moko     5005:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   5006: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      5007: else
1.62      paf      5008: 
1.150     moko     5009: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      5010: 
                   5011: fi
                   5012: 
1.94      misha    5013: 
1.150     moko     5014: # Check whether --enable-execs was given.
                   5015: if test "${enable_execs+set}" = set; then :
                   5016:   enableval=$enable_execs;
1.13      paf      5017: if test "$enableval" = "no"; then
1.150     moko     5018:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   5019: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      5020: 
1.150     moko     5021: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      5022: 
                   5023: fi
                   5024: 
                   5025: 
1.150     moko     5026: fi
1.13      paf      5027: 
1.60      paf      5028: 
1.94      misha    5029: 
1.150     moko     5030: # Check whether --enable-stringstream was given.
                   5031: if test "${enable_stringstream+set}" = set; then :
                   5032:   enableval=$enable_stringstream;
1.94      misha    5033: if test "$enableval" = "no"; then
1.150     moko     5034:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   5035: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    5036: 
1.150     moko     5037: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    5038: 
                   5039: fi
                   5040: 
                   5041: 
1.150     moko     5042: fi
1.94      misha    5043: 
                   5044: 
1.62      paf      5045: 
1.17      paf      5046: 
1.150     moko     5047: # Check whether --with-gc was given.
                   5048: if test "${with_gc+set}" = set; then :
                   5049:   withval=$with_gc;
1.17      paf      5050: 
1.142     moko     5051:        GC=$withval
                   5052:        GC_LIBS="$GC/libgc.la"
                   5053: 
                   5054:        if test -f $GC_LIBS; then
                   5055:                GC_OK="yes"
                   5056:        else
                   5057:                GC_LIBS="-L$GC -lgc"
                   5058:        fi
1.62      paf      5059: 
1.151     moko     5060:        if test "$GC" = "yes"; then
                   5061:                GC=""
                   5062:                GC_LIBS="-lgc"
                   5063:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   5064: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   5065:        fi
                   5066: 
1.142     moko     5067: else
1.17      paf      5068: 
1.142     moko     5069:        GC_LIBS="-lgc"
1.150     moko     5070:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   5071: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   5072: 
                   5073: fi
1.17      paf      5074: 
                   5075: 
1.142     moko     5076: if test -z "$GC_OK"; then
1.150     moko     5077:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   5078: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     5079:        SAVE_LIBS=$LIBS
                   5080:        LIBS="$LIBS $GC_LIBS"
1.128     moko     5081: 
1.150     moko     5082: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      5083: /* end confdefs.h.  */
1.142     moko     5084:  extern int GC_dont_gc;
1.67      paf      5085: int
                   5086: main ()
                   5087: {
1.142     moko     5088:  GC_dont_gc=0;
1.67      paf      5089:   ;
                   5090:   return 0;
                   5091: }
                   5092: _ACEOF
1.150     moko     5093: if ac_fn_c_try_link "$LINENO"; then :
                   5094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5095: $as_echo "yes" >&6; }
1.67      paf      5096: 
                   5097: else
1.150     moko     5098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5099: $as_echo "no" >&6; }
1.142     moko     5100:                if test -z "$GC"; then
1.201     moko     5101:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     5102:                else
1.150     moko     5103:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     5104:                fi
1.67      paf      5105: 
                   5106: fi
1.150     moko     5107: rm -f core conftest.err conftest.$ac_objext \
                   5108:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     5109:        LIBS=$SAVE_LIBS
                   5110: fi
1.67      paf      5111: 
                   5112: 
1.1       paf      5113: 
1.15      paf      5114: 
1.142     moko     5115: 
1.150     moko     5116: # Check whether --with-pcre was given.
                   5117: if test "${with_pcre+set}" = set; then :
                   5118:   withval=$with_pcre;
1.100     misha    5119:        PCRE=$withval
1.142     moko     5120:        PCRE_INCLUDES="-I$PCRE/include"
                   5121:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    5122: 
1.142     moko     5123:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   5124:                PCRE_OK="yes"
                   5125:        else
1.191     moko     5126:                PCRE_LIBS="-L$PCRE/lib -lpcre"
1.100     misha    5127:        fi
                   5128: 
1.151     moko     5129:        if test "$PCRE" = "yes"; then
                   5130:                PCRE=""
                   5131:                PCRE_LIBS="-lpcre"
                   5132:                PCRE_INCLUDES=""
                   5133:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   5134: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   5135:        fi
1.142     moko     5136: 
                   5137: else
                   5138: 
                   5139:        PCRE_LIBS="-lpcre"
1.149     moko     5140:        PCRE_INCLUDES=""
1.150     moko     5141:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   5142: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   5143: 
                   5144: fi
1.100     misha    5145: 
                   5146: 
1.142     moko     5147: if test -z "$PCRE_OK"; then
1.150     moko     5148:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   5149: $as_echo_n "checking for prce... " >&6; }
1.142     moko     5150:        SAVE_LIBS=$LIBS
                   5151:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     5152:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5153: /* end confdefs.h.  */
                   5154:  #include <pcre.h>
                   5155: int
                   5156: main ()
                   5157: {
                   5158:  const char *v=pcre_version();
                   5159:   ;
                   5160:   return 0;
                   5161: }
                   5162: _ACEOF
1.150     moko     5163: if ac_fn_c_try_link "$LINENO"; then :
                   5164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5165: $as_echo "yes" >&6; }
1.142     moko     5166: 
                   5167: else
1.150     moko     5168:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5169: $as_echo "no" >&6; }
1.142     moko     5170:                if test -z "$PCRE"; then
1.201     moko     5171:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     5172:                else
1.150     moko     5173:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     5174:                fi
                   5175: 
                   5176: fi
1.150     moko     5177: rm -f core conftest.err conftest.$ac_objext \
                   5178:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5179:        LIBS=$SAVE_LIBS
                   5180: fi
1.100     misha    5181: 
                   5182: 
                   5183: 
                   5184: 
1.66      paf      5185: 
                   5186: 
1.150     moko     5187: # Check whether --with-xml was given.
                   5188: if test "${with_xml+set}" = set; then :
                   5189:   withval=$with_xml;
1.66      paf      5190: 
1.142     moko     5191:        XML=$withval
                   5192:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   5193: 
                   5194:        if test -z "$XML" -o "$XML" = "yes"; then
                   5195:                XML=""
                   5196:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     5197:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   5198: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     5199:        else
                   5200:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     5201:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      5202: 
1.142     moko     5203:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   5204:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   5205:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   5206:                        XML_OK="yes"
                   5207:                fi
1.67      paf      5208:        fi
1.66      paf      5209: 
1.142     moko     5210:        if test -z "$XML_OK"; then
1.150     moko     5211:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   5212: $as_echo_n "checking for xml... " >&6; }
1.142     moko     5213:                SAVE_LIBS=$LIBS
                   5214:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     5215:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5216: /* end confdefs.h.  */
                   5217:  #include <libxslt/xslt.h>
                   5218: int
                   5219: main ()
                   5220: {
                   5221:  const char *v=xsltEngineVersion;
                   5222:   ;
                   5223:   return 0;
                   5224: }
                   5225: _ACEOF
1.150     moko     5226: if ac_fn_c_try_link "$LINENO"; then :
                   5227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5228: $as_echo "yes" >&6; }
1.142     moko     5229: 
                   5230: else
1.150     moko     5231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5232: $as_echo "no" >&6; }
1.142     moko     5233:                        if test -z "$XML"; then
1.201     moko     5234:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     5235:                        else
1.150     moko     5236:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5237:                        fi
                   5238: 
                   5239: fi
1.150     moko     5240: rm -f core conftest.err conftest.$ac_objext \
                   5241:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5242:                LIBS=$SAVE_LIBS
1.67      paf      5243:        fi
1.66      paf      5244: 
1.150     moko     5245: $as_echo "#define XML /**/" >>confdefs.h
                   5246: 
1.66      paf      5247: 
1.150     moko     5248: fi
1.66      paf      5249: 
1.90      paf      5250: 
1.66      paf      5251: 
                   5252: 
                   5253: 
                   5254: 
1.90      paf      5255: 
1.154     moko     5256: # Check whether --with-mailreceive was given.
                   5257: if test "${with_mailreceive+set}" = set; then :
                   5258:   withval=$with_mailreceive;
                   5259:        MIME=$withval
1.155     moko     5260:        GLIB="glib-2.0"
1.154     moko     5261:        GMIME="gmime-2.4"
                   5262: 
                   5263:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5264:                MIME=""
                   5265:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5266:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     5267:                if test -z "$MIME_LIBS"; then
                   5268:                        GMIME="gmime-3.0"
                   5269:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5270:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5271:                fi
1.154     moko     5272:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5273: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5274:        else
1.155     moko     5275:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5276:                MIME_LIBS="-l$GMIME"
                   5277:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5278:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5279:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5280:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5281:                        else
                   5282:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5283:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5284:                        fi
1.154     moko     5285:                        MIME_OK="yes"
                   5286:                fi
1.67      paf      5287:        fi
1.66      paf      5288: 
1.154     moko     5289:        if test -z "$MIME_OK"; then
                   5290:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5291: $as_echo_n "checking for mime... " >&6; }
                   5292:                SAVE_LIBS=$LIBS
                   5293:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   5294:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5295: /* end confdefs.h.  */
                   5296:  #include <gmime/gmime.h>
                   5297: int
                   5298: main ()
                   5299: {
                   5300:  guint v=gmime_major_version;
                   5301:   ;
                   5302:   return 0;
                   5303: }
                   5304: _ACEOF
                   5305: if ac_fn_c_try_link "$LINENO"; then :
                   5306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5307: $as_echo "yes" >&6; }
1.66      paf      5308: 
1.154     moko     5309: else
                   5310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5311: $as_echo "no" >&6; }
                   5312:                        if test -z "$MIME"; then
1.201     moko     5313:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     5314:                        else
                   5315:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5316:                        fi
1.66      paf      5317: 
1.150     moko     5318: fi
1.154     moko     5319: rm -f core conftest.err conftest.$ac_objext \
                   5320:     conftest$ac_exeext conftest.$ac_ext
                   5321:                LIBS=$SAVE_LIBS
1.67      paf      5322:        fi
1.66      paf      5323: 
1.150     moko     5324: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5325: 
                   5326: 
1.154     moko     5327: fi
1.66      paf      5328: 
                   5329: 
                   5330: 
                   5331: 
                   5332: 
                   5333: 
                   5334: 
1.150     moko     5335: # Check whether --with-sendmail was given.
                   5336: if test "${with_sendmail+set}" = set; then :
                   5337:   withval=$with_sendmail;
1.66      paf      5338: cat >>confdefs.h <<_ACEOF
                   5339: #define PA_FORCED_SENDMAIL "$withval"
                   5340: _ACEOF
                   5341: 
                   5342: 
1.150     moko     5343: fi
1.66      paf      5344: 
                   5345: 
                   5346: 
1.122     moko     5347: 
1.150     moko     5348: # Check whether --with-apache was given.
                   5349: if test "${with_apache+set}" = set; then :
                   5350:   withval=$with_apache;
1.122     moko     5351:        APXS=$withval
                   5352: 
                   5353:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5354:                APXS=`which apxs 2>/dev/null`
1.142     moko     5355:                if test -z "$APXS"; then
                   5356:                        APXS=`which apxs2 2>/dev/null`
                   5357:                fi
                   5358:        fi
1.122     moko     5359: 
                   5360:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5361: 
                   5362:        if test -z "$APACHE"; then
1.150     moko     5363:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5364:        fi
1.7       paf      5365: 
1.122     moko     5366:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5367:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5368:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5369:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5370: 
1.150     moko     5371: fi
1.7       paf      5372: 
                   5373: 
1.62      paf      5374: 
1.122     moko     5375: 
1.150     moko     5376:  if test -n "$APACHE"; then
1.122     moko     5377:   COMPILE_APACHE_MODULE_TRUE=
                   5378:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5379: else
1.122     moko     5380:   COMPILE_APACHE_MODULE_TRUE='#'
                   5381:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5382: fi
1.1       paf      5383: 
                   5384: 
                   5385: 
1.62      paf      5386: 
                   5387: 
1.7       paf      5388: 
1.1       paf      5389: 
                   5390: 
                   5391: 
1.62      paf      5392: 
1.128     moko     5393: case `pwd` in
                   5394:   *\ * | *\    *)
1.150     moko     5395:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5396: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5397: esac
                   5398: 
                   5399: 
                   5400: 
                   5401: macro_version='2.4.2'
                   5402: macro_revision='1.3337'
                   5403: 
                   5404: 
                   5405: 
                   5406: 
                   5407: 
                   5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
                   5414: 
                   5415: 
                   5416: ltmain="$ac_aux_dir/ltmain.sh"
                   5417: 
                   5418: # Backslashify metacharacters that are still active within
                   5419: # double-quoted strings.
                   5420: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5421: 
1.128     moko     5422: # Same as above, but do not quote variable references.
                   5423: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5424: 
1.128     moko     5425: # Sed substitution to delay expansion of an escaped shell variable in a
                   5426: # double_quote_subst'ed string.
                   5427: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5428: 
1.128     moko     5429: # Sed substitution to delay expansion of an escaped single quote.
                   5430: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5431: 
1.128     moko     5432: # Sed substitution to avoid accidental globbing in evaled expressions
                   5433: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5434: 
1.128     moko     5435: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5436: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5437: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5438: 
1.150     moko     5439: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5440: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5441: # Test print first, because it will be a builtin if present.
                   5442: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5443:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5444:   ECHO='print -r --'
                   5445: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5446:   ECHO='printf %s\n'
                   5447: else
                   5448:   # Use this function as a fallback that always works.
                   5449:   func_fallback_echo ()
                   5450:   {
                   5451:     eval 'cat <<_LTECHO_EOF
                   5452: $1
                   5453: _LTECHO_EOF'
                   5454:   }
                   5455:   ECHO='func_fallback_echo'
                   5456: fi
1.86      paf      5457: 
1.128     moko     5458: # func_echo_all arg...
                   5459: # Invoke $ECHO with all args, space-separated.
                   5460: func_echo_all ()
1.66      paf      5461: {
1.128     moko     5462:     $ECHO ""
1.66      paf      5463: }
1.10      paf      5464: 
1.128     moko     5465: case "$ECHO" in
1.150     moko     5466:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5467: $as_echo "printf" >&6; } ;;
                   5468:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5469: $as_echo "print -r" >&6; } ;;
                   5470:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5471: $as_echo "cat" >&6; } ;;
1.128     moko     5472: esac
                   5473: 
                   5474: 
                   5475: 
                   5476: 
                   5477: 
                   5478: 
                   5479: 
                   5480: 
                   5481: 
                   5482: 
                   5483: 
                   5484: 
                   5485: 
                   5486: 
1.150     moko     5487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5488: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5489: if ${ac_cv_path_SED+:} false; then :
                   5490:   $as_echo_n "(cached) " >&6
                   5491: else
                   5492:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5493:      for ac_i in 1 2 3 4 5 6 7; do
                   5494:        ac_script="$ac_script$as_nl$ac_script"
                   5495:      done
                   5496:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5497:      { ac_script=; unset ac_script;}
                   5498:      if test -z "$SED"; then
                   5499:   ac_path_SED_found=false
                   5500:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5501:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5502: for as_dir in $PATH
                   5503: do
                   5504:   IFS=$as_save_IFS
                   5505:   test -z "$as_dir" && as_dir=.
1.150     moko     5506:     for ac_prog in sed gsed; do
1.128     moko     5507:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5508:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5509:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5510: # Check for GNU ac_path_SED and select it if it is found.
                   5511:   # Check for GNU $ac_path_SED
                   5512: case `"$ac_path_SED" --version 2>&1` in
                   5513: *GNU*)
                   5514:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5515: *)
                   5516:   ac_count=0
                   5517:   $as_echo_n 0123456789 >"conftest.in"
                   5518:   while :
                   5519:   do
                   5520:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5521:     mv "conftest.tmp" "conftest.in"
                   5522:     cp "conftest.in" "conftest.nl"
                   5523:     $as_echo '' >> "conftest.nl"
                   5524:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5525:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5526:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5527:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5528:       # Best one so far, save it but keep looking for a better one
                   5529:       ac_cv_path_SED="$ac_path_SED"
                   5530:       ac_path_SED_max=$ac_count
                   5531:     fi
                   5532:     # 10*(2^10) chars as input seems more than enough
                   5533:     test $ac_count -gt 10 && break
                   5534:   done
                   5535:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5536: esac
                   5537: 
                   5538:       $ac_path_SED_found && break 3
1.128     moko     5539:     done
                   5540:   done
1.150     moko     5541:   done
1.128     moko     5542: IFS=$as_save_IFS
1.150     moko     5543:   if test -z "$ac_cv_path_SED"; then
                   5544:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5545:   fi
1.150     moko     5546: else
                   5547:   ac_cv_path_SED=$SED
                   5548: fi
1.10      paf      5549: 
1.66      paf      5550: fi
1.150     moko     5551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5552: $as_echo "$ac_cv_path_SED" >&6; }
                   5553:  SED="$ac_cv_path_SED"
                   5554:   rm -f conftest.sed
1.128     moko     5555: 
                   5556: test -z "$SED" && SED=sed
                   5557: Xsed="$SED -e 1s/^X//"
1.10      paf      5558: 
1.128     moko     5559: 
                   5560: 
                   5561: 
                   5562: 
                   5563: 
                   5564: 
                   5565: 
                   5566: 
                   5567: 
                   5568: 
1.150     moko     5569: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5570: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5571: if ${ac_cv_path_GREP+:} false; then :
                   5572:   $as_echo_n "(cached) " >&6
                   5573: else
                   5574:   if test -z "$GREP"; then
                   5575:   ac_path_GREP_found=false
                   5576:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5577:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5578: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5579: do
                   5580:   IFS=$as_save_IFS
                   5581:   test -z "$as_dir" && as_dir=.
                   5582:     for ac_prog in grep ggrep; do
                   5583:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5584:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5585:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5586: # Check for GNU ac_path_GREP and select it if it is found.
                   5587:   # Check for GNU $ac_path_GREP
                   5588: case `"$ac_path_GREP" --version 2>&1` in
                   5589: *GNU*)
                   5590:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5591: *)
                   5592:   ac_count=0
                   5593:   $as_echo_n 0123456789 >"conftest.in"
                   5594:   while :
                   5595:   do
                   5596:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5597:     mv "conftest.tmp" "conftest.in"
                   5598:     cp "conftest.in" "conftest.nl"
                   5599:     $as_echo 'GREP' >> "conftest.nl"
                   5600:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5601:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5602:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5603:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5604:       # Best one so far, save it but keep looking for a better one
                   5605:       ac_cv_path_GREP="$ac_path_GREP"
                   5606:       ac_path_GREP_max=$ac_count
1.128     moko     5607:     fi
1.150     moko     5608:     # 10*(2^10) chars as input seems more than enough
                   5609:     test $ac_count -gt 10 && break
                   5610:   done
                   5611:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5612: esac
                   5613: 
                   5614:       $ac_path_GREP_found && break 3
                   5615:     done
                   5616:   done
                   5617:   done
                   5618: IFS=$as_save_IFS
                   5619:   if test -z "$ac_cv_path_GREP"; then
                   5620:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5621:   fi
                   5622: else
                   5623:   ac_cv_path_GREP=$GREP
                   5624: fi
                   5625: 
1.128     moko     5626: fi
1.150     moko     5627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5628: $as_echo "$ac_cv_path_GREP" >&6; }
                   5629:  GREP="$ac_cv_path_GREP"
                   5630: 
                   5631: 
                   5632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5633: $as_echo_n "checking for egrep... " >&6; }
                   5634: if ${ac_cv_path_EGREP+:} false; then :
                   5635:   $as_echo_n "(cached) " >&6
                   5636: else
                   5637:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5638:    then ac_cv_path_EGREP="$GREP -E"
                   5639:    else
                   5640:      if test -z "$EGREP"; then
                   5641:   ac_path_EGREP_found=false
                   5642:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5643:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5644: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5645: do
                   5646:   IFS=$as_save_IFS
                   5647:   test -z "$as_dir" && as_dir=.
                   5648:     for ac_prog in egrep; do
                   5649:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5650:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5651:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5652: # Check for GNU ac_path_EGREP and select it if it is found.
                   5653:   # Check for GNU $ac_path_EGREP
                   5654: case `"$ac_path_EGREP" --version 2>&1` in
                   5655: *GNU*)
                   5656:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5657: *)
                   5658:   ac_count=0
                   5659:   $as_echo_n 0123456789 >"conftest.in"
                   5660:   while :
                   5661:   do
                   5662:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5663:     mv "conftest.tmp" "conftest.in"
                   5664:     cp "conftest.in" "conftest.nl"
                   5665:     $as_echo 'EGREP' >> "conftest.nl"
                   5666:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5667:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5668:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5669:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5670:       # Best one so far, save it but keep looking for a better one
                   5671:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5672:       ac_path_EGREP_max=$ac_count
                   5673:     fi
                   5674:     # 10*(2^10) chars as input seems more than enough
                   5675:     test $ac_count -gt 10 && break
                   5676:   done
                   5677:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5678: esac
1.128     moko     5679: 
1.150     moko     5680:       $ac_path_EGREP_found && break 3
                   5681:     done
                   5682:   done
                   5683:   done
                   5684: IFS=$as_save_IFS
                   5685:   if test -z "$ac_cv_path_EGREP"; then
                   5686:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5687:   fi
                   5688: else
                   5689:   ac_cv_path_EGREP=$EGREP
                   5690: fi
1.128     moko     5691: 
1.150     moko     5692:    fi
                   5693: fi
                   5694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5695: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5696:  EGREP="$ac_cv_path_EGREP"
                   5697: 
                   5698: 
                   5699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5700: $as_echo_n "checking for fgrep... " >&6; }
                   5701: if ${ac_cv_path_FGREP+:} false; then :
                   5702:   $as_echo_n "(cached) " >&6
                   5703: else
                   5704:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5705:    then ac_cv_path_FGREP="$GREP -F"
                   5706:    else
                   5707:      if test -z "$FGREP"; then
                   5708:   ac_path_FGREP_found=false
                   5709:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5710:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5711: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5712: do
                   5713:   IFS=$as_save_IFS
                   5714:   test -z "$as_dir" && as_dir=.
                   5715:     for ac_prog in fgrep; do
                   5716:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5717:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5718:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5719: # Check for GNU ac_path_FGREP and select it if it is found.
                   5720:   # Check for GNU $ac_path_FGREP
                   5721: case `"$ac_path_FGREP" --version 2>&1` in
                   5722: *GNU*)
                   5723:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5724: *)
                   5725:   ac_count=0
                   5726:   $as_echo_n 0123456789 >"conftest.in"
                   5727:   while :
                   5728:   do
                   5729:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5730:     mv "conftest.tmp" "conftest.in"
                   5731:     cp "conftest.in" "conftest.nl"
                   5732:     $as_echo 'FGREP' >> "conftest.nl"
                   5733:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5734:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5735:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5736:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5737:       # Best one so far, save it but keep looking for a better one
                   5738:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5739:       ac_path_FGREP_max=$ac_count
1.128     moko     5740:     fi
1.150     moko     5741:     # 10*(2^10) chars as input seems more than enough
                   5742:     test $ac_count -gt 10 && break
                   5743:   done
                   5744:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5745: esac
                   5746: 
                   5747:       $ac_path_FGREP_found && break 3
                   5748:     done
                   5749:   done
                   5750:   done
                   5751: IFS=$as_save_IFS
                   5752:   if test -z "$ac_cv_path_FGREP"; then
                   5753:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5754:   fi
                   5755: else
                   5756:   ac_cv_path_FGREP=$FGREP
                   5757: fi
                   5758: 
                   5759:    fi
1.128     moko     5760: fi
1.150     moko     5761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5762: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5763:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5764: 
                   5765: 
                   5766: test -z "$GREP" && GREP=grep
                   5767: 
                   5768: 
                   5769: 
                   5770: 
                   5771: 
                   5772: 
                   5773: 
                   5774: 
                   5775: 
                   5776: 
                   5777: 
                   5778: 
                   5779: 
                   5780: 
                   5781: 
                   5782: 
                   5783: 
                   5784: 
                   5785: 
1.150     moko     5786: # Check whether --with-gnu-ld was given.
                   5787: if test "${with_gnu_ld+set}" = set; then :
                   5788:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5789: else
                   5790:   with_gnu_ld=no
1.150     moko     5791: fi
                   5792: 
1.128     moko     5793: ac_prog=ld
                   5794: if test "$GCC" = yes; then
                   5795:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5796:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5797: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5798:   case $host in
                   5799:   *-*-mingw*)
                   5800:     # gcc leaves a trailing carriage return which upsets mingw
                   5801:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5802:   *)
                   5803:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5804:   esac
                   5805:   case $ac_prog in
                   5806:     # Accept absolute paths.
                   5807:     [\\/]* | ?:[\\/]*)
                   5808:       re_direlt='/[^/][^/]*/\.\./'
                   5809:       # Canonicalize the pathname of ld
                   5810:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5811:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5812:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5813:       done
                   5814:       test -z "$LD" && LD="$ac_prog"
                   5815:       ;;
                   5816:   "")
                   5817:     # If it fails, then pretend we aren't using GCC.
                   5818:     ac_prog=ld
                   5819:     ;;
                   5820:   *)
                   5821:     # If it is relative, then search for the first ld in PATH.
                   5822:     with_gnu_ld=unknown
                   5823:     ;;
                   5824:   esac
                   5825: elif test "$with_gnu_ld" = yes; then
1.150     moko     5826:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5827: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5828: else
1.150     moko     5829:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5830: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5831: fi
1.150     moko     5832: if ${lt_cv_path_LD+:} false; then :
                   5833:   $as_echo_n "(cached) " >&6
1.128     moko     5834: else
                   5835:   if test -z "$LD"; then
                   5836:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5837:   for ac_dir in $PATH; do
                   5838:     IFS="$lt_save_ifs"
                   5839:     test -z "$ac_dir" && ac_dir=.
                   5840:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5841:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5842:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5843:       # but apparently some variants of GNU ld only accept -v.
                   5844:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5845:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5846:       *GNU* | *'with BFD'*)
                   5847:        test "$with_gnu_ld" != no && break
                   5848:        ;;
                   5849:       *)
                   5850:        test "$with_gnu_ld" != yes && break
                   5851:        ;;
                   5852:       esac
                   5853:     fi
                   5854:   done
                   5855:   IFS="$lt_save_ifs"
                   5856: else
                   5857:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5858: fi
                   5859: fi
                   5860: 
                   5861: LD="$lt_cv_path_LD"
                   5862: if test -n "$LD"; then
1.150     moko     5863:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5864: $as_echo "$LD" >&6; }
1.128     moko     5865: else
1.150     moko     5866:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5867: $as_echo "no" >&6; }
1.128     moko     5868: fi
1.150     moko     5869: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5871: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5872: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5873:   $as_echo_n "(cached) " >&6
1.128     moko     5874: else
                   5875:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5876: case `$LD -v 2>&1 </dev/null` in
                   5877: *GNU* | *'with BFD'*)
                   5878:   lt_cv_prog_gnu_ld=yes
                   5879:   ;;
                   5880: *)
                   5881:   lt_cv_prog_gnu_ld=no
                   5882:   ;;
                   5883: esac
                   5884: fi
1.150     moko     5885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5886: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5887: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5888: 
                   5889: 
                   5890: 
                   5891: 
                   5892: 
                   5893: 
                   5894: 
                   5895: 
                   5896: 
1.150     moko     5897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5898: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5899: if ${lt_cv_path_NM+:} false; then :
                   5900:   $as_echo_n "(cached) " >&6
1.128     moko     5901: else
                   5902:   if test -n "$NM"; then
                   5903:   # Let the user override the test.
                   5904:   lt_cv_path_NM="$NM"
                   5905: else
                   5906:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5907:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5908:     lt_nm_to_check="$lt_nm_to_check nm"
                   5909:   fi
                   5910:   for lt_tmp_nm in $lt_nm_to_check; do
                   5911:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5912:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5913:       IFS="$lt_save_ifs"
                   5914:       test -z "$ac_dir" && ac_dir=.
                   5915:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5916:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5917:        # Check to see if the nm accepts a BSD-compat flag.
                   5918:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5919:        #   nm: unknown option "B" ignored
                   5920:        # Tru64's nm complains that /dev/null is an invalid object file
                   5921:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5922:        */dev/null* | *'Invalid file or object type'*)
                   5923:          lt_cv_path_NM="$tmp_nm -B"
                   5924:          break
                   5925:          ;;
                   5926:        *)
                   5927:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5928:          */dev/null*)
                   5929:            lt_cv_path_NM="$tmp_nm -p"
                   5930:            break
                   5931:            ;;
                   5932:          *)
                   5933:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5934:            continue # so that we can try to find one that supports BSD flags
                   5935:            ;;
                   5936:          esac
                   5937:          ;;
                   5938:        esac
                   5939:       fi
                   5940:     done
                   5941:     IFS="$lt_save_ifs"
                   5942:   done
                   5943:   : ${lt_cv_path_NM=no}
                   5944: fi
                   5945: fi
1.150     moko     5946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5947: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5948: if test "$lt_cv_path_NM" != "no"; then
                   5949:   NM="$lt_cv_path_NM"
                   5950: else
                   5951:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5952:   if test -n "$DUMPBIN"; then :
                   5953:     # Let the user override the test.
                   5954:   else
                   5955:     if test -n "$ac_tool_prefix"; then
                   5956:   for ac_prog in dumpbin "link -dump"
                   5957:   do
                   5958:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5959: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5961: $as_echo_n "checking for $ac_word... " >&6; }
                   5962: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5963:   $as_echo_n "(cached) " >&6
1.128     moko     5964: else
                   5965:   if test -n "$DUMPBIN"; then
                   5966:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5967: else
                   5968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5969: for as_dir in $PATH
                   5970: do
                   5971:   IFS=$as_save_IFS
                   5972:   test -z "$as_dir" && as_dir=.
1.150     moko     5973:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     5974:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     5975:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5977:     break 2
                   5978:   fi
                   5979: done
1.150     moko     5980:   done
                   5981: IFS=$as_save_IFS
1.128     moko     5982: 
                   5983: fi
                   5984: fi
                   5985: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5986: if test -n "$DUMPBIN"; then
1.150     moko     5987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5988: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5989: else
1.150     moko     5990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5991: $as_echo "no" >&6; }
1.128     moko     5992: fi
                   5993: 
1.150     moko     5994: 
1.128     moko     5995:     test -n "$DUMPBIN" && break
                   5996:   done
                   5997: fi
                   5998: if test -z "$DUMPBIN"; then
                   5999:   ac_ct_DUMPBIN=$DUMPBIN
                   6000:   for ac_prog in dumpbin "link -dump"
                   6001: do
                   6002:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6003: set dummy $ac_prog; ac_word=$2
1.150     moko     6004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6005: $as_echo_n "checking for $ac_word... " >&6; }
                   6006: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   6007:   $as_echo_n "(cached) " >&6
1.128     moko     6008: else
                   6009:   if test -n "$ac_ct_DUMPBIN"; then
                   6010:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   6011: else
                   6012: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6013: for as_dir in $PATH
                   6014: do
                   6015:   IFS=$as_save_IFS
                   6016:   test -z "$as_dir" && as_dir=.
1.150     moko     6017:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6018:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6019:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     6020:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6021:     break 2
                   6022:   fi
                   6023: done
1.150     moko     6024:   done
                   6025: IFS=$as_save_IFS
1.128     moko     6026: 
                   6027: fi
                   6028: fi
                   6029: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   6030: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     6031:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   6032: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     6033: else
1.150     moko     6034:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6035: $as_echo "no" >&6; }
1.128     moko     6036: fi
                   6037: 
1.150     moko     6038: 
1.128     moko     6039:   test -n "$ac_ct_DUMPBIN" && break
                   6040: done
                   6041: 
1.150     moko     6042:   if test "x$ac_ct_DUMPBIN" = x; then
                   6043:     DUMPBIN=":"
                   6044:   else
                   6045:     case $cross_compiling:$ac_tool_warned in
                   6046: yes:)
                   6047: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6048: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6049: ac_tool_warned=yes ;;
                   6050: esac
                   6051:     DUMPBIN=$ac_ct_DUMPBIN
                   6052:   fi
1.128     moko     6053: fi
                   6054: 
                   6055:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   6056:     *COFF*)
                   6057:       DUMPBIN="$DUMPBIN -symbols"
                   6058:       ;;
                   6059:     *)
                   6060:       DUMPBIN=:
                   6061:       ;;
                   6062:     esac
                   6063:   fi
                   6064: 
                   6065:   if test "$DUMPBIN" != ":"; then
                   6066:     NM="$DUMPBIN"
                   6067:   fi
                   6068: fi
                   6069: test -z "$NM" && NM=nm
                   6070: 
                   6071: 
                   6072: 
                   6073: 
                   6074: 
                   6075: 
1.150     moko     6076: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   6077: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   6078: if ${lt_cv_nm_interface+:} false; then :
                   6079:   $as_echo_n "(cached) " >&6
1.128     moko     6080: else
                   6081:   lt_cv_nm_interface="BSD nm"
                   6082:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6083:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   6084:   (eval "$ac_compile" 2>conftest.err)
                   6085:   cat conftest.err >&5
                   6086:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   6087:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   6088:   cat conftest.err >&5
                   6089:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   6090:   cat conftest.out >&5
                   6091:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   6092:     lt_cv_nm_interface="MS dumpbin"
                   6093:   fi
                   6094:   rm -f conftest*
                   6095: fi
1.150     moko     6096: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   6097: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     6098: 
1.150     moko     6099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6100: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     6101: LN_S=$as_ln_s
                   6102: if test "$LN_S" = "ln -s"; then
1.150     moko     6103:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6104: $as_echo "yes" >&6; }
1.128     moko     6105: else
1.150     moko     6106:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6107: $as_echo "no, using $LN_S" >&6; }
1.128     moko     6108: fi
                   6109: 
                   6110: # find the maximum length of command line arguments
1.150     moko     6111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   6112: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   6113: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   6114:   $as_echo_n "(cached) " >&6
1.128     moko     6115: else
                   6116:     i=0
                   6117:   teststring="ABCD"
                   6118: 
                   6119:   case $build_os in
                   6120:   msdosdjgpp*)
                   6121:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   6122:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   6123:     # during glob expansion).  Even if it were fixed, the result of this
                   6124:     # check would be larger than it should be.
                   6125:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   6126:     ;;
                   6127: 
                   6128:   gnu*)
                   6129:     # Under GNU Hurd, this test is not required because there is
                   6130:     # no limit to the length of command line arguments.
                   6131:     # Libtool will interpret -1 as no limit whatsoever
                   6132:     lt_cv_sys_max_cmd_len=-1;
                   6133:     ;;
                   6134: 
                   6135:   cygwin* | mingw* | cegcc*)
                   6136:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   6137:     # about 5 minutes as the teststring grows exponentially.
                   6138:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   6139:     # you end up with a "frozen" computer, even though with patience
                   6140:     # the test eventually succeeds (with a max line length of 256k).
                   6141:     # Instead, let's just punt: use the minimum linelength reported by
                   6142:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   6143:     lt_cv_sys_max_cmd_len=8192;
                   6144:     ;;
                   6145: 
                   6146:   mint*)
                   6147:     # On MiNT this can take a long time and run out of memory.
                   6148:     lt_cv_sys_max_cmd_len=8192;
                   6149:     ;;
                   6150: 
                   6151:   amigaos*)
                   6152:     # On AmigaOS with pdksh, this test takes hours, literally.
                   6153:     # So we just punt and use a minimum line length of 8192.
                   6154:     lt_cv_sys_max_cmd_len=8192;
                   6155:     ;;
                   6156: 
                   6157:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   6158:     # This has been around since 386BSD, at least.  Likely further.
                   6159:     if test -x /sbin/sysctl; then
                   6160:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   6161:     elif test -x /usr/sbin/sysctl; then
                   6162:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   6163:     else
                   6164:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   6165:     fi
                   6166:     # And add a safety zone
                   6167:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6168:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6169:     ;;
                   6170: 
                   6171:   interix*)
                   6172:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   6173:     lt_cv_sys_max_cmd_len=196608
                   6174:     ;;
                   6175: 
                   6176:   os2*)
                   6177:     # The test takes a long time on OS/2.
                   6178:     lt_cv_sys_max_cmd_len=8192
                   6179:     ;;
                   6180: 
                   6181:   osf*)
                   6182:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   6183:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   6184:     # nice to cause kernel panics so lets avoid the loop below.
                   6185:     # First set a reasonable default.
                   6186:     lt_cv_sys_max_cmd_len=16384
                   6187:     #
                   6188:     if test -x /sbin/sysconfig; then
                   6189:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   6190:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   6191:       esac
                   6192:     fi
                   6193:     ;;
                   6194:   sco3.2v5*)
                   6195:     lt_cv_sys_max_cmd_len=102400
                   6196:     ;;
                   6197:   sysv5* | sco5v6* | sysv4.2uw2*)
                   6198:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   6199:     if test -n "$kargmax"; then
                   6200:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   6201:     else
                   6202:       lt_cv_sys_max_cmd_len=32768
                   6203:     fi
                   6204:     ;;
                   6205:   *)
                   6206:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   6207:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   6208:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6209:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6210:     else
                   6211:       # Make teststring a little bigger before we do anything with it.
                   6212:       # a 1K string should be a reasonable start.
                   6213:       for i in 1 2 3 4 5 6 7 8 ; do
                   6214:         teststring=$teststring$teststring
                   6215:       done
                   6216:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   6217:       # If test is not a shell built-in, we'll probably end up computing a
                   6218:       # maximum length that is only half of the actual maximum length, but
                   6219:       # we can't tell.
                   6220:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6221:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6222:              test $i != 17 # 1/2 MB should be enough
                   6223:       do
                   6224:         i=`expr $i + 1`
                   6225:         teststring=$teststring$teststring
                   6226:       done
                   6227:       # Only check the string length outside the loop.
                   6228:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6229:       teststring=
                   6230:       # Add a significant safety factor because C++ compilers can tack on
                   6231:       # massive amounts of additional arguments before passing them to the
                   6232:       # linker.  It appears as though 1/2 is a usable value.
                   6233:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6234:     fi
                   6235:     ;;
                   6236:   esac
                   6237: 
                   6238: fi
                   6239: 
                   6240: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6242: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6243: else
1.150     moko     6244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6245: $as_echo "none" >&6; }
1.128     moko     6246: fi
                   6247: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6248: 
                   6249: 
                   6250: 
                   6251: 
                   6252: 
                   6253: 
                   6254: : ${CP="cp -f"}
                   6255: : ${MV="mv -f"}
                   6256: : ${RM="rm -f"}
                   6257: 
1.150     moko     6258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6259: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6260: # Try some XSI features
                   6261: xsi_shell=no
                   6262: ( _lt_dummy="a/b/c"
                   6263:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6264:       = c,a/b,b/c, \
                   6265:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6266:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6267:   && xsi_shell=yes
1.150     moko     6268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6269: $as_echo "$xsi_shell" >&6; }
1.128     moko     6270: 
                   6271: 
1.150     moko     6272: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6273: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6274: lt_shell_append=no
                   6275: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6276:     >/dev/null 2>&1 \
                   6277:   && lt_shell_append=yes
1.150     moko     6278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6279: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6280: 
                   6281: 
                   6282: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6283:   lt_unset=unset
                   6284: else
                   6285:   lt_unset=false
                   6286: fi
                   6287: 
                   6288: 
                   6289: 
                   6290: 
                   6291: 
                   6292: # test EBCDIC or ASCII
                   6293: case `echo X|tr X '\101'` in
                   6294:  A) # ASCII based system
                   6295:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6296:   lt_SP2NL='tr \040 \012'
                   6297:   lt_NL2SP='tr \015\012 \040\040'
                   6298:   ;;
                   6299:  *) # EBCDIC based system
                   6300:   lt_SP2NL='tr \100 \n'
                   6301:   lt_NL2SP='tr \r\n \100\100'
                   6302:   ;;
                   6303: esac
                   6304: 
                   6305: 
                   6306: 
                   6307: 
                   6308: 
                   6309: 
                   6310: 
                   6311: 
                   6312: 
1.150     moko     6313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6314: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6315: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6316:   $as_echo_n "(cached) " >&6
1.128     moko     6317: else
                   6318:   case $host in
                   6319:   *-*-mingw* )
                   6320:     case $build in
                   6321:       *-*-mingw* ) # actually msys
                   6322:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6323:         ;;
                   6324:       *-*-cygwin* )
                   6325:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6326:         ;;
                   6327:       * ) # otherwise, assume *nix
                   6328:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6329:         ;;
                   6330:     esac
                   6331:     ;;
                   6332:   *-*-cygwin* )
                   6333:     case $build in
                   6334:       *-*-mingw* ) # actually msys
                   6335:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6336:         ;;
                   6337:       *-*-cygwin* )
                   6338:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6339:         ;;
                   6340:       * ) # otherwise, assume *nix
                   6341:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6342:         ;;
                   6343:     esac
                   6344:     ;;
                   6345:   * ) # unhandled hosts (and "normal" native builds)
                   6346:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6347:     ;;
                   6348: esac
                   6349: 
                   6350: fi
                   6351: 
                   6352: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6354: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6355: 
                   6356: 
                   6357: 
                   6358: 
                   6359: 
1.150     moko     6360: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6361: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6362: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6363:   $as_echo_n "(cached) " >&6
1.128     moko     6364: else
                   6365:   #assume ordinary cross tools, or native build.
                   6366: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6367: case $host in
                   6368:   *-*-mingw* )
                   6369:     case $build in
                   6370:       *-*-mingw* ) # actually msys
                   6371:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6372:         ;;
                   6373:     esac
                   6374:     ;;
                   6375: esac
                   6376: 
                   6377: fi
                   6378: 
                   6379: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6381: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6382: 
                   6383: 
                   6384: 
                   6385: 
                   6386: 
1.150     moko     6387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6388: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6389: if ${lt_cv_ld_reload_flag+:} false; then :
                   6390:   $as_echo_n "(cached) " >&6
1.128     moko     6391: else
                   6392:   lt_cv_ld_reload_flag='-r'
                   6393: fi
1.150     moko     6394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6395: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6396: reload_flag=$lt_cv_ld_reload_flag
                   6397: case $reload_flag in
                   6398: "" | " "*) ;;
                   6399: *) reload_flag=" $reload_flag" ;;
                   6400: esac
                   6401: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6402: case $host_os in
                   6403:   cygwin* | mingw* | pw32* | cegcc*)
                   6404:     if test "$GCC" != yes; then
                   6405:       reload_cmds=false
                   6406:     fi
                   6407:     ;;
                   6408:   darwin*)
                   6409:     if test "$GCC" = yes; then
                   6410:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6411:     else
                   6412:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6413:     fi
                   6414:     ;;
                   6415: esac
                   6416: 
                   6417: 
                   6418: 
                   6419: 
                   6420: 
                   6421: 
                   6422: 
                   6423: 
                   6424: 
                   6425: if test -n "$ac_tool_prefix"; then
                   6426:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6427: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6428: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6429: $as_echo_n "checking for $ac_word... " >&6; }
                   6430: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6431:   $as_echo_n "(cached) " >&6
1.128     moko     6432: else
                   6433:   if test -n "$OBJDUMP"; then
                   6434:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6435: else
                   6436: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6437: for as_dir in $PATH
                   6438: do
                   6439:   IFS=$as_save_IFS
                   6440:   test -z "$as_dir" && as_dir=.
1.150     moko     6441:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6442:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6443:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6444:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6445:     break 2
                   6446:   fi
                   6447: done
1.150     moko     6448:   done
                   6449: IFS=$as_save_IFS
1.128     moko     6450: 
                   6451: fi
                   6452: fi
                   6453: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6454: if test -n "$OBJDUMP"; then
1.150     moko     6455:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6456: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6457: else
1.150     moko     6458:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6459: $as_echo "no" >&6; }
1.128     moko     6460: fi
                   6461: 
1.150     moko     6462: 
1.128     moko     6463: fi
                   6464: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6465:   ac_ct_OBJDUMP=$OBJDUMP
                   6466:   # Extract the first word of "objdump", so it can be a program name with args.
                   6467: set dummy objdump; ac_word=$2
1.150     moko     6468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6469: $as_echo_n "checking for $ac_word... " >&6; }
                   6470: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6471:   $as_echo_n "(cached) " >&6
1.128     moko     6472: else
                   6473:   if test -n "$ac_ct_OBJDUMP"; then
                   6474:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6475: else
                   6476: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6477: for as_dir in $PATH
                   6478: do
                   6479:   IFS=$as_save_IFS
                   6480:   test -z "$as_dir" && as_dir=.
1.150     moko     6481:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6482:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6483:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6484:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6485:     break 2
                   6486:   fi
                   6487: done
1.150     moko     6488:   done
                   6489: IFS=$as_save_IFS
1.128     moko     6490: 
                   6491: fi
                   6492: fi
                   6493: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6494: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6495:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6496: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6497: else
1.150     moko     6498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6499: $as_echo "no" >&6; }
1.128     moko     6500: fi
                   6501: 
1.150     moko     6502:   if test "x$ac_ct_OBJDUMP" = x; then
                   6503:     OBJDUMP="false"
                   6504:   else
                   6505:     case $cross_compiling:$ac_tool_warned in
                   6506: yes:)
                   6507: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6508: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6509: ac_tool_warned=yes ;;
                   6510: esac
                   6511:     OBJDUMP=$ac_ct_OBJDUMP
                   6512:   fi
1.128     moko     6513: else
                   6514:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6515: fi
                   6516: 
                   6517: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6518: 
                   6519: 
                   6520: 
                   6521: 
                   6522: 
                   6523: 
1.150     moko     6524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6525: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6526: if ${lt_cv_deplibs_check_method+:} false; then :
                   6527:   $as_echo_n "(cached) " >&6
1.128     moko     6528: else
                   6529:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6530: lt_cv_file_magic_test_file=
                   6531: lt_cv_deplibs_check_method='unknown'
                   6532: # Need to set the preceding variable on all platforms that support
                   6533: # interlibrary dependencies.
                   6534: # 'none' -- dependencies not supported.
                   6535: # `unknown' -- same as none, but documents that we really don't know.
                   6536: # 'pass_all' -- all dependencies passed with no checks.
                   6537: # 'test_compile' -- check by making test program.
                   6538: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6539: # which responds to the $file_magic_cmd with a given extended regex.
                   6540: # If you have `file' or equivalent on your system and you're not sure
                   6541: # whether `pass_all' will *always* work, you probably want this one.
                   6542: 
                   6543: case $host_os in
                   6544: aix[4-9]*)
                   6545:   lt_cv_deplibs_check_method=pass_all
                   6546:   ;;
                   6547: 
                   6548: beos*)
                   6549:   lt_cv_deplibs_check_method=pass_all
                   6550:   ;;
                   6551: 
                   6552: bsdi[45]*)
                   6553:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6554:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6555:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6556:   ;;
                   6557: 
                   6558: cygwin*)
                   6559:   # func_win32_libid is a shell function defined in ltmain.sh
                   6560:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6561:   lt_cv_file_magic_cmd='func_win32_libid'
                   6562:   ;;
                   6563: 
                   6564: mingw* | pw32*)
                   6565:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6566:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6567:   # unless we find 'file', for example because we are cross-compiling.
                   6568:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6569:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6570:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6571:     lt_cv_file_magic_cmd='func_win32_libid'
                   6572:   else
                   6573:     # Keep this pattern in sync with the one in func_win32_libid.
                   6574:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6575:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6576:   fi
                   6577:   ;;
                   6578: 
                   6579: cegcc*)
                   6580:   # use the weaker test based on 'objdump'. See mingw*.
                   6581:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6582:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6583:   ;;
                   6584: 
                   6585: darwin* | rhapsody*)
                   6586:   lt_cv_deplibs_check_method=pass_all
                   6587:   ;;
                   6588: 
                   6589: freebsd* | dragonfly*)
                   6590:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6591:     case $host_cpu in
                   6592:     i*86 )
                   6593:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6594:       # Let's accept both of them until this is cleared up.
                   6595:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6596:       lt_cv_file_magic_cmd=/usr/bin/file
                   6597:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6598:       ;;
                   6599:     esac
                   6600:   else
                   6601:     lt_cv_deplibs_check_method=pass_all
                   6602:   fi
                   6603:   ;;
                   6604: 
                   6605: gnu*)
                   6606:   lt_cv_deplibs_check_method=pass_all
                   6607:   ;;
                   6608: 
                   6609: haiku*)
                   6610:   lt_cv_deplibs_check_method=pass_all
                   6611:   ;;
                   6612: 
                   6613: hpux10.20* | hpux11*)
                   6614:   lt_cv_file_magic_cmd=/usr/bin/file
                   6615:   case $host_cpu in
                   6616:   ia64*)
                   6617:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6618:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6619:     ;;
                   6620:   hppa*64*)
                   6621:     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]'
                   6622:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6623:     ;;
                   6624:   *)
                   6625:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6626:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6627:     ;;
                   6628:   esac
                   6629:   ;;
                   6630: 
                   6631: interix[3-9]*)
                   6632:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6633:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6634:   ;;
                   6635: 
                   6636: irix5* | irix6* | nonstopux*)
                   6637:   case $LD in
                   6638:   *-32|*"-32 ") libmagic=32-bit;;
                   6639:   *-n32|*"-n32 ") libmagic=N32;;
                   6640:   *-64|*"-64 ") libmagic=64-bit;;
                   6641:   *) libmagic=never-match;;
                   6642:   esac
                   6643:   lt_cv_deplibs_check_method=pass_all
                   6644:   ;;
                   6645: 
                   6646: # This must be glibc/ELF.
                   6647: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6648:   lt_cv_deplibs_check_method=pass_all
                   6649:   ;;
                   6650: 
                   6651: netbsd*)
                   6652:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6653:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6654:   else
                   6655:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6656:   fi
                   6657:   ;;
                   6658: 
                   6659: newos6*)
                   6660:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6661:   lt_cv_file_magic_cmd=/usr/bin/file
                   6662:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6663:   ;;
                   6664: 
                   6665: *nto* | *qnx*)
                   6666:   lt_cv_deplibs_check_method=pass_all
                   6667:   ;;
                   6668: 
                   6669: openbsd*)
                   6670:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6671:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6672:   else
                   6673:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6674:   fi
                   6675:   ;;
                   6676: 
                   6677: osf3* | osf4* | osf5*)
                   6678:   lt_cv_deplibs_check_method=pass_all
                   6679:   ;;
                   6680: 
                   6681: rdos*)
                   6682:   lt_cv_deplibs_check_method=pass_all
                   6683:   ;;
                   6684: 
                   6685: solaris*)
                   6686:   lt_cv_deplibs_check_method=pass_all
                   6687:   ;;
                   6688: 
                   6689: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6690:   lt_cv_deplibs_check_method=pass_all
                   6691:   ;;
                   6692: 
                   6693: sysv4 | sysv4.3*)
                   6694:   case $host_vendor in
                   6695:   motorola)
                   6696:     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]'
                   6697:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6698:     ;;
                   6699:   ncr)
                   6700:     lt_cv_deplibs_check_method=pass_all
                   6701:     ;;
                   6702:   sequent)
                   6703:     lt_cv_file_magic_cmd='/bin/file'
                   6704:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6705:     ;;
                   6706:   sni)
                   6707:     lt_cv_file_magic_cmd='/bin/file'
                   6708:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6709:     lt_cv_file_magic_test_file=/lib/libc.so
                   6710:     ;;
                   6711:   siemens)
                   6712:     lt_cv_deplibs_check_method=pass_all
                   6713:     ;;
                   6714:   pc)
                   6715:     lt_cv_deplibs_check_method=pass_all
                   6716:     ;;
                   6717:   esac
                   6718:   ;;
                   6719: 
                   6720: tpf*)
                   6721:   lt_cv_deplibs_check_method=pass_all
                   6722:   ;;
                   6723: esac
                   6724: 
                   6725: fi
1.150     moko     6726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6727: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6728: 
                   6729: file_magic_glob=
                   6730: want_nocaseglob=no
                   6731: if test "$build" = "$host"; then
                   6732:   case $host_os in
                   6733:   mingw* | pw32*)
                   6734:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6735:       want_nocaseglob=yes
                   6736:     else
                   6737:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6738:     fi
                   6739:     ;;
                   6740:   esac
                   6741: fi
                   6742: 
                   6743: file_magic_cmd=$lt_cv_file_magic_cmd
                   6744: deplibs_check_method=$lt_cv_deplibs_check_method
                   6745: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6746: 
                   6747: 
                   6748: 
                   6749: 
                   6750: 
                   6751: 
                   6752: 
                   6753: 
                   6754: 
                   6755: 
                   6756: 
                   6757: 
                   6758: 
                   6759: 
                   6760: 
                   6761: 
                   6762: 
                   6763: 
                   6764: 
                   6765: 
                   6766: 
                   6767: 
                   6768: if test -n "$ac_tool_prefix"; then
                   6769:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6770: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6771: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6772: $as_echo_n "checking for $ac_word... " >&6; }
                   6773: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6774:   $as_echo_n "(cached) " >&6
1.128     moko     6775: else
                   6776:   if test -n "$DLLTOOL"; then
                   6777:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6778: else
                   6779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6780: for as_dir in $PATH
                   6781: do
                   6782:   IFS=$as_save_IFS
                   6783:   test -z "$as_dir" && as_dir=.
1.150     moko     6784:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6785:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6786:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6787:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6788:     break 2
                   6789:   fi
                   6790: done
1.150     moko     6791:   done
                   6792: IFS=$as_save_IFS
1.128     moko     6793: 
                   6794: fi
                   6795: fi
                   6796: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6797: if test -n "$DLLTOOL"; then
1.150     moko     6798:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6799: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6800: else
1.150     moko     6801:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6802: $as_echo "no" >&6; }
1.128     moko     6803: fi
                   6804: 
1.150     moko     6805: 
1.128     moko     6806: fi
                   6807: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6808:   ac_ct_DLLTOOL=$DLLTOOL
                   6809:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6810: set dummy dlltool; ac_word=$2
1.150     moko     6811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6812: $as_echo_n "checking for $ac_word... " >&6; }
                   6813: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6814:   $as_echo_n "(cached) " >&6
1.128     moko     6815: else
                   6816:   if test -n "$ac_ct_DLLTOOL"; then
                   6817:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6818: else
                   6819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6820: for as_dir in $PATH
                   6821: do
                   6822:   IFS=$as_save_IFS
                   6823:   test -z "$as_dir" && as_dir=.
1.150     moko     6824:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6825:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6826:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6827:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6828:     break 2
                   6829:   fi
                   6830: done
1.150     moko     6831:   done
                   6832: IFS=$as_save_IFS
1.128     moko     6833: 
                   6834: fi
                   6835: fi
                   6836: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6837: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6838:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6839: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6840: else
1.150     moko     6841:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6842: $as_echo "no" >&6; }
1.128     moko     6843: fi
                   6844: 
1.150     moko     6845:   if test "x$ac_ct_DLLTOOL" = x; then
                   6846:     DLLTOOL="false"
                   6847:   else
                   6848:     case $cross_compiling:$ac_tool_warned in
                   6849: yes:)
                   6850: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6851: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6852: ac_tool_warned=yes ;;
                   6853: esac
                   6854:     DLLTOOL=$ac_ct_DLLTOOL
                   6855:   fi
1.128     moko     6856: else
                   6857:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6858: fi
                   6859: 
                   6860: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6861: 
                   6862: 
                   6863: 
                   6864: 
                   6865: 
                   6866: 
                   6867: 
1.150     moko     6868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6869: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6870: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6871:   $as_echo_n "(cached) " >&6
1.128     moko     6872: else
                   6873:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6874: 
                   6875: case $host_os in
                   6876: cygwin* | mingw* | pw32* | cegcc*)
                   6877:   # two different shell functions defined in ltmain.sh
                   6878:   # decide which to use based on capabilities of $DLLTOOL
                   6879:   case `$DLLTOOL --help 2>&1` in
                   6880:   *--identify-strict*)
                   6881:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6882:     ;;
                   6883:   *)
                   6884:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6885:     ;;
                   6886:   esac
                   6887:   ;;
                   6888: *)
                   6889:   # fallback: assume linklib IS sharedlib
                   6890:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6891:   ;;
                   6892: esac
                   6893: 
                   6894: fi
1.150     moko     6895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6896: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6897: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6898: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6899: 
                   6900: 
                   6901: 
                   6902: 
                   6903: 
                   6904: 
                   6905: 
                   6906: if test -n "$ac_tool_prefix"; then
                   6907:   for ac_prog in ar
                   6908:   do
                   6909:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6910: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6912: $as_echo_n "checking for $ac_word... " >&6; }
                   6913: if ${ac_cv_prog_AR+:} false; then :
                   6914:   $as_echo_n "(cached) " >&6
1.128     moko     6915: else
                   6916:   if test -n "$AR"; then
                   6917:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6918: else
                   6919: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6920: for as_dir in $PATH
                   6921: do
                   6922:   IFS=$as_save_IFS
                   6923:   test -z "$as_dir" && as_dir=.
1.150     moko     6924:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6925:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6926:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6927:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6928:     break 2
                   6929:   fi
                   6930: done
1.150     moko     6931:   done
                   6932: IFS=$as_save_IFS
1.128     moko     6933: 
                   6934: fi
                   6935: fi
                   6936: AR=$ac_cv_prog_AR
                   6937: if test -n "$AR"; then
1.150     moko     6938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6939: $as_echo "$AR" >&6; }
1.128     moko     6940: else
1.150     moko     6941:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6942: $as_echo "no" >&6; }
1.128     moko     6943: fi
                   6944: 
1.150     moko     6945: 
1.128     moko     6946:     test -n "$AR" && break
                   6947:   done
                   6948: fi
                   6949: if test -z "$AR"; then
                   6950:   ac_ct_AR=$AR
                   6951:   for ac_prog in ar
                   6952: do
                   6953:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6954: set dummy $ac_prog; ac_word=$2
1.150     moko     6955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6956: $as_echo_n "checking for $ac_word... " >&6; }
                   6957: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6958:   $as_echo_n "(cached) " >&6
1.128     moko     6959: else
                   6960:   if test -n "$ac_ct_AR"; then
                   6961:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6962: else
                   6963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6964: for as_dir in $PATH
                   6965: do
                   6966:   IFS=$as_save_IFS
                   6967:   test -z "$as_dir" && as_dir=.
1.150     moko     6968:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6969:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6970:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6971:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6972:     break 2
                   6973:   fi
                   6974: done
1.150     moko     6975:   done
                   6976: IFS=$as_save_IFS
1.128     moko     6977: 
                   6978: fi
                   6979: fi
                   6980: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6981: if test -n "$ac_ct_AR"; then
1.150     moko     6982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6983: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6984: else
1.150     moko     6985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6986: $as_echo "no" >&6; }
1.128     moko     6987: fi
                   6988: 
1.150     moko     6989: 
1.128     moko     6990:   test -n "$ac_ct_AR" && break
                   6991: done
                   6992: 
1.150     moko     6993:   if test "x$ac_ct_AR" = x; then
                   6994:     AR="false"
                   6995:   else
                   6996:     case $cross_compiling:$ac_tool_warned in
                   6997: yes:)
                   6998: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6999: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7000: ac_tool_warned=yes ;;
                   7001: esac
                   7002:     AR=$ac_ct_AR
                   7003:   fi
1.128     moko     7004: fi
                   7005: 
                   7006: : ${AR=ar}
                   7007: : ${AR_FLAGS=cru}
                   7008: 
                   7009: 
                   7010: 
                   7011: 
                   7012: 
                   7013: 
                   7014: 
                   7015: 
                   7016: 
                   7017: 
                   7018: 
1.150     moko     7019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   7020: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   7021: if ${lt_cv_ar_at_file+:} false; then :
                   7022:   $as_echo_n "(cached) " >&6
1.128     moko     7023: else
                   7024:   lt_cv_ar_at_file=no
1.150     moko     7025:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7026: /* end confdefs.h.  */
                   7027: 
                   7028: int
                   7029: main ()
                   7030: {
                   7031: 
                   7032:   ;
                   7033:   return 0;
                   7034: }
                   7035: _ACEOF
1.150     moko     7036: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     7037:   echo conftest.$ac_objext > conftest.lst
                   7038:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     7039:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7040:   (eval $lt_ar_try) 2>&5
                   7041:   ac_status=$?
1.150     moko     7042:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7043:   test $ac_status = 0; }
1.128     moko     7044:       if test "$ac_status" -eq 0; then
                   7045:        # Ensure the archiver fails upon bogus file names.
                   7046:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     7047:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7048:   (eval $lt_ar_try) 2>&5
                   7049:   ac_status=$?
1.150     moko     7050:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7051:   test $ac_status = 0; }
1.128     moko     7052:        if test "$ac_status" -ne 0; then
                   7053:           lt_cv_ar_at_file=@
                   7054:         fi
                   7055:       fi
                   7056:       rm -f conftest.* libconftest.a
                   7057: 
                   7058: fi
1.150     moko     7059: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     7060: 
                   7061: fi
1.150     moko     7062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   7063: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     7064: 
                   7065: if test "x$lt_cv_ar_at_file" = xno; then
                   7066:   archiver_list_spec=
                   7067: else
                   7068:   archiver_list_spec=$lt_cv_ar_at_file
                   7069: fi
                   7070: 
                   7071: 
                   7072: 
                   7073: 
                   7074: 
                   7075: 
                   7076: 
                   7077: if test -n "$ac_tool_prefix"; then
                   7078:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   7079: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     7080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7081: $as_echo_n "checking for $ac_word... " >&6; }
                   7082: if ${ac_cv_prog_STRIP+:} false; then :
                   7083:   $as_echo_n "(cached) " >&6
1.128     moko     7084: else
                   7085:   if test -n "$STRIP"; then
                   7086:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   7087: else
                   7088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7089: for as_dir in $PATH
                   7090: do
                   7091:   IFS=$as_save_IFS
                   7092:   test -z "$as_dir" && as_dir=.
1.150     moko     7093:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7094:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7095:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     7096:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7097:     break 2
                   7098:   fi
                   7099: done
1.150     moko     7100:   done
                   7101: IFS=$as_save_IFS
1.128     moko     7102: 
                   7103: fi
                   7104: fi
                   7105: STRIP=$ac_cv_prog_STRIP
                   7106: if test -n "$STRIP"; then
1.150     moko     7107:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   7108: $as_echo "$STRIP" >&6; }
1.128     moko     7109: else
1.150     moko     7110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7111: $as_echo "no" >&6; }
1.128     moko     7112: fi
                   7113: 
1.150     moko     7114: 
1.128     moko     7115: fi
                   7116: if test -z "$ac_cv_prog_STRIP"; then
                   7117:   ac_ct_STRIP=$STRIP
                   7118:   # Extract the first word of "strip", so it can be a program name with args.
                   7119: set dummy strip; ac_word=$2
1.150     moko     7120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7121: $as_echo_n "checking for $ac_word... " >&6; }
                   7122: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   7123:   $as_echo_n "(cached) " >&6
1.128     moko     7124: else
                   7125:   if test -n "$ac_ct_STRIP"; then
                   7126:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   7127: else
                   7128: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7129: for as_dir in $PATH
                   7130: do
                   7131:   IFS=$as_save_IFS
                   7132:   test -z "$as_dir" && as_dir=.
1.150     moko     7133:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7134:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7135:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     7136:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7137:     break 2
                   7138:   fi
                   7139: done
1.150     moko     7140:   done
                   7141: IFS=$as_save_IFS
1.128     moko     7142: 
                   7143: fi
                   7144: fi
                   7145: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   7146: if test -n "$ac_ct_STRIP"; then
1.150     moko     7147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   7148: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     7149: else
1.150     moko     7150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7151: $as_echo "no" >&6; }
1.128     moko     7152: fi
                   7153: 
1.150     moko     7154:   if test "x$ac_ct_STRIP" = x; then
                   7155:     STRIP=":"
                   7156:   else
                   7157:     case $cross_compiling:$ac_tool_warned in
                   7158: yes:)
                   7159: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7160: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7161: ac_tool_warned=yes ;;
                   7162: esac
                   7163:     STRIP=$ac_ct_STRIP
                   7164:   fi
1.128     moko     7165: else
                   7166:   STRIP="$ac_cv_prog_STRIP"
                   7167: fi
                   7168: 
                   7169: test -z "$STRIP" && STRIP=:
                   7170: 
                   7171: 
                   7172: 
                   7173: 
                   7174: 
                   7175: 
                   7176: if test -n "$ac_tool_prefix"; then
                   7177:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   7178: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     7179: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7180: $as_echo_n "checking for $ac_word... " >&6; }
                   7181: if ${ac_cv_prog_RANLIB+:} false; then :
                   7182:   $as_echo_n "(cached) " >&6
1.128     moko     7183: else
                   7184:   if test -n "$RANLIB"; then
                   7185:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   7186: else
                   7187: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7188: for as_dir in $PATH
                   7189: do
                   7190:   IFS=$as_save_IFS
                   7191:   test -z "$as_dir" && as_dir=.
1.150     moko     7192:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7193:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7194:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     7195:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7196:     break 2
                   7197:   fi
                   7198: done
1.150     moko     7199:   done
                   7200: IFS=$as_save_IFS
1.128     moko     7201: 
                   7202: fi
                   7203: fi
                   7204: RANLIB=$ac_cv_prog_RANLIB
                   7205: if test -n "$RANLIB"; then
1.150     moko     7206:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   7207: $as_echo "$RANLIB" >&6; }
1.128     moko     7208: else
1.150     moko     7209:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7210: $as_echo "no" >&6; }
1.128     moko     7211: fi
                   7212: 
1.150     moko     7213: 
1.128     moko     7214: fi
                   7215: if test -z "$ac_cv_prog_RANLIB"; then
                   7216:   ac_ct_RANLIB=$RANLIB
                   7217:   # Extract the first word of "ranlib", so it can be a program name with args.
                   7218: set dummy ranlib; ac_word=$2
1.150     moko     7219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7220: $as_echo_n "checking for $ac_word... " >&6; }
                   7221: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7222:   $as_echo_n "(cached) " >&6
1.128     moko     7223: else
                   7224:   if test -n "$ac_ct_RANLIB"; then
                   7225:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7226: else
                   7227: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7228: for as_dir in $PATH
                   7229: do
                   7230:   IFS=$as_save_IFS
                   7231:   test -z "$as_dir" && as_dir=.
1.150     moko     7232:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7233:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7234:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7235:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7236:     break 2
                   7237:   fi
                   7238: done
1.150     moko     7239:   done
                   7240: IFS=$as_save_IFS
1.128     moko     7241: 
                   7242: fi
                   7243: fi
                   7244: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7245: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7247: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7248: else
1.150     moko     7249:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7250: $as_echo "no" >&6; }
1.128     moko     7251: fi
                   7252: 
1.150     moko     7253:   if test "x$ac_ct_RANLIB" = x; then
                   7254:     RANLIB=":"
                   7255:   else
                   7256:     case $cross_compiling:$ac_tool_warned in
                   7257: yes:)
                   7258: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7259: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7260: ac_tool_warned=yes ;;
                   7261: esac
                   7262:     RANLIB=$ac_ct_RANLIB
                   7263:   fi
1.128     moko     7264: else
                   7265:   RANLIB="$ac_cv_prog_RANLIB"
                   7266: fi
                   7267: 
                   7268: test -z "$RANLIB" && RANLIB=:
                   7269: 
                   7270: 
                   7271: 
                   7272: 
                   7273: 
                   7274: 
                   7275: # Determine commands to create old-style static archives.
                   7276: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7277: old_postinstall_cmds='chmod 644 $oldlib'
                   7278: old_postuninstall_cmds=
                   7279: 
                   7280: if test -n "$RANLIB"; then
                   7281:   case $host_os in
                   7282:   openbsd*)
                   7283:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7284:     ;;
                   7285:   *)
                   7286:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7287:     ;;
                   7288:   esac
                   7289:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7290: fi
                   7291: 
                   7292: case $host_os in
                   7293:   darwin*)
                   7294:     lock_old_archive_extraction=yes ;;
                   7295:   *)
                   7296:     lock_old_archive_extraction=no ;;
                   7297: esac
                   7298: 
                   7299: 
                   7300: 
                   7301: 
                   7302: 
                   7303: 
                   7304: 
                   7305: 
                   7306: 
                   7307: 
                   7308: 
                   7309: 
                   7310: 
                   7311: 
                   7312: 
                   7313: 
                   7314: 
                   7315: 
                   7316: 
                   7317: 
                   7318: 
                   7319: 
                   7320: 
                   7321: 
                   7322: 
                   7323: 
                   7324: 
                   7325: 
                   7326: 
                   7327: 
                   7328: 
                   7329: 
                   7330: 
                   7331: 
                   7332: 
                   7333: 
                   7334: 
                   7335: 
                   7336: 
                   7337: # If no C compiler was specified, use CC.
                   7338: LTCC=${LTCC-"$CC"}
                   7339: 
                   7340: # If no C compiler flags were specified, use CFLAGS.
                   7341: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7342: 
                   7343: # Allow CC to be a program name with arguments.
                   7344: compiler=$CC
                   7345: 
                   7346: 
                   7347: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7349: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7350: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7351:   $as_echo_n "(cached) " >&6
1.128     moko     7352: else
                   7353: 
                   7354: # These are sane defaults that work on at least a few old systems.
                   7355: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7356: 
                   7357: # Character class describing NM global symbol codes.
                   7358: symcode='[BCDEGRST]'
                   7359: 
                   7360: # Regexp to match symbols that can be accessed directly from C.
                   7361: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7362: 
                   7363: # Define system-specific variables.
                   7364: case $host_os in
                   7365: aix*)
                   7366:   symcode='[BCDT]'
                   7367:   ;;
                   7368: cygwin* | mingw* | pw32* | cegcc*)
                   7369:   symcode='[ABCDGISTW]'
                   7370:   ;;
                   7371: hpux*)
                   7372:   if test "$host_cpu" = ia64; then
                   7373:     symcode='[ABCDEGRST]'
                   7374:   fi
                   7375:   ;;
                   7376: irix* | nonstopux*)
                   7377:   symcode='[BCDEGRST]'
                   7378:   ;;
                   7379: osf*)
                   7380:   symcode='[BCDEGQRST]'
                   7381:   ;;
                   7382: solaris*)
                   7383:   symcode='[BDRT]'
                   7384:   ;;
                   7385: sco3.2v5*)
                   7386:   symcode='[DT]'
                   7387:   ;;
                   7388: sysv4.2uw2*)
                   7389:   symcode='[DT]'
                   7390:   ;;
                   7391: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7392:   symcode='[ABDT]'
                   7393:   ;;
                   7394: sysv4)
                   7395:   symcode='[DFNSTU]'
                   7396:   ;;
                   7397: esac
                   7398: 
                   7399: # If we're using GNU nm, then use its standard symbol codes.
                   7400: case `$NM -V 2>&1` in
                   7401: *GNU* | *'with BFD'*)
                   7402:   symcode='[ABCDGIRSTW]' ;;
                   7403: esac
                   7404: 
                   7405: # Transform an extracted symbol line into a proper C declaration.
                   7406: # Some systems (esp. on ia64) link data and code symbols differently,
                   7407: # so use this general approach.
                   7408: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7409: 
                   7410: # Transform an extracted symbol line into symbol name and symbol address
                   7411: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7412: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   7413: 
                   7414: # Handle CRLF in mingw tool chain
                   7415: opt_cr=
                   7416: case $build_os in
                   7417: mingw*)
                   7418:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7419:   ;;
                   7420: esac
                   7421: 
                   7422: # Try without a prefix underscore, then with it.
                   7423: for ac_symprfx in "" "_"; do
                   7424: 
                   7425:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7426:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7427: 
                   7428:   # Write the raw and C identifiers.
                   7429:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7430:     # Fake it for dumpbin and say T for any non-static function
                   7431:     # and D for any global variable.
                   7432:     # Also find C++ and __fastcall symbols from MSVC++,
                   7433:     # which start with @ or ?.
                   7434:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7435: "     {last_section=section; section=\$ 3};"\
                   7436: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7437: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7438: "     \$ 0!~/External *\|/{next};"\
                   7439: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7440: "     {if(hide[section]) next};"\
                   7441: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7442: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7443: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7444: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7445: "     ' prfx=^$ac_symprfx"
                   7446:   else
                   7447:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7448:   fi
                   7449:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7450: 
                   7451:   # Check to see that the pipe works correctly.
                   7452:   pipe_works=no
                   7453: 
                   7454:   rm -f conftest*
                   7455:   cat > conftest.$ac_ext <<_LT_EOF
                   7456: #ifdef __cplusplus
                   7457: extern "C" {
                   7458: #endif
                   7459: char nm_test_var;
                   7460: void nm_test_func(void);
                   7461: void nm_test_func(void){}
                   7462: #ifdef __cplusplus
                   7463: }
                   7464: #endif
                   7465: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7466: _LT_EOF
                   7467: 
1.150     moko     7468:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7469:   (eval $ac_compile) 2>&5
                   7470:   ac_status=$?
1.150     moko     7471:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7472:   test $ac_status = 0; }; then
1.128     moko     7473:     # Now try to grab the symbols.
                   7474:     nlist=conftest.nm
1.150     moko     7475:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7476:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7477:   ac_status=$?
1.150     moko     7478:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7479:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7480:       # Try sorting and uniquifying the output.
                   7481:       if sort "$nlist" | uniq > "$nlist"T; then
                   7482:        mv -f "$nlist"T "$nlist"
                   7483:       else
                   7484:        rm -f "$nlist"T
                   7485:       fi
                   7486: 
                   7487:       # Make sure that we snagged all the symbols we need.
                   7488:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7489:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7490:          cat <<_LT_EOF > conftest.$ac_ext
                   7491: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7492: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7493: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7494:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7495: # define LT_DLSYM_CONST
                   7496: #elif defined(__osf__)
                   7497: /* This system does not cope well with relocations in const data.  */
                   7498: # define LT_DLSYM_CONST
                   7499: #else
                   7500: # define LT_DLSYM_CONST const
                   7501: #endif
                   7502: 
                   7503: #ifdef __cplusplus
                   7504: extern "C" {
                   7505: #endif
                   7506: 
                   7507: _LT_EOF
                   7508:          # Now generate the symbol file.
                   7509:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7510: 
                   7511:          cat <<_LT_EOF >> conftest.$ac_ext
                   7512: 
                   7513: /* The mapping between symbol names and symbols.  */
                   7514: LT_DLSYM_CONST struct {
                   7515:   const char *name;
                   7516:   void       *address;
                   7517: }
                   7518: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7519: {
                   7520:   { "@PROGRAM@", (void *) 0 },
                   7521: _LT_EOF
                   7522:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7523:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7524:   {0, (void *) 0}
                   7525: };
                   7526: 
                   7527: /* This works around a problem in FreeBSD linker */
                   7528: #ifdef FREEBSD_WORKAROUND
                   7529: static const void *lt_preloaded_setup() {
                   7530:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7531: }
                   7532: #endif
                   7533: 
                   7534: #ifdef __cplusplus
                   7535: }
                   7536: #endif
                   7537: _LT_EOF
                   7538:          # Now try linking the two files.
                   7539:          mv conftest.$ac_objext conftstm.$ac_objext
                   7540:          lt_globsym_save_LIBS=$LIBS
                   7541:          lt_globsym_save_CFLAGS=$CFLAGS
                   7542:          LIBS="conftstm.$ac_objext"
                   7543:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7544:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7545:   (eval $ac_link) 2>&5
                   7546:   ac_status=$?
1.150     moko     7547:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7548:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7549:            pipe_works=yes
                   7550:          fi
                   7551:          LIBS=$lt_globsym_save_LIBS
                   7552:          CFLAGS=$lt_globsym_save_CFLAGS
                   7553:        else
                   7554:          echo "cannot find nm_test_func in $nlist" >&5
                   7555:        fi
                   7556:       else
                   7557:        echo "cannot find nm_test_var in $nlist" >&5
                   7558:       fi
                   7559:     else
                   7560:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7561:     fi
                   7562:   else
                   7563:     echo "$progname: failed program was:" >&5
                   7564:     cat conftest.$ac_ext >&5
                   7565:   fi
                   7566:   rm -rf conftest* conftst*
                   7567: 
                   7568:   # Do not use the global_symbol_pipe unless it works.
                   7569:   if test "$pipe_works" = yes; then
                   7570:     break
                   7571:   else
                   7572:     lt_cv_sys_global_symbol_pipe=
                   7573:   fi
                   7574: done
                   7575: 
                   7576: fi
                   7577: 
                   7578: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7579:   lt_cv_sys_global_symbol_to_cdecl=
                   7580: fi
                   7581: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7582:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7583: $as_echo "failed" >&6; }
1.128     moko     7584: else
1.150     moko     7585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7586: $as_echo "ok" >&6; }
1.128     moko     7587: fi
                   7588: 
                   7589: # Response file support.
                   7590: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7591:   nm_file_list_spec='@'
                   7592: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7593:   nm_file_list_spec='@'
                   7594: fi
                   7595: 
                   7596: 
                   7597: 
                   7598: 
                   7599: 
                   7600: 
                   7601: 
                   7602: 
                   7603: 
                   7604: 
                   7605: 
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
                   7611: 
                   7612: 
                   7613: 
                   7614: 
                   7615: 
                   7616: 
                   7617: 
                   7618: 
                   7619: 
                   7620: 
                   7621: 
1.150     moko     7622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7623: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7624: 
1.150     moko     7625: # Check whether --with-sysroot was given.
                   7626: if test "${with_sysroot+set}" = set; then :
                   7627:   withval=$with_sysroot;
1.128     moko     7628: else
                   7629:   with_sysroot=no
1.150     moko     7630: fi
                   7631: 
1.128     moko     7632: 
                   7633: lt_sysroot=
                   7634: case ${with_sysroot} in #(
                   7635:  yes)
                   7636:    if test "$GCC" = yes; then
                   7637:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7638:    fi
                   7639:    ;; #(
                   7640:  /*)
                   7641:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7642:    ;; #(
                   7643:  no|'')
                   7644:    ;; #(
                   7645:  *)
1.150     moko     7646:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7647: $as_echo "${with_sysroot}" >&6; }
                   7648:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7649:    ;;
                   7650: esac
                   7651: 
1.150     moko     7652:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7653: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7654: 
                   7655: 
                   7656: 
                   7657: 
                   7658: 
1.150     moko     7659: # Check whether --enable-libtool-lock was given.
                   7660: if test "${enable_libtool_lock+set}" = set; then :
                   7661:   enableval=$enable_libtool_lock;
                   7662: fi
1.128     moko     7663: 
                   7664: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7665: 
                   7666: # Some flags need to be propagated to the compiler or linker for good
                   7667: # libtool support.
                   7668: case $host in
                   7669: ia64-*-hpux*)
                   7670:   # Find out which ABI we are using.
                   7671:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7672:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7673:   (eval $ac_compile) 2>&5
                   7674:   ac_status=$?
1.150     moko     7675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7676:   test $ac_status = 0; }; then
1.128     moko     7677:     case `/usr/bin/file conftest.$ac_objext` in
                   7678:       *ELF-32*)
                   7679:        HPUX_IA64_MODE="32"
                   7680:        ;;
                   7681:       *ELF-64*)
                   7682:        HPUX_IA64_MODE="64"
                   7683:        ;;
                   7684:     esac
                   7685:   fi
                   7686:   rm -rf conftest*
                   7687:   ;;
                   7688: *-*-irix6*)
                   7689:   # Find out which ABI we are using.
                   7690:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7691:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7692:   (eval $ac_compile) 2>&5
                   7693:   ac_status=$?
1.150     moko     7694:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7695:   test $ac_status = 0; }; then
1.128     moko     7696:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7697:       case `/usr/bin/file conftest.$ac_objext` in
                   7698:        *32-bit*)
                   7699:          LD="${LD-ld} -melf32bsmip"
                   7700:          ;;
                   7701:        *N32*)
                   7702:          LD="${LD-ld} -melf32bmipn32"
                   7703:          ;;
                   7704:        *64-bit*)
                   7705:          LD="${LD-ld} -melf64bmip"
                   7706:        ;;
                   7707:       esac
                   7708:     else
                   7709:       case `/usr/bin/file conftest.$ac_objext` in
                   7710:        *32-bit*)
                   7711:          LD="${LD-ld} -32"
                   7712:          ;;
                   7713:        *N32*)
                   7714:          LD="${LD-ld} -n32"
                   7715:          ;;
                   7716:        *64-bit*)
                   7717:          LD="${LD-ld} -64"
                   7718:          ;;
                   7719:       esac
                   7720:     fi
                   7721:   fi
                   7722:   rm -rf conftest*
                   7723:   ;;
                   7724: 
                   7725: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7726: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7727:   # Find out which ABI we are using.
                   7728:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7729:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7730:   (eval $ac_compile) 2>&5
                   7731:   ac_status=$?
1.150     moko     7732:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7733:   test $ac_status = 0; }; then
1.128     moko     7734:     case `/usr/bin/file conftest.o` in
                   7735:       *32-bit*)
                   7736:        case $host in
                   7737:          x86_64-*kfreebsd*-gnu)
                   7738:            LD="${LD-ld} -m elf_i386_fbsd"
                   7739:            ;;
                   7740:          x86_64-*linux*)
                   7741:            LD="${LD-ld} -m elf_i386"
                   7742:            ;;
                   7743:          ppc64-*linux*|powerpc64-*linux*)
                   7744:            LD="${LD-ld} -m elf32ppclinux"
                   7745:            ;;
                   7746:          s390x-*linux*)
                   7747:            LD="${LD-ld} -m elf_s390"
                   7748:            ;;
                   7749:          sparc64-*linux*)
                   7750:            LD="${LD-ld} -m elf32_sparc"
                   7751:            ;;
                   7752:        esac
                   7753:        ;;
                   7754:       *64-bit*)
                   7755:        case $host in
                   7756:          x86_64-*kfreebsd*-gnu)
                   7757:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7758:            ;;
                   7759:          x86_64-*linux*)
                   7760:            LD="${LD-ld} -m elf_x86_64"
                   7761:            ;;
                   7762:          ppc*-*linux*|powerpc*-*linux*)
                   7763:            LD="${LD-ld} -m elf64ppc"
                   7764:            ;;
                   7765:          s390*-*linux*|s390*-*tpf*)
                   7766:            LD="${LD-ld} -m elf64_s390"
                   7767:            ;;
                   7768:          sparc*-*linux*)
                   7769:            LD="${LD-ld} -m elf64_sparc"
                   7770:            ;;
                   7771:        esac
                   7772:        ;;
                   7773:     esac
                   7774:   fi
                   7775:   rm -rf conftest*
                   7776:   ;;
                   7777: 
                   7778: *-*-sco3.2v5*)
                   7779:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7780:   SAVE_CFLAGS="$CFLAGS"
                   7781:   CFLAGS="$CFLAGS -belf"
1.150     moko     7782:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7783: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7784: if ${lt_cv_cc_needs_belf+:} false; then :
                   7785:   $as_echo_n "(cached) " >&6
1.128     moko     7786: else
                   7787:   ac_ext=c
                   7788: ac_cpp='$CPP $CPPFLAGS'
                   7789: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7790: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7791: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7792: 
1.150     moko     7793:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7794: /* end confdefs.h.  */
                   7795: 
                   7796: int
                   7797: main ()
                   7798: {
                   7799: 
                   7800:   ;
                   7801:   return 0;
                   7802: }
                   7803: _ACEOF
1.150     moko     7804: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7805:   lt_cv_cc_needs_belf=yes
                   7806: else
1.150     moko     7807:   lt_cv_cc_needs_belf=no
1.128     moko     7808: fi
1.150     moko     7809: rm -f core conftest.err conftest.$ac_objext \
                   7810:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7811:      ac_ext=c
                   7812: ac_cpp='$CPP $CPPFLAGS'
                   7813: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7814: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7815: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7816: 
                   7817: fi
1.150     moko     7818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7819: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7820:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7821:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7822:     CFLAGS="$SAVE_CFLAGS"
                   7823:   fi
                   7824:   ;;
                   7825: *-*solaris*)
                   7826:   # Find out which ABI we are using.
                   7827:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7828:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7829:   (eval $ac_compile) 2>&5
                   7830:   ac_status=$?
1.150     moko     7831:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7832:   test $ac_status = 0; }; then
1.128     moko     7833:     case `/usr/bin/file conftest.o` in
                   7834:     *64-bit*)
                   7835:       case $lt_cv_prog_gnu_ld in
                   7836:       yes*)
                   7837:         case $host in
                   7838:         i?86-*-solaris*)
                   7839:           LD="${LD-ld} -m elf_x86_64"
                   7840:           ;;
                   7841:         sparc*-*-solaris*)
                   7842:           LD="${LD-ld} -m elf64_sparc"
                   7843:           ;;
                   7844:         esac
                   7845:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7846:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7847:           LD="${LD-ld}_sol2"
                   7848:         fi
                   7849:         ;;
                   7850:       *)
                   7851:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7852:          LD="${LD-ld} -64"
                   7853:        fi
                   7854:        ;;
                   7855:       esac
                   7856:       ;;
                   7857:     esac
                   7858:   fi
                   7859:   rm -rf conftest*
                   7860:   ;;
                   7861: esac
                   7862: 
                   7863: need_locks="$enable_libtool_lock"
                   7864: 
                   7865: if test -n "$ac_tool_prefix"; then
                   7866:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7867: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7869: $as_echo_n "checking for $ac_word... " >&6; }
                   7870: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7871:   $as_echo_n "(cached) " >&6
1.128     moko     7872: else
                   7873:   if test -n "$MANIFEST_TOOL"; then
                   7874:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7875: else
                   7876: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7877: for as_dir in $PATH
                   7878: do
                   7879:   IFS=$as_save_IFS
                   7880:   test -z "$as_dir" && as_dir=.
1.150     moko     7881:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7882:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7883:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7884:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7885:     break 2
                   7886:   fi
                   7887: done
1.150     moko     7888:   done
                   7889: IFS=$as_save_IFS
1.128     moko     7890: 
                   7891: fi
                   7892: fi
                   7893: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7894: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7895:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7896: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7897: else
1.150     moko     7898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7899: $as_echo "no" >&6; }
1.128     moko     7900: fi
                   7901: 
1.150     moko     7902: 
1.128     moko     7903: fi
                   7904: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7905:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7906:   # Extract the first word of "mt", so it can be a program name with args.
                   7907: set dummy mt; ac_word=$2
1.150     moko     7908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7909: $as_echo_n "checking for $ac_word... " >&6; }
                   7910: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7911:   $as_echo_n "(cached) " >&6
1.128     moko     7912: else
                   7913:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7914:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7915: else
                   7916: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7917: for as_dir in $PATH
                   7918: do
                   7919:   IFS=$as_save_IFS
                   7920:   test -z "$as_dir" && as_dir=.
1.150     moko     7921:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7922:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7923:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7924:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7925:     break 2
                   7926:   fi
                   7927: done
1.150     moko     7928:   done
                   7929: IFS=$as_save_IFS
1.128     moko     7930: 
                   7931: fi
                   7932: fi
                   7933: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7934: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7936: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7937: else
1.150     moko     7938:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7939: $as_echo "no" >&6; }
1.128     moko     7940: fi
                   7941: 
1.150     moko     7942:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7943:     MANIFEST_TOOL=":"
                   7944:   else
                   7945:     case $cross_compiling:$ac_tool_warned in
                   7946: yes:)
                   7947: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7948: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7949: ac_tool_warned=yes ;;
                   7950: esac
                   7951:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7952:   fi
1.128     moko     7953: else
                   7954:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7955: fi
                   7956: 
                   7957: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7958: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7959: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7960: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7961:   $as_echo_n "(cached) " >&6
1.128     moko     7962: else
                   7963:   lt_cv_path_mainfest_tool=no
                   7964:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7965:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7966:   cat conftest.err >&5
                   7967:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7968:     lt_cv_path_mainfest_tool=yes
                   7969:   fi
                   7970:   rm -f conftest*
                   7971: fi
1.150     moko     7972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7973: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7974: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7975:   MANIFEST_TOOL=:
                   7976: fi
                   7977: 
                   7978: 
                   7979: 
                   7980: 
                   7981: 
                   7982: 
                   7983:   case $host_os in
                   7984:     rhapsody* | darwin*)
                   7985:     if test -n "$ac_tool_prefix"; then
                   7986:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7987: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7989: $as_echo_n "checking for $ac_word... " >&6; }
                   7990: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7991:   $as_echo_n "(cached) " >&6
1.128     moko     7992: else
                   7993:   if test -n "$DSYMUTIL"; then
                   7994:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7995: else
                   7996: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7997: for as_dir in $PATH
                   7998: do
                   7999:   IFS=$as_save_IFS
                   8000:   test -z "$as_dir" && as_dir=.
1.150     moko     8001:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8002:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8003:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     8004:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8005:     break 2
                   8006:   fi
                   8007: done
1.150     moko     8008:   done
                   8009: IFS=$as_save_IFS
1.128     moko     8010: 
                   8011: fi
                   8012: fi
                   8013: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   8014: if test -n "$DSYMUTIL"; then
1.150     moko     8015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   8016: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     8017: else
1.150     moko     8018:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8019: $as_echo "no" >&6; }
1.128     moko     8020: fi
                   8021: 
1.150     moko     8022: 
1.128     moko     8023: fi
                   8024: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   8025:   ac_ct_DSYMUTIL=$DSYMUTIL
                   8026:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   8027: set dummy dsymutil; ac_word=$2
1.150     moko     8028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8029: $as_echo_n "checking for $ac_word... " >&6; }
                   8030: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   8031:   $as_echo_n "(cached) " >&6
1.128     moko     8032: else
                   8033:   if test -n "$ac_ct_DSYMUTIL"; then
                   8034:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   8035: else
                   8036: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8037: for as_dir in $PATH
                   8038: do
                   8039:   IFS=$as_save_IFS
                   8040:   test -z "$as_dir" && as_dir=.
1.150     moko     8041:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8042:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8043:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     8044:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8045:     break 2
                   8046:   fi
                   8047: done
1.150     moko     8048:   done
                   8049: IFS=$as_save_IFS
1.128     moko     8050: 
                   8051: fi
                   8052: fi
                   8053: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   8054: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     8055:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   8056: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     8057: else
1.150     moko     8058:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8059: $as_echo "no" >&6; }
1.128     moko     8060: fi
                   8061: 
1.150     moko     8062:   if test "x$ac_ct_DSYMUTIL" = x; then
                   8063:     DSYMUTIL=":"
                   8064:   else
                   8065:     case $cross_compiling:$ac_tool_warned in
                   8066: yes:)
                   8067: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8068: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8069: ac_tool_warned=yes ;;
                   8070: esac
                   8071:     DSYMUTIL=$ac_ct_DSYMUTIL
                   8072:   fi
1.128     moko     8073: else
                   8074:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   8075: fi
                   8076: 
                   8077:     if test -n "$ac_tool_prefix"; then
                   8078:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   8079: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     8080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8081: $as_echo_n "checking for $ac_word... " >&6; }
                   8082: if ${ac_cv_prog_NMEDIT+:} false; then :
                   8083:   $as_echo_n "(cached) " >&6
1.128     moko     8084: else
                   8085:   if test -n "$NMEDIT"; then
                   8086:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   8087: else
                   8088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8089: for as_dir in $PATH
                   8090: do
                   8091:   IFS=$as_save_IFS
                   8092:   test -z "$as_dir" && as_dir=.
1.150     moko     8093:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8094:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8095:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     8096:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8097:     break 2
                   8098:   fi
                   8099: done
1.150     moko     8100:   done
                   8101: IFS=$as_save_IFS
1.128     moko     8102: 
                   8103: fi
                   8104: fi
                   8105: NMEDIT=$ac_cv_prog_NMEDIT
                   8106: if test -n "$NMEDIT"; then
1.150     moko     8107:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   8108: $as_echo "$NMEDIT" >&6; }
1.128     moko     8109: else
1.150     moko     8110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8111: $as_echo "no" >&6; }
1.128     moko     8112: fi
                   8113: 
1.150     moko     8114: 
1.128     moko     8115: fi
                   8116: if test -z "$ac_cv_prog_NMEDIT"; then
                   8117:   ac_ct_NMEDIT=$NMEDIT
                   8118:   # Extract the first word of "nmedit", so it can be a program name with args.
                   8119: set dummy nmedit; ac_word=$2
1.150     moko     8120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8121: $as_echo_n "checking for $ac_word... " >&6; }
                   8122: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   8123:   $as_echo_n "(cached) " >&6
1.128     moko     8124: else
                   8125:   if test -n "$ac_ct_NMEDIT"; then
                   8126:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   8127: else
                   8128: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8129: for as_dir in $PATH
                   8130: do
                   8131:   IFS=$as_save_IFS
                   8132:   test -z "$as_dir" && as_dir=.
1.150     moko     8133:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8134:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8135:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     8136:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8137:     break 2
                   8138:   fi
                   8139: done
1.150     moko     8140:   done
                   8141: IFS=$as_save_IFS
1.128     moko     8142: 
                   8143: fi
                   8144: fi
                   8145: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   8146: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     8147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   8148: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     8149: else
1.150     moko     8150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8151: $as_echo "no" >&6; }
1.128     moko     8152: fi
                   8153: 
1.150     moko     8154:   if test "x$ac_ct_NMEDIT" = x; then
                   8155:     NMEDIT=":"
                   8156:   else
                   8157:     case $cross_compiling:$ac_tool_warned in
                   8158: yes:)
                   8159: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8160: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8161: ac_tool_warned=yes ;;
                   8162: esac
                   8163:     NMEDIT=$ac_ct_NMEDIT
                   8164:   fi
1.128     moko     8165: else
                   8166:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8167: fi
                   8168: 
                   8169:     if test -n "$ac_tool_prefix"; then
                   8170:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8171: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     8172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8173: $as_echo_n "checking for $ac_word... " >&6; }
                   8174: if ${ac_cv_prog_LIPO+:} false; then :
                   8175:   $as_echo_n "(cached) " >&6
1.128     moko     8176: else
                   8177:   if test -n "$LIPO"; then
                   8178:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8179: else
                   8180: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8181: for as_dir in $PATH
                   8182: do
                   8183:   IFS=$as_save_IFS
                   8184:   test -z "$as_dir" && as_dir=.
1.150     moko     8185:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8186:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8187:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     8188:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8189:     break 2
                   8190:   fi
                   8191: done
1.150     moko     8192:   done
                   8193: IFS=$as_save_IFS
1.128     moko     8194: 
                   8195: fi
                   8196: fi
                   8197: LIPO=$ac_cv_prog_LIPO
                   8198: if test -n "$LIPO"; then
1.150     moko     8199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   8200: $as_echo "$LIPO" >&6; }
1.128     moko     8201: else
1.150     moko     8202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8203: $as_echo "no" >&6; }
1.128     moko     8204: fi
                   8205: 
1.150     moko     8206: 
1.128     moko     8207: fi
                   8208: if test -z "$ac_cv_prog_LIPO"; then
                   8209:   ac_ct_LIPO=$LIPO
                   8210:   # Extract the first word of "lipo", so it can be a program name with args.
                   8211: set dummy lipo; ac_word=$2
1.150     moko     8212: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8213: $as_echo_n "checking for $ac_word... " >&6; }
                   8214: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   8215:   $as_echo_n "(cached) " >&6
1.128     moko     8216: else
                   8217:   if test -n "$ac_ct_LIPO"; then
                   8218:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8219: else
                   8220: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8221: for as_dir in $PATH
                   8222: do
                   8223:   IFS=$as_save_IFS
                   8224:   test -z "$as_dir" && as_dir=.
1.150     moko     8225:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8226:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8227:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8228:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8229:     break 2
                   8230:   fi
                   8231: done
1.150     moko     8232:   done
                   8233: IFS=$as_save_IFS
1.128     moko     8234: 
                   8235: fi
                   8236: fi
                   8237: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8238: if test -n "$ac_ct_LIPO"; then
1.150     moko     8239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8240: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8241: else
1.150     moko     8242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8243: $as_echo "no" >&6; }
1.128     moko     8244: fi
                   8245: 
1.150     moko     8246:   if test "x$ac_ct_LIPO" = x; then
                   8247:     LIPO=":"
                   8248:   else
                   8249:     case $cross_compiling:$ac_tool_warned in
                   8250: yes:)
                   8251: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8252: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8253: ac_tool_warned=yes ;;
                   8254: esac
                   8255:     LIPO=$ac_ct_LIPO
                   8256:   fi
1.128     moko     8257: else
                   8258:   LIPO="$ac_cv_prog_LIPO"
                   8259: fi
                   8260: 
                   8261:     if test -n "$ac_tool_prefix"; then
                   8262:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8263: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8265: $as_echo_n "checking for $ac_word... " >&6; }
                   8266: if ${ac_cv_prog_OTOOL+:} false; then :
                   8267:   $as_echo_n "(cached) " >&6
1.128     moko     8268: else
                   8269:   if test -n "$OTOOL"; then
                   8270:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8271: else
                   8272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8273: for as_dir in $PATH
                   8274: do
                   8275:   IFS=$as_save_IFS
                   8276:   test -z "$as_dir" && as_dir=.
1.150     moko     8277:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8278:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8279:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8280:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8281:     break 2
                   8282:   fi
                   8283: done
1.150     moko     8284:   done
                   8285: IFS=$as_save_IFS
1.128     moko     8286: 
                   8287: fi
                   8288: fi
                   8289: OTOOL=$ac_cv_prog_OTOOL
                   8290: if test -n "$OTOOL"; then
1.150     moko     8291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8292: $as_echo "$OTOOL" >&6; }
1.128     moko     8293: else
1.150     moko     8294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8295: $as_echo "no" >&6; }
1.128     moko     8296: fi
                   8297: 
1.150     moko     8298: 
1.128     moko     8299: fi
                   8300: if test -z "$ac_cv_prog_OTOOL"; then
                   8301:   ac_ct_OTOOL=$OTOOL
                   8302:   # Extract the first word of "otool", so it can be a program name with args.
                   8303: set dummy otool; ac_word=$2
1.150     moko     8304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8305: $as_echo_n "checking for $ac_word... " >&6; }
                   8306: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8307:   $as_echo_n "(cached) " >&6
1.128     moko     8308: else
                   8309:   if test -n "$ac_ct_OTOOL"; then
                   8310:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8311: else
                   8312: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8313: for as_dir in $PATH
                   8314: do
                   8315:   IFS=$as_save_IFS
                   8316:   test -z "$as_dir" && as_dir=.
1.150     moko     8317:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8318:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8319:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8320:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8321:     break 2
                   8322:   fi
                   8323: done
1.150     moko     8324:   done
                   8325: IFS=$as_save_IFS
1.128     moko     8326: 
                   8327: fi
                   8328: fi
                   8329: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8330: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8331:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8332: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8333: else
1.150     moko     8334:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8335: $as_echo "no" >&6; }
1.128     moko     8336: fi
                   8337: 
1.150     moko     8338:   if test "x$ac_ct_OTOOL" = x; then
                   8339:     OTOOL=":"
                   8340:   else
                   8341:     case $cross_compiling:$ac_tool_warned in
                   8342: yes:)
                   8343: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8344: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8345: ac_tool_warned=yes ;;
                   8346: esac
                   8347:     OTOOL=$ac_ct_OTOOL
                   8348:   fi
1.128     moko     8349: else
                   8350:   OTOOL="$ac_cv_prog_OTOOL"
                   8351: fi
                   8352: 
                   8353:     if test -n "$ac_tool_prefix"; then
                   8354:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8355: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8357: $as_echo_n "checking for $ac_word... " >&6; }
                   8358: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8359:   $as_echo_n "(cached) " >&6
1.128     moko     8360: else
                   8361:   if test -n "$OTOOL64"; then
                   8362:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8363: else
                   8364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8365: for as_dir in $PATH
                   8366: do
                   8367:   IFS=$as_save_IFS
                   8368:   test -z "$as_dir" && as_dir=.
1.150     moko     8369:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8370:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8371:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8373:     break 2
                   8374:   fi
                   8375: done
1.150     moko     8376:   done
                   8377: IFS=$as_save_IFS
1.128     moko     8378: 
                   8379: fi
                   8380: fi
                   8381: OTOOL64=$ac_cv_prog_OTOOL64
                   8382: if test -n "$OTOOL64"; then
1.150     moko     8383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8384: $as_echo "$OTOOL64" >&6; }
1.128     moko     8385: else
1.150     moko     8386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8387: $as_echo "no" >&6; }
1.128     moko     8388: fi
                   8389: 
1.150     moko     8390: 
1.128     moko     8391: fi
                   8392: if test -z "$ac_cv_prog_OTOOL64"; then
                   8393:   ac_ct_OTOOL64=$OTOOL64
                   8394:   # Extract the first word of "otool64", so it can be a program name with args.
                   8395: set dummy otool64; ac_word=$2
1.150     moko     8396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8397: $as_echo_n "checking for $ac_word... " >&6; }
                   8398: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8399:   $as_echo_n "(cached) " >&6
1.128     moko     8400: else
                   8401:   if test -n "$ac_ct_OTOOL64"; then
                   8402:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8403: else
                   8404: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8405: for as_dir in $PATH
                   8406: do
                   8407:   IFS=$as_save_IFS
                   8408:   test -z "$as_dir" && as_dir=.
1.150     moko     8409:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8410:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8411:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8412:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8413:     break 2
                   8414:   fi
                   8415: done
1.150     moko     8416:   done
                   8417: IFS=$as_save_IFS
1.128     moko     8418: 
                   8419: fi
                   8420: fi
                   8421: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8422: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8423:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8424: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8425: else
1.150     moko     8426:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8427: $as_echo "no" >&6; }
1.128     moko     8428: fi
                   8429: 
1.150     moko     8430:   if test "x$ac_ct_OTOOL64" = x; then
                   8431:     OTOOL64=":"
                   8432:   else
                   8433:     case $cross_compiling:$ac_tool_warned in
                   8434: yes:)
                   8435: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8436: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8437: ac_tool_warned=yes ;;
                   8438: esac
                   8439:     OTOOL64=$ac_ct_OTOOL64
                   8440:   fi
1.128     moko     8441: else
                   8442:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8443: fi
                   8444: 
                   8445: 
                   8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
                   8451: 
                   8452: 
                   8453: 
                   8454: 
                   8455: 
                   8456: 
                   8457: 
                   8458: 
                   8459: 
                   8460: 
                   8461: 
                   8462: 
                   8463: 
                   8464: 
                   8465: 
                   8466: 
                   8467: 
                   8468: 
                   8469: 
                   8470: 
1.150     moko     8471:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8472: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8473: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8474:   $as_echo_n "(cached) " >&6
1.128     moko     8475: else
                   8476:   lt_cv_apple_cc_single_mod=no
                   8477:       if test -z "${LT_MULTI_MODULE}"; then
                   8478:        # By default we will add the -single_module flag. You can override
                   8479:        # by either setting the environment variable LT_MULTI_MODULE
                   8480:        # non-empty at configure time, or by adding -multi_module to the
                   8481:        # link flags.
                   8482:        rm -rf libconftest.dylib*
                   8483:        echo "int foo(void){return 1;}" > conftest.c
                   8484:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8485: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8486:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8487:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8488:         _lt_result=$?
                   8489:        # If there is a non-empty error log, and "single_module"
                   8490:        # appears in it, assume the flag caused a linker warning
                   8491:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8492:          cat conftest.err >&5
                   8493:        # Otherwise, if the output was created with a 0 exit code from
                   8494:        # the compiler, it worked.
                   8495:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8496:          lt_cv_apple_cc_single_mod=yes
                   8497:        else
                   8498:          cat conftest.err >&5
                   8499:        fi
                   8500:        rm -rf libconftest.dylib*
                   8501:        rm -f conftest.*
                   8502:       fi
                   8503: fi
1.150     moko     8504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8505: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8506: 
1.150     moko     8507:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8508: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8509: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8510:   $as_echo_n "(cached) " >&6
1.128     moko     8511: else
                   8512:   lt_cv_ld_exported_symbols_list=no
                   8513:       save_LDFLAGS=$LDFLAGS
                   8514:       echo "_main" > conftest.sym
                   8515:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8516:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8517: /* end confdefs.h.  */
                   8518: 
                   8519: int
                   8520: main ()
                   8521: {
                   8522: 
                   8523:   ;
                   8524:   return 0;
                   8525: }
                   8526: _ACEOF
1.150     moko     8527: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8528:   lt_cv_ld_exported_symbols_list=yes
                   8529: else
1.150     moko     8530:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8531: fi
1.150     moko     8532: rm -f core conftest.err conftest.$ac_objext \
                   8533:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8534:        LDFLAGS="$save_LDFLAGS"
                   8535: 
                   8536: fi
1.150     moko     8537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8538: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8539: 
1.150     moko     8540:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8541: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8542: if ${lt_cv_ld_force_load+:} false; then :
                   8543:   $as_echo_n "(cached) " >&6
1.128     moko     8544: else
                   8545:   lt_cv_ld_force_load=no
                   8546:       cat > conftest.c << _LT_EOF
                   8547: int forced_loaded() { return 2;}
                   8548: _LT_EOF
                   8549:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8550:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8551:       echo "$AR cru libconftest.a conftest.o" >&5
                   8552:       $AR cru libconftest.a conftest.o 2>&5
                   8553:       echo "$RANLIB libconftest.a" >&5
                   8554:       $RANLIB libconftest.a 2>&5
                   8555:       cat > conftest.c << _LT_EOF
                   8556: int main() { return 0;}
                   8557: _LT_EOF
                   8558:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8559:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8560:       _lt_result=$?
                   8561:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8562:        cat conftest.err >&5
                   8563:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8564:        lt_cv_ld_force_load=yes
                   8565:       else
                   8566:        cat conftest.err >&5
                   8567:       fi
                   8568:         rm -f conftest.err libconftest.a conftest conftest.c
                   8569:         rm -rf conftest.dSYM
                   8570: 
                   8571: fi
1.150     moko     8572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8573: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8574:     case $host_os in
                   8575:     rhapsody* | darwin1.[012])
                   8576:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8577:     darwin1.*)
                   8578:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8579:     darwin*) # darwin 5.x on
                   8580:       # if running on 10.5 or later, the deployment target defaults
                   8581:       # to the OS version, if on x86, and 10.4, the deployment
                   8582:       # target defaults to 10.4. Don't you love it?
                   8583:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8584:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8585:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8586:        10.[012]*)
                   8587:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8588:        10.*)
                   8589:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8590:       esac
                   8591:     ;;
                   8592:   esac
                   8593:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8594:       _lt_dar_single_mod='$single_module'
                   8595:     fi
                   8596:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8597:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8598:     else
                   8599:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8600:     fi
                   8601:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8602:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8603:     else
                   8604:       _lt_dsymutil=
                   8605:     fi
                   8606:     ;;
                   8607:   esac
                   8608: 
                   8609: ac_ext=c
                   8610: ac_cpp='$CPP $CPPFLAGS'
                   8611: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8612: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8613: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8615: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8616: # On Suns, sometimes $CPP names a directory.
                   8617: if test -n "$CPP" && test -d "$CPP"; then
                   8618:   CPP=
                   8619: fi
                   8620: if test -z "$CPP"; then
1.150     moko     8621:   if ${ac_cv_prog_CPP+:} false; then :
                   8622:   $as_echo_n "(cached) " >&6
1.128     moko     8623: else
                   8624:       # Double quotes because CPP needs to be expanded
                   8625:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8626:     do
                   8627:       ac_preproc_ok=false
                   8628: for ac_c_preproc_warn_flag in '' yes
                   8629: do
                   8630:   # Use a header file that comes with gcc, so configuring glibc
                   8631:   # with a fresh cross-compiler works.
                   8632:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8633:   # <limits.h> exists even on freestanding compilers.
                   8634:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8635:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8636:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8637: /* end confdefs.h.  */
                   8638: #ifdef __STDC__
                   8639: # include <limits.h>
                   8640: #else
                   8641: # include <assert.h>
                   8642: #endif
                   8643:                     Syntax error
                   8644: _ACEOF
1.150     moko     8645: if ac_fn_c_try_cpp "$LINENO"; then :
                   8646: 
1.128     moko     8647: else
                   8648:   # Broken: fails on valid input.
                   8649: continue
                   8650: fi
1.150     moko     8651: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8652: 
1.150     moko     8653:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8654:   # can be detected and how.
1.150     moko     8655:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8656: /* end confdefs.h.  */
                   8657: #include <ac_nonexistent.h>
                   8658: _ACEOF
1.150     moko     8659: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8660:   # Broken: success on invalid input.
                   8661: continue
                   8662: else
                   8663:   # Passes both tests.
                   8664: ac_preproc_ok=:
                   8665: break
                   8666: fi
1.150     moko     8667: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8668: 
                   8669: done
                   8670: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8671: rm -f conftest.i conftest.err conftest.$ac_ext
                   8672: if $ac_preproc_ok; then :
1.128     moko     8673:   break
                   8674: fi
                   8675: 
                   8676:     done
                   8677:     ac_cv_prog_CPP=$CPP
                   8678: 
                   8679: fi
                   8680:   CPP=$ac_cv_prog_CPP
                   8681: else
                   8682:   ac_cv_prog_CPP=$CPP
                   8683: fi
1.150     moko     8684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8685: $as_echo "$CPP" >&6; }
1.128     moko     8686: ac_preproc_ok=false
                   8687: for ac_c_preproc_warn_flag in '' yes
                   8688: do
                   8689:   # Use a header file that comes with gcc, so configuring glibc
                   8690:   # with a fresh cross-compiler works.
                   8691:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8692:   # <limits.h> exists even on freestanding compilers.
                   8693:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8694:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8695:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8696: /* end confdefs.h.  */
                   8697: #ifdef __STDC__
                   8698: # include <limits.h>
                   8699: #else
                   8700: # include <assert.h>
                   8701: #endif
                   8702:                     Syntax error
                   8703: _ACEOF
1.150     moko     8704: if ac_fn_c_try_cpp "$LINENO"; then :
                   8705: 
1.128     moko     8706: else
                   8707:   # Broken: fails on valid input.
                   8708: continue
                   8709: fi
1.150     moko     8710: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8711: 
1.150     moko     8712:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8713:   # can be detected and how.
1.150     moko     8714:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8715: /* end confdefs.h.  */
                   8716: #include <ac_nonexistent.h>
                   8717: _ACEOF
1.150     moko     8718: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8719:   # Broken: success on invalid input.
                   8720: continue
                   8721: else
                   8722:   # Passes both tests.
                   8723: ac_preproc_ok=:
                   8724: break
                   8725: fi
1.150     moko     8726: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8727: 
                   8728: done
                   8729: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8730: rm -f conftest.i conftest.err conftest.$ac_ext
                   8731: if $ac_preproc_ok; then :
                   8732: 
1.128     moko     8733: else
1.150     moko     8734:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8735: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8736: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8737: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8738: fi
                   8739: 
                   8740: ac_ext=c
                   8741: ac_cpp='$CPP $CPPFLAGS'
                   8742: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8743: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8744: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8745: 
                   8746: 
1.150     moko     8747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8748: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8749: if ${ac_cv_header_stdc+:} false; then :
                   8750:   $as_echo_n "(cached) " >&6
1.128     moko     8751: else
1.150     moko     8752:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8753: /* end confdefs.h.  */
                   8754: #include <stdlib.h>
                   8755: #include <stdarg.h>
                   8756: #include <string.h>
                   8757: #include <float.h>
                   8758: 
                   8759: int
                   8760: main ()
                   8761: {
                   8762: 
                   8763:   ;
                   8764:   return 0;
                   8765: }
                   8766: _ACEOF
1.150     moko     8767: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8768:   ac_cv_header_stdc=yes
                   8769: else
1.150     moko     8770:   ac_cv_header_stdc=no
1.128     moko     8771: fi
1.150     moko     8772: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8773: 
                   8774: if test $ac_cv_header_stdc = yes; then
                   8775:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8776:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8777: /* end confdefs.h.  */
                   8778: #include <string.h>
                   8779: 
                   8780: _ACEOF
                   8781: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8782:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8783: 
1.128     moko     8784: else
                   8785:   ac_cv_header_stdc=no
                   8786: fi
                   8787: rm -f conftest*
                   8788: 
                   8789: fi
                   8790: 
                   8791: if test $ac_cv_header_stdc = yes; then
                   8792:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8793:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8794: /* end confdefs.h.  */
                   8795: #include <stdlib.h>
                   8796: 
                   8797: _ACEOF
                   8798: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8799:   $EGREP "free" >/dev/null 2>&1; then :
                   8800: 
1.128     moko     8801: else
                   8802:   ac_cv_header_stdc=no
                   8803: fi
                   8804: rm -f conftest*
                   8805: 
                   8806: fi
                   8807: 
                   8808: if test $ac_cv_header_stdc = yes; then
                   8809:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8810:   if test "$cross_compiling" = yes; then :
1.128     moko     8811:   :
                   8812: else
1.150     moko     8813:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8814: /* end confdefs.h.  */
                   8815: #include <ctype.h>
1.150     moko     8816: #include <stdlib.h>
1.128     moko     8817: #if ((' ' & 0x0FF) == 0x020)
                   8818: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8819: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8820: #else
                   8821: # define ISLOWER(c) \
                   8822:                   (('a' <= (c) && (c) <= 'i') \
                   8823:                     || ('j' <= (c) && (c) <= 'r') \
                   8824:                     || ('s' <= (c) && (c) <= 'z'))
                   8825: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8826: #endif
                   8827: 
                   8828: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8829: int
                   8830: main ()
                   8831: {
                   8832:   int i;
                   8833:   for (i = 0; i < 256; i++)
                   8834:     if (XOR (islower (i), ISLOWER (i))
                   8835:        || toupper (i) != TOUPPER (i))
1.150     moko     8836:       return 2;
                   8837:   return 0;
1.128     moko     8838: }
                   8839: _ACEOF
1.150     moko     8840: if ac_fn_c_try_run "$LINENO"; then :
                   8841: 
1.128     moko     8842: else
1.150     moko     8843:   ac_cv_header_stdc=no
1.128     moko     8844: fi
1.150     moko     8845: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8846:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8847: fi
1.150     moko     8848: 
1.128     moko     8849: fi
                   8850: fi
1.150     moko     8851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8852: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8853: if test $ac_cv_header_stdc = yes; then
                   8854: 
1.150     moko     8855: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8856: 
                   8857: fi
                   8858: 
                   8859: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8860: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8861:                  inttypes.h stdint.h unistd.h
                   8862: do :
                   8863:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8864: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8865: "
                   8866: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8867:   cat >>confdefs.h <<_ACEOF
                   8868: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8869: _ACEOF
1.128     moko     8870: 
1.150     moko     8871: fi
1.128     moko     8872: 
1.150     moko     8873: done
1.128     moko     8874: 
                   8875: 
1.150     moko     8876: for ac_header in dlfcn.h
                   8877: do :
                   8878:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8879: "
                   8880: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8881:   cat >>confdefs.h <<_ACEOF
                   8882: #define HAVE_DLFCN_H 1
                   8883: _ACEOF
1.128     moko     8884: 
1.150     moko     8885: fi
1.128     moko     8886: 
1.150     moko     8887: done
1.128     moko     8888: 
                   8889: 
                   8890: 
                   8891: 
1.150     moko     8892: func_stripname_cnf ()
                   8893: {
                   8894:   case ${2} in
                   8895:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8896:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8897:   esac
                   8898: } # func_stripname_cnf
1.128     moko     8899: 
                   8900: 
                   8901: 
                   8902: 
                   8903: 
                   8904: # Set options
                   8905: enable_dlopen=yes
                   8906: enable_win32_dll=yes
                   8907: 
                   8908: case $host in
                   8909: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8910:   if test -n "$ac_tool_prefix"; then
                   8911:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8912: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8914: $as_echo_n "checking for $ac_word... " >&6; }
                   8915: if ${ac_cv_prog_AS+:} false; then :
                   8916:   $as_echo_n "(cached) " >&6
1.128     moko     8917: else
                   8918:   if test -n "$AS"; then
                   8919:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8920: else
                   8921: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8922: for as_dir in $PATH
                   8923: do
                   8924:   IFS=$as_save_IFS
                   8925:   test -z "$as_dir" && as_dir=.
1.150     moko     8926:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8927:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8928:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8929:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8930:     break 2
                   8931:   fi
                   8932: done
1.150     moko     8933:   done
                   8934: IFS=$as_save_IFS
1.128     moko     8935: 
                   8936: fi
                   8937: fi
                   8938: AS=$ac_cv_prog_AS
                   8939: if test -n "$AS"; then
1.150     moko     8940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8941: $as_echo "$AS" >&6; }
1.128     moko     8942: else
1.150     moko     8943:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8944: $as_echo "no" >&6; }
1.128     moko     8945: fi
                   8946: 
1.150     moko     8947: 
1.128     moko     8948: fi
                   8949: if test -z "$ac_cv_prog_AS"; then
                   8950:   ac_ct_AS=$AS
                   8951:   # Extract the first word of "as", so it can be a program name with args.
                   8952: set dummy as; ac_word=$2
1.150     moko     8953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8954: $as_echo_n "checking for $ac_word... " >&6; }
                   8955: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8956:   $as_echo_n "(cached) " >&6
1.128     moko     8957: else
                   8958:   if test -n "$ac_ct_AS"; then
                   8959:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8960: else
                   8961: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8962: for as_dir in $PATH
                   8963: do
                   8964:   IFS=$as_save_IFS
                   8965:   test -z "$as_dir" && as_dir=.
1.150     moko     8966:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8967:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8968:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8969:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8970:     break 2
                   8971:   fi
                   8972: done
1.150     moko     8973:   done
                   8974: IFS=$as_save_IFS
1.128     moko     8975: 
                   8976: fi
                   8977: fi
                   8978: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8979: if test -n "$ac_ct_AS"; then
1.150     moko     8980:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8981: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8982: else
1.150     moko     8983:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8984: $as_echo "no" >&6; }
1.128     moko     8985: fi
                   8986: 
1.150     moko     8987:   if test "x$ac_ct_AS" = x; then
                   8988:     AS="false"
                   8989:   else
                   8990:     case $cross_compiling:$ac_tool_warned in
                   8991: yes:)
                   8992: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8993: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8994: ac_tool_warned=yes ;;
                   8995: esac
                   8996:     AS=$ac_ct_AS
                   8997:   fi
1.128     moko     8998: else
                   8999:   AS="$ac_cv_prog_AS"
                   9000: fi
                   9001: 
                   9002:   if test -n "$ac_tool_prefix"; then
                   9003:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   9004: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     9005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9006: $as_echo_n "checking for $ac_word... " >&6; }
                   9007: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   9008:   $as_echo_n "(cached) " >&6
1.128     moko     9009: else
                   9010:   if test -n "$DLLTOOL"; then
                   9011:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   9012: else
                   9013: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9014: for as_dir in $PATH
                   9015: do
                   9016:   IFS=$as_save_IFS
                   9017:   test -z "$as_dir" && as_dir=.
1.150     moko     9018:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9019:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9020:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     9021:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9022:     break 2
                   9023:   fi
                   9024: done
1.150     moko     9025:   done
                   9026: IFS=$as_save_IFS
1.128     moko     9027: 
                   9028: fi
                   9029: fi
                   9030: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9031: if test -n "$DLLTOOL"; then
1.150     moko     9032:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9033: $as_echo "$DLLTOOL" >&6; }
1.128     moko     9034: else
1.150     moko     9035:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9036: $as_echo "no" >&6; }
1.128     moko     9037: fi
                   9038: 
1.150     moko     9039: 
1.128     moko     9040: fi
                   9041: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9042:   ac_ct_DLLTOOL=$DLLTOOL
                   9043:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9044: set dummy dlltool; ac_word=$2
1.150     moko     9045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9046: $as_echo_n "checking for $ac_word... " >&6; }
                   9047: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9048:   $as_echo_n "(cached) " >&6
1.128     moko     9049: else
                   9050:   if test -n "$ac_ct_DLLTOOL"; then
                   9051:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9052: else
                   9053: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9054: for as_dir in $PATH
                   9055: do
                   9056:   IFS=$as_save_IFS
                   9057:   test -z "$as_dir" && as_dir=.
1.150     moko     9058:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9059:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9060:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     9061:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9062:     break 2
                   9063:   fi
                   9064: done
1.150     moko     9065:   done
                   9066: IFS=$as_save_IFS
1.128     moko     9067: 
                   9068: fi
                   9069: fi
                   9070: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9071: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     9072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9073: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     9074: else
1.150     moko     9075:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9076: $as_echo "no" >&6; }
1.128     moko     9077: fi
                   9078: 
1.150     moko     9079:   if test "x$ac_ct_DLLTOOL" = x; then
                   9080:     DLLTOOL="false"
                   9081:   else
                   9082:     case $cross_compiling:$ac_tool_warned in
                   9083: yes:)
                   9084: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9085: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9086: ac_tool_warned=yes ;;
                   9087: esac
                   9088:     DLLTOOL=$ac_ct_DLLTOOL
                   9089:   fi
1.128     moko     9090: else
                   9091:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9092: fi
                   9093: 
                   9094:   if test -n "$ac_tool_prefix"; then
                   9095:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   9096: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     9097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9098: $as_echo_n "checking for $ac_word... " >&6; }
                   9099: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   9100:   $as_echo_n "(cached) " >&6
1.128     moko     9101: else
                   9102:   if test -n "$OBJDUMP"; then
                   9103:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   9104: else
                   9105: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9106: for as_dir in $PATH
                   9107: do
                   9108:   IFS=$as_save_IFS
                   9109:   test -z "$as_dir" && as_dir=.
1.150     moko     9110:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9111:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9112:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     9113:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9114:     break 2
                   9115:   fi
                   9116: done
1.150     moko     9117:   done
                   9118: IFS=$as_save_IFS
1.128     moko     9119: 
                   9120: fi
                   9121: fi
                   9122: OBJDUMP=$ac_cv_prog_OBJDUMP
                   9123: if test -n "$OBJDUMP"; then
1.150     moko     9124:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   9125: $as_echo "$OBJDUMP" >&6; }
1.128     moko     9126: else
1.150     moko     9127:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9128: $as_echo "no" >&6; }
1.128     moko     9129: fi
                   9130: 
1.150     moko     9131: 
1.128     moko     9132: fi
                   9133: if test -z "$ac_cv_prog_OBJDUMP"; then
                   9134:   ac_ct_OBJDUMP=$OBJDUMP
                   9135:   # Extract the first word of "objdump", so it can be a program name with args.
                   9136: set dummy objdump; ac_word=$2
1.150     moko     9137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9138: $as_echo_n "checking for $ac_word... " >&6; }
                   9139: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   9140:   $as_echo_n "(cached) " >&6
1.128     moko     9141: else
                   9142:   if test -n "$ac_ct_OBJDUMP"; then
                   9143:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   9144: else
                   9145: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9146: for as_dir in $PATH
                   9147: do
                   9148:   IFS=$as_save_IFS
                   9149:   test -z "$as_dir" && as_dir=.
1.150     moko     9150:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9151:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9152:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     9153:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9154:     break 2
                   9155:   fi
                   9156: done
1.150     moko     9157:   done
                   9158: IFS=$as_save_IFS
1.128     moko     9159: 
                   9160: fi
                   9161: fi
                   9162: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   9163: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     9164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   9165: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     9166: else
1.150     moko     9167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9168: $as_echo "no" >&6; }
1.128     moko     9169: fi
                   9170: 
1.150     moko     9171:   if test "x$ac_ct_OBJDUMP" = x; then
                   9172:     OBJDUMP="false"
                   9173:   else
                   9174:     case $cross_compiling:$ac_tool_warned in
                   9175: yes:)
                   9176: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9177: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9178: ac_tool_warned=yes ;;
                   9179: esac
                   9180:     OBJDUMP=$ac_ct_OBJDUMP
                   9181:   fi
1.128     moko     9182: else
                   9183:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9184: fi
                   9185: 
                   9186:   ;;
                   9187: esac
                   9188: 
                   9189: test -z "$AS" && AS=as
                   9190: 
                   9191: 
                   9192: 
                   9193: 
                   9194: 
                   9195: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9196: 
                   9197: 
                   9198: 
                   9199: 
                   9200: 
                   9201: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9202: 
                   9203: 
                   9204: 
                   9205: 
                   9206: 
1.150     moko     9207: # Check whether --with-pic was given.
                   9208: if test "${with_pic+set}" = set; then :
                   9209:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     9210:     case $withval in
                   9211:     yes|no) pic_mode=$withval ;;
                   9212:     *)
                   9213:       pic_mode=default
                   9214:       # Look at the argument we got.  We use all the common list separators.
                   9215:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9216:       for lt_pkg in $withval; do
                   9217:        IFS="$lt_save_ifs"
                   9218:        if test "X$lt_pkg" = "X$lt_p"; then
                   9219:          pic_mode=yes
                   9220:        fi
                   9221:       done
                   9222:       IFS="$lt_save_ifs"
                   9223:       ;;
                   9224:     esac
                   9225: else
                   9226:   pic_mode=default
1.150     moko     9227: fi
                   9228: 
1.145     moko     9229: 
                   9230: test -z "$pic_mode" && pic_mode=no
                   9231: 
                   9232: 
                   9233: 
                   9234: 
                   9235: 
                   9236: 
1.128     moko     9237: 
                   9238: 
                   9239: 
                   9240: 
1.150     moko     9241:             # Check whether --enable-shared was given.
                   9242: if test "${enable_shared+set}" = set; then :
                   9243:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9244:     case $enableval in
                   9245:     yes) enable_shared=yes ;;
                   9246:     no) enable_shared=no ;;
                   9247:     *)
                   9248:       enable_shared=no
                   9249:       # Look at the argument we got.  We use all the common list separators.
                   9250:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9251:       for pkg in $enableval; do
                   9252:        IFS="$lt_save_ifs"
                   9253:        if test "X$pkg" = "X$p"; then
                   9254:          enable_shared=yes
                   9255:        fi
                   9256:       done
                   9257:       IFS="$lt_save_ifs"
                   9258:       ;;
                   9259:     esac
                   9260: else
                   9261:   enable_shared=yes
1.150     moko     9262: fi
                   9263: 
1.128     moko     9264: 
                   9265: 
                   9266: 
                   9267: 
                   9268: 
                   9269: 
                   9270: 
                   9271: 
1.150     moko     9272:   # Check whether --enable-static was given.
                   9273: if test "${enable_static+set}" = set; then :
                   9274:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9275:     case $enableval in
                   9276:     yes) enable_static=yes ;;
                   9277:     no) enable_static=no ;;
                   9278:     *)
                   9279:      enable_static=no
                   9280:       # Look at the argument we got.  We use all the common list separators.
                   9281:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9282:       for pkg in $enableval; do
                   9283:        IFS="$lt_save_ifs"
                   9284:        if test "X$pkg" = "X$p"; then
                   9285:          enable_static=yes
                   9286:        fi
                   9287:       done
                   9288:       IFS="$lt_save_ifs"
                   9289:       ;;
                   9290:     esac
                   9291: else
                   9292:   enable_static=yes
1.150     moko     9293: fi
                   9294: 
1.138     moko     9295: 
                   9296: 
                   9297: 
                   9298: 
                   9299: 
                   9300: 
                   9301: 
1.128     moko     9302: 
                   9303: 
1.150     moko     9304:   # Check whether --enable-fast-install was given.
                   9305: if test "${enable_fast_install+set}" = set; then :
                   9306:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9307:     case $enableval in
                   9308:     yes) enable_fast_install=yes ;;
                   9309:     no) enable_fast_install=no ;;
                   9310:     *)
                   9311:       enable_fast_install=no
                   9312:       # Look at the argument we got.  We use all the common list separators.
                   9313:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9314:       for pkg in $enableval; do
                   9315:        IFS="$lt_save_ifs"
                   9316:        if test "X$pkg" = "X$p"; then
                   9317:          enable_fast_install=yes
                   9318:        fi
                   9319:       done
                   9320:       IFS="$lt_save_ifs"
                   9321:       ;;
                   9322:     esac
                   9323: else
                   9324:   enable_fast_install=yes
1.150     moko     9325: fi
                   9326: 
1.128     moko     9327: 
                   9328: 
                   9329: 
                   9330: 
                   9331: 
                   9332: 
                   9333: 
                   9334: 
                   9335: 
                   9336: 
                   9337: # This can be used to rebuild libtool when needed
                   9338: LIBTOOL_DEPS="$ltmain"
                   9339: 
                   9340: # Always use our own libtool.
                   9341: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9342: 
                   9343: 
                   9344: 
                   9345: 
                   9346: 
                   9347: 
                   9348: 
                   9349: 
                   9350: 
                   9351: 
                   9352: 
                   9353: 
                   9354: 
                   9355: 
                   9356: 
                   9357: 
                   9358: 
                   9359: 
                   9360: 
                   9361: 
                   9362: 
                   9363: 
                   9364: 
                   9365: 
                   9366: 
                   9367: 
                   9368: 
                   9369: 
                   9370: 
                   9371: 
                   9372: test -z "$LN_S" && LN_S="ln -s"
                   9373: 
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: 
                   9379: 
                   9380: 
                   9381: 
                   9382: 
                   9383: 
                   9384: 
                   9385: 
                   9386: 
                   9387: if test -n "${ZSH_VERSION+set}" ; then
                   9388:    setopt NO_GLOB_SUBST
                   9389: fi
                   9390: 
1.150     moko     9391: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9392: $as_echo_n "checking for objdir... " >&6; }
                   9393: if ${lt_cv_objdir+:} false; then :
                   9394:   $as_echo_n "(cached) " >&6
1.128     moko     9395: else
                   9396:   rm -f .libs 2>/dev/null
                   9397: mkdir .libs 2>/dev/null
                   9398: if test -d .libs; then
                   9399:   lt_cv_objdir=.libs
                   9400: else
                   9401:   # MS-DOS does not allow filenames that begin with a dot.
                   9402:   lt_cv_objdir=_libs
                   9403: fi
                   9404: rmdir .libs 2>/dev/null
                   9405: fi
1.150     moko     9406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9407: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9408: objdir=$lt_cv_objdir
                   9409: 
                   9410: 
                   9411: 
                   9412: 
                   9413: 
                   9414: cat >>confdefs.h <<_ACEOF
                   9415: #define LT_OBJDIR "$lt_cv_objdir/"
                   9416: _ACEOF
                   9417: 
                   9418: 
                   9419: 
                   9420: 
                   9421: case $host_os in
                   9422: aix3*)
                   9423:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9424:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9425:   # vanish in a puff of smoke.
                   9426:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9427:     COLLECT_NAMES=
                   9428:     export COLLECT_NAMES
                   9429:   fi
                   9430:   ;;
                   9431: esac
                   9432: 
                   9433: # Global variables:
                   9434: ofile=libtool
                   9435: can_build_shared=yes
                   9436: 
                   9437: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9438: # which needs '.lib').
                   9439: libext=a
                   9440: 
                   9441: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9442: 
                   9443: old_CC="$CC"
                   9444: old_CFLAGS="$CFLAGS"
                   9445: 
                   9446: # Set sane defaults for various variables
                   9447: test -z "$CC" && CC=cc
                   9448: test -z "$LTCC" && LTCC=$CC
                   9449: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9450: test -z "$LD" && LD=ld
                   9451: test -z "$ac_objext" && ac_objext=o
                   9452: 
                   9453: for cc_temp in $compiler""; do
                   9454:   case $cc_temp in
                   9455:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9456:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9457:     \-*) ;;
                   9458:     *) break;;
                   9459:   esac
                   9460: done
                   9461: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9462: 
                   9463: 
                   9464: # Only perform the check for file, if the check method requires it
                   9465: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9466: case $deplibs_check_method in
                   9467: file_magic*)
                   9468:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9469:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9470: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9471: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9472:   $as_echo_n "(cached) " >&6
1.128     moko     9473: else
                   9474:   case $MAGIC_CMD in
                   9475: [\\/*] |  ?:[\\/]*)
                   9476:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9477:   ;;
                   9478: *)
                   9479:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9480:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9481:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9482:   for ac_dir in $ac_dummy; do
                   9483:     IFS="$lt_save_ifs"
                   9484:     test -z "$ac_dir" && ac_dir=.
                   9485:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9486:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9487:       if test -n "$file_magic_test_file"; then
                   9488:        case $deplibs_check_method in
                   9489:        "file_magic "*)
                   9490:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9491:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9492:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9493:            $EGREP "$file_magic_regex" > /dev/null; then
                   9494:            :
                   9495:          else
                   9496:            cat <<_LT_EOF 1>&2
                   9497: 
                   9498: *** Warning: the command libtool uses to detect shared libraries,
                   9499: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9500: *** The result is that libtool may fail to recognize shared libraries
                   9501: *** as such.  This will affect the creation of libtool libraries that
                   9502: *** depend on shared libraries, but programs linked with such libtool
                   9503: *** libraries will work regardless of this problem.  Nevertheless, you
                   9504: *** may want to report the problem to your system manager and/or to
                   9505: *** bug-libtool@gnu.org
                   9506: 
                   9507: _LT_EOF
                   9508:          fi ;;
                   9509:        esac
                   9510:       fi
                   9511:       break
                   9512:     fi
                   9513:   done
                   9514:   IFS="$lt_save_ifs"
                   9515:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9516:   ;;
                   9517: esac
                   9518: fi
                   9519: 
                   9520: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9521: if test -n "$MAGIC_CMD"; then
1.150     moko     9522:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9523: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9524: else
1.150     moko     9525:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9526: $as_echo "no" >&6; }
1.128     moko     9527: fi
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9534:   if test -n "$ac_tool_prefix"; then
1.150     moko     9535:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9536: $as_echo_n "checking for file... " >&6; }
                   9537: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9538:   $as_echo_n "(cached) " >&6
1.128     moko     9539: else
                   9540:   case $MAGIC_CMD in
                   9541: [\\/*] |  ?:[\\/]*)
                   9542:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9543:   ;;
                   9544: *)
                   9545:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9546:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9547:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9548:   for ac_dir in $ac_dummy; do
                   9549:     IFS="$lt_save_ifs"
                   9550:     test -z "$ac_dir" && ac_dir=.
                   9551:     if test -f $ac_dir/file; then
                   9552:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9553:       if test -n "$file_magic_test_file"; then
                   9554:        case $deplibs_check_method in
                   9555:        "file_magic "*)
                   9556:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9557:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9558:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9559:            $EGREP "$file_magic_regex" > /dev/null; then
                   9560:            :
                   9561:          else
                   9562:            cat <<_LT_EOF 1>&2
                   9563: 
                   9564: *** Warning: the command libtool uses to detect shared libraries,
                   9565: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9566: *** The result is that libtool may fail to recognize shared libraries
                   9567: *** as such.  This will affect the creation of libtool libraries that
                   9568: *** depend on shared libraries, but programs linked with such libtool
                   9569: *** libraries will work regardless of this problem.  Nevertheless, you
                   9570: *** may want to report the problem to your system manager and/or to
                   9571: *** bug-libtool@gnu.org
                   9572: 
                   9573: _LT_EOF
                   9574:          fi ;;
                   9575:        esac
                   9576:       fi
                   9577:       break
                   9578:     fi
                   9579:   done
                   9580:   IFS="$lt_save_ifs"
                   9581:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9582:   ;;
                   9583: esac
                   9584: fi
                   9585: 
                   9586: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9587: if test -n "$MAGIC_CMD"; then
1.150     moko     9588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9589: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9590: else
1.150     moko     9591:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9592: $as_echo "no" >&6; }
1.128     moko     9593: fi
                   9594: 
                   9595: 
                   9596:   else
                   9597:     MAGIC_CMD=:
                   9598:   fi
                   9599: fi
                   9600: 
                   9601:   fi
                   9602:   ;;
                   9603: esac
                   9604: 
                   9605: # Use C for the default configuration in the libtool script
                   9606: 
                   9607: lt_save_CC="$CC"
                   9608: ac_ext=c
                   9609: ac_cpp='$CPP $CPPFLAGS'
                   9610: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9611: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9612: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9613: 
                   9614: 
                   9615: # Source file extension for C test sources.
                   9616: ac_ext=c
                   9617: 
                   9618: # Object file extension for compiled C test sources.
                   9619: objext=o
                   9620: objext=$objext
                   9621: 
                   9622: # Code to be used in simple compile tests
                   9623: lt_simple_compile_test_code="int some_variable = 0;"
                   9624: 
                   9625: # Code to be used in simple link tests
                   9626: lt_simple_link_test_code='int main(){return(0);}'
                   9627: 
                   9628: 
                   9629: 
                   9630: 
                   9631: 
                   9632: 
                   9633: 
                   9634: # If no C compiler was specified, use CC.
                   9635: LTCC=${LTCC-"$CC"}
                   9636: 
                   9637: # If no C compiler flags were specified, use CFLAGS.
                   9638: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9639: 
                   9640: # Allow CC to be a program name with arguments.
                   9641: compiler=$CC
                   9642: 
                   9643: # Save the default compiler, since it gets overwritten when the other
                   9644: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9645: compiler_DEFAULT=$CC
                   9646: 
                   9647: # save warnings/boilerplate of simple test code
                   9648: ac_outfile=conftest.$ac_objext
                   9649: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9650: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9651: _lt_compiler_boilerplate=`cat conftest.err`
                   9652: $RM conftest*
                   9653: 
                   9654: ac_outfile=conftest.$ac_objext
                   9655: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9656: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9657: _lt_linker_boilerplate=`cat conftest.err`
                   9658: $RM -r conftest*
                   9659: 
                   9660: 
                   9661: ## CAVEAT EMPTOR:
                   9662: ## There is no encapsulation within the following macros, do not change
                   9663: ## the running order or otherwise move them around unless you know exactly
                   9664: ## what you are doing...
                   9665: if test -n "$compiler"; then
                   9666: 
                   9667: lt_prog_compiler_no_builtin_flag=
                   9668: 
                   9669: if test "$GCC" = yes; then
                   9670:   case $cc_basename in
                   9671:   nvcc*)
                   9672:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9673:   *)
                   9674:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9675:   esac
                   9676: 
1.150     moko     9677:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9678: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9679: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9680:   $as_echo_n "(cached) " >&6
1.128     moko     9681: else
                   9682:   lt_cv_prog_compiler_rtti_exceptions=no
                   9683:    ac_outfile=conftest.$ac_objext
                   9684:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9685:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9686:    # Insert the option either (1) after the last *FLAGS variable, or
                   9687:    # (2) before a word containing "conftest.", or (3) at the end.
                   9688:    # Note that $ac_compile itself does not contain backslashes and begins
                   9689:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9690:    # The option is referenced via a variable to avoid confusing sed.
                   9691:    lt_compile=`echo "$ac_compile" | $SED \
                   9692:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9693:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9694:    -e 's:$: $lt_compiler_flag:'`
                   9695:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9696:    (eval "$lt_compile" 2>conftest.err)
                   9697:    ac_status=$?
                   9698:    cat conftest.err >&5
                   9699:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9700:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9701:      # The compiler can only warn and ignore the option if not recognized
                   9702:      # So say no if there are warnings other than the usual output.
                   9703:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9704:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9705:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9706:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9707:      fi
                   9708:    fi
                   9709:    $RM conftest*
                   9710: 
                   9711: fi
1.150     moko     9712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9713: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9714: 
                   9715: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9716:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9717: else
                   9718:     :
                   9719: fi
                   9720: 
                   9721: fi
                   9722: 
                   9723: 
                   9724: 
                   9725: 
                   9726: 
                   9727: 
                   9728:   lt_prog_compiler_wl=
                   9729: lt_prog_compiler_pic=
                   9730: lt_prog_compiler_static=
                   9731: 
                   9732: 
                   9733:   if test "$GCC" = yes; then
                   9734:     lt_prog_compiler_wl='-Wl,'
                   9735:     lt_prog_compiler_static='-static'
                   9736: 
                   9737:     case $host_os in
                   9738:       aix*)
                   9739:       # All AIX code is PIC.
                   9740:       if test "$host_cpu" = ia64; then
                   9741:        # AIX 5 now supports IA64 processor
                   9742:        lt_prog_compiler_static='-Bstatic'
                   9743:       fi
                   9744:       ;;
                   9745: 
                   9746:     amigaos*)
                   9747:       case $host_cpu in
                   9748:       powerpc)
                   9749:             # see comment about AmigaOS4 .so support
                   9750:             lt_prog_compiler_pic='-fPIC'
                   9751:         ;;
                   9752:       m68k)
                   9753:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9754:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9755:             # like `-m68040'.
                   9756:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9757:         ;;
                   9758:       esac
                   9759:       ;;
                   9760: 
                   9761:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9762:       # PIC is the default for these OSes.
                   9763:       ;;
                   9764: 
                   9765:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9766:       # This hack is so that the source file can tell whether it is being
                   9767:       # built for inclusion in a dll (and should export symbols for example).
                   9768:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9769:       # (--disable-auto-import) libraries
                   9770:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9771:       ;;
                   9772: 
                   9773:     darwin* | rhapsody*)
                   9774:       # PIC is the default on this platform
                   9775:       # Common symbols not allowed in MH_DYLIB files
                   9776:       lt_prog_compiler_pic='-fno-common'
                   9777:       ;;
                   9778: 
                   9779:     haiku*)
                   9780:       # PIC is the default for Haiku.
                   9781:       # The "-static" flag exists, but is broken.
                   9782:       lt_prog_compiler_static=
                   9783:       ;;
                   9784: 
                   9785:     hpux*)
                   9786:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9787:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9788:       # sets the default TLS model and affects inlining.
                   9789:       case $host_cpu in
                   9790:       hppa*64*)
                   9791:        # +Z the default
                   9792:        ;;
                   9793:       *)
                   9794:        lt_prog_compiler_pic='-fPIC'
                   9795:        ;;
                   9796:       esac
                   9797:       ;;
                   9798: 
                   9799:     interix[3-9]*)
                   9800:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9801:       # Instead, we relocate shared libraries at runtime.
                   9802:       ;;
                   9803: 
                   9804:     msdosdjgpp*)
                   9805:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9806:       # on systems that don't support them.
                   9807:       lt_prog_compiler_can_build_shared=no
                   9808:       enable_shared=no
                   9809:       ;;
                   9810: 
                   9811:     *nto* | *qnx*)
                   9812:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9813:       # it will coredump.
                   9814:       lt_prog_compiler_pic='-fPIC -shared'
                   9815:       ;;
                   9816: 
                   9817:     sysv4*MP*)
                   9818:       if test -d /usr/nec; then
                   9819:        lt_prog_compiler_pic=-Kconform_pic
                   9820:       fi
                   9821:       ;;
                   9822: 
                   9823:     *)
                   9824:       lt_prog_compiler_pic='-fPIC'
                   9825:       ;;
                   9826:     esac
                   9827: 
                   9828:     case $cc_basename in
                   9829:     nvcc*) # Cuda Compiler Driver 2.2
                   9830:       lt_prog_compiler_wl='-Xlinker '
                   9831:       if test -n "$lt_prog_compiler_pic"; then
                   9832:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9833:       fi
                   9834:       ;;
                   9835:     esac
                   9836:   else
                   9837:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9838:     case $host_os in
                   9839:     aix*)
                   9840:       lt_prog_compiler_wl='-Wl,'
                   9841:       if test "$host_cpu" = ia64; then
                   9842:        # AIX 5 now supports IA64 processor
                   9843:        lt_prog_compiler_static='-Bstatic'
                   9844:       else
                   9845:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9846:       fi
                   9847:       ;;
                   9848: 
                   9849:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9850:       # This hack is so that the source file can tell whether it is being
                   9851:       # built for inclusion in a dll (and should export symbols for example).
                   9852:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9853:       ;;
                   9854: 
                   9855:     hpux9* | hpux10* | hpux11*)
                   9856:       lt_prog_compiler_wl='-Wl,'
                   9857:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9858:       # not for PA HP-UX.
                   9859:       case $host_cpu in
                   9860:       hppa*64*|ia64*)
                   9861:        # +Z the default
                   9862:        ;;
                   9863:       *)
                   9864:        lt_prog_compiler_pic='+Z'
                   9865:        ;;
                   9866:       esac
                   9867:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9868:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9869:       ;;
                   9870: 
                   9871:     irix5* | irix6* | nonstopux*)
                   9872:       lt_prog_compiler_wl='-Wl,'
                   9873:       # PIC (with -KPIC) is the default.
                   9874:       lt_prog_compiler_static='-non_shared'
                   9875:       ;;
                   9876: 
                   9877:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9878:       case $cc_basename in
                   9879:       # old Intel for x86_64 which still supported -KPIC.
                   9880:       ecc*)
                   9881:        lt_prog_compiler_wl='-Wl,'
                   9882:        lt_prog_compiler_pic='-KPIC'
                   9883:        lt_prog_compiler_static='-static'
                   9884:         ;;
                   9885:       # icc used to be incompatible with GCC.
                   9886:       # ICC 10 doesn't accept -KPIC any more.
                   9887:       icc* | ifort*)
                   9888:        lt_prog_compiler_wl='-Wl,'
                   9889:        lt_prog_compiler_pic='-fPIC'
                   9890:        lt_prog_compiler_static='-static'
                   9891:         ;;
                   9892:       # Lahey Fortran 8.1.
                   9893:       lf95*)
                   9894:        lt_prog_compiler_wl='-Wl,'
                   9895:        lt_prog_compiler_pic='--shared'
                   9896:        lt_prog_compiler_static='--static'
                   9897:        ;;
                   9898:       nagfor*)
                   9899:        # NAG Fortran compiler
                   9900:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9901:        lt_prog_compiler_pic='-PIC'
                   9902:        lt_prog_compiler_static='-Bstatic'
                   9903:        ;;
                   9904:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9905:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9906:        # which looks to be a dead project)
                   9907:        lt_prog_compiler_wl='-Wl,'
                   9908:        lt_prog_compiler_pic='-fpic'
                   9909:        lt_prog_compiler_static='-Bstatic'
                   9910:         ;;
                   9911:       ccc*)
                   9912:         lt_prog_compiler_wl='-Wl,'
                   9913:         # All Alpha code is PIC.
                   9914:         lt_prog_compiler_static='-non_shared'
                   9915:         ;;
                   9916:       xl* | bgxl* | bgf* | mpixl*)
                   9917:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9918:        lt_prog_compiler_wl='-Wl,'
                   9919:        lt_prog_compiler_pic='-qpic'
                   9920:        lt_prog_compiler_static='-qstaticlink'
                   9921:        ;;
                   9922:       *)
                   9923:        case `$CC -V 2>&1 | sed 5q` in
                   9924:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9925:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9926:          lt_prog_compiler_pic='-KPIC'
                   9927:          lt_prog_compiler_static='-Bstatic'
                   9928:          lt_prog_compiler_wl=''
                   9929:          ;;
                   9930:        *Sun\ F* | *Sun*Fortran*)
                   9931:          lt_prog_compiler_pic='-KPIC'
                   9932:          lt_prog_compiler_static='-Bstatic'
                   9933:          lt_prog_compiler_wl='-Qoption ld '
                   9934:          ;;
                   9935:        *Sun\ C*)
                   9936:          # Sun C 5.9
                   9937:          lt_prog_compiler_pic='-KPIC'
                   9938:          lt_prog_compiler_static='-Bstatic'
                   9939:          lt_prog_compiler_wl='-Wl,'
                   9940:          ;;
                   9941:         *Intel*\ [CF]*Compiler*)
                   9942:          lt_prog_compiler_wl='-Wl,'
                   9943:          lt_prog_compiler_pic='-fPIC'
                   9944:          lt_prog_compiler_static='-static'
                   9945:          ;;
                   9946:        *Portland\ Group*)
                   9947:          lt_prog_compiler_wl='-Wl,'
                   9948:          lt_prog_compiler_pic='-fpic'
                   9949:          lt_prog_compiler_static='-Bstatic'
                   9950:          ;;
                   9951:        esac
                   9952:        ;;
                   9953:       esac
                   9954:       ;;
                   9955: 
                   9956:     newsos6)
                   9957:       lt_prog_compiler_pic='-KPIC'
                   9958:       lt_prog_compiler_static='-Bstatic'
                   9959:       ;;
                   9960: 
                   9961:     *nto* | *qnx*)
                   9962:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9963:       # it will coredump.
                   9964:       lt_prog_compiler_pic='-fPIC -shared'
                   9965:       ;;
                   9966: 
                   9967:     osf3* | osf4* | osf5*)
                   9968:       lt_prog_compiler_wl='-Wl,'
                   9969:       # All OSF/1 code is PIC.
                   9970:       lt_prog_compiler_static='-non_shared'
                   9971:       ;;
                   9972: 
                   9973:     rdos*)
                   9974:       lt_prog_compiler_static='-non_shared'
                   9975:       ;;
                   9976: 
                   9977:     solaris*)
                   9978:       lt_prog_compiler_pic='-KPIC'
                   9979:       lt_prog_compiler_static='-Bstatic'
                   9980:       case $cc_basename in
                   9981:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9982:        lt_prog_compiler_wl='-Qoption ld ';;
                   9983:       *)
                   9984:        lt_prog_compiler_wl='-Wl,';;
                   9985:       esac
                   9986:       ;;
                   9987: 
                   9988:     sunos4*)
                   9989:       lt_prog_compiler_wl='-Qoption ld '
                   9990:       lt_prog_compiler_pic='-PIC'
                   9991:       lt_prog_compiler_static='-Bstatic'
                   9992:       ;;
                   9993: 
                   9994:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9995:       lt_prog_compiler_wl='-Wl,'
                   9996:       lt_prog_compiler_pic='-KPIC'
                   9997:       lt_prog_compiler_static='-Bstatic'
                   9998:       ;;
                   9999: 
                   10000:     sysv4*MP*)
                   10001:       if test -d /usr/nec ;then
                   10002:        lt_prog_compiler_pic='-Kconform_pic'
                   10003:        lt_prog_compiler_static='-Bstatic'
                   10004:       fi
                   10005:       ;;
                   10006: 
                   10007:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10008:       lt_prog_compiler_wl='-Wl,'
                   10009:       lt_prog_compiler_pic='-KPIC'
                   10010:       lt_prog_compiler_static='-Bstatic'
                   10011:       ;;
                   10012: 
                   10013:     unicos*)
                   10014:       lt_prog_compiler_wl='-Wl,'
                   10015:       lt_prog_compiler_can_build_shared=no
                   10016:       ;;
                   10017: 
                   10018:     uts4*)
                   10019:       lt_prog_compiler_pic='-pic'
                   10020:       lt_prog_compiler_static='-Bstatic'
                   10021:       ;;
                   10022: 
                   10023:     *)
                   10024:       lt_prog_compiler_can_build_shared=no
                   10025:       ;;
                   10026:     esac
                   10027:   fi
                   10028: 
                   10029: case $host_os in
                   10030:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10031:   *djgpp*)
                   10032:     lt_prog_compiler_pic=
                   10033:     ;;
                   10034:   *)
                   10035:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10036:     ;;
                   10037: esac
                   10038: 
1.150     moko     10039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10040: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10041: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10042:   $as_echo_n "(cached) " >&6
1.128     moko     10043: else
                   10044:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10045: fi
1.150     moko     10046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10047: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     10048: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10049: 
                   10050: #
                   10051: # Check to make sure the PIC flag actually works.
                   10052: #
                   10053: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     10054:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10055: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10056: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10057:   $as_echo_n "(cached) " >&6
1.128     moko     10058: else
                   10059:   lt_cv_prog_compiler_pic_works=no
                   10060:    ac_outfile=conftest.$ac_objext
                   10061:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10062:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10063:    # Insert the option either (1) after the last *FLAGS variable, or
                   10064:    # (2) before a word containing "conftest.", or (3) at the end.
                   10065:    # Note that $ac_compile itself does not contain backslashes and begins
                   10066:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10067:    # The option is referenced via a variable to avoid confusing sed.
                   10068:    lt_compile=`echo "$ac_compile" | $SED \
                   10069:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10070:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10071:    -e 's:$: $lt_compiler_flag:'`
                   10072:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10073:    (eval "$lt_compile" 2>conftest.err)
                   10074:    ac_status=$?
                   10075:    cat conftest.err >&5
                   10076:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10077:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10078:      # The compiler can only warn and ignore the option if not recognized
                   10079:      # So say no if there are warnings other than the usual output.
                   10080:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10081:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10082:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10083:        lt_cv_prog_compiler_pic_works=yes
                   10084:      fi
                   10085:    fi
                   10086:    $RM conftest*
                   10087: 
                   10088: fi
1.150     moko     10089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10090: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     10091: 
                   10092: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10093:     case $lt_prog_compiler_pic in
                   10094:      "" | " "*) ;;
                   10095:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10096:      esac
                   10097: else
                   10098:     lt_prog_compiler_pic=
                   10099:      lt_prog_compiler_can_build_shared=no
                   10100: fi
                   10101: 
                   10102: fi
                   10103: 
                   10104: 
                   10105: 
                   10106: 
                   10107: 
                   10108: 
                   10109: 
                   10110: 
                   10111: 
                   10112: 
                   10113: 
                   10114: #
                   10115: # Check to make sure the static flag actually works.
                   10116: #
                   10117: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     10118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10119: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10120: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10121:   $as_echo_n "(cached) " >&6
1.128     moko     10122: else
                   10123:   lt_cv_prog_compiler_static_works=no
                   10124:    save_LDFLAGS="$LDFLAGS"
                   10125:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10126:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10127:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10128:      # The linker can only warn and ignore the option if not recognized
                   10129:      # So say no if there are warnings
                   10130:      if test -s conftest.err; then
                   10131:        # Append any errors to the config.log.
                   10132:        cat conftest.err 1>&5
                   10133:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10134:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10135:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10136:          lt_cv_prog_compiler_static_works=yes
                   10137:        fi
                   10138:      else
                   10139:        lt_cv_prog_compiler_static_works=yes
                   10140:      fi
                   10141:    fi
                   10142:    $RM -r conftest*
                   10143:    LDFLAGS="$save_LDFLAGS"
                   10144: 
                   10145: fi
1.150     moko     10146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10147: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     10148: 
                   10149: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10150:     :
                   10151: else
                   10152:     lt_prog_compiler_static=
                   10153: fi
                   10154: 
                   10155: 
                   10156: 
                   10157: 
                   10158: 
                   10159: 
                   10160: 
1.150     moko     10161:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10162: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10163: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10164:   $as_echo_n "(cached) " >&6
1.128     moko     10165: else
                   10166:   lt_cv_prog_compiler_c_o=no
                   10167:    $RM -r conftest 2>/dev/null
                   10168:    mkdir conftest
                   10169:    cd conftest
                   10170:    mkdir out
                   10171:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10172: 
                   10173:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10174:    # Insert the option either (1) after the last *FLAGS variable, or
                   10175:    # (2) before a word containing "conftest.", or (3) at the end.
                   10176:    # Note that $ac_compile itself does not contain backslashes and begins
                   10177:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10178:    lt_compile=`echo "$ac_compile" | $SED \
                   10179:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10180:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10181:    -e 's:$: $lt_compiler_flag:'`
                   10182:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10183:    (eval "$lt_compile" 2>out/conftest.err)
                   10184:    ac_status=$?
                   10185:    cat out/conftest.err >&5
                   10186:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10187:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10188:    then
                   10189:      # The compiler can only warn and ignore the option if not recognized
                   10190:      # So say no if there are warnings
                   10191:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10192:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10193:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10194:        lt_cv_prog_compiler_c_o=yes
                   10195:      fi
                   10196:    fi
                   10197:    chmod u+w . 2>&5
                   10198:    $RM conftest*
                   10199:    # SGI C++ compiler will create directory out/ii_files/ for
                   10200:    # template instantiation
                   10201:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10202:    $RM out/* && rmdir out
                   10203:    cd ..
                   10204:    $RM -r conftest
                   10205:    $RM conftest*
                   10206: 
                   10207: fi
1.150     moko     10208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10209: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10210: 
                   10211: 
                   10212: 
                   10213: 
                   10214: 
                   10215: 
1.150     moko     10216:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10217: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10218: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10219:   $as_echo_n "(cached) " >&6
1.128     moko     10220: else
                   10221:   lt_cv_prog_compiler_c_o=no
                   10222:    $RM -r conftest 2>/dev/null
                   10223:    mkdir conftest
                   10224:    cd conftest
                   10225:    mkdir out
                   10226:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10227: 
                   10228:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10229:    # Insert the option either (1) after the last *FLAGS variable, or
                   10230:    # (2) before a word containing "conftest.", or (3) at the end.
                   10231:    # Note that $ac_compile itself does not contain backslashes and begins
                   10232:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10233:    lt_compile=`echo "$ac_compile" | $SED \
                   10234:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10235:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10236:    -e 's:$: $lt_compiler_flag:'`
                   10237:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10238:    (eval "$lt_compile" 2>out/conftest.err)
                   10239:    ac_status=$?
                   10240:    cat out/conftest.err >&5
                   10241:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10242:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10243:    then
                   10244:      # The compiler can only warn and ignore the option if not recognized
                   10245:      # So say no if there are warnings
                   10246:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10247:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10248:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10249:        lt_cv_prog_compiler_c_o=yes
                   10250:      fi
                   10251:    fi
                   10252:    chmod u+w . 2>&5
                   10253:    $RM conftest*
                   10254:    # SGI C++ compiler will create directory out/ii_files/ for
                   10255:    # template instantiation
                   10256:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10257:    $RM out/* && rmdir out
                   10258:    cd ..
                   10259:    $RM -r conftest
                   10260:    $RM conftest*
                   10261: 
                   10262: fi
1.150     moko     10263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10264: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10265: 
                   10266: 
                   10267: 
                   10268: 
                   10269: hard_links="nottested"
                   10270: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10271:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10272:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10273: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10274:   hard_links=yes
                   10275:   $RM conftest*
                   10276:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10277:   touch conftest.a
                   10278:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10279:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10280:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10281: $as_echo "$hard_links" >&6; }
1.128     moko     10282:   if test "$hard_links" = no; then
1.150     moko     10283:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10284: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10285:     need_locks=warn
                   10286:   fi
                   10287: else
                   10288:   need_locks=no
                   10289: fi
                   10290: 
                   10291: 
                   10292: 
                   10293: 
                   10294: 
                   10295: 
1.150     moko     10296:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10297: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10298: 
                   10299:   runpath_var=
                   10300:   allow_undefined_flag=
                   10301:   always_export_symbols=no
                   10302:   archive_cmds=
                   10303:   archive_expsym_cmds=
                   10304:   compiler_needs_object=no
                   10305:   enable_shared_with_static_runtimes=no
                   10306:   export_dynamic_flag_spec=
                   10307:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10308:   hardcode_automatic=no
                   10309:   hardcode_direct=no
                   10310:   hardcode_direct_absolute=no
                   10311:   hardcode_libdir_flag_spec=
                   10312:   hardcode_libdir_separator=
                   10313:   hardcode_minus_L=no
                   10314:   hardcode_shlibpath_var=unsupported
                   10315:   inherit_rpath=no
                   10316:   link_all_deplibs=unknown
                   10317:   module_cmds=
                   10318:   module_expsym_cmds=
                   10319:   old_archive_from_new_cmds=
                   10320:   old_archive_from_expsyms_cmds=
                   10321:   thread_safe_flag_spec=
                   10322:   whole_archive_flag_spec=
                   10323:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10324:   # included in the symbol list
                   10325:   include_expsyms=
                   10326:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10327:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10328:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10329:   # as well as any symbol that contains `d'.
                   10330:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10331:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10332:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10333:   # the symbol is explicitly referenced.  Since portable code cannot
                   10334:   # rely on this symbol name, it's probably fine to never include it in
                   10335:   # preloaded symbol tables.
                   10336:   # Exclude shared library initialization/finalization symbols.
                   10337:   extract_expsyms_cmds=
                   10338: 
                   10339:   case $host_os in
                   10340:   cygwin* | mingw* | pw32* | cegcc*)
                   10341:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10342:     # When not using gcc, we currently assume that we are using
                   10343:     # Microsoft Visual C++.
                   10344:     if test "$GCC" != yes; then
                   10345:       with_gnu_ld=no
                   10346:     fi
                   10347:     ;;
                   10348:   interix*)
                   10349:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10350:     with_gnu_ld=yes
                   10351:     ;;
                   10352:   openbsd*)
                   10353:     with_gnu_ld=no
                   10354:     ;;
                   10355:   esac
                   10356: 
                   10357:   ld_shlibs=yes
                   10358: 
                   10359:   # On some targets, GNU ld is compatible enough with the native linker
                   10360:   # that we're better off using the native interface for both.
                   10361:   lt_use_gnu_ld_interface=no
                   10362:   if test "$with_gnu_ld" = yes; then
                   10363:     case $host_os in
                   10364:       aix*)
                   10365:        # The AIX port of GNU ld has always aspired to compatibility
                   10366:        # with the native linker.  However, as the warning in the GNU ld
                   10367:        # block says, versions before 2.19.5* couldn't really create working
                   10368:        # shared libraries, regardless of the interface used.
                   10369:        case `$LD -v 2>&1` in
                   10370:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10371:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10372:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10373:          *)
                   10374:            lt_use_gnu_ld_interface=yes
                   10375:            ;;
                   10376:        esac
                   10377:        ;;
                   10378:       *)
                   10379:        lt_use_gnu_ld_interface=yes
                   10380:        ;;
                   10381:     esac
                   10382:   fi
                   10383: 
                   10384:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10385:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10386:     wlarc='${wl}'
                   10387: 
                   10388:     # Set some defaults for GNU ld with shared library support. These
                   10389:     # are reset later if shared libraries are not supported. Putting them
                   10390:     # here allows them to be overridden if necessary.
                   10391:     runpath_var=LD_RUN_PATH
                   10392:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10393:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10394:     # ancient GNU ld didn't support --whole-archive et. al.
                   10395:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10396:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10397:     else
                   10398:       whole_archive_flag_spec=
                   10399:     fi
                   10400:     supports_anon_versioning=no
                   10401:     case `$LD -v 2>&1` in
                   10402:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10403:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10404:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10405:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10406:       *\ 2.11.*) ;; # other 2.11 versions
                   10407:       *) supports_anon_versioning=yes ;;
                   10408:     esac
                   10409: 
                   10410:     # See if GNU ld supports shared libraries.
                   10411:     case $host_os in
                   10412:     aix[3-9]*)
                   10413:       # On AIX/PPC, the GNU linker is very broken
                   10414:       if test "$host_cpu" != ia64; then
                   10415:        ld_shlibs=no
                   10416:        cat <<_LT_EOF 1>&2
                   10417: 
                   10418: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10419: *** to be unable to reliably create shared libraries on AIX.
                   10420: *** Therefore, libtool is disabling shared libraries support.  If you
                   10421: *** really care for shared libraries, you may want to install binutils
                   10422: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10423: *** You will then need to restart the configuration process.
                   10424: 
                   10425: _LT_EOF
                   10426:       fi
                   10427:       ;;
                   10428: 
                   10429:     amigaos*)
                   10430:       case $host_cpu in
                   10431:       powerpc)
                   10432:             # see comment about AmigaOS4 .so support
                   10433:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10434:             archive_expsym_cmds=''
                   10435:         ;;
                   10436:       m68k)
                   10437:             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)'
                   10438:             hardcode_libdir_flag_spec='-L$libdir'
                   10439:             hardcode_minus_L=yes
                   10440:         ;;
                   10441:       esac
                   10442:       ;;
                   10443: 
                   10444:     beos*)
                   10445:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10446:        allow_undefined_flag=unsupported
                   10447:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10448:        # support --undefined.  This deserves some investigation.  FIXME
                   10449:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10450:       else
                   10451:        ld_shlibs=no
                   10452:       fi
                   10453:       ;;
                   10454: 
                   10455:     cygwin* | mingw* | pw32* | cegcc*)
                   10456:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10457:       # as there is no search path for DLLs.
                   10458:       hardcode_libdir_flag_spec='-L$libdir'
                   10459:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10460:       allow_undefined_flag=unsupported
                   10461:       always_export_symbols=no
                   10462:       enable_shared_with_static_runtimes=yes
                   10463:       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'
                   10464:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10465: 
                   10466:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10467:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10468:        # If the export-symbols file already is a .def file (1st line
                   10469:        # is EXPORTS), use it as is; otherwise, prepend...
                   10470:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10471:          cp $export_symbols $output_objdir/$soname.def;
                   10472:        else
                   10473:          echo EXPORTS > $output_objdir/$soname.def;
                   10474:          cat $export_symbols >> $output_objdir/$soname.def;
                   10475:        fi~
                   10476:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10477:       else
                   10478:        ld_shlibs=no
                   10479:       fi
                   10480:       ;;
                   10481: 
                   10482:     haiku*)
                   10483:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10484:       link_all_deplibs=yes
                   10485:       ;;
                   10486: 
                   10487:     interix[3-9]*)
                   10488:       hardcode_direct=no
                   10489:       hardcode_shlibpath_var=no
                   10490:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10491:       export_dynamic_flag_spec='${wl}-E'
                   10492:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10493:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10494:       # default) and relocated if they conflict, which is a slow very memory
                   10495:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10496:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10497:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10498:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10499:       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'
                   10500:       ;;
                   10501: 
                   10502:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10503:       tmp_diet=no
                   10504:       if test "$host_os" = linux-dietlibc; then
                   10505:        case $cc_basename in
                   10506:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10507:        esac
                   10508:       fi
                   10509:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10510:         && test "$tmp_diet" = no
                   10511:       then
                   10512:        tmp_addflag=' $pic_flag'
                   10513:        tmp_sharedflag='-shared'
                   10514:        case $cc_basename,$host_cpu in
                   10515:         pgcc*)                         # Portland Group C compiler
                   10516:          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'
                   10517:          tmp_addflag=' $pic_flag'
                   10518:          ;;
                   10519:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10520:                                        # Portland Group f77 and f90 compilers
                   10521:          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'
                   10522:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10523:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10524:          tmp_addflag=' -i_dynamic' ;;
                   10525:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10526:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10527:        ifc* | ifort*)                  # Intel Fortran compiler
                   10528:          tmp_addflag=' -nofor_main' ;;
                   10529:        lf95*)                          # Lahey Fortran 8.1
                   10530:          whole_archive_flag_spec=
                   10531:          tmp_sharedflag='--shared' ;;
                   10532:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10533:          tmp_sharedflag='-qmkshrobj'
                   10534:          tmp_addflag= ;;
                   10535:        nvcc*)  # Cuda Compiler Driver 2.2
                   10536:          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'
                   10537:          compiler_needs_object=yes
                   10538:          ;;
                   10539:        esac
                   10540:        case `$CC -V 2>&1 | sed 5q` in
                   10541:        *Sun\ C*)                       # Sun C 5.9
                   10542:          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'
                   10543:          compiler_needs_object=yes
                   10544:          tmp_sharedflag='-G' ;;
                   10545:        *Sun\ F*)                       # Sun Fortran 8.3
                   10546:          tmp_sharedflag='-G' ;;
                   10547:        esac
                   10548:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10549: 
                   10550:         if test "x$supports_anon_versioning" = xyes; then
                   10551:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10552:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10553:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10554:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10555:         fi
                   10556: 
                   10557:        case $cc_basename in
                   10558:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10559:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10560:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10561:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10562:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10563:          if test "x$supports_anon_versioning" = xyes; then
                   10564:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10565:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10566:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10567:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10568:          fi
                   10569:          ;;
                   10570:        esac
                   10571:       else
                   10572:         ld_shlibs=no
                   10573:       fi
                   10574:       ;;
                   10575: 
                   10576:     netbsd*)
                   10577:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10578:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10579:        wlarc=
                   10580:       else
                   10581:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10582:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10583:       fi
                   10584:       ;;
                   10585: 
                   10586:     solaris*)
                   10587:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10588:        ld_shlibs=no
                   10589:        cat <<_LT_EOF 1>&2
                   10590: 
                   10591: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10592: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10593: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10594: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10595: *** your PATH or compiler configuration so that the native linker is
                   10596: *** used, and then restart.
                   10597: 
                   10598: _LT_EOF
                   10599:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10600:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10601:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10602:       else
                   10603:        ld_shlibs=no
                   10604:       fi
                   10605:       ;;
                   10606: 
                   10607:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10608:       case `$LD -v 2>&1` in
                   10609:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10610:        ld_shlibs=no
                   10611:        cat <<_LT_EOF 1>&2
                   10612: 
                   10613: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10614: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10615: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10616: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10617: *** your PATH or compiler configuration so that the native linker is
                   10618: *** used, and then restart.
                   10619: 
                   10620: _LT_EOF
                   10621:        ;;
                   10622:        *)
                   10623:          # For security reasons, it is highly recommended that you always
                   10624:          # use absolute paths for naming shared libraries, and exclude the
                   10625:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10626:          # requires that you compile everything twice, which is a pain.
                   10627:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10628:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10629:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10630:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10631:          else
                   10632:            ld_shlibs=no
                   10633:          fi
                   10634:        ;;
                   10635:       esac
                   10636:       ;;
                   10637: 
                   10638:     sunos4*)
                   10639:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10640:       wlarc=
                   10641:       hardcode_direct=yes
                   10642:       hardcode_shlibpath_var=no
                   10643:       ;;
                   10644: 
                   10645:     *)
                   10646:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10647:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10648:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10649:       else
                   10650:        ld_shlibs=no
                   10651:       fi
                   10652:       ;;
                   10653:     esac
                   10654: 
                   10655:     if test "$ld_shlibs" = no; then
                   10656:       runpath_var=
                   10657:       hardcode_libdir_flag_spec=
                   10658:       export_dynamic_flag_spec=
                   10659:       whole_archive_flag_spec=
                   10660:     fi
                   10661:   else
                   10662:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10663:     case $host_os in
                   10664:     aix3*)
                   10665:       allow_undefined_flag=unsupported
                   10666:       always_export_symbols=yes
                   10667:       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'
                   10668:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10669:       # are no directories specified by -L.
                   10670:       hardcode_minus_L=yes
                   10671:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10672:        # Neither direct hardcoding nor static linking is supported with a
                   10673:        # broken collect2.
                   10674:        hardcode_direct=unsupported
                   10675:       fi
                   10676:       ;;
                   10677: 
                   10678:     aix[4-9]*)
                   10679:       if test "$host_cpu" = ia64; then
                   10680:        # On IA64, the linker does run time linking by default, so we don't
                   10681:        # have to do anything special.
                   10682:        aix_use_runtimelinking=no
                   10683:        exp_sym_flag='-Bexport'
                   10684:        no_entry_flag=""
                   10685:       else
                   10686:        # If we're using GNU nm, then we don't want the "-C" option.
                   10687:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10688:        # Also, AIX nm treats weak defined symbols like other global
                   10689:        # defined symbols, whereas GNU nm marks them as "W".
                   10690:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10691:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   10692:        else
                   10693:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   10694:        fi
                   10695:        aix_use_runtimelinking=no
                   10696: 
                   10697:        # Test if we are trying to use run time linking or normal
                   10698:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10699:        # need to do runtime linking.
                   10700:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10701:          for ld_flag in $LDFLAGS; do
                   10702:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10703:            aix_use_runtimelinking=yes
                   10704:            break
                   10705:          fi
                   10706:          done
                   10707:          ;;
                   10708:        esac
                   10709: 
                   10710:        exp_sym_flag='-bexport'
                   10711:        no_entry_flag='-bnoentry'
                   10712:       fi
                   10713: 
                   10714:       # When large executables or shared objects are built, AIX ld can
                   10715:       # have problems creating the table of contents.  If linking a library
                   10716:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10717:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10718:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10719: 
                   10720:       archive_cmds=''
                   10721:       hardcode_direct=yes
                   10722:       hardcode_direct_absolute=yes
                   10723:       hardcode_libdir_separator=':'
                   10724:       link_all_deplibs=yes
                   10725:       file_list_spec='${wl}-f,'
                   10726: 
                   10727:       if test "$GCC" = yes; then
                   10728:        case $host_os in aix4.[012]|aix4.[012].*)
                   10729:        # We only want to do this on AIX 4.2 and lower, the check
                   10730:        # below for broken collect2 doesn't work under 4.3+
                   10731:          collect2name=`${CC} -print-prog-name=collect2`
                   10732:          if test -f "$collect2name" &&
                   10733:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10734:          then
                   10735:          # We have reworked collect2
                   10736:          :
                   10737:          else
                   10738:          # We have old collect2
                   10739:          hardcode_direct=unsupported
                   10740:          # It fails to find uninstalled libraries when the uninstalled
                   10741:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10742:          # to unsupported forces relinking
                   10743:          hardcode_minus_L=yes
                   10744:          hardcode_libdir_flag_spec='-L$libdir'
                   10745:          hardcode_libdir_separator=
                   10746:          fi
                   10747:          ;;
                   10748:        esac
                   10749:        shared_flag='-shared'
                   10750:        if test "$aix_use_runtimelinking" = yes; then
                   10751:          shared_flag="$shared_flag "'${wl}-G'
                   10752:        fi
                   10753:       else
                   10754:        # not using gcc
                   10755:        if test "$host_cpu" = ia64; then
                   10756:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10757:        # chokes on -Wl,-G. The following line is correct:
                   10758:          shared_flag='-G'
                   10759:        else
                   10760:          if test "$aix_use_runtimelinking" = yes; then
                   10761:            shared_flag='${wl}-G'
                   10762:          else
                   10763:            shared_flag='${wl}-bM:SRE'
                   10764:          fi
                   10765:        fi
                   10766:       fi
                   10767: 
                   10768:       export_dynamic_flag_spec='${wl}-bexpall'
                   10769:       # It seems that -bexpall does not export symbols beginning with
                   10770:       # underscore (_), so it is better to generate a list of symbols to export.
                   10771:       always_export_symbols=yes
                   10772:       if test "$aix_use_runtimelinking" = yes; then
                   10773:        # Warning - without using the other runtime loading flags (-brtl),
                   10774:        # -berok will link without error, but may produce a broken library.
                   10775:        allow_undefined_flag='-berok'
                   10776:         # Determine the default libpath from the value encoded in an
                   10777:         # empty executable.
                   10778:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10779:   aix_libpath=$lt_cv_aix_libpath
                   10780: else
1.150     moko     10781:   if ${lt_cv_aix_libpath_+:} false; then :
                   10782:   $as_echo_n "(cached) " >&6
1.128     moko     10783: else
1.150     moko     10784:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10785: /* end confdefs.h.  */
                   10786: 
                   10787: int
                   10788: main ()
                   10789: {
                   10790: 
                   10791:   ;
                   10792:   return 0;
                   10793: }
                   10794: _ACEOF
1.150     moko     10795: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10796: 
                   10797:   lt_aix_libpath_sed='
                   10798:       /Import File Strings/,/^$/ {
                   10799:          /^0/ {
                   10800:              s/^0  *\([^ ]*\) *$/\1/
                   10801:              p
                   10802:          }
                   10803:       }'
                   10804:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10805:   # Check for a 64-bit object if we didn't find anything.
                   10806:   if test -z "$lt_cv_aix_libpath_"; then
                   10807:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10808:   fi
                   10809: fi
1.150     moko     10810: rm -f core conftest.err conftest.$ac_objext \
                   10811:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10812:   if test -z "$lt_cv_aix_libpath_"; then
                   10813:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10814:   fi
                   10815: 
                   10816: fi
                   10817: 
                   10818:   aix_libpath=$lt_cv_aix_libpath_
                   10819: fi
                   10820: 
                   10821:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10822:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   10823:       else
                   10824:        if test "$host_cpu" = ia64; then
                   10825:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10826:          allow_undefined_flag="-z nodefs"
                   10827:          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"
                   10828:        else
                   10829:         # Determine the default libpath from the value encoded in an
                   10830:         # empty executable.
                   10831:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10832:   aix_libpath=$lt_cv_aix_libpath
                   10833: else
1.150     moko     10834:   if ${lt_cv_aix_libpath_+:} false; then :
                   10835:   $as_echo_n "(cached) " >&6
1.128     moko     10836: else
1.150     moko     10837:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10838: /* end confdefs.h.  */
                   10839: 
                   10840: int
                   10841: main ()
                   10842: {
                   10843: 
                   10844:   ;
                   10845:   return 0;
                   10846: }
                   10847: _ACEOF
1.150     moko     10848: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10849: 
                   10850:   lt_aix_libpath_sed='
                   10851:       /Import File Strings/,/^$/ {
                   10852:          /^0/ {
                   10853:              s/^0  *\([^ ]*\) *$/\1/
                   10854:              p
                   10855:          }
                   10856:       }'
                   10857:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10858:   # Check for a 64-bit object if we didn't find anything.
                   10859:   if test -z "$lt_cv_aix_libpath_"; then
                   10860:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10861:   fi
                   10862: fi
1.150     moko     10863: rm -f core conftest.err conftest.$ac_objext \
                   10864:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10865:   if test -z "$lt_cv_aix_libpath_"; then
                   10866:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10867:   fi
                   10868: 
                   10869: fi
                   10870: 
                   10871:   aix_libpath=$lt_cv_aix_libpath_
                   10872: fi
                   10873: 
                   10874:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10875:          # Warning - without using the other run time loading flags,
                   10876:          # -berok will link without error, but may produce a broken library.
                   10877:          no_undefined_flag=' ${wl}-bernotok'
                   10878:          allow_undefined_flag=' ${wl}-berok'
                   10879:          if test "$with_gnu_ld" = yes; then
                   10880:            # We only use this code for GNU lds that support --whole-archive.
                   10881:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10882:          else
                   10883:            # Exported symbols can be pulled into shared objects from archives
                   10884:            whole_archive_flag_spec='$convenience'
                   10885:          fi
                   10886:          archive_cmds_need_lc=yes
                   10887:          # This is similar to how AIX traditionally builds its shared libraries.
                   10888:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   10889:        fi
                   10890:       fi
                   10891:       ;;
                   10892: 
                   10893:     amigaos*)
                   10894:       case $host_cpu in
                   10895:       powerpc)
                   10896:             # see comment about AmigaOS4 .so support
                   10897:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10898:             archive_expsym_cmds=''
                   10899:         ;;
                   10900:       m68k)
                   10901:             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)'
                   10902:             hardcode_libdir_flag_spec='-L$libdir'
                   10903:             hardcode_minus_L=yes
                   10904:         ;;
                   10905:       esac
                   10906:       ;;
                   10907: 
                   10908:     bsdi[45]*)
                   10909:       export_dynamic_flag_spec=-rdynamic
                   10910:       ;;
                   10911: 
                   10912:     cygwin* | mingw* | pw32* | cegcc*)
                   10913:       # When not using gcc, we currently assume that we are using
                   10914:       # Microsoft Visual C++.
                   10915:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10916:       # no search path for DLLs.
                   10917:       case $cc_basename in
                   10918:       cl*)
                   10919:        # Native MSVC
                   10920:        hardcode_libdir_flag_spec=' '
                   10921:        allow_undefined_flag=unsupported
                   10922:        always_export_symbols=yes
                   10923:        file_list_spec='@'
                   10924:        # Tell ltmain to make .lib files, not .a files.
                   10925:        libext=lib
                   10926:        # Tell ltmain to make .dll files, not .so files.
                   10927:        shrext_cmds=".dll"
                   10928:        # FIXME: Setting linknames here is a bad hack.
                   10929:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10930:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10931:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10932:          else
                   10933:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10934:          fi~
                   10935:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10936:          linknames='
                   10937:        # The linker will not automatically build a static lib if we build a DLL.
                   10938:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10939:        enable_shared_with_static_runtimes=yes
                   10940:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10941:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10942:        # Don't use ranlib
                   10943:        old_postinstall_cmds='chmod 644 $oldlib'
                   10944:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10945:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10946:          case $lt_outputfile in
                   10947:            *.exe|*.EXE) ;;
                   10948:            *)
                   10949:              lt_outputfile="$lt_outputfile.exe"
                   10950:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10951:              ;;
                   10952:          esac~
                   10953:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10954:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10955:            $RM "$lt_outputfile.manifest";
                   10956:          fi'
                   10957:        ;;
                   10958:       *)
                   10959:        # Assume MSVC wrapper
                   10960:        hardcode_libdir_flag_spec=' '
                   10961:        allow_undefined_flag=unsupported
                   10962:        # Tell ltmain to make .lib files, not .a files.
                   10963:        libext=lib
                   10964:        # Tell ltmain to make .dll files, not .so files.
                   10965:        shrext_cmds=".dll"
                   10966:        # FIXME: Setting linknames here is a bad hack.
                   10967:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10968:        # The linker will automatically build a .lib file if we build a DLL.
                   10969:        old_archive_from_new_cmds='true'
                   10970:        # FIXME: Should let the user specify the lib program.
                   10971:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10972:        enable_shared_with_static_runtimes=yes
                   10973:        ;;
                   10974:       esac
                   10975:       ;;
                   10976: 
                   10977:     darwin* | rhapsody*)
                   10978: 
                   10979: 
                   10980:   archive_cmds_need_lc=no
                   10981:   hardcode_direct=no
                   10982:   hardcode_automatic=yes
                   10983:   hardcode_shlibpath_var=unsupported
                   10984:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10985:     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\"`'
                   10986: 
                   10987:   else
                   10988:     whole_archive_flag_spec=''
                   10989:   fi
                   10990:   link_all_deplibs=yes
                   10991:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10992:   case $cc_basename in
                   10993:      ifort*) _lt_dar_can_shared=yes ;;
                   10994:      *) _lt_dar_can_shared=$GCC ;;
                   10995:   esac
                   10996:   if test "$_lt_dar_can_shared" = "yes"; then
                   10997:     output_verbose_link_cmd=func_echo_all
                   10998:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10999:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11000:     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}"
                   11001:     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}"
                   11002: 
                   11003:   else
                   11004:   ld_shlibs=no
                   11005:   fi
                   11006: 
                   11007:       ;;
                   11008: 
                   11009:     dgux*)
                   11010:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11011:       hardcode_libdir_flag_spec='-L$libdir'
                   11012:       hardcode_shlibpath_var=no
                   11013:       ;;
                   11014: 
                   11015:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11016:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11017:     # does not break anything, and helps significantly (at the cost of a little
                   11018:     # extra space).
                   11019:     freebsd2.2*)
                   11020:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11021:       hardcode_libdir_flag_spec='-R$libdir'
                   11022:       hardcode_direct=yes
                   11023:       hardcode_shlibpath_var=no
                   11024:       ;;
                   11025: 
                   11026:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11027:     freebsd2.*)
                   11028:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11029:       hardcode_direct=yes
                   11030:       hardcode_minus_L=yes
                   11031:       hardcode_shlibpath_var=no
                   11032:       ;;
                   11033: 
                   11034:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11035:     freebsd* | dragonfly*)
                   11036:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11037:       hardcode_libdir_flag_spec='-R$libdir'
                   11038:       hardcode_direct=yes
                   11039:       hardcode_shlibpath_var=no
                   11040:       ;;
                   11041: 
                   11042:     hpux9*)
                   11043:       if test "$GCC" = yes; then
                   11044:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   11045:       else
                   11046:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   11047:       fi
                   11048:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11049:       hardcode_libdir_separator=:
                   11050:       hardcode_direct=yes
                   11051: 
                   11052:       # hardcode_minus_L: Not really in the search PATH,
                   11053:       # but as the default location of the library.
                   11054:       hardcode_minus_L=yes
                   11055:       export_dynamic_flag_spec='${wl}-E'
                   11056:       ;;
                   11057: 
                   11058:     hpux10*)
                   11059:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11060:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11061:       else
                   11062:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11063:       fi
                   11064:       if test "$with_gnu_ld" = no; then
                   11065:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11066:        hardcode_libdir_separator=:
                   11067:        hardcode_direct=yes
                   11068:        hardcode_direct_absolute=yes
                   11069:        export_dynamic_flag_spec='${wl}-E'
                   11070:        # hardcode_minus_L: Not really in the search PATH,
                   11071:        # but as the default location of the library.
                   11072:        hardcode_minus_L=yes
                   11073:       fi
                   11074:       ;;
                   11075: 
                   11076:     hpux11*)
                   11077:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11078:        case $host_cpu in
                   11079:        hppa*64*)
                   11080:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11081:          ;;
                   11082:        ia64*)
                   11083:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11084:          ;;
                   11085:        *)
                   11086:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11087:          ;;
                   11088:        esac
                   11089:       else
                   11090:        case $host_cpu in
                   11091:        hppa*64*)
                   11092:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11093:          ;;
                   11094:        ia64*)
                   11095:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11096:          ;;
                   11097:        *)
                   11098: 
                   11099:          # Older versions of the 11.00 compiler do not understand -b yet
                   11100:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     11101:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11102: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11103: if ${lt_cv_prog_compiler__b+:} false; then :
                   11104:   $as_echo_n "(cached) " >&6
1.128     moko     11105: else
                   11106:   lt_cv_prog_compiler__b=no
                   11107:    save_LDFLAGS="$LDFLAGS"
                   11108:    LDFLAGS="$LDFLAGS -b"
                   11109:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11110:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11111:      # The linker can only warn and ignore the option if not recognized
                   11112:      # So say no if there are warnings
                   11113:      if test -s conftest.err; then
                   11114:        # Append any errors to the config.log.
                   11115:        cat conftest.err 1>&5
                   11116:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11117:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11118:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11119:          lt_cv_prog_compiler__b=yes
                   11120:        fi
                   11121:      else
                   11122:        lt_cv_prog_compiler__b=yes
                   11123:      fi
                   11124:    fi
                   11125:    $RM -r conftest*
                   11126:    LDFLAGS="$save_LDFLAGS"
                   11127: 
                   11128: fi
1.150     moko     11129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11130: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     11131: 
                   11132: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11133:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11134: else
                   11135:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11136: fi
                   11137: 
                   11138:          ;;
                   11139:        esac
                   11140:       fi
                   11141:       if test "$with_gnu_ld" = no; then
                   11142:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11143:        hardcode_libdir_separator=:
                   11144: 
                   11145:        case $host_cpu in
                   11146:        hppa*64*|ia64*)
                   11147:          hardcode_direct=no
                   11148:          hardcode_shlibpath_var=no
                   11149:          ;;
                   11150:        *)
                   11151:          hardcode_direct=yes
                   11152:          hardcode_direct_absolute=yes
                   11153:          export_dynamic_flag_spec='${wl}-E'
                   11154: 
                   11155:          # hardcode_minus_L: Not really in the search PATH,
                   11156:          # but as the default location of the library.
                   11157:          hardcode_minus_L=yes
                   11158:          ;;
                   11159:        esac
                   11160:       fi
                   11161:       ;;
                   11162: 
                   11163:     irix5* | irix6* | nonstopux*)
                   11164:       if test "$GCC" = yes; then
                   11165:        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'
                   11166:        # Try to use the -exported_symbol ld option, if it does not
                   11167:        # work, assume that -exports_file does not work either and
                   11168:        # implicitly export all symbols.
                   11169:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     11170:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11171: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11172: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11173:   $as_echo_n "(cached) " >&6
1.128     moko     11174: else
                   11175:   save_LDFLAGS="$LDFLAGS"
                   11176:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     11177:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11178: /* end confdefs.h.  */
                   11179: int foo (void) { return 0; }
                   11180: _ACEOF
1.150     moko     11181: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11182:   lt_cv_irix_exported_symbol=yes
                   11183: else
1.150     moko     11184:   lt_cv_irix_exported_symbol=no
1.128     moko     11185: fi
1.150     moko     11186: rm -f core conftest.err conftest.$ac_objext \
                   11187:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11188:            LDFLAGS="$save_LDFLAGS"
                   11189: fi
1.150     moko     11190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11191: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     11192:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11193:           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'
                   11194:        fi
                   11195:       else
                   11196:        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'
                   11197:        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'
                   11198:       fi
                   11199:       archive_cmds_need_lc='no'
                   11200:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11201:       hardcode_libdir_separator=:
                   11202:       inherit_rpath=yes
                   11203:       link_all_deplibs=yes
                   11204:       ;;
                   11205: 
                   11206:     netbsd*)
                   11207:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11208:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11209:       else
                   11210:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11211:       fi
                   11212:       hardcode_libdir_flag_spec='-R$libdir'
                   11213:       hardcode_direct=yes
                   11214:       hardcode_shlibpath_var=no
                   11215:       ;;
                   11216: 
                   11217:     newsos6)
                   11218:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11219:       hardcode_direct=yes
                   11220:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11221:       hardcode_libdir_separator=:
                   11222:       hardcode_shlibpath_var=no
                   11223:       ;;
                   11224: 
                   11225:     *nto* | *qnx*)
                   11226:       ;;
                   11227: 
                   11228:     openbsd*)
                   11229:       if test -f /usr/libexec/ld.so; then
                   11230:        hardcode_direct=yes
                   11231:        hardcode_shlibpath_var=no
                   11232:        hardcode_direct_absolute=yes
                   11233:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11234:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11235:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11236:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11237:          export_dynamic_flag_spec='${wl}-E'
                   11238:        else
                   11239:          case $host_os in
                   11240:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11241:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11242:             hardcode_libdir_flag_spec='-R$libdir'
                   11243:             ;;
                   11244:           *)
                   11245:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11246:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11247:             ;;
                   11248:          esac
                   11249:        fi
                   11250:       else
                   11251:        ld_shlibs=no
                   11252:       fi
                   11253:       ;;
                   11254: 
                   11255:     os2*)
                   11256:       hardcode_libdir_flag_spec='-L$libdir'
                   11257:       hardcode_minus_L=yes
                   11258:       allow_undefined_flag=unsupported
                   11259:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   11260:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11261:       ;;
                   11262: 
                   11263:     osf3*)
                   11264:       if test "$GCC" = yes; then
                   11265:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11266:        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'
                   11267:       else
                   11268:        allow_undefined_flag=' -expect_unresolved \*'
                   11269:        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'
                   11270:       fi
                   11271:       archive_cmds_need_lc='no'
                   11272:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11273:       hardcode_libdir_separator=:
                   11274:       ;;
                   11275: 
                   11276:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11277:       if test "$GCC" = yes; then
                   11278:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11279:        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'
                   11280:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11281:       else
                   11282:        allow_undefined_flag=' -expect_unresolved \*'
                   11283:        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'
                   11284:        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~
                   11285:        $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'
                   11286: 
                   11287:        # Both c and cxx compiler support -rpath directly
                   11288:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11289:       fi
                   11290:       archive_cmds_need_lc='no'
                   11291:       hardcode_libdir_separator=:
                   11292:       ;;
                   11293: 
                   11294:     solaris*)
                   11295:       no_undefined_flag=' -z defs'
                   11296:       if test "$GCC" = yes; then
                   11297:        wlarc='${wl}'
                   11298:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11299:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11300:          $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'
                   11301:       else
                   11302:        case `$CC -V 2>&1` in
                   11303:        *"Compilers 5.0"*)
                   11304:          wlarc=''
                   11305:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11306:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11307:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11308:          ;;
                   11309:        *)
                   11310:          wlarc='${wl}'
                   11311:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11312:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11313:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11314:          ;;
                   11315:        esac
                   11316:       fi
                   11317:       hardcode_libdir_flag_spec='-R$libdir'
                   11318:       hardcode_shlibpath_var=no
                   11319:       case $host_os in
                   11320:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11321:       *)
                   11322:        # The compiler driver will combine and reorder linker options,
                   11323:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11324:        # but is careful enough not to reorder.
                   11325:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11326:        if test "$GCC" = yes; then
                   11327:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11328:        else
                   11329:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11330:        fi
                   11331:        ;;
                   11332:       esac
                   11333:       link_all_deplibs=yes
                   11334:       ;;
                   11335: 
                   11336:     sunos4*)
                   11337:       if test "x$host_vendor" = xsequent; then
                   11338:        # Use $CC to link under sequent, because it throws in some extra .o
                   11339:        # files that make .init and .fini sections work.
                   11340:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11341:       else
                   11342:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11343:       fi
                   11344:       hardcode_libdir_flag_spec='-L$libdir'
                   11345:       hardcode_direct=yes
                   11346:       hardcode_minus_L=yes
                   11347:       hardcode_shlibpath_var=no
                   11348:       ;;
                   11349: 
                   11350:     sysv4)
                   11351:       case $host_vendor in
                   11352:        sni)
                   11353:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11354:          hardcode_direct=yes # is this really true???
                   11355:        ;;
                   11356:        siemens)
                   11357:          ## LD is ld it makes a PLAMLIB
                   11358:          ## CC just makes a GrossModule.
                   11359:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11360:          reload_cmds='$CC -r -o $output$reload_objs'
                   11361:          hardcode_direct=no
                   11362:         ;;
                   11363:        motorola)
                   11364:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11365:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11366:        ;;
                   11367:       esac
                   11368:       runpath_var='LD_RUN_PATH'
                   11369:       hardcode_shlibpath_var=no
                   11370:       ;;
                   11371: 
                   11372:     sysv4.3*)
                   11373:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11374:       hardcode_shlibpath_var=no
                   11375:       export_dynamic_flag_spec='-Bexport'
                   11376:       ;;
                   11377: 
                   11378:     sysv4*MP*)
                   11379:       if test -d /usr/nec; then
                   11380:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11381:        hardcode_shlibpath_var=no
                   11382:        runpath_var=LD_RUN_PATH
                   11383:        hardcode_runpath_var=yes
                   11384:        ld_shlibs=yes
                   11385:       fi
                   11386:       ;;
                   11387: 
                   11388:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11389:       no_undefined_flag='${wl}-z,text'
                   11390:       archive_cmds_need_lc=no
                   11391:       hardcode_shlibpath_var=no
                   11392:       runpath_var='LD_RUN_PATH'
                   11393: 
                   11394:       if test "$GCC" = yes; then
                   11395:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11396:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11397:       else
                   11398:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11399:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11400:       fi
                   11401:       ;;
                   11402: 
                   11403:     sysv5* | sco3.2v5* | sco5v6*)
                   11404:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11405:       # link with -lc, and that would cause any symbols used from libc to
                   11406:       # always be unresolved, which means just about no library would
                   11407:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11408:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11409:       # as -z defs.
                   11410:       no_undefined_flag='${wl}-z,text'
                   11411:       allow_undefined_flag='${wl}-z,nodefs'
                   11412:       archive_cmds_need_lc=no
                   11413:       hardcode_shlibpath_var=no
                   11414:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11415:       hardcode_libdir_separator=':'
                   11416:       link_all_deplibs=yes
                   11417:       export_dynamic_flag_spec='${wl}-Bexport'
                   11418:       runpath_var='LD_RUN_PATH'
                   11419: 
                   11420:       if test "$GCC" = yes; then
                   11421:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11422:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11423:       else
                   11424:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11425:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11426:       fi
                   11427:       ;;
                   11428: 
                   11429:     uts4*)
                   11430:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11431:       hardcode_libdir_flag_spec='-L$libdir'
                   11432:       hardcode_shlibpath_var=no
                   11433:       ;;
                   11434: 
                   11435:     *)
                   11436:       ld_shlibs=no
                   11437:       ;;
                   11438:     esac
                   11439: 
                   11440:     if test x$host_vendor = xsni; then
                   11441:       case $host in
                   11442:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11443:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11444:        ;;
                   11445:       esac
                   11446:     fi
                   11447:   fi
                   11448: 
1.150     moko     11449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11450: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11451: test "$ld_shlibs" = no && can_build_shared=no
                   11452: 
                   11453: with_gnu_ld=$with_gnu_ld
                   11454: 
                   11455: 
                   11456: 
                   11457: 
                   11458: 
                   11459: 
                   11460: 
                   11461: 
                   11462: 
                   11463: 
                   11464: 
                   11465: 
                   11466: 
                   11467: 
                   11468: 
                   11469: #
                   11470: # Do we need to explicitly link libc?
                   11471: #
                   11472: case "x$archive_cmds_need_lc" in
                   11473: x|xyes)
                   11474:   # Assume -lc should be added
                   11475:   archive_cmds_need_lc=yes
                   11476: 
                   11477:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11478:     case $archive_cmds in
                   11479:     *'~'*)
                   11480:       # FIXME: we may have to deal with multi-command sequences.
                   11481:       ;;
                   11482:     '$CC '*)
                   11483:       # Test whether the compiler implicitly links with -lc since on some
                   11484:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11485:       # to ld, don't add -lc before -lgcc.
1.150     moko     11486:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11487: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11488: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11489:   $as_echo_n "(cached) " >&6
1.128     moko     11490: else
                   11491:   $RM conftest*
                   11492:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11493: 
1.150     moko     11494:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11495:   (eval $ac_compile) 2>&5
                   11496:   ac_status=$?
1.150     moko     11497:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11498:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11499:          soname=conftest
                   11500:          lib=conftest
                   11501:          libobjs=conftest.$ac_objext
                   11502:          deplibs=
                   11503:          wl=$lt_prog_compiler_wl
                   11504:          pic_flag=$lt_prog_compiler_pic
                   11505:          compiler_flags=-v
                   11506:          linker_flags=-v
                   11507:          verstring=
                   11508:          output_objdir=.
                   11509:          libname=conftest
                   11510:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11511:          allow_undefined_flag=
1.150     moko     11512:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11513:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11514:   ac_status=$?
1.150     moko     11515:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11516:   test $ac_status = 0; }
1.128     moko     11517:          then
                   11518:            lt_cv_archive_cmds_need_lc=no
                   11519:          else
                   11520:            lt_cv_archive_cmds_need_lc=yes
                   11521:          fi
                   11522:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11523:        else
                   11524:          cat conftest.err 1>&5
                   11525:        fi
                   11526:        $RM conftest*
                   11527: 
                   11528: fi
1.150     moko     11529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11530: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11531:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11532:       ;;
                   11533:     esac
                   11534:   fi
                   11535:   ;;
                   11536: esac
                   11537: 
                   11538: 
                   11539: 
                   11540: 
                   11541: 
                   11542: 
                   11543: 
                   11544: 
                   11545: 
                   11546: 
                   11547: 
                   11548: 
                   11549: 
                   11550: 
                   11551: 
                   11552: 
                   11553: 
                   11554: 
                   11555: 
                   11556: 
                   11557: 
                   11558: 
                   11559: 
                   11560: 
                   11561: 
                   11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575: 
                   11576: 
                   11577: 
                   11578: 
                   11579: 
                   11580: 
                   11581: 
                   11582: 
                   11583: 
                   11584: 
                   11585: 
                   11586: 
                   11587: 
                   11588: 
                   11589: 
                   11590: 
                   11591: 
                   11592: 
                   11593: 
                   11594: 
                   11595: 
                   11596: 
                   11597: 
                   11598: 
                   11599: 
                   11600: 
                   11601: 
                   11602: 
                   11603: 
                   11604: 
                   11605: 
                   11606: 
                   11607: 
                   11608: 
                   11609: 
                   11610: 
                   11611: 
                   11612: 
                   11613: 
                   11614: 
                   11615: 
                   11616: 
                   11617: 
                   11618: 
                   11619: 
                   11620: 
                   11621: 
                   11622: 
                   11623: 
                   11624: 
                   11625: 
                   11626: 
                   11627: 
                   11628: 
                   11629: 
                   11630: 
                   11631: 
                   11632: 
                   11633: 
                   11634: 
                   11635: 
                   11636: 
                   11637: 
                   11638: 
                   11639: 
                   11640: 
                   11641: 
                   11642: 
                   11643: 
                   11644: 
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: 
                   11673: 
                   11674: 
                   11675: 
                   11676: 
                   11677: 
                   11678: 
                   11679: 
                   11680: 
                   11681: 
                   11682: 
                   11683: 
                   11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: 
1.150     moko     11689:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11690: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11691: 
                   11692: if test "$GCC" = yes; then
                   11693:   case $host_os in
                   11694:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11695:     *) lt_awk_arg="/^libraries:/" ;;
                   11696:   esac
                   11697:   case $host_os in
                   11698:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11699:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11700:   esac
                   11701:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11702:   case $lt_search_path_spec in
                   11703:   *\;*)
                   11704:     # if the path contains ";" then we assume it to be the separator
                   11705:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11706:     # assumed that no part of a normal pathname contains ";" but that should
                   11707:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11708:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11709:     ;;
                   11710:   *)
                   11711:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11712:     ;;
                   11713:   esac
                   11714:   # Ok, now we have the path, separated by spaces, we can step through it
                   11715:   # and add multilib dir if necessary.
                   11716:   lt_tmp_lt_search_path_spec=
                   11717:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11718:   for lt_sys_path in $lt_search_path_spec; do
                   11719:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11720:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11721:     else
                   11722:       test -d "$lt_sys_path" && \
                   11723:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11724:     fi
                   11725:   done
                   11726:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11727: BEGIN {RS=" "; FS="/|\n";} {
                   11728:   lt_foo="";
                   11729:   lt_count=0;
                   11730:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11731:     if ($lt_i != "" && $lt_i != ".") {
                   11732:       if ($lt_i == "..") {
                   11733:         lt_count++;
                   11734:       } else {
                   11735:         if (lt_count == 0) {
                   11736:           lt_foo="/" $lt_i lt_foo;
                   11737:         } else {
                   11738:           lt_count--;
                   11739:         }
                   11740:       }
                   11741:     }
                   11742:   }
                   11743:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11744:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11745: }'`
                   11746:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11747:   # for these hosts.
                   11748:   case $host_os in
                   11749:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11750:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11751:   esac
                   11752:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11753: else
                   11754:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11755: fi
                   11756: library_names_spec=
                   11757: libname_spec='lib$name'
                   11758: soname_spec=
                   11759: shrext_cmds=".so"
                   11760: postinstall_cmds=
                   11761: postuninstall_cmds=
                   11762: finish_cmds=
                   11763: finish_eval=
                   11764: shlibpath_var=
                   11765: shlibpath_overrides_runpath=unknown
                   11766: version_type=none
                   11767: dynamic_linker="$host_os ld.so"
                   11768: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11769: need_lib_prefix=unknown
                   11770: hardcode_into_libs=no
                   11771: 
                   11772: # when you set need_version to no, make sure it does not cause -set_version
                   11773: # flags to be left without arguments
                   11774: need_version=unknown
                   11775: 
                   11776: case $host_os in
                   11777: aix3*)
                   11778:   version_type=linux # correct to gnu/linux during the next big refactor
                   11779:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11780:   shlibpath_var=LIBPATH
                   11781: 
                   11782:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11783:   soname_spec='${libname}${release}${shared_ext}$major'
                   11784:   ;;
                   11785: 
                   11786: aix[4-9]*)
                   11787:   version_type=linux # correct to gnu/linux during the next big refactor
                   11788:   need_lib_prefix=no
                   11789:   need_version=no
                   11790:   hardcode_into_libs=yes
                   11791:   if test "$host_cpu" = ia64; then
                   11792:     # AIX 5 supports IA64
                   11793:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11794:     shlibpath_var=LD_LIBRARY_PATH
                   11795:   else
                   11796:     # With GCC up to 2.95.x, collect2 would create an import file
                   11797:     # for dependence libraries.  The import file would start with
                   11798:     # the line `#! .'.  This would cause the generated library to
                   11799:     # depend on `.', always an invalid library.  This was fixed in
                   11800:     # development snapshots of GCC prior to 3.0.
                   11801:     case $host_os in
                   11802:       aix4 | aix4.[01] | aix4.[01].*)
                   11803:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11804:           echo ' yes '
                   11805:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11806:        :
                   11807:       else
                   11808:        can_build_shared=no
                   11809:       fi
                   11810:       ;;
                   11811:     esac
                   11812:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11813:     # soname into executable. Probably we can add versioning support to
                   11814:     # collect2, so additional links can be useful in future.
                   11815:     if test "$aix_use_runtimelinking" = yes; then
                   11816:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11817:       # instead of lib<name>.a to let people know that these are not
                   11818:       # typical AIX shared libraries.
                   11819:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11820:     else
                   11821:       # We preserve .a as extension for shared libraries through AIX4.2
                   11822:       # and later when we are not doing run time linking.
                   11823:       library_names_spec='${libname}${release}.a $libname.a'
                   11824:       soname_spec='${libname}${release}${shared_ext}$major'
                   11825:     fi
                   11826:     shlibpath_var=LIBPATH
                   11827:   fi
                   11828:   ;;
                   11829: 
                   11830: amigaos*)
                   11831:   case $host_cpu in
                   11832:   powerpc)
                   11833:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11834:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11835:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11836:     ;;
                   11837:   m68k)
                   11838:     library_names_spec='$libname.ixlibrary $libname.a'
                   11839:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11840:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   11841:     ;;
                   11842:   esac
                   11843:   ;;
                   11844: 
                   11845: beos*)
                   11846:   library_names_spec='${libname}${shared_ext}'
                   11847:   dynamic_linker="$host_os ld.so"
                   11848:   shlibpath_var=LIBRARY_PATH
                   11849:   ;;
                   11850: 
                   11851: bsdi[45]*)
                   11852:   version_type=linux # correct to gnu/linux during the next big refactor
                   11853:   need_version=no
                   11854:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11855:   soname_spec='${libname}${release}${shared_ext}$major'
                   11856:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11857:   shlibpath_var=LD_LIBRARY_PATH
                   11858:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11859:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11860:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11861:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11862:   # libtool to hard-code these into programs
                   11863:   ;;
                   11864: 
                   11865: cygwin* | mingw* | pw32* | cegcc*)
                   11866:   version_type=windows
                   11867:   shrext_cmds=".dll"
                   11868:   need_version=no
                   11869:   need_lib_prefix=no
                   11870: 
                   11871:   case $GCC,$cc_basename in
                   11872:   yes,*)
                   11873:     # gcc
                   11874:     library_names_spec='$libname.dll.a'
                   11875:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11876:     postinstall_cmds='base_file=`basename \${file}`~
                   11877:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11878:       dldir=$destdir/`dirname \$dlpath`~
                   11879:       test -d \$dldir || mkdir -p \$dldir~
                   11880:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11881:       chmod a+x \$dldir/$dlname~
                   11882:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11883:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11884:       fi'
                   11885:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11886:       dlpath=$dir/\$dldll~
                   11887:        $RM \$dlpath'
                   11888:     shlibpath_overrides_runpath=yes
                   11889: 
                   11890:     case $host_os in
                   11891:     cygwin*)
                   11892:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11893:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11894: 
                   11895:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11896:       ;;
                   11897:     mingw* | cegcc*)
                   11898:       # MinGW DLLs use traditional 'lib' prefix
                   11899:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11900:       ;;
                   11901:     pw32*)
                   11902:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11903:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11904:       ;;
                   11905:     esac
                   11906:     dynamic_linker='Win32 ld.exe'
                   11907:     ;;
                   11908: 
                   11909:   *,cl*)
                   11910:     # Native MSVC
                   11911:     libname_spec='$name'
                   11912:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11913:     library_names_spec='${libname}.dll.lib'
                   11914: 
                   11915:     case $build_os in
                   11916:     mingw*)
                   11917:       sys_lib_search_path_spec=
                   11918:       lt_save_ifs=$IFS
                   11919:       IFS=';'
                   11920:       for lt_path in $LIB
                   11921:       do
                   11922:         IFS=$lt_save_ifs
                   11923:         # Let DOS variable expansion print the short 8.3 style file name.
                   11924:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11925:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11926:       done
                   11927:       IFS=$lt_save_ifs
                   11928:       # Convert to MSYS style.
                   11929:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11930:       ;;
                   11931:     cygwin*)
                   11932:       # Convert to unix form, then to dos form, then back to unix form
                   11933:       # but this time dos style (no spaces!) so that the unix form looks
                   11934:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11935:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11936:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11937:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11938:       ;;
                   11939:     *)
                   11940:       sys_lib_search_path_spec="$LIB"
                   11941:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11942:         # It is most probably a Windows format PATH.
                   11943:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11944:       else
                   11945:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11946:       fi
                   11947:       # FIXME: find the short name or the path components, as spaces are
                   11948:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11949:       ;;
                   11950:     esac
                   11951: 
                   11952:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11953:     postinstall_cmds='base_file=`basename \${file}`~
                   11954:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11955:       dldir=$destdir/`dirname \$dlpath`~
                   11956:       test -d \$dldir || mkdir -p \$dldir~
                   11957:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11958:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11959:       dlpath=$dir/\$dldll~
                   11960:        $RM \$dlpath'
                   11961:     shlibpath_overrides_runpath=yes
                   11962:     dynamic_linker='Win32 link.exe'
                   11963:     ;;
                   11964: 
                   11965:   *)
                   11966:     # Assume MSVC wrapper
                   11967:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11968:     dynamic_linker='Win32 ld.exe'
                   11969:     ;;
                   11970:   esac
                   11971:   # FIXME: first we should search . and the directory the executable is in
                   11972:   shlibpath_var=PATH
                   11973:   ;;
                   11974: 
                   11975: darwin* | rhapsody*)
                   11976:   dynamic_linker="$host_os dyld"
                   11977:   version_type=darwin
                   11978:   need_lib_prefix=no
                   11979:   need_version=no
                   11980:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11981:   soname_spec='${libname}${release}${major}$shared_ext'
                   11982:   shlibpath_overrides_runpath=yes
                   11983:   shlibpath_var=DYLD_LIBRARY_PATH
                   11984:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11985: 
                   11986:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11987:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11988:   ;;
                   11989: 
                   11990: dgux*)
                   11991:   version_type=linux # correct to gnu/linux during the next big refactor
                   11992:   need_lib_prefix=no
                   11993:   need_version=no
                   11994:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11995:   soname_spec='${libname}${release}${shared_ext}$major'
                   11996:   shlibpath_var=LD_LIBRARY_PATH
                   11997:   ;;
                   11998: 
                   11999: freebsd* | dragonfly*)
                   12000:   # DragonFly does not have aout.  When/if they implement a new
                   12001:   # versioning mechanism, adjust this.
                   12002:   if test -x /usr/bin/objformat; then
                   12003:     objformat=`/usr/bin/objformat`
                   12004:   else
                   12005:     case $host_os in
                   12006:     freebsd[23].*) objformat=aout ;;
                   12007:     *) objformat=elf ;;
                   12008:     esac
                   12009:   fi
                   12010:   version_type=freebsd-$objformat
                   12011:   case $version_type in
                   12012:     freebsd-elf*)
                   12013:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12014:       need_version=no
                   12015:       need_lib_prefix=no
                   12016:       ;;
                   12017:     freebsd-*)
                   12018:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12019:       need_version=yes
                   12020:       ;;
                   12021:   esac
                   12022:   shlibpath_var=LD_LIBRARY_PATH
                   12023:   case $host_os in
                   12024:   freebsd2.*)
                   12025:     shlibpath_overrides_runpath=yes
                   12026:     ;;
                   12027:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12028:     shlibpath_overrides_runpath=yes
                   12029:     hardcode_into_libs=yes
                   12030:     ;;
                   12031:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12032:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12033:     shlibpath_overrides_runpath=no
                   12034:     hardcode_into_libs=yes
                   12035:     ;;
                   12036:   *) # from 4.6 on, and DragonFly
                   12037:     shlibpath_overrides_runpath=yes
                   12038:     hardcode_into_libs=yes
                   12039:     ;;
                   12040:   esac
                   12041:   ;;
                   12042: 
                   12043: gnu*)
                   12044:   version_type=linux # correct to gnu/linux during the next big refactor
                   12045:   need_lib_prefix=no
                   12046:   need_version=no
                   12047:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12048:   soname_spec='${libname}${release}${shared_ext}$major'
                   12049:   shlibpath_var=LD_LIBRARY_PATH
                   12050:   shlibpath_overrides_runpath=no
                   12051:   hardcode_into_libs=yes
                   12052:   ;;
                   12053: 
                   12054: haiku*)
                   12055:   version_type=linux # correct to gnu/linux during the next big refactor
                   12056:   need_lib_prefix=no
                   12057:   need_version=no
                   12058:   dynamic_linker="$host_os runtime_loader"
                   12059:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12060:   soname_spec='${libname}${release}${shared_ext}$major'
                   12061:   shlibpath_var=LIBRARY_PATH
                   12062:   shlibpath_overrides_runpath=yes
                   12063:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12064:   hardcode_into_libs=yes
                   12065:   ;;
                   12066: 
                   12067: hpux9* | hpux10* | hpux11*)
                   12068:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12069:   # link against other versions.
                   12070:   version_type=sunos
                   12071:   need_lib_prefix=no
                   12072:   need_version=no
                   12073:   case $host_cpu in
                   12074:   ia64*)
                   12075:     shrext_cmds='.so'
                   12076:     hardcode_into_libs=yes
                   12077:     dynamic_linker="$host_os dld.so"
                   12078:     shlibpath_var=LD_LIBRARY_PATH
                   12079:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12080:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12081:     soname_spec='${libname}${release}${shared_ext}$major'
                   12082:     if test "X$HPUX_IA64_MODE" = X32; then
                   12083:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12084:     else
                   12085:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12086:     fi
                   12087:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12088:     ;;
                   12089:   hppa*64*)
                   12090:     shrext_cmds='.sl'
                   12091:     hardcode_into_libs=yes
                   12092:     dynamic_linker="$host_os dld.sl"
                   12093:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12094:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12095:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12096:     soname_spec='${libname}${release}${shared_ext}$major'
                   12097:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12098:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12099:     ;;
                   12100:   *)
                   12101:     shrext_cmds='.sl'
                   12102:     dynamic_linker="$host_os dld.sl"
                   12103:     shlibpath_var=SHLIB_PATH
                   12104:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12105:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12106:     soname_spec='${libname}${release}${shared_ext}$major'
                   12107:     ;;
                   12108:   esac
                   12109:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12110:   postinstall_cmds='chmod 555 $lib'
                   12111:   # or fails outright, so override atomically:
                   12112:   install_override_mode=555
                   12113:   ;;
                   12114: 
                   12115: interix[3-9]*)
                   12116:   version_type=linux # correct to gnu/linux during the next big refactor
                   12117:   need_lib_prefix=no
                   12118:   need_version=no
                   12119:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12120:   soname_spec='${libname}${release}${shared_ext}$major'
                   12121:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12122:   shlibpath_var=LD_LIBRARY_PATH
                   12123:   shlibpath_overrides_runpath=no
                   12124:   hardcode_into_libs=yes
                   12125:   ;;
                   12126: 
                   12127: irix5* | irix6* | nonstopux*)
                   12128:   case $host_os in
                   12129:     nonstopux*) version_type=nonstopux ;;
                   12130:     *)
                   12131:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   12132:                version_type=linux # correct to gnu/linux during the next big refactor
                   12133:        else
                   12134:                version_type=irix
                   12135:        fi ;;
                   12136:   esac
                   12137:   need_lib_prefix=no
                   12138:   need_version=no
                   12139:   soname_spec='${libname}${release}${shared_ext}$major'
                   12140:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12141:   case $host_os in
                   12142:   irix5* | nonstopux*)
                   12143:     libsuff= shlibsuff=
                   12144:     ;;
                   12145:   *)
                   12146:     case $LD in # libtool.m4 will add one of these switches to LD
                   12147:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12148:       libsuff= shlibsuff= libmagic=32-bit;;
                   12149:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12150:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12151:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12152:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12153:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12154:     esac
                   12155:     ;;
                   12156:   esac
                   12157:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12158:   shlibpath_overrides_runpath=no
                   12159:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12160:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12161:   hardcode_into_libs=yes
                   12162:   ;;
                   12163: 
                   12164: # No shared lib support for Linux oldld, aout, or coff.
                   12165: linux*oldld* | linux*aout* | linux*coff*)
                   12166:   dynamic_linker=no
                   12167:   ;;
                   12168: 
                   12169: # This must be glibc/ELF.
                   12170: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12171:   version_type=linux # correct to gnu/linux during the next big refactor
                   12172:   need_lib_prefix=no
                   12173:   need_version=no
                   12174:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12175:   soname_spec='${libname}${release}${shared_ext}$major'
                   12176:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12177:   shlibpath_var=LD_LIBRARY_PATH
                   12178:   shlibpath_overrides_runpath=no
                   12179: 
                   12180:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     12181:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12182:   $as_echo_n "(cached) " >&6
1.128     moko     12183: else
                   12184:   lt_cv_shlibpath_overrides_runpath=no
                   12185:     save_LDFLAGS=$LDFLAGS
                   12186:     save_libdir=$libdir
                   12187:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12188:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     12189:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12190: /* end confdefs.h.  */
                   12191: 
                   12192: int
                   12193: main ()
                   12194: {
                   12195: 
                   12196:   ;
                   12197:   return 0;
                   12198: }
                   12199: _ACEOF
1.150     moko     12200: if ac_fn_c_try_link "$LINENO"; then :
                   12201:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     12202:   lt_cv_shlibpath_overrides_runpath=yes
                   12203: fi
                   12204: fi
1.150     moko     12205: rm -f core conftest.err conftest.$ac_objext \
                   12206:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12207:     LDFLAGS=$save_LDFLAGS
                   12208:     libdir=$save_libdir
                   12209: 
                   12210: fi
                   12211: 
                   12212:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12213: 
                   12214:   # This implies no fast_install, which is unacceptable.
                   12215:   # Some rework will be needed to allow for fast_install
                   12216:   # before this can be enabled.
                   12217:   hardcode_into_libs=yes
                   12218: 
                   12219:   # Append ld.so.conf contents to the search path
                   12220:   if test -f /etc/ld.so.conf; then
                   12221:     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' ' '`
                   12222:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12223:   fi
                   12224: 
                   12225:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12226:   # powerpc, because MkLinux only supported shared libraries with the
                   12227:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12228:   # most powerpc-linux boxes support dynamic linking these days and
                   12229:   # people can always --disable-shared, the test was removed, and we
                   12230:   # assume the GNU/Linux dynamic linker is in use.
                   12231:   dynamic_linker='GNU/Linux ld.so'
                   12232:   ;;
                   12233: 
                   12234: netbsd*)
                   12235:   version_type=sunos
                   12236:   need_lib_prefix=no
                   12237:   need_version=no
                   12238:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12239:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12240:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12241:     dynamic_linker='NetBSD (a.out) ld.so'
                   12242:   else
                   12243:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12244:     soname_spec='${libname}${release}${shared_ext}$major'
                   12245:     dynamic_linker='NetBSD ld.elf_so'
                   12246:   fi
                   12247:   shlibpath_var=LD_LIBRARY_PATH
                   12248:   shlibpath_overrides_runpath=yes
                   12249:   hardcode_into_libs=yes
                   12250:   ;;
                   12251: 
                   12252: newsos6)
                   12253:   version_type=linux # correct to gnu/linux during the next big refactor
                   12254:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12255:   shlibpath_var=LD_LIBRARY_PATH
                   12256:   shlibpath_overrides_runpath=yes
                   12257:   ;;
                   12258: 
                   12259: *nto* | *qnx*)
                   12260:   version_type=qnx
                   12261:   need_lib_prefix=no
                   12262:   need_version=no
                   12263:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12264:   soname_spec='${libname}${release}${shared_ext}$major'
                   12265:   shlibpath_var=LD_LIBRARY_PATH
                   12266:   shlibpath_overrides_runpath=no
                   12267:   hardcode_into_libs=yes
                   12268:   dynamic_linker='ldqnx.so'
                   12269:   ;;
                   12270: 
                   12271: openbsd*)
                   12272:   version_type=sunos
                   12273:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12274:   need_lib_prefix=no
                   12275:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12276:   case $host_os in
                   12277:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12278:     *)                         need_version=no  ;;
                   12279:   esac
                   12280:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12281:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12282:   shlibpath_var=LD_LIBRARY_PATH
                   12283:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12284:     case $host_os in
                   12285:       openbsd2.[89] | openbsd2.[89].*)
                   12286:        shlibpath_overrides_runpath=no
                   12287:        ;;
                   12288:       *)
                   12289:        shlibpath_overrides_runpath=yes
                   12290:        ;;
                   12291:       esac
                   12292:   else
                   12293:     shlibpath_overrides_runpath=yes
                   12294:   fi
                   12295:   ;;
                   12296: 
                   12297: os2*)
                   12298:   libname_spec='$name'
                   12299:   shrext_cmds=".dll"
                   12300:   need_lib_prefix=no
                   12301:   library_names_spec='$libname${shared_ext} $libname.a'
                   12302:   dynamic_linker='OS/2 ld.exe'
                   12303:   shlibpath_var=LIBPATH
                   12304:   ;;
                   12305: 
                   12306: osf3* | osf4* | osf5*)
                   12307:   version_type=osf
                   12308:   need_lib_prefix=no
                   12309:   need_version=no
                   12310:   soname_spec='${libname}${release}${shared_ext}$major'
                   12311:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12312:   shlibpath_var=LD_LIBRARY_PATH
                   12313:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12314:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12315:   ;;
                   12316: 
                   12317: rdos*)
                   12318:   dynamic_linker=no
                   12319:   ;;
                   12320: 
                   12321: solaris*)
                   12322:   version_type=linux # correct to gnu/linux during the next big refactor
                   12323:   need_lib_prefix=no
                   12324:   need_version=no
                   12325:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12326:   soname_spec='${libname}${release}${shared_ext}$major'
                   12327:   shlibpath_var=LD_LIBRARY_PATH
                   12328:   shlibpath_overrides_runpath=yes
                   12329:   hardcode_into_libs=yes
                   12330:   # ldd complains unless libraries are executable
                   12331:   postinstall_cmds='chmod +x $lib'
                   12332:   ;;
                   12333: 
                   12334: sunos4*)
                   12335:   version_type=sunos
                   12336:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12337:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12338:   shlibpath_var=LD_LIBRARY_PATH
                   12339:   shlibpath_overrides_runpath=yes
                   12340:   if test "$with_gnu_ld" = yes; then
                   12341:     need_lib_prefix=no
                   12342:   fi
                   12343:   need_version=yes
                   12344:   ;;
                   12345: 
                   12346: sysv4 | sysv4.3*)
                   12347:   version_type=linux # correct to gnu/linux during the next big refactor
                   12348:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12349:   soname_spec='${libname}${release}${shared_ext}$major'
                   12350:   shlibpath_var=LD_LIBRARY_PATH
                   12351:   case $host_vendor in
                   12352:     sni)
                   12353:       shlibpath_overrides_runpath=no
                   12354:       need_lib_prefix=no
                   12355:       runpath_var=LD_RUN_PATH
                   12356:       ;;
                   12357:     siemens)
                   12358:       need_lib_prefix=no
                   12359:       ;;
                   12360:     motorola)
                   12361:       need_lib_prefix=no
                   12362:       need_version=no
                   12363:       shlibpath_overrides_runpath=no
                   12364:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12365:       ;;
                   12366:   esac
                   12367:   ;;
                   12368: 
                   12369: sysv4*MP*)
                   12370:   if test -d /usr/nec ;then
                   12371:     version_type=linux # correct to gnu/linux during the next big refactor
                   12372:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12373:     soname_spec='$libname${shared_ext}.$major'
                   12374:     shlibpath_var=LD_LIBRARY_PATH
                   12375:   fi
                   12376:   ;;
                   12377: 
                   12378: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12379:   version_type=freebsd-elf
                   12380:   need_lib_prefix=no
                   12381:   need_version=no
                   12382:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12383:   soname_spec='${libname}${release}${shared_ext}$major'
                   12384:   shlibpath_var=LD_LIBRARY_PATH
                   12385:   shlibpath_overrides_runpath=yes
                   12386:   hardcode_into_libs=yes
                   12387:   if test "$with_gnu_ld" = yes; then
                   12388:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12389:   else
                   12390:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12391:     case $host_os in
                   12392:       sco3.2v5*)
                   12393:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12394:        ;;
                   12395:     esac
                   12396:   fi
                   12397:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12398:   ;;
                   12399: 
                   12400: tpf*)
                   12401:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12402:   version_type=linux # correct to gnu/linux during the next big refactor
                   12403:   need_lib_prefix=no
                   12404:   need_version=no
                   12405:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12406:   shlibpath_var=LD_LIBRARY_PATH
                   12407:   shlibpath_overrides_runpath=no
                   12408:   hardcode_into_libs=yes
                   12409:   ;;
                   12410: 
                   12411: uts4*)
                   12412:   version_type=linux # correct to gnu/linux during the next big refactor
                   12413:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12414:   soname_spec='${libname}${release}${shared_ext}$major'
                   12415:   shlibpath_var=LD_LIBRARY_PATH
                   12416:   ;;
                   12417: 
                   12418: *)
                   12419:   dynamic_linker=no
                   12420:   ;;
                   12421: esac
1.150     moko     12422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12423: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12424: test "$dynamic_linker" = no && can_build_shared=no
                   12425: 
                   12426: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12427: if test "$GCC" = yes; then
                   12428:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12429: fi
                   12430: 
                   12431: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12432:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12433: fi
                   12434: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12435:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12436: fi
                   12437: 
                   12438: 
                   12439: 
                   12440: 
                   12441: 
                   12442: 
                   12443: 
                   12444: 
                   12445: 
                   12446: 
                   12447: 
                   12448: 
                   12449: 
                   12450: 
                   12451: 
                   12452: 
                   12453: 
                   12454: 
                   12455: 
                   12456: 
                   12457: 
                   12458: 
                   12459: 
                   12460: 
                   12461: 
                   12462: 
                   12463: 
                   12464: 
                   12465: 
                   12466: 
                   12467: 
                   12468: 
                   12469: 
                   12470: 
                   12471: 
                   12472: 
                   12473: 
                   12474: 
                   12475: 
                   12476: 
                   12477: 
                   12478: 
                   12479: 
                   12480: 
                   12481: 
                   12482: 
                   12483: 
                   12484: 
                   12485: 
                   12486: 
                   12487: 
                   12488: 
                   12489: 
                   12490: 
                   12491: 
                   12492: 
                   12493: 
                   12494: 
                   12495: 
                   12496: 
                   12497: 
                   12498: 
                   12499: 
                   12500: 
                   12501: 
                   12502: 
                   12503: 
                   12504: 
                   12505: 
                   12506: 
                   12507: 
                   12508: 
                   12509: 
                   12510: 
                   12511: 
                   12512: 
                   12513: 
                   12514: 
                   12515: 
                   12516: 
                   12517: 
                   12518: 
                   12519: 
                   12520: 
                   12521: 
                   12522: 
                   12523: 
                   12524: 
                   12525: 
                   12526: 
                   12527: 
                   12528: 
1.150     moko     12529:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12530: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12531: hardcode_action=
                   12532: if test -n "$hardcode_libdir_flag_spec" ||
                   12533:    test -n "$runpath_var" ||
                   12534:    test "X$hardcode_automatic" = "Xyes" ; then
                   12535: 
                   12536:   # We can hardcode non-existent directories.
                   12537:   if test "$hardcode_direct" != no &&
                   12538:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12539:      # have to relink, otherwise we might link with an installed library
                   12540:      # when we should be linking with a yet-to-be-installed one
                   12541:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12542:      test "$hardcode_minus_L" != no; then
                   12543:     # Linking always hardcodes the temporary library directory.
                   12544:     hardcode_action=relink
                   12545:   else
                   12546:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12547:     hardcode_action=immediate
                   12548:   fi
                   12549: else
                   12550:   # We cannot hardcode anything, or else we can only hardcode existing
                   12551:   # directories.
                   12552:   hardcode_action=unsupported
                   12553: fi
1.150     moko     12554: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12555: $as_echo "$hardcode_action" >&6; }
1.128     moko     12556: 
                   12557: if test "$hardcode_action" = relink ||
                   12558:    test "$inherit_rpath" = yes; then
                   12559:   # Fast installation is not supported
                   12560:   enable_fast_install=no
                   12561: elif test "$shlibpath_overrides_runpath" = yes ||
                   12562:      test "$enable_shared" = no; then
                   12563:   # Fast installation is not necessary
                   12564:   enable_fast_install=needless
                   12565: fi
                   12566: 
                   12567: 
                   12568: 
                   12569: 
                   12570: 
                   12571: 
                   12572:   if test "x$enable_dlopen" != xyes; then
                   12573:   enable_dlopen=unknown
                   12574:   enable_dlopen_self=unknown
                   12575:   enable_dlopen_self_static=unknown
                   12576: else
                   12577:   lt_cv_dlopen=no
                   12578:   lt_cv_dlopen_libs=
                   12579: 
                   12580:   case $host_os in
                   12581:   beos*)
                   12582:     lt_cv_dlopen="load_add_on"
                   12583:     lt_cv_dlopen_libs=
                   12584:     lt_cv_dlopen_self=yes
                   12585:     ;;
                   12586: 
                   12587:   mingw* | pw32* | cegcc*)
                   12588:     lt_cv_dlopen="LoadLibrary"
                   12589:     lt_cv_dlopen_libs=
                   12590:     ;;
                   12591: 
                   12592:   cygwin*)
                   12593:     lt_cv_dlopen="dlopen"
                   12594:     lt_cv_dlopen_libs=
                   12595:     ;;
                   12596: 
                   12597:   darwin*)
                   12598:   # if libdl is installed we need to link against it
1.150     moko     12599:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12600: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12601: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12602:   $as_echo_n "(cached) " >&6
1.128     moko     12603: else
                   12604:   ac_check_lib_save_LIBS=$LIBS
                   12605: LIBS="-ldl  $LIBS"
1.150     moko     12606: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12607: /* end confdefs.h.  */
                   12608: 
1.150     moko     12609: /* Override any GCC internal prototype to avoid an error.
                   12610:    Use char because int might match the return type of a GCC
                   12611:    builtin and then its argument prototype would still apply.  */
1.128     moko     12612: #ifdef __cplusplus
                   12613: extern "C"
                   12614: #endif
                   12615: char dlopen ();
                   12616: int
                   12617: main ()
                   12618: {
1.150     moko     12619: return dlopen ();
1.128     moko     12620:   ;
                   12621:   return 0;
                   12622: }
                   12623: _ACEOF
1.150     moko     12624: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12625:   ac_cv_lib_dl_dlopen=yes
                   12626: else
1.150     moko     12627:   ac_cv_lib_dl_dlopen=no
1.128     moko     12628: fi
1.150     moko     12629: rm -f core conftest.err conftest.$ac_objext \
                   12630:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12631: LIBS=$ac_check_lib_save_LIBS
                   12632: fi
1.150     moko     12633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12634: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12635: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12636:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12637: else
                   12638: 
                   12639:     lt_cv_dlopen="dyld"
                   12640:     lt_cv_dlopen_libs=
                   12641:     lt_cv_dlopen_self=yes
                   12642: 
                   12643: fi
                   12644: 
                   12645:     ;;
                   12646: 
                   12647:   *)
1.150     moko     12648:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12649: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12650:   lt_cv_dlopen="shl_load"
                   12651: else
1.150     moko     12652:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12653: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12654: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12655:   $as_echo_n "(cached) " >&6
1.128     moko     12656: else
                   12657:   ac_check_lib_save_LIBS=$LIBS
                   12658: LIBS="-ldld  $LIBS"
1.150     moko     12659: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12660: /* end confdefs.h.  */
                   12661: 
1.150     moko     12662: /* Override any GCC internal prototype to avoid an error.
                   12663:    Use char because int might match the return type of a GCC
                   12664:    builtin and then its argument prototype would still apply.  */
1.128     moko     12665: #ifdef __cplusplus
                   12666: extern "C"
                   12667: #endif
                   12668: char shl_load ();
                   12669: int
                   12670: main ()
                   12671: {
1.150     moko     12672: return shl_load ();
1.128     moko     12673:   ;
                   12674:   return 0;
                   12675: }
                   12676: _ACEOF
1.150     moko     12677: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12678:   ac_cv_lib_dld_shl_load=yes
                   12679: else
1.150     moko     12680:   ac_cv_lib_dld_shl_load=no
1.128     moko     12681: fi
1.150     moko     12682: rm -f core conftest.err conftest.$ac_objext \
                   12683:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12684: LIBS=$ac_check_lib_save_LIBS
                   12685: fi
1.150     moko     12686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12687: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12688: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12689:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12690: else
1.150     moko     12691:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12692: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12693:   lt_cv_dlopen="dlopen"
                   12694: else
1.150     moko     12695:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12696: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12697: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12698:   $as_echo_n "(cached) " >&6
1.128     moko     12699: else
                   12700:   ac_check_lib_save_LIBS=$LIBS
                   12701: LIBS="-ldl  $LIBS"
1.150     moko     12702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12703: /* end confdefs.h.  */
                   12704: 
1.150     moko     12705: /* Override any GCC internal prototype to avoid an error.
                   12706:    Use char because int might match the return type of a GCC
                   12707:    builtin and then its argument prototype would still apply.  */
1.128     moko     12708: #ifdef __cplusplus
                   12709: extern "C"
                   12710: #endif
                   12711: char dlopen ();
                   12712: int
                   12713: main ()
                   12714: {
1.150     moko     12715: return dlopen ();
1.128     moko     12716:   ;
                   12717:   return 0;
                   12718: }
                   12719: _ACEOF
1.150     moko     12720: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12721:   ac_cv_lib_dl_dlopen=yes
                   12722: else
1.150     moko     12723:   ac_cv_lib_dl_dlopen=no
1.128     moko     12724: fi
1.150     moko     12725: rm -f core conftest.err conftest.$ac_objext \
                   12726:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12727: LIBS=$ac_check_lib_save_LIBS
                   12728: fi
1.150     moko     12729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12730: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12731: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12732:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12733: else
1.150     moko     12734:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12735: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12736: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12737:   $as_echo_n "(cached) " >&6
1.128     moko     12738: else
                   12739:   ac_check_lib_save_LIBS=$LIBS
                   12740: LIBS="-lsvld  $LIBS"
1.150     moko     12741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12742: /* end confdefs.h.  */
                   12743: 
1.150     moko     12744: /* Override any GCC internal prototype to avoid an error.
                   12745:    Use char because int might match the return type of a GCC
                   12746:    builtin and then its argument prototype would still apply.  */
1.128     moko     12747: #ifdef __cplusplus
                   12748: extern "C"
                   12749: #endif
                   12750: char dlopen ();
                   12751: int
                   12752: main ()
                   12753: {
1.150     moko     12754: return dlopen ();
1.128     moko     12755:   ;
                   12756:   return 0;
                   12757: }
                   12758: _ACEOF
1.150     moko     12759: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12760:   ac_cv_lib_svld_dlopen=yes
                   12761: else
1.150     moko     12762:   ac_cv_lib_svld_dlopen=no
1.128     moko     12763: fi
1.150     moko     12764: rm -f core conftest.err conftest.$ac_objext \
                   12765:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12766: LIBS=$ac_check_lib_save_LIBS
                   12767: fi
1.150     moko     12768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12769: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12770: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12771:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12772: else
1.150     moko     12773:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12774: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12775: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12776:   $as_echo_n "(cached) " >&6
1.128     moko     12777: else
                   12778:   ac_check_lib_save_LIBS=$LIBS
                   12779: LIBS="-ldld  $LIBS"
1.150     moko     12780: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12781: /* end confdefs.h.  */
                   12782: 
1.150     moko     12783: /* Override any GCC internal prototype to avoid an error.
                   12784:    Use char because int might match the return type of a GCC
                   12785:    builtin and then its argument prototype would still apply.  */
1.128     moko     12786: #ifdef __cplusplus
                   12787: extern "C"
                   12788: #endif
                   12789: char dld_link ();
                   12790: int
                   12791: main ()
                   12792: {
1.150     moko     12793: return dld_link ();
1.128     moko     12794:   ;
                   12795:   return 0;
                   12796: }
                   12797: _ACEOF
1.150     moko     12798: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12799:   ac_cv_lib_dld_dld_link=yes
                   12800: else
1.150     moko     12801:   ac_cv_lib_dld_dld_link=no
                   12802: fi
                   12803: rm -f core conftest.err conftest.$ac_objext \
                   12804:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12805: LIBS=$ac_check_lib_save_LIBS
                   12806: fi
1.150     moko     12807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12808: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12809: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12810:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12811: fi
                   12812: 
                   12813: 
                   12814: fi
                   12815: 
                   12816: 
                   12817: fi
                   12818: 
                   12819: 
                   12820: fi
                   12821: 
                   12822: 
                   12823: fi
                   12824: 
                   12825: 
                   12826: fi
                   12827: 
                   12828:     ;;
                   12829:   esac
                   12830: 
                   12831:   if test "x$lt_cv_dlopen" != xno; then
                   12832:     enable_dlopen=yes
                   12833:   else
                   12834:     enable_dlopen=no
                   12835:   fi
                   12836: 
                   12837:   case $lt_cv_dlopen in
                   12838:   dlopen)
                   12839:     save_CPPFLAGS="$CPPFLAGS"
                   12840:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12841: 
                   12842:     save_LDFLAGS="$LDFLAGS"
                   12843:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12844: 
                   12845:     save_LIBS="$LIBS"
                   12846:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12847: 
1.150     moko     12848:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12849: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12850: if ${lt_cv_dlopen_self+:} false; then :
                   12851:   $as_echo_n "(cached) " >&6
1.128     moko     12852: else
                   12853:          if test "$cross_compiling" = yes; then :
                   12854:   lt_cv_dlopen_self=cross
                   12855: else
                   12856:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12857:   lt_status=$lt_dlunknown
                   12858:   cat > conftest.$ac_ext <<_LT_EOF
                   12859: #line $LINENO "configure"
                   12860: #include "confdefs.h"
                   12861: 
                   12862: #if HAVE_DLFCN_H
                   12863: #include <dlfcn.h>
                   12864: #endif
                   12865: 
                   12866: #include <stdio.h>
                   12867: 
                   12868: #ifdef RTLD_GLOBAL
                   12869: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12870: #else
                   12871: #  ifdef DL_GLOBAL
                   12872: #    define LT_DLGLOBAL                DL_GLOBAL
                   12873: #  else
                   12874: #    define LT_DLGLOBAL                0
                   12875: #  endif
                   12876: #endif
                   12877: 
                   12878: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12879:    find out it does not work in some platform. */
                   12880: #ifndef LT_DLLAZY_OR_NOW
                   12881: #  ifdef RTLD_LAZY
                   12882: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12883: #  else
                   12884: #    ifdef DL_LAZY
                   12885: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12886: #    else
                   12887: #      ifdef RTLD_NOW
                   12888: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12889: #      else
                   12890: #        ifdef DL_NOW
                   12891: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12892: #        else
                   12893: #          define LT_DLLAZY_OR_NOW     0
                   12894: #        endif
                   12895: #      endif
                   12896: #    endif
                   12897: #  endif
                   12898: #endif
                   12899: 
                   12900: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12901:    correspondingly for the symbols needed.  */
                   12902: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12903: int fnord () __attribute__((visibility("default")));
                   12904: #endif
                   12905: 
                   12906: int fnord () { return 42; }
                   12907: int main ()
                   12908: {
                   12909:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12910:   int status = $lt_dlunknown;
                   12911: 
                   12912:   if (self)
                   12913:     {
                   12914:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12915:       else
                   12916:         {
                   12917:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12918:           else puts (dlerror ());
                   12919:        }
                   12920:       /* dlclose (self); */
                   12921:     }
                   12922:   else
                   12923:     puts (dlerror ());
                   12924: 
                   12925:   return status;
                   12926: }
                   12927: _LT_EOF
1.150     moko     12928:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12929:   (eval $ac_link) 2>&5
                   12930:   ac_status=$?
1.150     moko     12931:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12932:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12933:     (./conftest; exit; ) >&5 2>/dev/null
                   12934:     lt_status=$?
                   12935:     case x$lt_status in
                   12936:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12937:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12938:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12939:     esac
                   12940:   else :
                   12941:     # compilation failed
                   12942:     lt_cv_dlopen_self=no
                   12943:   fi
                   12944: fi
                   12945: rm -fr conftest*
                   12946: 
                   12947: 
                   12948: fi
1.150     moko     12949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12950: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12951: 
                   12952:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12953:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12954:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12955: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12956: if ${lt_cv_dlopen_self_static+:} false; then :
                   12957:   $as_echo_n "(cached) " >&6
1.128     moko     12958: else
                   12959:          if test "$cross_compiling" = yes; then :
                   12960:   lt_cv_dlopen_self_static=cross
                   12961: else
                   12962:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12963:   lt_status=$lt_dlunknown
                   12964:   cat > conftest.$ac_ext <<_LT_EOF
                   12965: #line $LINENO "configure"
                   12966: #include "confdefs.h"
                   12967: 
                   12968: #if HAVE_DLFCN_H
                   12969: #include <dlfcn.h>
                   12970: #endif
                   12971: 
                   12972: #include <stdio.h>
                   12973: 
                   12974: #ifdef RTLD_GLOBAL
                   12975: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12976: #else
                   12977: #  ifdef DL_GLOBAL
                   12978: #    define LT_DLGLOBAL                DL_GLOBAL
                   12979: #  else
                   12980: #    define LT_DLGLOBAL                0
                   12981: #  endif
                   12982: #endif
                   12983: 
                   12984: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12985:    find out it does not work in some platform. */
                   12986: #ifndef LT_DLLAZY_OR_NOW
                   12987: #  ifdef RTLD_LAZY
                   12988: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12989: #  else
                   12990: #    ifdef DL_LAZY
                   12991: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12992: #    else
                   12993: #      ifdef RTLD_NOW
                   12994: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12995: #      else
                   12996: #        ifdef DL_NOW
                   12997: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12998: #        else
                   12999: #          define LT_DLLAZY_OR_NOW     0
                   13000: #        endif
                   13001: #      endif
                   13002: #    endif
                   13003: #  endif
                   13004: #endif
                   13005: 
                   13006: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13007:    correspondingly for the symbols needed.  */
                   13008: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13009: int fnord () __attribute__((visibility("default")));
                   13010: #endif
                   13011: 
                   13012: int fnord () { return 42; }
                   13013: int main ()
                   13014: {
                   13015:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13016:   int status = $lt_dlunknown;
                   13017: 
                   13018:   if (self)
                   13019:     {
                   13020:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13021:       else
                   13022:         {
                   13023:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13024:           else puts (dlerror ());
                   13025:        }
                   13026:       /* dlclose (self); */
                   13027:     }
                   13028:   else
                   13029:     puts (dlerror ());
                   13030: 
                   13031:   return status;
                   13032: }
                   13033: _LT_EOF
1.150     moko     13034:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13035:   (eval $ac_link) 2>&5
                   13036:   ac_status=$?
1.150     moko     13037:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13038:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13039:     (./conftest; exit; ) >&5 2>/dev/null
                   13040:     lt_status=$?
                   13041:     case x$lt_status in
                   13042:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13043:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13044:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13045:     esac
                   13046:   else :
                   13047:     # compilation failed
                   13048:     lt_cv_dlopen_self_static=no
                   13049:   fi
                   13050: fi
                   13051: rm -fr conftest*
                   13052: 
                   13053: 
                   13054: fi
1.150     moko     13055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13056: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     13057:     fi
                   13058: 
                   13059:     CPPFLAGS="$save_CPPFLAGS"
                   13060:     LDFLAGS="$save_LDFLAGS"
                   13061:     LIBS="$save_LIBS"
                   13062:     ;;
                   13063:   esac
                   13064: 
                   13065:   case $lt_cv_dlopen_self in
                   13066:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13067:   *) enable_dlopen_self=unknown ;;
                   13068:   esac
                   13069: 
                   13070:   case $lt_cv_dlopen_self_static in
                   13071:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13072:   *) enable_dlopen_self_static=unknown ;;
                   13073:   esac
                   13074: fi
                   13075: 
                   13076: 
                   13077: 
                   13078: 
                   13079: 
                   13080: 
                   13081: 
                   13082: 
                   13083: 
                   13084: 
                   13085: 
                   13086: 
                   13087: 
                   13088: 
                   13089: 
                   13090: 
                   13091: 
                   13092: striplib=
                   13093: old_striplib=
1.150     moko     13094: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13095: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     13096: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13097:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13098:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     13099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13100: $as_echo "yes" >&6; }
1.128     moko     13101: else
                   13102: # FIXME - insert some real tests, host_os isn't really good enough
                   13103:   case $host_os in
                   13104:   darwin*)
                   13105:     if test -n "$STRIP" ; then
                   13106:       striplib="$STRIP -x"
                   13107:       old_striplib="$STRIP -S"
1.150     moko     13108:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13109: $as_echo "yes" >&6; }
1.128     moko     13110:     else
1.150     moko     13111:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13112: $as_echo "no" >&6; }
1.128     moko     13113:     fi
                   13114:     ;;
                   13115:   *)
1.150     moko     13116:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13117: $as_echo "no" >&6; }
1.128     moko     13118:     ;;
                   13119:   esac
                   13120: fi
                   13121: 
                   13122: 
                   13123: 
                   13124: 
                   13125: 
                   13126: 
                   13127: 
                   13128: 
                   13129: 
                   13130: 
                   13131: 
                   13132: 
                   13133:   # Report which library types will actually be built
1.150     moko     13134:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13135: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13136:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13137: $as_echo "$can_build_shared" >&6; }
1.128     moko     13138: 
1.150     moko     13139:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13140: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     13141:   test "$can_build_shared" = "no" && enable_shared=no
                   13142: 
                   13143:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13144:   # are all built from PIC.
                   13145:   case $host_os in
                   13146:   aix3*)
                   13147:     test "$enable_shared" = yes && enable_static=no
                   13148:     if test -n "$RANLIB"; then
                   13149:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13150:       postinstall_cmds='$RANLIB $lib'
                   13151:     fi
                   13152:     ;;
                   13153: 
                   13154:   aix[4-9]*)
                   13155:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13156:       test "$enable_shared" = yes && enable_static=no
                   13157:     fi
                   13158:     ;;
                   13159:   esac
1.150     moko     13160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13161: $as_echo "$enable_shared" >&6; }
1.128     moko     13162: 
1.150     moko     13163:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13164: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     13165:   # Make sure either enable_shared or enable_static is yes.
                   13166:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     13167:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13168: $as_echo "$enable_static" >&6; }
1.128     moko     13169: 
                   13170: 
                   13171: 
                   13172: 
                   13173: fi
                   13174: ac_ext=c
                   13175: ac_cpp='$CPP $CPPFLAGS'
                   13176: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13177: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13178: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13179: 
                   13180: CC="$lt_save_CC"
                   13181: 
                   13182:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13183:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13184:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     13185:   ac_ext=cpp
1.128     moko     13186: ac_cpp='$CXXCPP $CPPFLAGS'
                   13187: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13188: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13189: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     13190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13191: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     13192: if test -z "$CXXCPP"; then
1.150     moko     13193:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13194:   $as_echo_n "(cached) " >&6
1.128     moko     13195: else
                   13196:       # Double quotes because CXXCPP needs to be expanded
                   13197:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13198:     do
                   13199:       ac_preproc_ok=false
                   13200: for ac_cxx_preproc_warn_flag in '' yes
                   13201: do
                   13202:   # Use a header file that comes with gcc, so configuring glibc
                   13203:   # with a fresh cross-compiler works.
                   13204:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13205:   # <limits.h> exists even on freestanding compilers.
                   13206:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13207:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13208:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13209: /* end confdefs.h.  */
                   13210: #ifdef __STDC__
                   13211: # include <limits.h>
                   13212: #else
                   13213: # include <assert.h>
                   13214: #endif
                   13215:                     Syntax error
                   13216: _ACEOF
1.150     moko     13217: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13218: 
1.128     moko     13219: else
                   13220:   # Broken: fails on valid input.
                   13221: continue
                   13222: fi
1.150     moko     13223: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13224: 
1.150     moko     13225:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13226:   # can be detected and how.
1.150     moko     13227:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13228: /* end confdefs.h.  */
                   13229: #include <ac_nonexistent.h>
                   13230: _ACEOF
1.150     moko     13231: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13232:   # Broken: success on invalid input.
                   13233: continue
                   13234: else
                   13235:   # Passes both tests.
                   13236: ac_preproc_ok=:
                   13237: break
                   13238: fi
1.150     moko     13239: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13240: 
                   13241: done
                   13242: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13243: rm -f conftest.i conftest.err conftest.$ac_ext
                   13244: if $ac_preproc_ok; then :
1.128     moko     13245:   break
                   13246: fi
                   13247: 
                   13248:     done
                   13249:     ac_cv_prog_CXXCPP=$CXXCPP
                   13250: 
                   13251: fi
                   13252:   CXXCPP=$ac_cv_prog_CXXCPP
                   13253: else
                   13254:   ac_cv_prog_CXXCPP=$CXXCPP
                   13255: fi
1.150     moko     13256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13257: $as_echo "$CXXCPP" >&6; }
1.128     moko     13258: ac_preproc_ok=false
                   13259: for ac_cxx_preproc_warn_flag in '' yes
                   13260: do
                   13261:   # Use a header file that comes with gcc, so configuring glibc
                   13262:   # with a fresh cross-compiler works.
                   13263:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13264:   # <limits.h> exists even on freestanding compilers.
                   13265:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13266:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13268: /* end confdefs.h.  */
                   13269: #ifdef __STDC__
                   13270: # include <limits.h>
                   13271: #else
                   13272: # include <assert.h>
                   13273: #endif
                   13274:                     Syntax error
                   13275: _ACEOF
1.150     moko     13276: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13277: 
1.128     moko     13278: else
                   13279:   # Broken: fails on valid input.
                   13280: continue
                   13281: fi
1.150     moko     13282: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13283: 
1.150     moko     13284:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13285:   # can be detected and how.
1.150     moko     13286:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13287: /* end confdefs.h.  */
                   13288: #include <ac_nonexistent.h>
                   13289: _ACEOF
1.150     moko     13290: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13291:   # Broken: success on invalid input.
                   13292: continue
                   13293: else
                   13294:   # Passes both tests.
                   13295: ac_preproc_ok=:
                   13296: break
                   13297: fi
1.150     moko     13298: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13299: 
                   13300: done
                   13301: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13302: rm -f conftest.i conftest.err conftest.$ac_ext
                   13303: if $ac_preproc_ok; then :
                   13304: 
1.128     moko     13305: else
1.150     moko     13306:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13307: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13308: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13309: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13310: fi
                   13311: 
                   13312: ac_ext=c
                   13313: ac_cpp='$CPP $CPPFLAGS'
                   13314: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13315: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13316: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13317: 
                   13318: else
                   13319:   _lt_caught_CXX_error=yes
                   13320: fi
                   13321: 
1.150     moko     13322: ac_ext=cpp
1.128     moko     13323: ac_cpp='$CXXCPP $CPPFLAGS'
                   13324: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13325: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13326: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13327: 
                   13328: archive_cmds_need_lc_CXX=no
                   13329: allow_undefined_flag_CXX=
                   13330: always_export_symbols_CXX=no
                   13331: archive_expsym_cmds_CXX=
                   13332: compiler_needs_object_CXX=no
                   13333: export_dynamic_flag_spec_CXX=
                   13334: hardcode_direct_CXX=no
                   13335: hardcode_direct_absolute_CXX=no
                   13336: hardcode_libdir_flag_spec_CXX=
                   13337: hardcode_libdir_separator_CXX=
                   13338: hardcode_minus_L_CXX=no
                   13339: hardcode_shlibpath_var_CXX=unsupported
                   13340: hardcode_automatic_CXX=no
                   13341: inherit_rpath_CXX=no
                   13342: module_cmds_CXX=
                   13343: module_expsym_cmds_CXX=
                   13344: link_all_deplibs_CXX=unknown
                   13345: old_archive_cmds_CXX=$old_archive_cmds
                   13346: reload_flag_CXX=$reload_flag
                   13347: reload_cmds_CXX=$reload_cmds
                   13348: no_undefined_flag_CXX=
                   13349: whole_archive_flag_spec_CXX=
                   13350: enable_shared_with_static_runtimes_CXX=no
                   13351: 
                   13352: # Source file extension for C++ test sources.
                   13353: ac_ext=cpp
                   13354: 
                   13355: # Object file extension for compiled C++ test sources.
                   13356: objext=o
                   13357: objext_CXX=$objext
                   13358: 
                   13359: # No sense in running all these tests if we already determined that
                   13360: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13361: # are currently assumed to apply to all compilers on this platform,
                   13362: # and will be corrupted by setting them based on a non-working compiler.
                   13363: if test "$_lt_caught_CXX_error" != yes; then
                   13364:   # Code to be used in simple compile tests
                   13365:   lt_simple_compile_test_code="int some_variable = 0;"
                   13366: 
                   13367:   # Code to be used in simple link tests
                   13368:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13369: 
                   13370:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13371: 
                   13372: 
                   13373: 
                   13374: 
                   13375: 
                   13376: 
                   13377: # If no C compiler was specified, use CC.
                   13378: LTCC=${LTCC-"$CC"}
                   13379: 
                   13380: # If no C compiler flags were specified, use CFLAGS.
                   13381: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13382: 
                   13383: # Allow CC to be a program name with arguments.
                   13384: compiler=$CC
                   13385: 
                   13386: 
                   13387:   # save warnings/boilerplate of simple test code
                   13388:   ac_outfile=conftest.$ac_objext
                   13389: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13390: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13391: _lt_compiler_boilerplate=`cat conftest.err`
                   13392: $RM conftest*
                   13393: 
                   13394:   ac_outfile=conftest.$ac_objext
                   13395: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13396: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13397: _lt_linker_boilerplate=`cat conftest.err`
                   13398: $RM -r conftest*
                   13399: 
                   13400: 
                   13401:   # Allow CC to be a program name with arguments.
                   13402:   lt_save_CC=$CC
                   13403:   lt_save_CFLAGS=$CFLAGS
                   13404:   lt_save_LD=$LD
                   13405:   lt_save_GCC=$GCC
                   13406:   GCC=$GXX
                   13407:   lt_save_with_gnu_ld=$with_gnu_ld
                   13408:   lt_save_path_LD=$lt_cv_path_LD
                   13409:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13410:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13411:   else
                   13412:     $as_unset lt_cv_prog_gnu_ld
                   13413:   fi
                   13414:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13415:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13416:   else
                   13417:     $as_unset lt_cv_path_LD
                   13418:   fi
                   13419:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13420:   CC=${CXX-"c++"}
                   13421:   CFLAGS=$CXXFLAGS
                   13422:   compiler=$CC
                   13423:   compiler_CXX=$CC
                   13424:   for cc_temp in $compiler""; do
                   13425:   case $cc_temp in
                   13426:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13427:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13428:     \-*) ;;
                   13429:     *) break;;
                   13430:   esac
                   13431: done
                   13432: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13433: 
                   13434: 
                   13435:   if test -n "$compiler"; then
                   13436:     # We don't want -fno-exception when compiling C++ code, so set the
                   13437:     # no_builtin_flag separately
                   13438:     if test "$GXX" = yes; then
                   13439:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13440:     else
                   13441:       lt_prog_compiler_no_builtin_flag_CXX=
                   13442:     fi
                   13443: 
                   13444:     if test "$GXX" = yes; then
                   13445:       # Set up default GNU C++ configuration
                   13446: 
                   13447: 
                   13448: 
1.150     moko     13449: # Check whether --with-gnu-ld was given.
                   13450: if test "${with_gnu_ld+set}" = set; then :
                   13451:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13452: else
                   13453:   with_gnu_ld=no
1.150     moko     13454: fi
                   13455: 
1.128     moko     13456: ac_prog=ld
                   13457: if test "$GCC" = yes; then
                   13458:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13459:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13460: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13461:   case $host in
                   13462:   *-*-mingw*)
                   13463:     # gcc leaves a trailing carriage return which upsets mingw
                   13464:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13465:   *)
                   13466:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13467:   esac
                   13468:   case $ac_prog in
                   13469:     # Accept absolute paths.
                   13470:     [\\/]* | ?:[\\/]*)
                   13471:       re_direlt='/[^/][^/]*/\.\./'
                   13472:       # Canonicalize the pathname of ld
                   13473:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13474:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13475:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13476:       done
                   13477:       test -z "$LD" && LD="$ac_prog"
                   13478:       ;;
                   13479:   "")
                   13480:     # If it fails, then pretend we aren't using GCC.
                   13481:     ac_prog=ld
                   13482:     ;;
                   13483:   *)
                   13484:     # If it is relative, then search for the first ld in PATH.
                   13485:     with_gnu_ld=unknown
                   13486:     ;;
                   13487:   esac
                   13488: elif test "$with_gnu_ld" = yes; then
1.150     moko     13489:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13490: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13491: else
1.150     moko     13492:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13493: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13494: fi
1.150     moko     13495: if ${lt_cv_path_LD+:} false; then :
                   13496:   $as_echo_n "(cached) " >&6
1.128     moko     13497: else
                   13498:   if test -z "$LD"; then
                   13499:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13500:   for ac_dir in $PATH; do
                   13501:     IFS="$lt_save_ifs"
                   13502:     test -z "$ac_dir" && ac_dir=.
                   13503:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13504:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13505:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13506:       # but apparently some variants of GNU ld only accept -v.
                   13507:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13508:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13509:       *GNU* | *'with BFD'*)
                   13510:        test "$with_gnu_ld" != no && break
                   13511:        ;;
                   13512:       *)
                   13513:        test "$with_gnu_ld" != yes && break
                   13514:        ;;
                   13515:       esac
                   13516:     fi
                   13517:   done
                   13518:   IFS="$lt_save_ifs"
                   13519: else
                   13520:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13521: fi
                   13522: fi
                   13523: 
                   13524: LD="$lt_cv_path_LD"
                   13525: if test -n "$LD"; then
1.150     moko     13526:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13527: $as_echo "$LD" >&6; }
1.128     moko     13528: else
1.150     moko     13529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13530: $as_echo "no" >&6; }
1.128     moko     13531: fi
1.150     moko     13532: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13534: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13535: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13536:   $as_echo_n "(cached) " >&6
1.128     moko     13537: else
                   13538:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13539: case `$LD -v 2>&1 </dev/null` in
                   13540: *GNU* | *'with BFD'*)
                   13541:   lt_cv_prog_gnu_ld=yes
                   13542:   ;;
                   13543: *)
                   13544:   lt_cv_prog_gnu_ld=no
                   13545:   ;;
                   13546: esac
                   13547: fi
1.150     moko     13548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13549: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13550: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13551: 
                   13552: 
                   13553: 
                   13554: 
                   13555: 
                   13556: 
                   13557: 
                   13558:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13559:       # archiving commands below assume that GNU ld is being used.
                   13560:       if test "$with_gnu_ld" = yes; then
                   13561:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13562:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   13563: 
                   13564:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13565:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13566: 
                   13567:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13568:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13569:         #     investigate it a little bit more. (MM)
                   13570:         wlarc='${wl}'
                   13571: 
                   13572:         # ancient GNU ld didn't support --whole-archive et. al.
                   13573:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13574:          $GREP 'no-whole-archive' > /dev/null; then
                   13575:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13576:         else
                   13577:           whole_archive_flag_spec_CXX=
                   13578:         fi
                   13579:       else
                   13580:         with_gnu_ld=no
                   13581:         wlarc=
                   13582: 
                   13583:         # A generic and very simple default shared library creation
                   13584:         # command for GNU C++ for the case where it uses the native
                   13585:         # linker, instead of GNU ld.  If possible, this setting should
                   13586:         # overridden to take advantage of the native linker features on
                   13587:         # the platform it is being used on.
                   13588:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13589:       fi
                   13590: 
                   13591:       # Commands to make compiler produce verbose output that lists
                   13592:       # what "hidden" libraries, object files and flags are used when
                   13593:       # linking a shared library.
                   13594:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13595: 
                   13596:     else
                   13597:       GXX=no
                   13598:       with_gnu_ld=no
                   13599:       wlarc=
                   13600:     fi
                   13601: 
                   13602:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13603:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13604: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13605:     ld_shlibs_CXX=yes
                   13606:     case $host_os in
                   13607:       aix3*)
                   13608:         # FIXME: insert proper C++ library support
                   13609:         ld_shlibs_CXX=no
                   13610:         ;;
                   13611:       aix[4-9]*)
                   13612:         if test "$host_cpu" = ia64; then
                   13613:           # On IA64, the linker does run time linking by default, so we don't
                   13614:           # have to do anything special.
                   13615:           aix_use_runtimelinking=no
                   13616:           exp_sym_flag='-Bexport'
                   13617:           no_entry_flag=""
                   13618:         else
                   13619:           aix_use_runtimelinking=no
                   13620: 
                   13621:           # Test if we are trying to use run time linking or normal
                   13622:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13623:           # need to do runtime linking.
                   13624:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13625:            for ld_flag in $LDFLAGS; do
                   13626:              case $ld_flag in
                   13627:              *-brtl*)
                   13628:                aix_use_runtimelinking=yes
                   13629:                break
                   13630:                ;;
                   13631:              esac
                   13632:            done
                   13633:            ;;
                   13634:           esac
                   13635: 
                   13636:           exp_sym_flag='-bexport'
                   13637:           no_entry_flag='-bnoentry'
                   13638:         fi
                   13639: 
                   13640:         # When large executables or shared objects are built, AIX ld can
                   13641:         # have problems creating the table of contents.  If linking a library
                   13642:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13643:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13644:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13645: 
                   13646:         archive_cmds_CXX=''
                   13647:         hardcode_direct_CXX=yes
                   13648:         hardcode_direct_absolute_CXX=yes
                   13649:         hardcode_libdir_separator_CXX=':'
                   13650:         link_all_deplibs_CXX=yes
                   13651:         file_list_spec_CXX='${wl}-f,'
                   13652: 
                   13653:         if test "$GXX" = yes; then
                   13654:           case $host_os in aix4.[012]|aix4.[012].*)
                   13655:           # We only want to do this on AIX 4.2 and lower, the check
                   13656:           # below for broken collect2 doesn't work under 4.3+
                   13657:          collect2name=`${CC} -print-prog-name=collect2`
                   13658:          if test -f "$collect2name" &&
                   13659:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13660:          then
                   13661:            # We have reworked collect2
                   13662:            :
                   13663:          else
                   13664:            # We have old collect2
                   13665:            hardcode_direct_CXX=unsupported
                   13666:            # It fails to find uninstalled libraries when the uninstalled
                   13667:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13668:            # to unsupported forces relinking
                   13669:            hardcode_minus_L_CXX=yes
                   13670:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13671:            hardcode_libdir_separator_CXX=
                   13672:          fi
                   13673:           esac
                   13674:           shared_flag='-shared'
                   13675:          if test "$aix_use_runtimelinking" = yes; then
                   13676:            shared_flag="$shared_flag "'${wl}-G'
                   13677:          fi
                   13678:         else
                   13679:           # not using gcc
                   13680:           if test "$host_cpu" = ia64; then
                   13681:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13682:          # chokes on -Wl,-G. The following line is correct:
                   13683:          shared_flag='-G'
                   13684:           else
                   13685:            if test "$aix_use_runtimelinking" = yes; then
                   13686:              shared_flag='${wl}-G'
                   13687:            else
                   13688:              shared_flag='${wl}-bM:SRE'
                   13689:            fi
                   13690:           fi
                   13691:         fi
                   13692: 
                   13693:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13694:         # It seems that -bexpall does not export symbols beginning with
                   13695:         # underscore (_), so it is better to generate a list of symbols to
                   13696:        # export.
                   13697:         always_export_symbols_CXX=yes
                   13698:         if test "$aix_use_runtimelinking" = yes; then
                   13699:           # Warning - without using the other runtime loading flags (-brtl),
                   13700:           # -berok will link without error, but may produce a broken library.
                   13701:           allow_undefined_flag_CXX='-berok'
                   13702:           # Determine the default libpath from the value encoded in an empty
                   13703:           # executable.
                   13704:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13705:   aix_libpath=$lt_cv_aix_libpath
                   13706: else
1.150     moko     13707:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13708:   $as_echo_n "(cached) " >&6
1.128     moko     13709: else
1.150     moko     13710:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13711: /* end confdefs.h.  */
                   13712: 
                   13713: int
                   13714: main ()
                   13715: {
                   13716: 
                   13717:   ;
                   13718:   return 0;
                   13719: }
                   13720: _ACEOF
1.150     moko     13721: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13722: 
                   13723:   lt_aix_libpath_sed='
                   13724:       /Import File Strings/,/^$/ {
                   13725:          /^0/ {
                   13726:              s/^0  *\([^ ]*\) *$/\1/
                   13727:              p
                   13728:          }
                   13729:       }'
                   13730:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13731:   # Check for a 64-bit object if we didn't find anything.
                   13732:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13733:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13734:   fi
                   13735: fi
1.150     moko     13736: rm -f core conftest.err conftest.$ac_objext \
                   13737:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13738:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13739:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13740:   fi
                   13741: 
                   13742: fi
                   13743: 
                   13744:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13745: fi
                   13746: 
                   13747:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13748: 
                   13749:           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   13750:         else
                   13751:           if test "$host_cpu" = ia64; then
                   13752:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13753:            allow_undefined_flag_CXX="-z nodefs"
                   13754:            archive_expsym_cmds_CXX="\$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"
                   13755:           else
                   13756:            # Determine the default libpath from the value encoded in an
                   13757:            # empty executable.
                   13758:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13759:   aix_libpath=$lt_cv_aix_libpath
                   13760: else
1.150     moko     13761:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13762:   $as_echo_n "(cached) " >&6
1.128     moko     13763: else
1.150     moko     13764:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13765: /* end confdefs.h.  */
                   13766: 
                   13767: int
                   13768: main ()
                   13769: {
                   13770: 
                   13771:   ;
                   13772:   return 0;
                   13773: }
                   13774: _ACEOF
1.150     moko     13775: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13776: 
                   13777:   lt_aix_libpath_sed='
                   13778:       /Import File Strings/,/^$/ {
                   13779:          /^0/ {
                   13780:              s/^0  *\([^ ]*\) *$/\1/
                   13781:              p
                   13782:          }
                   13783:       }'
                   13784:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13785:   # Check for a 64-bit object if we didn't find anything.
                   13786:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13787:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13788:   fi
                   13789: fi
1.150     moko     13790: rm -f core conftest.err conftest.$ac_objext \
                   13791:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13792:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13793:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13794:   fi
                   13795: 
                   13796: fi
                   13797: 
                   13798:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13799: fi
                   13800: 
                   13801:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13802:            # Warning - without using the other run time loading flags,
                   13803:            # -berok will link without error, but may produce a broken library.
                   13804:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13805:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13806:            if test "$with_gnu_ld" = yes; then
                   13807:              # We only use this code for GNU lds that support --whole-archive.
                   13808:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13809:            else
                   13810:              # Exported symbols can be pulled into shared objects from archives
                   13811:              whole_archive_flag_spec_CXX='$convenience'
                   13812:            fi
                   13813:            archive_cmds_need_lc_CXX=yes
                   13814:            # This is similar to how AIX traditionally builds its shared
                   13815:            # libraries.
                   13816:            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   13817:           fi
                   13818:         fi
                   13819:         ;;
                   13820: 
                   13821:       beos*)
                   13822:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13823:          allow_undefined_flag_CXX=unsupported
                   13824:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13825:          # support --undefined.  This deserves some investigation.  FIXME
                   13826:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13827:        else
                   13828:          ld_shlibs_CXX=no
                   13829:        fi
                   13830:        ;;
                   13831: 
                   13832:       chorus*)
                   13833:         case $cc_basename in
                   13834:           *)
                   13835:          # FIXME: insert proper C++ library support
                   13836:          ld_shlibs_CXX=no
                   13837:          ;;
                   13838:         esac
                   13839:         ;;
                   13840: 
                   13841:       cygwin* | mingw* | pw32* | cegcc*)
                   13842:        case $GXX,$cc_basename in
                   13843:        ,cl* | no,cl*)
                   13844:          # Native MSVC
                   13845:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13846:          # no search path for DLLs.
                   13847:          hardcode_libdir_flag_spec_CXX=' '
                   13848:          allow_undefined_flag_CXX=unsupported
                   13849:          always_export_symbols_CXX=yes
                   13850:          file_list_spec_CXX='@'
                   13851:          # Tell ltmain to make .lib files, not .a files.
                   13852:          libext=lib
                   13853:          # Tell ltmain to make .dll files, not .so files.
                   13854:          shrext_cmds=".dll"
                   13855:          # FIXME: Setting linknames here is a bad hack.
                   13856:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13857:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13858:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13859:            else
                   13860:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13861:            fi~
                   13862:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13863:            linknames='
                   13864:          # The linker will not automatically build a static lib if we build a DLL.
                   13865:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13866:          enable_shared_with_static_runtimes_CXX=yes
                   13867:          # Don't use ranlib
                   13868:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13869:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13870:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13871:            case $lt_outputfile in
                   13872:              *.exe|*.EXE) ;;
                   13873:              *)
                   13874:                lt_outputfile="$lt_outputfile.exe"
                   13875:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13876:                ;;
                   13877:            esac~
                   13878:            func_to_tool_file "$lt_outputfile"~
                   13879:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13880:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13881:              $RM "$lt_outputfile.manifest";
                   13882:            fi'
                   13883:          ;;
                   13884:        *)
                   13885:          # g++
                   13886:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13887:          # as there is no search path for DLLs.
                   13888:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13889:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13890:          allow_undefined_flag_CXX=unsupported
                   13891:          always_export_symbols_CXX=no
                   13892:          enable_shared_with_static_runtimes_CXX=yes
                   13893: 
                   13894:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13895:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13896:            # If the export-symbols file already is a .def file (1st line
                   13897:            # is EXPORTS), use it as is; otherwise, prepend...
                   13898:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13899:              cp $export_symbols $output_objdir/$soname.def;
                   13900:            else
                   13901:              echo EXPORTS > $output_objdir/$soname.def;
                   13902:              cat $export_symbols >> $output_objdir/$soname.def;
                   13903:            fi~
                   13904:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   13905:          else
                   13906:            ld_shlibs_CXX=no
                   13907:          fi
                   13908:          ;;
                   13909:        esac
                   13910:        ;;
                   13911:       darwin* | rhapsody*)
                   13912: 
                   13913: 
                   13914:   archive_cmds_need_lc_CXX=no
                   13915:   hardcode_direct_CXX=no
                   13916:   hardcode_automatic_CXX=yes
                   13917:   hardcode_shlibpath_var_CXX=unsupported
                   13918:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13919:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   13920: 
                   13921:   else
                   13922:     whole_archive_flag_spec_CXX=''
                   13923:   fi
                   13924:   link_all_deplibs_CXX=yes
                   13925:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13926:   case $cc_basename in
                   13927:      ifort*) _lt_dar_can_shared=yes ;;
                   13928:      *) _lt_dar_can_shared=$GCC ;;
                   13929:   esac
                   13930:   if test "$_lt_dar_can_shared" = "yes"; then
                   13931:     output_verbose_link_cmd=func_echo_all
                   13932:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   13933:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13934:     archive_expsym_cmds_CXX="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}"
                   13935:     module_expsym_cmds_CXX="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}"
                   13936:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13937:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   13938:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   13939:     fi
                   13940: 
                   13941:   else
                   13942:   ld_shlibs_CXX=no
                   13943:   fi
                   13944: 
                   13945:        ;;
                   13946: 
                   13947:       dgux*)
                   13948:         case $cc_basename in
                   13949:           ec++*)
                   13950:            # FIXME: insert proper C++ library support
                   13951:            ld_shlibs_CXX=no
                   13952:            ;;
                   13953:           ghcx*)
                   13954:            # Green Hills C++ Compiler
                   13955:            # FIXME: insert proper C++ library support
                   13956:            ld_shlibs_CXX=no
                   13957:            ;;
                   13958:           *)
                   13959:            # FIXME: insert proper C++ library support
                   13960:            ld_shlibs_CXX=no
                   13961:            ;;
                   13962:         esac
                   13963:         ;;
                   13964: 
                   13965:       freebsd2.*)
                   13966:         # C++ shared libraries reported to be fairly broken before
                   13967:        # switch to ELF
                   13968:         ld_shlibs_CXX=no
                   13969:         ;;
                   13970: 
                   13971:       freebsd-elf*)
                   13972:         archive_cmds_need_lc_CXX=no
                   13973:         ;;
                   13974: 
                   13975:       freebsd* | dragonfly*)
                   13976:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13977:         # conventions
                   13978:         ld_shlibs_CXX=yes
                   13979:         ;;
                   13980: 
                   13981:       gnu*)
                   13982:         ;;
                   13983: 
                   13984:       haiku*)
                   13985:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13986:         link_all_deplibs_CXX=yes
                   13987:         ;;
                   13988: 
                   13989:       hpux9*)
                   13990:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13991:         hardcode_libdir_separator_CXX=:
                   13992:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13993:         hardcode_direct_CXX=yes
                   13994:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13995:                                             # but as the default
                   13996:                                             # location of the library.
                   13997: 
                   13998:         case $cc_basename in
                   13999:           CC*)
                   14000:             # FIXME: insert proper C++ library support
                   14001:             ld_shlibs_CXX=no
                   14002:             ;;
                   14003:           aCC*)
                   14004:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   14005:             # Commands to make compiler produce verbose output that lists
                   14006:             # what "hidden" libraries, object files and flags are used when
                   14007:             # linking a shared library.
                   14008:             #
                   14009:             # There doesn't appear to be a way to prevent this compiler from
                   14010:             # explicitly linking system object files so we need to strip them
                   14011:             # from the output so that they don't get included in the library
                   14012:             # dependencies.
                   14013:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14014:             ;;
                   14015:           *)
                   14016:             if test "$GXX" = yes; then
                   14017:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   14018:             else
                   14019:               # FIXME: insert proper C++ library support
                   14020:               ld_shlibs_CXX=no
                   14021:             fi
                   14022:             ;;
                   14023:         esac
                   14024:         ;;
                   14025: 
                   14026:       hpux10*|hpux11*)
                   14027:         if test $with_gnu_ld = no; then
                   14028:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14029:          hardcode_libdir_separator_CXX=:
                   14030: 
                   14031:           case $host_cpu in
                   14032:             hppa*64*|ia64*)
                   14033:               ;;
                   14034:             *)
                   14035:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14036:               ;;
                   14037:           esac
                   14038:         fi
                   14039:         case $host_cpu in
                   14040:           hppa*64*|ia64*)
                   14041:             hardcode_direct_CXX=no
                   14042:             hardcode_shlibpath_var_CXX=no
                   14043:             ;;
                   14044:           *)
                   14045:             hardcode_direct_CXX=yes
                   14046:             hardcode_direct_absolute_CXX=yes
                   14047:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14048:                                                 # but as the default
                   14049:                                                 # location of the library.
                   14050:             ;;
                   14051:         esac
                   14052: 
                   14053:         case $cc_basename in
                   14054:           CC*)
                   14055:            # FIXME: insert proper C++ library support
                   14056:            ld_shlibs_CXX=no
                   14057:            ;;
                   14058:           aCC*)
                   14059:            case $host_cpu in
                   14060:              hppa*64*)
                   14061:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14062:                ;;
                   14063:              ia64*)
                   14064:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14065:                ;;
                   14066:              *)
                   14067:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14068:                ;;
                   14069:            esac
                   14070:            # Commands to make compiler produce verbose output that lists
                   14071:            # what "hidden" libraries, object files and flags are used when
                   14072:            # linking a shared library.
                   14073:            #
                   14074:            # There doesn't appear to be a way to prevent this compiler from
                   14075:            # explicitly linking system object files so we need to strip them
                   14076:            # from the output so that they don't get included in the library
                   14077:            # dependencies.
                   14078:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14079:            ;;
                   14080:           *)
                   14081:            if test "$GXX" = yes; then
                   14082:              if test $with_gnu_ld = no; then
                   14083:                case $host_cpu in
                   14084:                  hppa*64*)
                   14085:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14086:                    ;;
                   14087:                  ia64*)
                   14088:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14089:                    ;;
                   14090:                  *)
                   14091:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14092:                    ;;
                   14093:                esac
                   14094:              fi
                   14095:            else
                   14096:              # FIXME: insert proper C++ library support
                   14097:              ld_shlibs_CXX=no
                   14098:            fi
                   14099:            ;;
                   14100:         esac
                   14101:         ;;
                   14102: 
                   14103:       interix[3-9]*)
                   14104:        hardcode_direct_CXX=no
                   14105:        hardcode_shlibpath_var_CXX=no
                   14106:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14107:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14108:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14109:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14110:        # default) and relocated if they conflict, which is a slow very memory
                   14111:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14112:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14113:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14114:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   14115:        archive_expsym_cmds_CXX='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'
                   14116:        ;;
                   14117:       irix5* | irix6*)
                   14118:         case $cc_basename in
                   14119:           CC*)
                   14120:            # SGI C++
                   14121:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14122: 
                   14123:            # Archives containing C++ object files must be created using
                   14124:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14125:            # necessary to make sure instantiated templates are included
                   14126:            # in the archive.
                   14127:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14128:            ;;
                   14129:           *)
                   14130:            if test "$GXX" = yes; then
                   14131:              if test "$with_gnu_ld" = no; then
                   14132:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14133:              else
                   14134:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   14135:              fi
                   14136:            fi
                   14137:            link_all_deplibs_CXX=yes
                   14138:            ;;
                   14139:         esac
                   14140:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14141:         hardcode_libdir_separator_CXX=:
                   14142:         inherit_rpath_CXX=yes
                   14143:         ;;
                   14144: 
                   14145:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14146:         case $cc_basename in
                   14147:           KCC*)
                   14148:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14149: 
                   14150:            # KCC will only create a shared library if the output file
                   14151:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14152:            # to its proper name (with version) after linking.
                   14153:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   14154:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   14155:            # Commands to make compiler produce verbose output that lists
                   14156:            # what "hidden" libraries, object files and flags are used when
                   14157:            # linking a shared library.
                   14158:            #
                   14159:            # There doesn't appear to be a way to prevent this compiler from
                   14160:            # explicitly linking system object files so we need to strip them
                   14161:            # from the output so that they don't get included in the library
                   14162:            # dependencies.
                   14163:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14164: 
                   14165:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14166:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14167: 
                   14168:            # Archives containing C++ object files must be created using
                   14169:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14170:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14171:            ;;
                   14172:          icpc* | ecpc* )
                   14173:            # Intel C++
                   14174:            with_gnu_ld=yes
                   14175:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14176:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14177:            # earlier do not add the objects themselves.
                   14178:            case `$CC -V 2>&1` in
                   14179:              *"Version 7."*)
                   14180:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14181:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   14182:                ;;
                   14183:              *)  # Version 8.0 or newer
                   14184:                tmp_idyn=
                   14185:                case $host_cpu in
                   14186:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14187:                esac
                   14188:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14189:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   14190:                ;;
                   14191:            esac
                   14192:            archive_cmds_need_lc_CXX=no
                   14193:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14194:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14195:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14196:            ;;
                   14197:           pgCC* | pgcpp*)
                   14198:             # Portland Group C++ compiler
                   14199:            case `$CC -V` in
                   14200:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14201:              prelink_cmds_CXX='tpldir=Template.dir~
                   14202:                rm -rf $tpldir~
                   14203:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14204:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14205:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14206:                rm -rf $tpldir~
                   14207:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14208:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14209:                $RANLIB $oldlib'
                   14210:              archive_cmds_CXX='tpldir=Template.dir~
                   14211:                rm -rf $tpldir~
                   14212:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14213:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14214:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14215:                rm -rf $tpldir~
                   14216:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14217:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   14218:              ;;
                   14219:            *) # Version 6 and above use weak symbols
                   14220:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14221:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   14222:              ;;
                   14223:            esac
                   14224: 
                   14225:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14226:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14227:            whole_archive_flag_spec_CXX='${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'
                   14228:             ;;
                   14229:          cxx*)
                   14230:            # Compaq C++
                   14231:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14232:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   14233: 
                   14234:            runpath_var=LD_RUN_PATH
                   14235:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14236:            hardcode_libdir_separator_CXX=:
                   14237: 
                   14238:            # Commands to make compiler produce verbose output that lists
                   14239:            # what "hidden" libraries, object files and flags are used when
                   14240:            # linking a shared library.
                   14241:            #
                   14242:            # There doesn't appear to be a way to prevent this compiler from
                   14243:            # explicitly linking system object files so we need to strip them
                   14244:            # from the output so that they don't get included in the library
                   14245:            # dependencies.
                   14246:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   14247:            ;;
                   14248:          xl* | mpixl* | bgxl*)
                   14249:            # IBM XL 8.0 on PPC, with GNU ld
                   14250:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14251:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14252:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14253:            if test "x$supports_anon_versioning" = xyes; then
                   14254:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14255:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14256:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14257:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14258:            fi
                   14259:            ;;
                   14260:          *)
                   14261:            case `$CC -V 2>&1 | sed 5q` in
                   14262:            *Sun\ C*)
                   14263:              # Sun C++ 5.9
                   14264:              no_undefined_flag_CXX=' -zdefs'
                   14265:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14266:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   14267:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14268:              whole_archive_flag_spec_CXX='${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'
                   14269:              compiler_needs_object_CXX=yes
                   14270: 
                   14271:              # Not sure whether something based on
                   14272:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14273:              # would be better.
                   14274:              output_verbose_link_cmd='func_echo_all'
                   14275: 
                   14276:              # Archives containing C++ object files must be created using
                   14277:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14278:              # necessary to make sure instantiated templates are included
                   14279:              # in the archive.
                   14280:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14281:              ;;
                   14282:            esac
                   14283:            ;;
                   14284:        esac
                   14285:        ;;
                   14286: 
                   14287:       lynxos*)
                   14288:         # FIXME: insert proper C++ library support
                   14289:        ld_shlibs_CXX=no
                   14290:        ;;
                   14291: 
                   14292:       m88k*)
                   14293:         # FIXME: insert proper C++ library support
                   14294:         ld_shlibs_CXX=no
                   14295:        ;;
                   14296: 
                   14297:       mvs*)
                   14298:         case $cc_basename in
                   14299:           cxx*)
                   14300:            # FIXME: insert proper C++ library support
                   14301:            ld_shlibs_CXX=no
                   14302:            ;;
                   14303:          *)
                   14304:            # FIXME: insert proper C++ library support
                   14305:            ld_shlibs_CXX=no
                   14306:            ;;
                   14307:        esac
                   14308:        ;;
                   14309: 
                   14310:       netbsd*)
                   14311:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14312:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14313:          wlarc=
                   14314:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14315:          hardcode_direct_CXX=yes
                   14316:          hardcode_shlibpath_var_CXX=no
                   14317:        fi
                   14318:        # Workaround some broken pre-1.5 toolchains
                   14319:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14320:        ;;
                   14321: 
                   14322:       *nto* | *qnx*)
                   14323:         ld_shlibs_CXX=yes
                   14324:        ;;
                   14325: 
                   14326:       openbsd2*)
                   14327:         # C++ shared libraries are fairly broken
                   14328:        ld_shlibs_CXX=no
                   14329:        ;;
                   14330: 
                   14331:       openbsd*)
                   14332:        if test -f /usr/libexec/ld.so; then
                   14333:          hardcode_direct_CXX=yes
                   14334:          hardcode_shlibpath_var_CXX=no
                   14335:          hardcode_direct_absolute_CXX=yes
                   14336:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14337:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14338:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14339:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14340:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14341:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14342:          fi
                   14343:          output_verbose_link_cmd=func_echo_all
                   14344:        else
                   14345:          ld_shlibs_CXX=no
                   14346:        fi
                   14347:        ;;
                   14348: 
                   14349:       osf3* | osf4* | osf5*)
                   14350:         case $cc_basename in
                   14351:           KCC*)
                   14352:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14353: 
                   14354:            # KCC will only create a shared library if the output file
                   14355:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14356:            # to its proper name (with version) after linking.
                   14357:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   14358: 
                   14359:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14360:            hardcode_libdir_separator_CXX=:
                   14361: 
                   14362:            # Archives containing C++ object files must be created using
                   14363:            # the KAI C++ compiler.
                   14364:            case $host in
                   14365:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14366:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14367:            esac
                   14368:            ;;
                   14369:           RCC*)
                   14370:            # Rational C++ 2.4.1
                   14371:            # FIXME: insert proper C++ library support
                   14372:            ld_shlibs_CXX=no
                   14373:            ;;
                   14374:           cxx*)
                   14375:            case $host in
                   14376:              osf3*)
                   14377:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14378:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14379:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14380:                ;;
                   14381:              *)
                   14382:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14383:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   14384:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14385:                  echo "-hidden">> $lib.exp~
                   14386:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   14387:                  $RM $lib.exp'
                   14388:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14389:                ;;
                   14390:            esac
                   14391: 
                   14392:            hardcode_libdir_separator_CXX=:
                   14393: 
                   14394:            # Commands to make compiler produce verbose output that lists
                   14395:            # what "hidden" libraries, object files and flags are used when
                   14396:            # linking a shared library.
                   14397:            #
                   14398:            # There doesn't appear to be a way to prevent this compiler from
                   14399:            # explicitly linking system object files so we need to strip them
                   14400:            # from the output so that they don't get included in the library
                   14401:            # dependencies.
                   14402:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   14403:            ;;
                   14404:          *)
                   14405:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14406:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14407:              case $host in
                   14408:                osf3*)
                   14409:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14410:                  ;;
                   14411:                *)
                   14412:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   14413:                  ;;
                   14414:              esac
                   14415: 
                   14416:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14417:              hardcode_libdir_separator_CXX=:
                   14418: 
                   14419:              # Commands to make compiler produce verbose output that lists
                   14420:              # what "hidden" libraries, object files and flags are used when
                   14421:              # linking a shared library.
                   14422:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14423: 
                   14424:            else
                   14425:              # FIXME: insert proper C++ library support
                   14426:              ld_shlibs_CXX=no
                   14427:            fi
                   14428:            ;;
                   14429:         esac
                   14430:         ;;
                   14431: 
                   14432:       psos*)
                   14433:         # FIXME: insert proper C++ library support
                   14434:         ld_shlibs_CXX=no
                   14435:         ;;
                   14436: 
                   14437:       sunos4*)
                   14438:         case $cc_basename in
                   14439:           CC*)
                   14440:            # Sun C++ 4.x
                   14441:            # FIXME: insert proper C++ library support
                   14442:            ld_shlibs_CXX=no
                   14443:            ;;
                   14444:           lcc*)
                   14445:            # Lucid
                   14446:            # FIXME: insert proper C++ library support
                   14447:            ld_shlibs_CXX=no
                   14448:            ;;
                   14449:           *)
                   14450:            # FIXME: insert proper C++ library support
                   14451:            ld_shlibs_CXX=no
                   14452:            ;;
                   14453:         esac
                   14454:         ;;
                   14455: 
                   14456:       solaris*)
                   14457:         case $cc_basename in
                   14458:           CC* | sunCC*)
                   14459:            # Sun C++ 4.2, 5.x and Centerline C++
                   14460:             archive_cmds_need_lc_CXX=yes
                   14461:            no_undefined_flag_CXX=' -zdefs'
                   14462:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14463:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14464:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14465: 
                   14466:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14467:            hardcode_shlibpath_var_CXX=no
                   14468:            case $host_os in
                   14469:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14470:              *)
                   14471:                # The compiler driver will combine and reorder linker options,
                   14472:                # but understands `-z linker_flag'.
                   14473:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14474:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14475:                ;;
                   14476:            esac
                   14477:            link_all_deplibs_CXX=yes
                   14478: 
                   14479:            output_verbose_link_cmd='func_echo_all'
                   14480: 
                   14481:            # Archives containing C++ object files must be created using
                   14482:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14483:            # necessary to make sure instantiated templates are included
                   14484:            # in the archive.
                   14485:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14486:            ;;
                   14487:           gcx*)
                   14488:            # Green Hills C++ Compiler
                   14489:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14490: 
                   14491:            # The C++ compiler must be used to create the archive.
                   14492:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14493:            ;;
                   14494:           *)
                   14495:            # GNU C++ compiler with Solaris linker
                   14496:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14497:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14498:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14499:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14500:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14501:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14502: 
                   14503:                # Commands to make compiler produce verbose output that lists
                   14504:                # what "hidden" libraries, object files and flags are used when
                   14505:                # linking a shared library.
                   14506:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14507:              else
                   14508:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14509:                # platform.
                   14510:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14511:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14512:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14513: 
                   14514:                # Commands to make compiler produce verbose output that lists
                   14515:                # what "hidden" libraries, object files and flags are used when
                   14516:                # linking a shared library.
                   14517:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14518:              fi
                   14519: 
                   14520:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14521:              case $host_os in
                   14522:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14523:                *)
                   14524:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14525:                  ;;
                   14526:              esac
                   14527:            fi
                   14528:            ;;
                   14529:         esac
                   14530:         ;;
                   14531: 
                   14532:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14533:       no_undefined_flag_CXX='${wl}-z,text'
                   14534:       archive_cmds_need_lc_CXX=no
                   14535:       hardcode_shlibpath_var_CXX=no
                   14536:       runpath_var='LD_RUN_PATH'
                   14537: 
                   14538:       case $cc_basename in
                   14539:         CC*)
                   14540:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14541:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14542:          ;;
                   14543:        *)
                   14544:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14545:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14546:          ;;
                   14547:       esac
                   14548:       ;;
                   14549: 
                   14550:       sysv5* | sco3.2v5* | sco5v6*)
                   14551:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14552:        # link with -lc, and that would cause any symbols used from libc to
                   14553:        # always be unresolved, which means just about no library would
                   14554:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14555:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14556:        # as -z defs.
                   14557:        no_undefined_flag_CXX='${wl}-z,text'
                   14558:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14559:        archive_cmds_need_lc_CXX=no
                   14560:        hardcode_shlibpath_var_CXX=no
                   14561:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14562:        hardcode_libdir_separator_CXX=':'
                   14563:        link_all_deplibs_CXX=yes
                   14564:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14565:        runpath_var='LD_RUN_PATH'
                   14566: 
                   14567:        case $cc_basename in
                   14568:           CC*)
                   14569:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14570:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14571:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14572:              '"$old_archive_cmds_CXX"
                   14573:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14574:              '"$reload_cmds_CXX"
                   14575:            ;;
                   14576:          *)
                   14577:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14578:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14579:            ;;
                   14580:        esac
                   14581:       ;;
                   14582: 
                   14583:       tandem*)
                   14584:         case $cc_basename in
                   14585:           NCC*)
                   14586:            # NonStop-UX NCC 3.20
                   14587:            # FIXME: insert proper C++ library support
                   14588:            ld_shlibs_CXX=no
                   14589:            ;;
                   14590:           *)
                   14591:            # FIXME: insert proper C++ library support
                   14592:            ld_shlibs_CXX=no
                   14593:            ;;
                   14594:         esac
                   14595:         ;;
                   14596: 
                   14597:       vxworks*)
                   14598:         # FIXME: insert proper C++ library support
                   14599:         ld_shlibs_CXX=no
                   14600:         ;;
                   14601: 
                   14602:       *)
                   14603:         # FIXME: insert proper C++ library support
                   14604:         ld_shlibs_CXX=no
                   14605:         ;;
                   14606:     esac
                   14607: 
1.150     moko     14608:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14609: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14610:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14611: 
                   14612:     GCC_CXX="$GXX"
                   14613:     LD_CXX="$LD"
                   14614: 
                   14615:     ## CAVEAT EMPTOR:
                   14616:     ## There is no encapsulation within the following macros, do not change
                   14617:     ## the running order or otherwise move them around unless you know exactly
                   14618:     ## what you are doing...
                   14619:     # Dependencies to place before and after the object being linked:
                   14620: predep_objects_CXX=
                   14621: postdep_objects_CXX=
                   14622: predeps_CXX=
                   14623: postdeps_CXX=
                   14624: compiler_lib_search_path_CXX=
                   14625: 
                   14626: cat > conftest.$ac_ext <<_LT_EOF
                   14627: class Foo
                   14628: {
                   14629: public:
                   14630:   Foo (void) { a = 0; }
                   14631: private:
                   14632:   int a;
                   14633: };
                   14634: _LT_EOF
                   14635: 
                   14636: 
                   14637: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14638: case "$CC $CFLAGS " in #(
                   14639: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14640: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14641: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14642: esac
                   14643: 
1.150     moko     14644: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14645:   (eval $ac_compile) 2>&5
                   14646:   ac_status=$?
1.150     moko     14647:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14648:   test $ac_status = 0; }; then
1.128     moko     14649:   # Parse the compiler output and extract the necessary
                   14650:   # objects, libraries and library flags.
                   14651: 
                   14652:   # Sentinel used to keep track of whether or not we are before
                   14653:   # the conftest object file.
                   14654:   pre_test_object_deps_done=no
                   14655: 
                   14656:   for p in `eval "$output_verbose_link_cmd"`; do
                   14657:     case ${prev}${p} in
                   14658: 
                   14659:     -L* | -R* | -l*)
                   14660:        # Some compilers place space between "-{L,R}" and the path.
                   14661:        # Remove the space.
                   14662:        if test $p = "-L" ||
                   14663:           test $p = "-R"; then
                   14664:         prev=$p
                   14665:         continue
                   14666:        fi
                   14667: 
                   14668:        # Expand the sysroot to ease extracting the directories later.
                   14669:        if test -z "$prev"; then
                   14670:          case $p in
                   14671:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14672:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14673:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14674:          esac
                   14675:        fi
                   14676:        case $p in
                   14677:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14678:        esac
                   14679:        if test "$pre_test_object_deps_done" = no; then
                   14680:         case ${prev} in
                   14681:         -L | -R)
                   14682:           # Internal compiler library paths should come after those
                   14683:           # provided the user.  The postdeps already come after the
                   14684:           # user supplied libs so there is no need to process them.
                   14685:           if test -z "$compiler_lib_search_path_CXX"; then
                   14686:             compiler_lib_search_path_CXX="${prev}${p}"
                   14687:           else
                   14688:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14689:           fi
                   14690:           ;;
                   14691:         # The "-l" case would never come before the object being
                   14692:         # linked, so don't bother handling this case.
                   14693:         esac
                   14694:        else
                   14695:         if test -z "$postdeps_CXX"; then
                   14696:           postdeps_CXX="${prev}${p}"
                   14697:         else
                   14698:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14699:         fi
                   14700:        fi
                   14701:        prev=
                   14702:        ;;
                   14703: 
                   14704:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14705:     *.$objext)
                   14706:        # This assumes that the test object file only shows up
                   14707:        # once in the compiler output.
                   14708:        if test "$p" = "conftest.$objext"; then
                   14709:         pre_test_object_deps_done=yes
                   14710:         continue
                   14711:        fi
                   14712: 
                   14713:        if test "$pre_test_object_deps_done" = no; then
                   14714:         if test -z "$predep_objects_CXX"; then
                   14715:           predep_objects_CXX="$p"
                   14716:         else
                   14717:           predep_objects_CXX="$predep_objects_CXX $p"
                   14718:         fi
                   14719:        else
                   14720:         if test -z "$postdep_objects_CXX"; then
                   14721:           postdep_objects_CXX="$p"
                   14722:         else
                   14723:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14724:         fi
                   14725:        fi
                   14726:        ;;
                   14727: 
                   14728:     *) ;; # Ignore the rest.
                   14729: 
                   14730:     esac
                   14731:   done
                   14732: 
                   14733:   # Clean up.
                   14734:   rm -f a.out a.exe
                   14735: else
                   14736:   echo "libtool.m4: error: problem compiling CXX test program"
                   14737: fi
                   14738: 
                   14739: $RM -f confest.$objext
                   14740: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14741: 
                   14742: # PORTME: override above test on systems where it is broken
                   14743: case $host_os in
                   14744: interix[3-9]*)
                   14745:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14746:   # hack all around it, let's just trust "g++" to DTRT.
                   14747:   predep_objects_CXX=
                   14748:   postdep_objects_CXX=
                   14749:   postdeps_CXX=
                   14750:   ;;
                   14751: 
                   14752: linux*)
                   14753:   case `$CC -V 2>&1 | sed 5q` in
                   14754:   *Sun\ C*)
                   14755:     # Sun C++ 5.9
                   14756: 
                   14757:     # The more standards-conforming stlport4 library is
                   14758:     # incompatible with the Cstd library. Avoid specifying
                   14759:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14760:     # -library=stlport4 depends on it.
                   14761:     case " $CXX $CXXFLAGS " in
                   14762:     *" -library=stlport4 "*)
                   14763:       solaris_use_stlport4=yes
                   14764:       ;;
                   14765:     esac
                   14766: 
                   14767:     if test "$solaris_use_stlport4" != yes; then
                   14768:       postdeps_CXX='-library=Cstd -library=Crun'
                   14769:     fi
                   14770:     ;;
                   14771:   esac
                   14772:   ;;
                   14773: 
                   14774: solaris*)
                   14775:   case $cc_basename in
                   14776:   CC* | sunCC*)
                   14777:     # The more standards-conforming stlport4 library is
                   14778:     # incompatible with the Cstd library. Avoid specifying
                   14779:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14780:     # -library=stlport4 depends on it.
                   14781:     case " $CXX $CXXFLAGS " in
                   14782:     *" -library=stlport4 "*)
                   14783:       solaris_use_stlport4=yes
                   14784:       ;;
                   14785:     esac
                   14786: 
                   14787:     # Adding this requires a known-good setup of shared libraries for
                   14788:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14789:     # archive will be linked into the output, leading to subtle bugs.
                   14790:     if test "$solaris_use_stlport4" != yes; then
                   14791:       postdeps_CXX='-library=Cstd -library=Crun'
                   14792:     fi
                   14793:     ;;
                   14794:   esac
                   14795:   ;;
                   14796: esac
                   14797: 
                   14798: 
                   14799: case " $postdeps_CXX " in
                   14800: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14801: esac
                   14802:  compiler_lib_search_dirs_CXX=
                   14803: if test -n "${compiler_lib_search_path_CXX}"; then
                   14804:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14805: fi
                   14806: 
                   14807: 
                   14808: 
                   14809: 
                   14810: 
                   14811: 
                   14812: 
                   14813: 
                   14814: 
                   14815: 
                   14816: 
                   14817: 
                   14818: 
                   14819: 
                   14820: 
                   14821: 
                   14822: 
                   14823: 
                   14824: 
                   14825: 
                   14826: 
                   14827: 
                   14828: 
                   14829: 
                   14830: 
                   14831: 
                   14832: 
                   14833: 
                   14834: 
                   14835: 
                   14836: 
                   14837:     lt_prog_compiler_wl_CXX=
                   14838: lt_prog_compiler_pic_CXX=
                   14839: lt_prog_compiler_static_CXX=
                   14840: 
                   14841: 
                   14842:   # C++ specific cases for pic, static, wl, etc.
                   14843:   if test "$GXX" = yes; then
                   14844:     lt_prog_compiler_wl_CXX='-Wl,'
                   14845:     lt_prog_compiler_static_CXX='-static'
                   14846: 
                   14847:     case $host_os in
                   14848:     aix*)
                   14849:       # All AIX code is PIC.
                   14850:       if test "$host_cpu" = ia64; then
                   14851:        # AIX 5 now supports IA64 processor
                   14852:        lt_prog_compiler_static_CXX='-Bstatic'
                   14853:       fi
                   14854:       ;;
                   14855: 
                   14856:     amigaos*)
                   14857:       case $host_cpu in
                   14858:       powerpc)
                   14859:             # see comment about AmigaOS4 .so support
                   14860:             lt_prog_compiler_pic_CXX='-fPIC'
                   14861:         ;;
                   14862:       m68k)
                   14863:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14864:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14865:             # like `-m68040'.
                   14866:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14867:         ;;
                   14868:       esac
                   14869:       ;;
                   14870: 
                   14871:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14872:       # PIC is the default for these OSes.
                   14873:       ;;
                   14874:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14875:       # This hack is so that the source file can tell whether it is being
                   14876:       # built for inclusion in a dll (and should export symbols for example).
                   14877:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14878:       # (--disable-auto-import) libraries
                   14879:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14880:       ;;
                   14881:     darwin* | rhapsody*)
                   14882:       # PIC is the default on this platform
                   14883:       # Common symbols not allowed in MH_DYLIB files
                   14884:       lt_prog_compiler_pic_CXX='-fno-common'
                   14885:       ;;
                   14886:     *djgpp*)
                   14887:       # DJGPP does not support shared libraries at all
                   14888:       lt_prog_compiler_pic_CXX=
                   14889:       ;;
                   14890:     haiku*)
                   14891:       # PIC is the default for Haiku.
                   14892:       # The "-static" flag exists, but is broken.
                   14893:       lt_prog_compiler_static_CXX=
                   14894:       ;;
                   14895:     interix[3-9]*)
                   14896:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14897:       # Instead, we relocate shared libraries at runtime.
                   14898:       ;;
                   14899:     sysv4*MP*)
                   14900:       if test -d /usr/nec; then
                   14901:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14902:       fi
                   14903:       ;;
                   14904:     hpux*)
                   14905:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14906:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14907:       # sets the default TLS model and affects inlining.
                   14908:       case $host_cpu in
                   14909:       hppa*64*)
                   14910:        ;;
                   14911:       *)
                   14912:        lt_prog_compiler_pic_CXX='-fPIC'
                   14913:        ;;
                   14914:       esac
                   14915:       ;;
                   14916:     *qnx* | *nto*)
                   14917:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14918:       # it will coredump.
                   14919:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14920:       ;;
                   14921:     *)
                   14922:       lt_prog_compiler_pic_CXX='-fPIC'
                   14923:       ;;
                   14924:     esac
                   14925:   else
                   14926:     case $host_os in
                   14927:       aix[4-9]*)
                   14928:        # All AIX code is PIC.
                   14929:        if test "$host_cpu" = ia64; then
                   14930:          # AIX 5 now supports IA64 processor
                   14931:          lt_prog_compiler_static_CXX='-Bstatic'
                   14932:        else
                   14933:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14934:        fi
                   14935:        ;;
                   14936:       chorus*)
                   14937:        case $cc_basename in
                   14938:        cxch68*)
                   14939:          # Green Hills C++ Compiler
                   14940:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   14941:          ;;
                   14942:        esac
                   14943:        ;;
                   14944:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14945:        # This hack is so that the source file can tell whether it is being
                   14946:        # built for inclusion in a dll (and should export symbols for example).
                   14947:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14948:        ;;
                   14949:       dgux*)
                   14950:        case $cc_basename in
                   14951:          ec++*)
                   14952:            lt_prog_compiler_pic_CXX='-KPIC'
                   14953:            ;;
                   14954:          ghcx*)
                   14955:            # Green Hills C++ Compiler
                   14956:            lt_prog_compiler_pic_CXX='-pic'
                   14957:            ;;
                   14958:          *)
                   14959:            ;;
                   14960:        esac
                   14961:        ;;
                   14962:       freebsd* | dragonfly*)
                   14963:        # FreeBSD uses GNU C++
                   14964:        ;;
                   14965:       hpux9* | hpux10* | hpux11*)
                   14966:        case $cc_basename in
                   14967:          CC*)
                   14968:            lt_prog_compiler_wl_CXX='-Wl,'
                   14969:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14970:            if test "$host_cpu" != ia64; then
                   14971:              lt_prog_compiler_pic_CXX='+Z'
                   14972:            fi
                   14973:            ;;
                   14974:          aCC*)
                   14975:            lt_prog_compiler_wl_CXX='-Wl,'
                   14976:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14977:            case $host_cpu in
                   14978:            hppa*64*|ia64*)
                   14979:              # +Z the default
                   14980:              ;;
                   14981:            *)
                   14982:              lt_prog_compiler_pic_CXX='+Z'
                   14983:              ;;
                   14984:            esac
                   14985:            ;;
                   14986:          *)
                   14987:            ;;
                   14988:        esac
                   14989:        ;;
                   14990:       interix*)
                   14991:        # This is c89, which is MS Visual C++ (no shared libs)
                   14992:        # Anyone wants to do a port?
                   14993:        ;;
                   14994:       irix5* | irix6* | nonstopux*)
                   14995:        case $cc_basename in
                   14996:          CC*)
                   14997:            lt_prog_compiler_wl_CXX='-Wl,'
                   14998:            lt_prog_compiler_static_CXX='-non_shared'
                   14999:            # CC pic flag -KPIC is the default.
                   15000:            ;;
                   15001:          *)
                   15002:            ;;
                   15003:        esac
                   15004:        ;;
                   15005:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15006:        case $cc_basename in
                   15007:          KCC*)
                   15008:            # KAI C++ Compiler
                   15009:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15010:            lt_prog_compiler_pic_CXX='-fPIC'
                   15011:            ;;
                   15012:          ecpc* )
                   15013:            # old Intel C++ for x86_64 which still supported -KPIC.
                   15014:            lt_prog_compiler_wl_CXX='-Wl,'
                   15015:            lt_prog_compiler_pic_CXX='-KPIC'
                   15016:            lt_prog_compiler_static_CXX='-static'
                   15017:            ;;
                   15018:          icpc* )
                   15019:            # Intel C++, used to be incompatible with GCC.
                   15020:            # ICC 10 doesn't accept -KPIC any more.
                   15021:            lt_prog_compiler_wl_CXX='-Wl,'
                   15022:            lt_prog_compiler_pic_CXX='-fPIC'
                   15023:            lt_prog_compiler_static_CXX='-static'
                   15024:            ;;
                   15025:          pgCC* | pgcpp*)
                   15026:            # Portland Group C++ compiler
                   15027:            lt_prog_compiler_wl_CXX='-Wl,'
                   15028:            lt_prog_compiler_pic_CXX='-fpic'
                   15029:            lt_prog_compiler_static_CXX='-Bstatic'
                   15030:            ;;
                   15031:          cxx*)
                   15032:            # Compaq C++
                   15033:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15034:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15035:            lt_prog_compiler_pic_CXX=
                   15036:            lt_prog_compiler_static_CXX='-non_shared'
                   15037:            ;;
                   15038:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15039:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15040:            lt_prog_compiler_wl_CXX='-Wl,'
                   15041:            lt_prog_compiler_pic_CXX='-qpic'
                   15042:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15043:            ;;
                   15044:          *)
                   15045:            case `$CC -V 2>&1 | sed 5q` in
                   15046:            *Sun\ C*)
                   15047:              # Sun C++ 5.9
                   15048:              lt_prog_compiler_pic_CXX='-KPIC'
                   15049:              lt_prog_compiler_static_CXX='-Bstatic'
                   15050:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15051:              ;;
                   15052:            esac
                   15053:            ;;
                   15054:        esac
                   15055:        ;;
                   15056:       lynxos*)
                   15057:        ;;
                   15058:       m88k*)
                   15059:        ;;
                   15060:       mvs*)
                   15061:        case $cc_basename in
                   15062:          cxx*)
                   15063:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15064:            ;;
                   15065:          *)
                   15066:            ;;
                   15067:        esac
                   15068:        ;;
                   15069:       netbsd*)
                   15070:        ;;
                   15071:       *qnx* | *nto*)
                   15072:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15073:         # it will coredump.
                   15074:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15075:         ;;
                   15076:       osf3* | osf4* | osf5*)
                   15077:        case $cc_basename in
                   15078:          KCC*)
                   15079:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15080:            ;;
                   15081:          RCC*)
                   15082:            # Rational C++ 2.4.1
                   15083:            lt_prog_compiler_pic_CXX='-pic'
                   15084:            ;;
                   15085:          cxx*)
                   15086:            # Digital/Compaq C++
                   15087:            lt_prog_compiler_wl_CXX='-Wl,'
                   15088:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15089:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15090:            lt_prog_compiler_pic_CXX=
                   15091:            lt_prog_compiler_static_CXX='-non_shared'
                   15092:            ;;
                   15093:          *)
                   15094:            ;;
                   15095:        esac
                   15096:        ;;
                   15097:       psos*)
                   15098:        ;;
                   15099:       solaris*)
                   15100:        case $cc_basename in
                   15101:          CC* | sunCC*)
                   15102:            # Sun C++ 4.2, 5.x and Centerline C++
                   15103:            lt_prog_compiler_pic_CXX='-KPIC'
                   15104:            lt_prog_compiler_static_CXX='-Bstatic'
                   15105:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15106:            ;;
                   15107:          gcx*)
                   15108:            # Green Hills C++ Compiler
                   15109:            lt_prog_compiler_pic_CXX='-PIC'
                   15110:            ;;
                   15111:          *)
                   15112:            ;;
                   15113:        esac
                   15114:        ;;
                   15115:       sunos4*)
                   15116:        case $cc_basename in
                   15117:          CC*)
                   15118:            # Sun C++ 4.x
                   15119:            lt_prog_compiler_pic_CXX='-pic'
                   15120:            lt_prog_compiler_static_CXX='-Bstatic'
                   15121:            ;;
                   15122:          lcc*)
                   15123:            # Lucid
                   15124:            lt_prog_compiler_pic_CXX='-pic'
                   15125:            ;;
                   15126:          *)
                   15127:            ;;
                   15128:        esac
                   15129:        ;;
                   15130:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15131:        case $cc_basename in
                   15132:          CC*)
                   15133:            lt_prog_compiler_wl_CXX='-Wl,'
                   15134:            lt_prog_compiler_pic_CXX='-KPIC'
                   15135:            lt_prog_compiler_static_CXX='-Bstatic'
                   15136:            ;;
                   15137:        esac
                   15138:        ;;
                   15139:       tandem*)
                   15140:        case $cc_basename in
                   15141:          NCC*)
                   15142:            # NonStop-UX NCC 3.20
                   15143:            lt_prog_compiler_pic_CXX='-KPIC'
                   15144:            ;;
                   15145:          *)
                   15146:            ;;
                   15147:        esac
                   15148:        ;;
                   15149:       vxworks*)
                   15150:        ;;
                   15151:       *)
                   15152:        lt_prog_compiler_can_build_shared_CXX=no
                   15153:        ;;
                   15154:     esac
                   15155:   fi
                   15156: 
                   15157: case $host_os in
                   15158:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15159:   *djgpp*)
                   15160:     lt_prog_compiler_pic_CXX=
                   15161:     ;;
                   15162:   *)
                   15163:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15164:     ;;
                   15165: esac
                   15166: 
1.150     moko     15167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15168: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15169: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15170:   $as_echo_n "(cached) " >&6
1.128     moko     15171: else
                   15172:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15173: fi
1.150     moko     15174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15175: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     15176: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15177: 
                   15178: #
                   15179: # Check to make sure the PIC flag actually works.
                   15180: #
                   15181: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     15182:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15183: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15184: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15185:   $as_echo_n "(cached) " >&6
1.128     moko     15186: else
                   15187:   lt_cv_prog_compiler_pic_works_CXX=no
                   15188:    ac_outfile=conftest.$ac_objext
                   15189:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15190:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15191:    # Insert the option either (1) after the last *FLAGS variable, or
                   15192:    # (2) before a word containing "conftest.", or (3) at the end.
                   15193:    # Note that $ac_compile itself does not contain backslashes and begins
                   15194:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15195:    # The option is referenced via a variable to avoid confusing sed.
                   15196:    lt_compile=`echo "$ac_compile" | $SED \
                   15197:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15198:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15199:    -e 's:$: $lt_compiler_flag:'`
                   15200:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15201:    (eval "$lt_compile" 2>conftest.err)
                   15202:    ac_status=$?
                   15203:    cat conftest.err >&5
                   15204:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15205:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15206:      # The compiler can only warn and ignore the option if not recognized
                   15207:      # So say no if there are warnings other than the usual output.
                   15208:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15209:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15210:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15211:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15212:      fi
                   15213:    fi
                   15214:    $RM conftest*
                   15215: 
                   15216: fi
1.150     moko     15217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15218: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     15219: 
                   15220: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15221:     case $lt_prog_compiler_pic_CXX in
                   15222:      "" | " "*) ;;
                   15223:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15224:      esac
                   15225: else
                   15226:     lt_prog_compiler_pic_CXX=
                   15227:      lt_prog_compiler_can_build_shared_CXX=no
                   15228: fi
                   15229: 
                   15230: fi
                   15231: 
                   15232: 
                   15233: 
                   15234: 
                   15235: 
                   15236: #
                   15237: # Check to make sure the static flag actually works.
                   15238: #
                   15239: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15241: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15242: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15243:   $as_echo_n "(cached) " >&6
1.128     moko     15244: else
                   15245:   lt_cv_prog_compiler_static_works_CXX=no
                   15246:    save_LDFLAGS="$LDFLAGS"
                   15247:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15248:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15249:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15250:      # The linker can only warn and ignore the option if not recognized
                   15251:      # So say no if there are warnings
                   15252:      if test -s conftest.err; then
                   15253:        # Append any errors to the config.log.
                   15254:        cat conftest.err 1>&5
                   15255:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15256:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15257:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15258:          lt_cv_prog_compiler_static_works_CXX=yes
                   15259:        fi
                   15260:      else
                   15261:        lt_cv_prog_compiler_static_works_CXX=yes
                   15262:      fi
                   15263:    fi
                   15264:    $RM -r conftest*
                   15265:    LDFLAGS="$save_LDFLAGS"
                   15266: 
                   15267: fi
1.150     moko     15268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15269: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15270: 
                   15271: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15272:     :
                   15273: else
                   15274:     lt_prog_compiler_static_CXX=
                   15275: fi
                   15276: 
                   15277: 
                   15278: 
                   15279: 
1.150     moko     15280:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15281: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15282: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15283:   $as_echo_n "(cached) " >&6
1.128     moko     15284: else
                   15285:   lt_cv_prog_compiler_c_o_CXX=no
                   15286:    $RM -r conftest 2>/dev/null
                   15287:    mkdir conftest
                   15288:    cd conftest
                   15289:    mkdir out
                   15290:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15291: 
                   15292:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15293:    # Insert the option either (1) after the last *FLAGS variable, or
                   15294:    # (2) before a word containing "conftest.", or (3) at the end.
                   15295:    # Note that $ac_compile itself does not contain backslashes and begins
                   15296:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15297:    lt_compile=`echo "$ac_compile" | $SED \
                   15298:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15299:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15300:    -e 's:$: $lt_compiler_flag:'`
                   15301:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15302:    (eval "$lt_compile" 2>out/conftest.err)
                   15303:    ac_status=$?
                   15304:    cat out/conftest.err >&5
                   15305:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15306:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15307:    then
                   15308:      # The compiler can only warn and ignore the option if not recognized
                   15309:      # So say no if there are warnings
                   15310:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15311:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15312:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15313:        lt_cv_prog_compiler_c_o_CXX=yes
                   15314:      fi
                   15315:    fi
                   15316:    chmod u+w . 2>&5
                   15317:    $RM conftest*
                   15318:    # SGI C++ compiler will create directory out/ii_files/ for
                   15319:    # template instantiation
                   15320:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15321:    $RM out/* && rmdir out
                   15322:    cd ..
                   15323:    $RM -r conftest
                   15324:    $RM conftest*
                   15325: 
                   15326: fi
1.150     moko     15327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15328: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15329: 
                   15330: 
                   15331: 
1.150     moko     15332:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15333: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15334: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15335:   $as_echo_n "(cached) " >&6
1.128     moko     15336: else
                   15337:   lt_cv_prog_compiler_c_o_CXX=no
                   15338:    $RM -r conftest 2>/dev/null
                   15339:    mkdir conftest
                   15340:    cd conftest
                   15341:    mkdir out
                   15342:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15343: 
                   15344:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15345:    # Insert the option either (1) after the last *FLAGS variable, or
                   15346:    # (2) before a word containing "conftest.", or (3) at the end.
                   15347:    # Note that $ac_compile itself does not contain backslashes and begins
                   15348:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15349:    lt_compile=`echo "$ac_compile" | $SED \
                   15350:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15351:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15352:    -e 's:$: $lt_compiler_flag:'`
                   15353:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15354:    (eval "$lt_compile" 2>out/conftest.err)
                   15355:    ac_status=$?
                   15356:    cat out/conftest.err >&5
                   15357:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15358:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15359:    then
                   15360:      # The compiler can only warn and ignore the option if not recognized
                   15361:      # So say no if there are warnings
                   15362:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15363:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15364:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15365:        lt_cv_prog_compiler_c_o_CXX=yes
                   15366:      fi
                   15367:    fi
                   15368:    chmod u+w . 2>&5
                   15369:    $RM conftest*
                   15370:    # SGI C++ compiler will create directory out/ii_files/ for
                   15371:    # template instantiation
                   15372:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15373:    $RM out/* && rmdir out
                   15374:    cd ..
                   15375:    $RM -r conftest
                   15376:    $RM conftest*
                   15377: 
                   15378: fi
1.150     moko     15379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15380: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15381: 
                   15382: 
                   15383: 
                   15384: 
                   15385: hard_links="nottested"
                   15386: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15387:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15388:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15389: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15390:   hard_links=yes
                   15391:   $RM conftest*
                   15392:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15393:   touch conftest.a
                   15394:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15395:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15397: $as_echo "$hard_links" >&6; }
1.128     moko     15398:   if test "$hard_links" = no; then
1.150     moko     15399:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15400: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15401:     need_locks=warn
                   15402:   fi
                   15403: else
                   15404:   need_locks=no
                   15405: fi
                   15406: 
                   15407: 
                   15408: 
1.150     moko     15409:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15410: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15411: 
                   15412:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15413:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15414:   case $host_os in
                   15415:   aix[4-9]*)
                   15416:     # If we're using GNU nm, then we don't want the "-C" option.
                   15417:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15418:     # Also, AIX nm treats weak defined symbols like other global defined
                   15419:     # symbols, whereas GNU nm marks them as "W".
                   15420:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15421:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15422:     else
                   15423:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   15424:     fi
                   15425:     ;;
                   15426:   pw32*)
                   15427:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15428:     ;;
                   15429:   cygwin* | mingw* | cegcc*)
                   15430:     case $cc_basename in
                   15431:     cl*)
                   15432:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15433:       ;;
                   15434:     *)
                   15435:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   15436:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15437:       ;;
                   15438:     esac
                   15439:     ;;
                   15440:   *)
                   15441:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15442:     ;;
                   15443:   esac
                   15444: 
1.150     moko     15445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15446: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15447: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15448: 
                   15449: with_gnu_ld_CXX=$with_gnu_ld
                   15450: 
                   15451: 
                   15452: 
                   15453: 
                   15454: 
                   15455: 
                   15456: #
                   15457: # Do we need to explicitly link libc?
                   15458: #
                   15459: case "x$archive_cmds_need_lc_CXX" in
                   15460: x|xyes)
                   15461:   # Assume -lc should be added
                   15462:   archive_cmds_need_lc_CXX=yes
                   15463: 
                   15464:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15465:     case $archive_cmds_CXX in
                   15466:     *'~'*)
                   15467:       # FIXME: we may have to deal with multi-command sequences.
                   15468:       ;;
                   15469:     '$CC '*)
                   15470:       # Test whether the compiler implicitly links with -lc since on some
                   15471:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15472:       # to ld, don't add -lc before -lgcc.
1.150     moko     15473:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15474: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15475: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15476:   $as_echo_n "(cached) " >&6
1.128     moko     15477: else
                   15478:   $RM conftest*
                   15479:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15480: 
1.150     moko     15481:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15482:   (eval $ac_compile) 2>&5
                   15483:   ac_status=$?
1.150     moko     15484:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15485:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15486:          soname=conftest
                   15487:          lib=conftest
                   15488:          libobjs=conftest.$ac_objext
                   15489:          deplibs=
                   15490:          wl=$lt_prog_compiler_wl_CXX
                   15491:          pic_flag=$lt_prog_compiler_pic_CXX
                   15492:          compiler_flags=-v
                   15493:          linker_flags=-v
                   15494:          verstring=
                   15495:          output_objdir=.
                   15496:          libname=conftest
                   15497:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15498:          allow_undefined_flag_CXX=
1.150     moko     15499:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15500:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15501:   ac_status=$?
1.150     moko     15502:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15503:   test $ac_status = 0; }
1.128     moko     15504:          then
                   15505:            lt_cv_archive_cmds_need_lc_CXX=no
                   15506:          else
                   15507:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15508:          fi
                   15509:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15510:        else
                   15511:          cat conftest.err 1>&5
                   15512:        fi
                   15513:        $RM conftest*
                   15514: 
                   15515: fi
1.150     moko     15516: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15517: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15518:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15519:       ;;
                   15520:     esac
                   15521:   fi
                   15522:   ;;
                   15523: esac
                   15524: 
                   15525: 
                   15526: 
                   15527: 
                   15528: 
                   15529: 
                   15530: 
                   15531: 
                   15532: 
                   15533: 
                   15534: 
                   15535: 
                   15536: 
                   15537: 
                   15538: 
                   15539: 
                   15540: 
                   15541: 
                   15542: 
                   15543: 
                   15544: 
                   15545: 
                   15546: 
                   15547: 
                   15548: 
                   15549: 
                   15550: 
                   15551: 
                   15552: 
                   15553: 
                   15554: 
                   15555: 
                   15556: 
                   15557: 
                   15558: 
                   15559: 
                   15560: 
                   15561: 
                   15562: 
                   15563: 
                   15564: 
                   15565: 
                   15566: 
                   15567: 
                   15568: 
                   15569: 
                   15570: 
                   15571: 
                   15572: 
                   15573: 
                   15574: 
                   15575: 
                   15576: 
                   15577: 
                   15578: 
                   15579: 
                   15580: 
                   15581: 
                   15582: 
                   15583: 
                   15584: 
                   15585: 
1.150     moko     15586:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15587: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15588: 
                   15589: library_names_spec=
                   15590: libname_spec='lib$name'
                   15591: soname_spec=
                   15592: shrext_cmds=".so"
                   15593: postinstall_cmds=
                   15594: postuninstall_cmds=
                   15595: finish_cmds=
                   15596: finish_eval=
                   15597: shlibpath_var=
                   15598: shlibpath_overrides_runpath=unknown
                   15599: version_type=none
                   15600: dynamic_linker="$host_os ld.so"
                   15601: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15602: need_lib_prefix=unknown
                   15603: hardcode_into_libs=no
                   15604: 
                   15605: # when you set need_version to no, make sure it does not cause -set_version
                   15606: # flags to be left without arguments
                   15607: need_version=unknown
                   15608: 
                   15609: case $host_os in
                   15610: aix3*)
                   15611:   version_type=linux # correct to gnu/linux during the next big refactor
                   15612:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15613:   shlibpath_var=LIBPATH
                   15614: 
                   15615:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15616:   soname_spec='${libname}${release}${shared_ext}$major'
                   15617:   ;;
                   15618: 
                   15619: aix[4-9]*)
                   15620:   version_type=linux # correct to gnu/linux during the next big refactor
                   15621:   need_lib_prefix=no
                   15622:   need_version=no
                   15623:   hardcode_into_libs=yes
                   15624:   if test "$host_cpu" = ia64; then
                   15625:     # AIX 5 supports IA64
                   15626:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15627:     shlibpath_var=LD_LIBRARY_PATH
                   15628:   else
                   15629:     # With GCC up to 2.95.x, collect2 would create an import file
                   15630:     # for dependence libraries.  The import file would start with
                   15631:     # the line `#! .'.  This would cause the generated library to
                   15632:     # depend on `.', always an invalid library.  This was fixed in
                   15633:     # development snapshots of GCC prior to 3.0.
                   15634:     case $host_os in
                   15635:       aix4 | aix4.[01] | aix4.[01].*)
                   15636:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15637:           echo ' yes '
                   15638:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15639:        :
                   15640:       else
                   15641:        can_build_shared=no
                   15642:       fi
                   15643:       ;;
                   15644:     esac
                   15645:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15646:     # soname into executable. Probably we can add versioning support to
                   15647:     # collect2, so additional links can be useful in future.
                   15648:     if test "$aix_use_runtimelinking" = yes; then
                   15649:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15650:       # instead of lib<name>.a to let people know that these are not
                   15651:       # typical AIX shared libraries.
                   15652:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15653:     else
                   15654:       # We preserve .a as extension for shared libraries through AIX4.2
                   15655:       # and later when we are not doing run time linking.
                   15656:       library_names_spec='${libname}${release}.a $libname.a'
                   15657:       soname_spec='${libname}${release}${shared_ext}$major'
                   15658:     fi
                   15659:     shlibpath_var=LIBPATH
                   15660:   fi
                   15661:   ;;
                   15662: 
                   15663: amigaos*)
                   15664:   case $host_cpu in
                   15665:   powerpc)
                   15666:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15667:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15668:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15669:     ;;
                   15670:   m68k)
                   15671:     library_names_spec='$libname.ixlibrary $libname.a'
                   15672:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15673:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   15674:     ;;
                   15675:   esac
                   15676:   ;;
                   15677: 
                   15678: beos*)
                   15679:   library_names_spec='${libname}${shared_ext}'
                   15680:   dynamic_linker="$host_os ld.so"
                   15681:   shlibpath_var=LIBRARY_PATH
                   15682:   ;;
                   15683: 
                   15684: bsdi[45]*)
                   15685:   version_type=linux # correct to gnu/linux during the next big refactor
                   15686:   need_version=no
                   15687:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15688:   soname_spec='${libname}${release}${shared_ext}$major'
                   15689:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15690:   shlibpath_var=LD_LIBRARY_PATH
                   15691:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15692:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15693:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15694:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15695:   # libtool to hard-code these into programs
                   15696:   ;;
                   15697: 
                   15698: cygwin* | mingw* | pw32* | cegcc*)
                   15699:   version_type=windows
                   15700:   shrext_cmds=".dll"
                   15701:   need_version=no
                   15702:   need_lib_prefix=no
                   15703: 
                   15704:   case $GCC,$cc_basename in
                   15705:   yes,*)
                   15706:     # gcc
                   15707:     library_names_spec='$libname.dll.a'
                   15708:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15709:     postinstall_cmds='base_file=`basename \${file}`~
                   15710:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15711:       dldir=$destdir/`dirname \$dlpath`~
                   15712:       test -d \$dldir || mkdir -p \$dldir~
                   15713:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15714:       chmod a+x \$dldir/$dlname~
                   15715:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15716:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15717:       fi'
                   15718:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15719:       dlpath=$dir/\$dldll~
                   15720:        $RM \$dlpath'
                   15721:     shlibpath_overrides_runpath=yes
                   15722: 
                   15723:     case $host_os in
                   15724:     cygwin*)
                   15725:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15726:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15727: 
                   15728:       ;;
                   15729:     mingw* | cegcc*)
                   15730:       # MinGW DLLs use traditional 'lib' prefix
                   15731:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15732:       ;;
                   15733:     pw32*)
                   15734:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15735:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15736:       ;;
                   15737:     esac
                   15738:     dynamic_linker='Win32 ld.exe'
                   15739:     ;;
                   15740: 
                   15741:   *,cl*)
                   15742:     # Native MSVC
                   15743:     libname_spec='$name'
                   15744:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15745:     library_names_spec='${libname}.dll.lib'
                   15746: 
                   15747:     case $build_os in
                   15748:     mingw*)
                   15749:       sys_lib_search_path_spec=
                   15750:       lt_save_ifs=$IFS
                   15751:       IFS=';'
                   15752:       for lt_path in $LIB
                   15753:       do
                   15754:         IFS=$lt_save_ifs
                   15755:         # Let DOS variable expansion print the short 8.3 style file name.
                   15756:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15757:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15758:       done
                   15759:       IFS=$lt_save_ifs
                   15760:       # Convert to MSYS style.
                   15761:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15762:       ;;
                   15763:     cygwin*)
                   15764:       # Convert to unix form, then to dos form, then back to unix form
                   15765:       # but this time dos style (no spaces!) so that the unix form looks
                   15766:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15767:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15768:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15769:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15770:       ;;
                   15771:     *)
                   15772:       sys_lib_search_path_spec="$LIB"
                   15773:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15774:         # It is most probably a Windows format PATH.
                   15775:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15776:       else
                   15777:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15778:       fi
                   15779:       # FIXME: find the short name or the path components, as spaces are
                   15780:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15781:       ;;
                   15782:     esac
                   15783: 
                   15784:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15785:     postinstall_cmds='base_file=`basename \${file}`~
                   15786:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15787:       dldir=$destdir/`dirname \$dlpath`~
                   15788:       test -d \$dldir || mkdir -p \$dldir~
                   15789:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15790:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15791:       dlpath=$dir/\$dldll~
                   15792:        $RM \$dlpath'
                   15793:     shlibpath_overrides_runpath=yes
                   15794:     dynamic_linker='Win32 link.exe'
                   15795:     ;;
                   15796: 
                   15797:   *)
                   15798:     # Assume MSVC wrapper
                   15799:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15800:     dynamic_linker='Win32 ld.exe'
                   15801:     ;;
                   15802:   esac
                   15803:   # FIXME: first we should search . and the directory the executable is in
                   15804:   shlibpath_var=PATH
                   15805:   ;;
                   15806: 
                   15807: darwin* | rhapsody*)
                   15808:   dynamic_linker="$host_os dyld"
                   15809:   version_type=darwin
                   15810:   need_lib_prefix=no
                   15811:   need_version=no
                   15812:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15813:   soname_spec='${libname}${release}${major}$shared_ext'
                   15814:   shlibpath_overrides_runpath=yes
                   15815:   shlibpath_var=DYLD_LIBRARY_PATH
                   15816:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15817: 
                   15818:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15819:   ;;
                   15820: 
                   15821: dgux*)
                   15822:   version_type=linux # correct to gnu/linux during the next big refactor
                   15823:   need_lib_prefix=no
                   15824:   need_version=no
                   15825:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15826:   soname_spec='${libname}${release}${shared_ext}$major'
                   15827:   shlibpath_var=LD_LIBRARY_PATH
                   15828:   ;;
                   15829: 
                   15830: freebsd* | dragonfly*)
                   15831:   # DragonFly does not have aout.  When/if they implement a new
                   15832:   # versioning mechanism, adjust this.
                   15833:   if test -x /usr/bin/objformat; then
                   15834:     objformat=`/usr/bin/objformat`
                   15835:   else
                   15836:     case $host_os in
                   15837:     freebsd[23].*) objformat=aout ;;
                   15838:     *) objformat=elf ;;
                   15839:     esac
                   15840:   fi
                   15841:   version_type=freebsd-$objformat
                   15842:   case $version_type in
                   15843:     freebsd-elf*)
                   15844:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15845:       need_version=no
                   15846:       need_lib_prefix=no
                   15847:       ;;
                   15848:     freebsd-*)
                   15849:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15850:       need_version=yes
                   15851:       ;;
                   15852:   esac
                   15853:   shlibpath_var=LD_LIBRARY_PATH
                   15854:   case $host_os in
                   15855:   freebsd2.*)
                   15856:     shlibpath_overrides_runpath=yes
                   15857:     ;;
                   15858:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15859:     shlibpath_overrides_runpath=yes
                   15860:     hardcode_into_libs=yes
                   15861:     ;;
                   15862:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15863:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15864:     shlibpath_overrides_runpath=no
                   15865:     hardcode_into_libs=yes
                   15866:     ;;
                   15867:   *) # from 4.6 on, and DragonFly
                   15868:     shlibpath_overrides_runpath=yes
                   15869:     hardcode_into_libs=yes
                   15870:     ;;
                   15871:   esac
                   15872:   ;;
                   15873: 
                   15874: gnu*)
                   15875:   version_type=linux # correct to gnu/linux during the next big refactor
                   15876:   need_lib_prefix=no
                   15877:   need_version=no
                   15878:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15879:   soname_spec='${libname}${release}${shared_ext}$major'
                   15880:   shlibpath_var=LD_LIBRARY_PATH
                   15881:   shlibpath_overrides_runpath=no
                   15882:   hardcode_into_libs=yes
                   15883:   ;;
                   15884: 
                   15885: haiku*)
                   15886:   version_type=linux # correct to gnu/linux during the next big refactor
                   15887:   need_lib_prefix=no
                   15888:   need_version=no
                   15889:   dynamic_linker="$host_os runtime_loader"
                   15890:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15891:   soname_spec='${libname}${release}${shared_ext}$major'
                   15892:   shlibpath_var=LIBRARY_PATH
                   15893:   shlibpath_overrides_runpath=yes
                   15894:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15895:   hardcode_into_libs=yes
                   15896:   ;;
                   15897: 
                   15898: hpux9* | hpux10* | hpux11*)
                   15899:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15900:   # link against other versions.
                   15901:   version_type=sunos
                   15902:   need_lib_prefix=no
                   15903:   need_version=no
                   15904:   case $host_cpu in
                   15905:   ia64*)
                   15906:     shrext_cmds='.so'
                   15907:     hardcode_into_libs=yes
                   15908:     dynamic_linker="$host_os dld.so"
                   15909:     shlibpath_var=LD_LIBRARY_PATH
                   15910:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15911:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15912:     soname_spec='${libname}${release}${shared_ext}$major'
                   15913:     if test "X$HPUX_IA64_MODE" = X32; then
                   15914:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15915:     else
                   15916:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15917:     fi
                   15918:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15919:     ;;
                   15920:   hppa*64*)
                   15921:     shrext_cmds='.sl'
                   15922:     hardcode_into_libs=yes
                   15923:     dynamic_linker="$host_os dld.sl"
                   15924:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15925:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15926:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15927:     soname_spec='${libname}${release}${shared_ext}$major'
                   15928:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15929:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15930:     ;;
                   15931:   *)
                   15932:     shrext_cmds='.sl'
                   15933:     dynamic_linker="$host_os dld.sl"
                   15934:     shlibpath_var=SHLIB_PATH
                   15935:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15936:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15937:     soname_spec='${libname}${release}${shared_ext}$major'
                   15938:     ;;
                   15939:   esac
                   15940:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15941:   postinstall_cmds='chmod 555 $lib'
                   15942:   # or fails outright, so override atomically:
                   15943:   install_override_mode=555
                   15944:   ;;
                   15945: 
                   15946: interix[3-9]*)
                   15947:   version_type=linux # correct to gnu/linux during the next big refactor
                   15948:   need_lib_prefix=no
                   15949:   need_version=no
                   15950:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15951:   soname_spec='${libname}${release}${shared_ext}$major'
                   15952:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15953:   shlibpath_var=LD_LIBRARY_PATH
                   15954:   shlibpath_overrides_runpath=no
                   15955:   hardcode_into_libs=yes
                   15956:   ;;
                   15957: 
                   15958: irix5* | irix6* | nonstopux*)
                   15959:   case $host_os in
                   15960:     nonstopux*) version_type=nonstopux ;;
                   15961:     *)
                   15962:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15963:                version_type=linux # correct to gnu/linux during the next big refactor
                   15964:        else
                   15965:                version_type=irix
                   15966:        fi ;;
                   15967:   esac
                   15968:   need_lib_prefix=no
                   15969:   need_version=no
                   15970:   soname_spec='${libname}${release}${shared_ext}$major'
                   15971:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15972:   case $host_os in
                   15973:   irix5* | nonstopux*)
                   15974:     libsuff= shlibsuff=
                   15975:     ;;
                   15976:   *)
                   15977:     case $LD in # libtool.m4 will add one of these switches to LD
                   15978:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15979:       libsuff= shlibsuff= libmagic=32-bit;;
                   15980:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15981:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15982:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15983:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15984:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15985:     esac
                   15986:     ;;
                   15987:   esac
                   15988:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15989:   shlibpath_overrides_runpath=no
                   15990:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15991:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15992:   hardcode_into_libs=yes
                   15993:   ;;
                   15994: 
                   15995: # No shared lib support for Linux oldld, aout, or coff.
                   15996: linux*oldld* | linux*aout* | linux*coff*)
                   15997:   dynamic_linker=no
                   15998:   ;;
                   15999: 
                   16000: # This must be glibc/ELF.
                   16001: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16002:   version_type=linux # correct to gnu/linux during the next big refactor
                   16003:   need_lib_prefix=no
                   16004:   need_version=no
                   16005:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16006:   soname_spec='${libname}${release}${shared_ext}$major'
                   16007:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   16008:   shlibpath_var=LD_LIBRARY_PATH
                   16009:   shlibpath_overrides_runpath=no
                   16010: 
                   16011:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     16012:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   16013:   $as_echo_n "(cached) " >&6
1.128     moko     16014: else
                   16015:   lt_cv_shlibpath_overrides_runpath=no
                   16016:     save_LDFLAGS=$LDFLAGS
                   16017:     save_libdir=$libdir
                   16018:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16019:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     16020:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16021: /* end confdefs.h.  */
                   16022: 
                   16023: int
                   16024: main ()
                   16025: {
                   16026: 
                   16027:   ;
                   16028:   return 0;
                   16029: }
                   16030: _ACEOF
1.150     moko     16031: if ac_fn_cxx_try_link "$LINENO"; then :
                   16032:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     16033:   lt_cv_shlibpath_overrides_runpath=yes
                   16034: fi
                   16035: fi
1.150     moko     16036: rm -f core conftest.err conftest.$ac_objext \
                   16037:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16038:     LDFLAGS=$save_LDFLAGS
                   16039:     libdir=$save_libdir
                   16040: 
                   16041: fi
                   16042: 
                   16043:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16044: 
                   16045:   # This implies no fast_install, which is unacceptable.
                   16046:   # Some rework will be needed to allow for fast_install
                   16047:   # before this can be enabled.
                   16048:   hardcode_into_libs=yes
                   16049: 
                   16050:   # Append ld.so.conf contents to the search path
                   16051:   if test -f /etc/ld.so.conf; then
                   16052:     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' ' '`
                   16053:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16054:   fi
                   16055: 
                   16056:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16057:   # powerpc, because MkLinux only supported shared libraries with the
                   16058:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16059:   # most powerpc-linux boxes support dynamic linking these days and
                   16060:   # people can always --disable-shared, the test was removed, and we
                   16061:   # assume the GNU/Linux dynamic linker is in use.
                   16062:   dynamic_linker='GNU/Linux ld.so'
                   16063:   ;;
                   16064: 
                   16065: netbsd*)
                   16066:   version_type=sunos
                   16067:   need_lib_prefix=no
                   16068:   need_version=no
                   16069:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16070:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16071:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16072:     dynamic_linker='NetBSD (a.out) ld.so'
                   16073:   else
                   16074:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16075:     soname_spec='${libname}${release}${shared_ext}$major'
                   16076:     dynamic_linker='NetBSD ld.elf_so'
                   16077:   fi
                   16078:   shlibpath_var=LD_LIBRARY_PATH
                   16079:   shlibpath_overrides_runpath=yes
                   16080:   hardcode_into_libs=yes
                   16081:   ;;
                   16082: 
                   16083: newsos6)
                   16084:   version_type=linux # correct to gnu/linux during the next big refactor
                   16085:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16086:   shlibpath_var=LD_LIBRARY_PATH
                   16087:   shlibpath_overrides_runpath=yes
                   16088:   ;;
                   16089: 
                   16090: *nto* | *qnx*)
                   16091:   version_type=qnx
                   16092:   need_lib_prefix=no
                   16093:   need_version=no
                   16094:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16095:   soname_spec='${libname}${release}${shared_ext}$major'
                   16096:   shlibpath_var=LD_LIBRARY_PATH
                   16097:   shlibpath_overrides_runpath=no
                   16098:   hardcode_into_libs=yes
                   16099:   dynamic_linker='ldqnx.so'
                   16100:   ;;
                   16101: 
                   16102: openbsd*)
                   16103:   version_type=sunos
                   16104:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16105:   need_lib_prefix=no
                   16106:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16107:   case $host_os in
                   16108:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16109:     *)                         need_version=no  ;;
                   16110:   esac
                   16111:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16112:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16113:   shlibpath_var=LD_LIBRARY_PATH
                   16114:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16115:     case $host_os in
                   16116:       openbsd2.[89] | openbsd2.[89].*)
                   16117:        shlibpath_overrides_runpath=no
                   16118:        ;;
                   16119:       *)
                   16120:        shlibpath_overrides_runpath=yes
                   16121:        ;;
                   16122:       esac
                   16123:   else
                   16124:     shlibpath_overrides_runpath=yes
                   16125:   fi
                   16126:   ;;
                   16127: 
                   16128: os2*)
                   16129:   libname_spec='$name'
                   16130:   shrext_cmds=".dll"
                   16131:   need_lib_prefix=no
                   16132:   library_names_spec='$libname${shared_ext} $libname.a'
                   16133:   dynamic_linker='OS/2 ld.exe'
                   16134:   shlibpath_var=LIBPATH
                   16135:   ;;
                   16136: 
                   16137: osf3* | osf4* | osf5*)
                   16138:   version_type=osf
                   16139:   need_lib_prefix=no
                   16140:   need_version=no
                   16141:   soname_spec='${libname}${release}${shared_ext}$major'
                   16142:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16143:   shlibpath_var=LD_LIBRARY_PATH
                   16144:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16145:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16146:   ;;
                   16147: 
                   16148: rdos*)
                   16149:   dynamic_linker=no
                   16150:   ;;
                   16151: 
                   16152: solaris*)
                   16153:   version_type=linux # correct to gnu/linux during the next big refactor
                   16154:   need_lib_prefix=no
                   16155:   need_version=no
                   16156:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16157:   soname_spec='${libname}${release}${shared_ext}$major'
                   16158:   shlibpath_var=LD_LIBRARY_PATH
                   16159:   shlibpath_overrides_runpath=yes
                   16160:   hardcode_into_libs=yes
                   16161:   # ldd complains unless libraries are executable
                   16162:   postinstall_cmds='chmod +x $lib'
                   16163:   ;;
                   16164: 
                   16165: sunos4*)
                   16166:   version_type=sunos
                   16167:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16168:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16169:   shlibpath_var=LD_LIBRARY_PATH
                   16170:   shlibpath_overrides_runpath=yes
                   16171:   if test "$with_gnu_ld" = yes; then
                   16172:     need_lib_prefix=no
                   16173:   fi
                   16174:   need_version=yes
                   16175:   ;;
                   16176: 
                   16177: sysv4 | sysv4.3*)
                   16178:   version_type=linux # correct to gnu/linux during the next big refactor
                   16179:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16180:   soname_spec='${libname}${release}${shared_ext}$major'
                   16181:   shlibpath_var=LD_LIBRARY_PATH
                   16182:   case $host_vendor in
                   16183:     sni)
                   16184:       shlibpath_overrides_runpath=no
                   16185:       need_lib_prefix=no
                   16186:       runpath_var=LD_RUN_PATH
                   16187:       ;;
                   16188:     siemens)
                   16189:       need_lib_prefix=no
                   16190:       ;;
                   16191:     motorola)
                   16192:       need_lib_prefix=no
                   16193:       need_version=no
                   16194:       shlibpath_overrides_runpath=no
                   16195:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16196:       ;;
                   16197:   esac
                   16198:   ;;
                   16199: 
                   16200: sysv4*MP*)
                   16201:   if test -d /usr/nec ;then
                   16202:     version_type=linux # correct to gnu/linux during the next big refactor
                   16203:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16204:     soname_spec='$libname${shared_ext}.$major'
                   16205:     shlibpath_var=LD_LIBRARY_PATH
                   16206:   fi
                   16207:   ;;
                   16208: 
                   16209: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16210:   version_type=freebsd-elf
                   16211:   need_lib_prefix=no
                   16212:   need_version=no
                   16213:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16214:   soname_spec='${libname}${release}${shared_ext}$major'
                   16215:   shlibpath_var=LD_LIBRARY_PATH
                   16216:   shlibpath_overrides_runpath=yes
                   16217:   hardcode_into_libs=yes
                   16218:   if test "$with_gnu_ld" = yes; then
                   16219:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16220:   else
                   16221:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16222:     case $host_os in
                   16223:       sco3.2v5*)
                   16224:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16225:        ;;
                   16226:     esac
                   16227:   fi
                   16228:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16229:   ;;
                   16230: 
                   16231: tpf*)
                   16232:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16233:   version_type=linux # correct to gnu/linux during the next big refactor
                   16234:   need_lib_prefix=no
                   16235:   need_version=no
                   16236:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16237:   shlibpath_var=LD_LIBRARY_PATH
                   16238:   shlibpath_overrides_runpath=no
                   16239:   hardcode_into_libs=yes
                   16240:   ;;
                   16241: 
                   16242: uts4*)
                   16243:   version_type=linux # correct to gnu/linux during the next big refactor
                   16244:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16245:   soname_spec='${libname}${release}${shared_ext}$major'
                   16246:   shlibpath_var=LD_LIBRARY_PATH
                   16247:   ;;
                   16248: 
                   16249: *)
                   16250:   dynamic_linker=no
                   16251:   ;;
                   16252: esac
1.150     moko     16253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16254: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16255: test "$dynamic_linker" = no && can_build_shared=no
                   16256: 
                   16257: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16258: if test "$GCC" = yes; then
                   16259:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16260: fi
                   16261: 
                   16262: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16263:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16264: fi
                   16265: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16266:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16267: fi
                   16268: 
                   16269: 
                   16270: 
                   16271: 
                   16272: 
                   16273: 
                   16274: 
                   16275: 
                   16276: 
                   16277: 
                   16278: 
                   16279: 
                   16280: 
                   16281: 
                   16282: 
                   16283: 
                   16284: 
                   16285: 
                   16286: 
                   16287: 
                   16288: 
                   16289: 
                   16290: 
                   16291: 
                   16292: 
                   16293: 
                   16294: 
                   16295: 
                   16296: 
                   16297: 
                   16298: 
                   16299: 
                   16300: 
                   16301: 
                   16302: 
                   16303: 
                   16304: 
                   16305: 
1.150     moko     16306:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16307: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16308: hardcode_action_CXX=
                   16309: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16310:    test -n "$runpath_var_CXX" ||
                   16311:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16312: 
                   16313:   # We can hardcode non-existent directories.
                   16314:   if test "$hardcode_direct_CXX" != no &&
                   16315:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16316:      # have to relink, otherwise we might link with an installed library
                   16317:      # when we should be linking with a yet-to-be-installed one
                   16318:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16319:      test "$hardcode_minus_L_CXX" != no; then
                   16320:     # Linking always hardcodes the temporary library directory.
                   16321:     hardcode_action_CXX=relink
                   16322:   else
                   16323:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16324:     hardcode_action_CXX=immediate
                   16325:   fi
                   16326: else
                   16327:   # We cannot hardcode anything, or else we can only hardcode existing
                   16328:   # directories.
                   16329:   hardcode_action_CXX=unsupported
                   16330: fi
1.150     moko     16331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16332: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16333: 
                   16334: if test "$hardcode_action_CXX" = relink ||
                   16335:    test "$inherit_rpath_CXX" = yes; then
                   16336:   # Fast installation is not supported
                   16337:   enable_fast_install=no
                   16338: elif test "$shlibpath_overrides_runpath" = yes ||
                   16339:      test "$enable_shared" = no; then
                   16340:   # Fast installation is not necessary
                   16341:   enable_fast_install=needless
                   16342: fi
                   16343: 
                   16344: 
                   16345: 
                   16346: 
                   16347: 
                   16348: 
                   16349: 
                   16350:   fi # test -n "$compiler"
                   16351: 
                   16352:   CC=$lt_save_CC
                   16353:   CFLAGS=$lt_save_CFLAGS
                   16354:   LDCXX=$LD
                   16355:   LD=$lt_save_LD
                   16356:   GCC=$lt_save_GCC
                   16357:   with_gnu_ld=$lt_save_with_gnu_ld
                   16358:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16359:   lt_cv_path_LD=$lt_save_path_LD
                   16360:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16361:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16362: fi # test "$_lt_caught_CXX_error" != yes
                   16363: 
                   16364: ac_ext=c
                   16365: ac_cpp='$CPP $CPPFLAGS'
                   16366: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16367: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16368: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16369: 
                   16370: 
                   16371: 
                   16372: 
                   16373: 
                   16374: 
                   16375: 
                   16376: 
                   16377: 
                   16378: 
                   16379: 
                   16380: 
                   16381: 
                   16382: 
                   16383: 
1.150     moko     16384:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16385: 
                   16386: 
                   16387: 
                   16388: 
                   16389: # Only expand once:
                   16390: 
                   16391: 
1.150     moko     16392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16393: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16394: if ${libltdl_cv_shlibext+:} false; then :
                   16395:   $as_echo_n "(cached) " >&6
1.128     moko     16396: else
                   16397: 
                   16398: module=yes
                   16399: eval libltdl_cv_shlibext=$shrext_cmds
                   16400: module=no
                   16401: eval libltdl_cv_shrext=$shrext_cmds
                   16402: 
                   16403: fi
1.150     moko     16404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16405: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16406: if test -n "$libltdl_cv_shlibext"; then
                   16407: 
                   16408: cat >>confdefs.h <<_ACEOF
                   16409: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16410: _ACEOF
                   16411: 
                   16412: fi
                   16413: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16414: 
                   16415: cat >>confdefs.h <<_ACEOF
                   16416: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16417: _ACEOF
                   16418: 
                   16419: fi
                   16420: 
1.150     moko     16421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16422: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16423: if ${lt_cv_module_path_var+:} false; then :
                   16424:   $as_echo_n "(cached) " >&6
1.128     moko     16425: else
                   16426:   lt_cv_module_path_var="$shlibpath_var"
                   16427: fi
1.150     moko     16428: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16429: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16430: if test -n "$lt_cv_module_path_var"; then
                   16431: 
                   16432: cat >>confdefs.h <<_ACEOF
                   16433: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16434: _ACEOF
                   16435: 
                   16436: fi
                   16437: 
1.150     moko     16438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16439: $as_echo_n "checking for the default library search path... " >&6; }
                   16440: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16441:   $as_echo_n "(cached) " >&6
1.128     moko     16442: else
                   16443:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16444: fi
1.150     moko     16445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16446: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16447: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16448:   sys_dlsearch_path=
                   16449:   for dir in $lt_cv_sys_dlsearch_path; do
                   16450:     if test -z "$sys_dlsearch_path"; then
                   16451:       sys_dlsearch_path="$dir"
                   16452:     else
                   16453:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16454:     fi
                   16455:   done
                   16456: 
                   16457: cat >>confdefs.h <<_ACEOF
                   16458: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16459: _ACEOF
                   16460: 
                   16461: fi
                   16462: 
                   16463: 
                   16464: LT_DLLOADERS=
                   16465: 
                   16466: 
                   16467: ac_ext=c
                   16468: ac_cpp='$CPP $CPPFLAGS'
                   16469: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16470: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16471: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16472: 
                   16473: 
                   16474: LIBADD_DLOPEN=
1.150     moko     16475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16476: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16477: if ${ac_cv_search_dlopen+:} false; then :
                   16478:   $as_echo_n "(cached) " >&6
1.128     moko     16479: else
                   16480:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16481: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16482: /* end confdefs.h.  */
                   16483: 
1.150     moko     16484: /* Override any GCC internal prototype to avoid an error.
                   16485:    Use char because int might match the return type of a GCC
                   16486:    builtin and then its argument prototype would still apply.  */
1.128     moko     16487: #ifdef __cplusplus
                   16488: extern "C"
                   16489: #endif
                   16490: char dlopen ();
                   16491: int
                   16492: main ()
                   16493: {
1.150     moko     16494: return dlopen ();
1.128     moko     16495:   ;
                   16496:   return 0;
                   16497: }
                   16498: _ACEOF
1.150     moko     16499: for ac_lib in '' dl; do
                   16500:   if test -z "$ac_lib"; then
                   16501:     ac_res="none required"
                   16502:   else
                   16503:     ac_res=-l$ac_lib
                   16504:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16505:   fi
                   16506:   if ac_fn_c_try_link "$LINENO"; then :
                   16507:   ac_cv_search_dlopen=$ac_res
                   16508: fi
                   16509: rm -f core conftest.err conftest.$ac_objext \
                   16510:     conftest$ac_exeext
                   16511:   if ${ac_cv_search_dlopen+:} false; then :
                   16512:   break
1.128     moko     16513: fi
1.150     moko     16514: done
                   16515: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16516: 
                   16517: else
1.150     moko     16518:   ac_cv_search_dlopen=no
1.128     moko     16519: fi
1.150     moko     16520: rm conftest.$ac_ext
1.128     moko     16521: LIBS=$ac_func_search_save_LIBS
                   16522: fi
1.150     moko     16523: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16524: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16525: ac_res=$ac_cv_search_dlopen
                   16526: if test "$ac_res" != no; then :
                   16527:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16528: 
1.150     moko     16529: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16530: 
                   16531:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16532:          LIBADD_DLOPEN="-ldl"
                   16533:        fi
                   16534:        libltdl_cv_lib_dl_dlopen="yes"
                   16535:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16536: else
1.150     moko     16537:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16538: /* end confdefs.h.  */
                   16539: #if HAVE_DLFCN_H
                   16540: #  include <dlfcn.h>
                   16541: #endif
                   16542: 
                   16543: int
                   16544: main ()
                   16545: {
                   16546: dlopen(0, 0);
                   16547:   ;
                   16548:   return 0;
                   16549: }
                   16550: _ACEOF
1.150     moko     16551: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16552: 
1.150     moko     16553: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16554: 
                   16555:            libltdl_cv_func_dlopen="yes"
                   16556:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16557: else
1.150     moko     16558:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16559: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16560: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16561:   $as_echo_n "(cached) " >&6
1.128     moko     16562: else
                   16563:   ac_check_lib_save_LIBS=$LIBS
                   16564: LIBS="-lsvld  $LIBS"
1.150     moko     16565: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16566: /* end confdefs.h.  */
                   16567: 
1.150     moko     16568: /* Override any GCC internal prototype to avoid an error.
                   16569:    Use char because int might match the return type of a GCC
                   16570:    builtin and then its argument prototype would still apply.  */
1.128     moko     16571: #ifdef __cplusplus
                   16572: extern "C"
                   16573: #endif
                   16574: char dlopen ();
                   16575: int
                   16576: main ()
                   16577: {
1.150     moko     16578: return dlopen ();
1.128     moko     16579:   ;
                   16580:   return 0;
                   16581: }
                   16582: _ACEOF
1.150     moko     16583: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16584:   ac_cv_lib_svld_dlopen=yes
                   16585: else
1.150     moko     16586:   ac_cv_lib_svld_dlopen=no
1.128     moko     16587: fi
1.150     moko     16588: rm -f core conftest.err conftest.$ac_objext \
                   16589:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16590: LIBS=$ac_check_lib_save_LIBS
                   16591: fi
1.150     moko     16592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16593: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16594: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16595: 
1.150     moko     16596: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16597: 
                   16598:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16599:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16600: fi
                   16601: 
                   16602: fi
1.150     moko     16603: rm -f core conftest.err conftest.$ac_objext \
                   16604:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16605: fi
                   16606: 
                   16607: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16608: then
                   16609:   lt_save_LIBS="$LIBS"
                   16610:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16611:   for ac_func in dlerror
                   16612: do :
                   16613:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16614: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16615:   cat >>confdefs.h <<_ACEOF
1.150     moko     16616: #define HAVE_DLERROR 1
1.128     moko     16617: _ACEOF
                   16618: 
                   16619: fi
                   16620: done
                   16621: 
                   16622:   LIBS="$lt_save_LIBS"
                   16623: fi
                   16624: 
                   16625: 
                   16626: LIBADD_SHL_LOAD=
1.150     moko     16627: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16628: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16629: 
1.150     moko     16630: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16631: 
                   16632:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16633: else
1.150     moko     16634:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16635: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16636: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16637:   $as_echo_n "(cached) " >&6
1.66      paf      16638: else
                   16639:   ac_check_lib_save_LIBS=$LIBS
                   16640: LIBS="-ldld  $LIBS"
1.150     moko     16641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16642: /* end confdefs.h.  */
1.10      paf      16643: 
1.150     moko     16644: /* Override any GCC internal prototype to avoid an error.
                   16645:    Use char because int might match the return type of a GCC
                   16646:    builtin and then its argument prototype would still apply.  */
1.66      paf      16647: #ifdef __cplusplus
                   16648: extern "C"
                   16649: #endif
                   16650: char shl_load ();
                   16651: int
                   16652: main ()
                   16653: {
1.150     moko     16654: return shl_load ();
1.66      paf      16655:   ;
                   16656:   return 0;
                   16657: }
                   16658: _ACEOF
1.150     moko     16659: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16660:   ac_cv_lib_dld_shl_load=yes
                   16661: else
1.150     moko     16662:   ac_cv_lib_dld_shl_load=no
1.66      paf      16663: fi
1.150     moko     16664: rm -f core conftest.err conftest.$ac_objext \
                   16665:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16666: LIBS=$ac_check_lib_save_LIBS
                   16667: fi
1.150     moko     16668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16669: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16670: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16671: 
1.150     moko     16672: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16673: 
1.128     moko     16674:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16675:            LIBADD_SHL_LOAD="-ldld"
                   16676: fi
                   16677: 
                   16678: fi
                   16679: 
                   16680: 
                   16681: 
                   16682: case $host_os in
                   16683: darwin[1567].*)
                   16684: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16685:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16686: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16687: 
                   16688: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16689: 
1.150     moko     16690:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16691: fi
1.128     moko     16692: 
1.150     moko     16693:   ;;
                   16694: beos*)
1.128     moko     16695:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16696:   ;;
                   16697: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16698:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16699: "
                   16700: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16701:   ac_have_decl=1
1.128     moko     16702: else
1.150     moko     16703:   ac_have_decl=0
1.128     moko     16704: fi
                   16705: 
                   16706: cat >>confdefs.h <<_ACEOF
1.150     moko     16707: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16708: _ACEOF
                   16709: 
                   16710:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16711:   ;;
                   16712: esac
                   16713: 
1.150     moko     16714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16715: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16716: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16717:   $as_echo_n "(cached) " >&6
1.66      paf      16718: else
                   16719:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16720: LIBS="-ldld  $LIBS"
1.150     moko     16721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16722: /* end confdefs.h.  */
1.62      paf      16723: 
1.150     moko     16724: /* Override any GCC internal prototype to avoid an error.
                   16725:    Use char because int might match the return type of a GCC
                   16726:    builtin and then its argument prototype would still apply.  */
1.66      paf      16727: #ifdef __cplusplus
                   16728: extern "C"
                   16729: #endif
1.128     moko     16730: char dld_link ();
1.66      paf      16731: int
                   16732: main ()
                   16733: {
1.150     moko     16734: return dld_link ();
1.66      paf      16735:   ;
                   16736:   return 0;
                   16737: }
                   16738: _ACEOF
1.150     moko     16739: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16740:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16741: else
1.150     moko     16742:   ac_cv_lib_dld_dld_link=no
1.128     moko     16743: fi
1.150     moko     16744: rm -f core conftest.err conftest.$ac_objext \
                   16745:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16746: LIBS=$ac_check_lib_save_LIBS
                   16747: fi
1.150     moko     16748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16749: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16750: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16751: 
1.150     moko     16752: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16753: 
                   16754:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16755: fi
                   16756: 
                   16757: 
                   16758: 
                   16759: 
                   16760: LT_DLPREOPEN=
                   16761: if test -n "$LT_DLLOADERS"
                   16762: then
                   16763:   for lt_loader in $LT_DLLOADERS; do
                   16764:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16765:   done
                   16766: 
1.150     moko     16767: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16768: 
                   16769: fi
                   16770: 
                   16771: 
                   16772: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16773: 
                   16774: 
                   16775: ac_ext=c
                   16776: ac_cpp='$CPP $CPPFLAGS'
                   16777: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16778: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16779: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16780: 
                   16781: 
1.150     moko     16782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16783: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16784: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16785:   $as_echo_n "(cached) " >&6
1.128     moko     16786: else
                   16787:   lt_cv_sys_symbol_underscore=no
                   16788:   cat > conftest.$ac_ext <<_LT_EOF
                   16789: void nm_test_func(){}
                   16790: int main(){nm_test_func;return 0;}
                   16791: _LT_EOF
1.150     moko     16792:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16793:   (eval $ac_compile) 2>&5
                   16794:   ac_status=$?
1.150     moko     16795:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16796:   test $ac_status = 0; }; then
1.128     moko     16797:     # Now try to grab the symbols.
                   16798:     ac_nlist=conftest.nm
1.150     moko     16799:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16800:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16801:   ac_status=$?
1.150     moko     16802:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16803:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16804:       # See whether the symbols have a leading underscore.
                   16805:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16806:         lt_cv_sys_symbol_underscore=yes
                   16807:       else
                   16808:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16809:          :
                   16810:         else
                   16811:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16812:         fi
                   16813:       fi
                   16814:     else
                   16815:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16816:     fi
                   16817:   else
                   16818:     echo "configure: failed program was:" >&5
                   16819:     cat conftest.c >&5
                   16820:   fi
                   16821:   rm -rf conftest*
1.29      paf      16822: 
1.66      paf      16823: fi
1.150     moko     16824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16825: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16826:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16827: 
1.62      paf      16828: 
1.128     moko     16829: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16830:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16831:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16832:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16833: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16834: if ${libltdl_cv_need_uscore+:} false; then :
                   16835:   $as_echo_n "(cached) " >&6
1.66      paf      16836: else
1.128     moko     16837:   libltdl_cv_need_uscore=unknown
                   16838:           save_LIBS="$LIBS"
                   16839:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16840:          if test "$cross_compiling" = yes; then :
                   16841:   libltdl_cv_need_uscore=cross
                   16842: else
                   16843:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16844:   lt_status=$lt_dlunknown
                   16845:   cat > conftest.$ac_ext <<_LT_EOF
                   16846: #line $LINENO "configure"
                   16847: #include "confdefs.h"
                   16848: 
1.66      paf      16849: #if HAVE_DLFCN_H
1.128     moko     16850: #include <dlfcn.h>
                   16851: #endif
                   16852: 
                   16853: #include <stdio.h>
                   16854: 
                   16855: #ifdef RTLD_GLOBAL
                   16856: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16857: #else
                   16858: #  ifdef DL_GLOBAL
                   16859: #    define LT_DLGLOBAL                DL_GLOBAL
                   16860: #  else
                   16861: #    define LT_DLGLOBAL                0
                   16862: #  endif
                   16863: #endif
                   16864: 
                   16865: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16866:    find out it does not work in some platform. */
                   16867: #ifndef LT_DLLAZY_OR_NOW
                   16868: #  ifdef RTLD_LAZY
                   16869: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16870: #  else
                   16871: #    ifdef DL_LAZY
                   16872: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16873: #    else
                   16874: #      ifdef RTLD_NOW
                   16875: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16876: #      else
                   16877: #        ifdef DL_NOW
                   16878: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16879: #        else
                   16880: #          define LT_DLLAZY_OR_NOW     0
                   16881: #        endif
                   16882: #      endif
                   16883: #    endif
                   16884: #  endif
                   16885: #endif
                   16886: 
                   16887: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16888:    correspondingly for the symbols needed.  */
                   16889: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16890: int fnord () __attribute__((visibility("default")));
1.66      paf      16891: #endif
1.62      paf      16892: 
1.128     moko     16893: int fnord () { return 42; }
                   16894: int main ()
1.66      paf      16895: {
1.128     moko     16896:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16897:   int status = $lt_dlunknown;
                   16898: 
                   16899:   if (self)
                   16900:     {
                   16901:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16902:       else
                   16903:         {
                   16904:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16905:           else puts (dlerror ());
                   16906:        }
                   16907:       /* dlclose (self); */
                   16908:     }
                   16909:   else
                   16910:     puts (dlerror ());
                   16911: 
                   16912:   return status;
1.66      paf      16913: }
1.128     moko     16914: _LT_EOF
1.150     moko     16915:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16916:   (eval $ac_link) 2>&5
1.66      paf      16917:   ac_status=$?
1.150     moko     16918:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16919:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16920:     (./conftest; exit; ) >&5 2>/dev/null
                   16921:     lt_status=$?
                   16922:     case x$lt_status in
                   16923:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16924:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16925:       x$lt_dlunknown|x*)  ;;
                   16926:     esac
                   16927:   else :
                   16928:     # compilation failed
                   16929: 
                   16930:   fi
                   16931: fi
                   16932: rm -fr conftest*
                   16933: 
                   16934:          LIBS="$save_LIBS"
                   16935: 
                   16936: fi
1.150     moko     16937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16938: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16939:   fi
                   16940: fi
                   16941: 
                   16942: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16943: 
1.150     moko     16944: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16945: 
1.128     moko     16946: fi
                   16947: 
1.150     moko     16948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16949: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16950: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16951:   $as_echo_n "(cached) " >&6
1.66      paf      16952: else
1.128     moko     16953:   # PORTME does your system automatically load deplibs for dlopen?
                   16954:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16955:   # For now, we just catch OSes we know something about -- in the
                   16956:   # future, we'll try test this programmatically.
                   16957:   lt_cv_sys_dlopen_deplibs=unknown
                   16958:   case $host_os in
                   16959:   aix3*|aix4.1.*|aix4.2.*)
                   16960:     # Unknown whether this is true for these versions of AIX, but
                   16961:     # we want this `case' here to explicitly catch those versions.
                   16962:     lt_cv_sys_dlopen_deplibs=unknown
                   16963:     ;;
                   16964:   aix[4-9]*)
                   16965:     lt_cv_sys_dlopen_deplibs=yes
                   16966:     ;;
                   16967:   amigaos*)
                   16968:     case $host_cpu in
                   16969:     powerpc)
                   16970:       lt_cv_sys_dlopen_deplibs=no
                   16971:       ;;
                   16972:     esac
                   16973:     ;;
                   16974:   darwin*)
                   16975:     # Assuming the user has installed a libdl from somewhere, this is true
                   16976:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16977:     lt_cv_sys_dlopen_deplibs=yes
                   16978:     ;;
                   16979:   freebsd* | dragonfly*)
                   16980:     lt_cv_sys_dlopen_deplibs=yes
                   16981:     ;;
                   16982:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16983:     # GNU and its variants, using gnu ld.so (Glibc)
                   16984:     lt_cv_sys_dlopen_deplibs=yes
                   16985:     ;;
                   16986:   hpux10*|hpux11*)
                   16987:     lt_cv_sys_dlopen_deplibs=yes
                   16988:     ;;
                   16989:   interix*)
                   16990:     lt_cv_sys_dlopen_deplibs=yes
                   16991:     ;;
                   16992:   irix[12345]*|irix6.[01]*)
                   16993:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16994:     # know how it worked for any of those versions.
                   16995:     lt_cv_sys_dlopen_deplibs=unknown
                   16996:     ;;
                   16997:   irix*)
                   16998:     # The case above catches anything before 6.2, and it's known that
                   16999:     # at 6.2 and later dlopen does load deplibs.
                   17000:     lt_cv_sys_dlopen_deplibs=yes
                   17001:     ;;
                   17002:   netbsd*)
                   17003:     lt_cv_sys_dlopen_deplibs=yes
                   17004:     ;;
                   17005:   openbsd*)
                   17006:     lt_cv_sys_dlopen_deplibs=yes
                   17007:     ;;
                   17008:   osf[1234]*)
                   17009:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   17010:     # it did *not* use an RPATH in a shared library to find objects the
                   17011:     # library depends on, so we explicitly say `no'.
                   17012:     lt_cv_sys_dlopen_deplibs=no
                   17013:     ;;
                   17014:   osf5.0|osf5.0a|osf5.1)
                   17015:     # dlopen *does* load deplibs and with the right loader patch applied
                   17016:     # it even uses RPATH in a shared library to search for shared objects
                   17017:     # that the library depends on, but there's no easy way to know if that
                   17018:     # patch is installed.  Since this is the case, all we can really
                   17019:     # say is unknown -- it depends on the patch being installed.  If
                   17020:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17021:     lt_cv_sys_dlopen_deplibs=unknown
                   17022:     ;;
                   17023:   osf*)
                   17024:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17025:     # the comments above for what we know about them.
                   17026:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17027:     # is used to find them so we can finally say `yes'.
                   17028:     lt_cv_sys_dlopen_deplibs=yes
                   17029:     ;;
                   17030:   qnx*)
                   17031:     lt_cv_sys_dlopen_deplibs=yes
                   17032:     ;;
                   17033:   solaris*)
                   17034:     lt_cv_sys_dlopen_deplibs=yes
                   17035:     ;;
                   17036:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17037:     libltdl_cv_sys_dlopen_deplibs=yes
                   17038:     ;;
                   17039:   esac
                   17040: 
                   17041: fi
1.150     moko     17042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17043: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     17044: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17045: 
1.150     moko     17046: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     17047: 
                   17048: fi
                   17049: 
                   17050: :
                   17051: 
                   17052: for ac_header in argz.h
1.150     moko     17053: do :
                   17054:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   17055: "
                   17056: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     17057:   cat >>confdefs.h <<_ACEOF
1.150     moko     17058: #define HAVE_ARGZ_H 1
1.128     moko     17059: _ACEOF
                   17060: 
1.66      paf      17061: fi
1.62      paf      17062: 
1.128     moko     17063: done
                   17064: 
1.29      paf      17065: 
1.150     moko     17066: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     17067: #  include <argz.h>
                   17068: #endif
1.150     moko     17069: "
                   17070: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      17071: 
1.128     moko     17072: cat >>confdefs.h <<_ACEOF
                   17073: #define HAVE_ERROR_T 1
1.62      paf      17074: _ACEOF
1.16      paf      17075: 
                   17076: 
1.128     moko     17077: else
1.16      paf      17078: 
1.150     moko     17079: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      17080: 
1.12      paf      17081: 
1.150     moko     17082: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      17083: 
1.66      paf      17084: fi
1.12      paf      17085: 
1.128     moko     17086: 
                   17087: ARGZ_H=
                   17088: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17089:        argz_next argz_stringify
1.150     moko     17090: do :
                   17091:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17092: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17093: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17094:   cat >>confdefs.h <<_ACEOF
1.150     moko     17095: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17096: _ACEOF
                   17097: 
                   17098: else
                   17099:   ARGZ_H=argz.h;
                   17100: 
                   17101:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17102: 
                   17103: fi
                   17104: done
                   17105: 
                   17106: 
1.150     moko     17107: if test -z "$ARGZ_H"; then :
                   17108:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   17109: $as_echo_n "checking if argz actually works... " >&6; }
                   17110: if ${lt_cv_sys_argz_works+:} false; then :
                   17111:   $as_echo_n "(cached) " >&6
1.128     moko     17112: else
                   17113:   case $host_os in #(
                   17114:         *cygwin*)
                   17115:           lt_cv_sys_argz_works=no
                   17116:           if test "$cross_compiling" != no; then
                   17117:             lt_cv_sys_argz_works="guessing no"
                   17118:           else
                   17119:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17120:             save_IFS=$IFS
                   17121:             IFS=-.
                   17122:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17123:             IFS=$save_IFS
                   17124:             lt_os_major=${2-0}
                   17125:             lt_os_minor=${3-0}
                   17126:             lt_os_micro=${4-0}
                   17127:             if test "$lt_os_major" -gt 1 \
                   17128:                || { test "$lt_os_major" -eq 1 \
                   17129:                  && { test "$lt_os_minor" -gt 5 \
                   17130:                    || { test "$lt_os_minor" -eq 5 \
                   17131:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17132:               lt_cv_sys_argz_works=yes
                   17133:             fi
                   17134:           fi
                   17135:           ;; #(
                   17136:         *) lt_cv_sys_argz_works=yes ;;
                   17137:         esac
                   17138: fi
1.150     moko     17139: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   17140: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   17141:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     17142: 
1.150     moko     17143: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     17144: 
1.62      paf      17145: else
1.128     moko     17146:   ARGZ_H=argz.h
                   17147: 
                   17148: 
                   17149:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17150: 
                   17151: fi
1.62      paf      17152: fi
1.128     moko     17153: 
                   17154: 
                   17155: 
1.150     moko     17156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17157: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   17158: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   17159:   $as_echo_n "(cached) " >&6
1.128     moko     17160: else
                   17161:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17162:     libltdl_cv_preloaded_symbols=yes
                   17163:   else
                   17164:     libltdl_cv_preloaded_symbols=no
                   17165:   fi
                   17166: 
1.62      paf      17167: fi
1.150     moko     17168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   17169: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     17170: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17171: 
1.150     moko     17172: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      17173: 
                   17174: fi
                   17175: 
1.150     moko     17176: 
                   17177: 
1.128     moko     17178: # Set options
                   17179: 
                   17180: 
                   17181: 
                   17182: 
                   17183: 
                   17184: 
                   17185: 
                   17186: 
                   17187: 
                   17188: 
1.66      paf      17189: 
                   17190: 
1.150     moko     17191: # Check whether --with-included_ltdl was given.
                   17192: if test "${with_included_ltdl+set}" = set; then :
                   17193:   withval=$with_included_ltdl;
                   17194: fi
1.64      paf      17195: 
                   17196: 
1.128     moko     17197: if test "x$with_included_ltdl" != xyes; then
                   17198:   # We are not being forced to use the included libltdl sources, so
                   17199:   # decide whether there is a useful installed version we can use.
1.150     moko     17200:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     17201: 
1.150     moko     17202: "
                   17203: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   17204:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     17205:            #include <ltdl.h>
1.150     moko     17206: "
                   17207: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   17208:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   17209: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   17210: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   17211:   $as_echo_n "(cached) " >&6
1.79      paf      17212: else
1.128     moko     17213:   ac_check_lib_save_LIBS=$LIBS
                   17214: LIBS="-lltdl  $LIBS"
1.150     moko     17215: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      17216: /* end confdefs.h.  */
1.128     moko     17217: 
1.150     moko     17218: /* Override any GCC internal prototype to avoid an error.
                   17219:    Use char because int might match the return type of a GCC
                   17220:    builtin and then its argument prototype would still apply.  */
1.128     moko     17221: #ifdef __cplusplus
                   17222: extern "C"
                   17223: #endif
                   17224: char lt_dladvise_preload ();
1.79      paf      17225: int
                   17226: main ()
                   17227: {
1.150     moko     17228: return lt_dladvise_preload ();
1.79      paf      17229:   ;
                   17230:   return 0;
                   17231: }
                   17232: _ACEOF
1.150     moko     17233: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17234:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17235: else
1.150     moko     17236:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17237: fi
1.150     moko     17238: rm -f core conftest.err conftest.$ac_objext \
                   17239:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17240: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17241: fi
1.150     moko     17242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17243: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17244: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17245:   with_included_ltdl=no
1.79      paf      17246: else
1.128     moko     17247:   with_included_ltdl=yes
                   17248: fi
                   17249: 
1.79      paf      17250: else
1.128     moko     17251:   with_included_ltdl=yes
                   17252: fi
1.79      paf      17253: 
1.128     moko     17254: else
                   17255:   with_included_ltdl=yes
1.79      paf      17256: fi
1.128     moko     17257: 
                   17258: 
1.79      paf      17259: fi
1.128     moko     17260: 
                   17261: 
                   17262: 
                   17263: 
1.150     moko     17264: # Check whether --with-ltdl_include was given.
                   17265: if test "${with_ltdl_include+set}" = set; then :
                   17266:   withval=$with_ltdl_include;
                   17267: fi
1.128     moko     17268: 
                   17269: 
                   17270: if test -n "$with_ltdl_include"; then
                   17271:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17272:   else
1.150     moko     17273:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17274:   fi
                   17275: else
                   17276:   with_ltdl_include=no
1.79      paf      17277: fi
1.128     moko     17278: 
                   17279: 
1.150     moko     17280: # Check whether --with-ltdl_lib was given.
                   17281: if test "${with_ltdl_lib+set}" = set; then :
                   17282:   withval=$with_ltdl_lib;
                   17283: fi
1.128     moko     17284: 
                   17285: 
                   17286: if test -n "$with_ltdl_lib"; then
                   17287:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17288:   else
1.150     moko     17289:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17290:   fi
                   17291: else
                   17292:   with_ltdl_lib=no
1.79      paf      17293: fi
                   17294: 
1.128     moko     17295: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17296:   ,yes,no,no,)
                   17297:        case $enable_ltdl_convenience in
1.150     moko     17298:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17299:   "") enable_ltdl_convenience=yes
                   17300:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17301: esac
1.150     moko     17302: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17303: LTDLDEPS=$LIBLTDL
                   17304: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17305: 
                   17306: 
                   17307: 
                   17308: 
                   17309: 
                   17310: # For backwards non-gettext consistent compatibility...
                   17311: INCLTDL="$LTDLINCL"
                   17312: 
1.79      paf      17313: 
1.128     moko     17314:        ;;
                   17315:   ,no,no,no,)
                   17316:        # If the included ltdl is not to be used, then use the
                   17317:        # preinstalled libltdl we found.
1.79      paf      17318: 
1.150     moko     17319: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17320: 
1.128     moko     17321:        LIBLTDL=-lltdl
                   17322:        LTDLDEPS=
                   17323:        LTDLINCL=
                   17324:        ;;
                   17325:   ,no*,no,*)
1.150     moko     17326:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17327:        ;;
                   17328:   *)   with_included_ltdl=no
                   17329:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17330:        LTDLDEPS=
                   17331:        LTDLINCL="-I$with_ltdl_include"
                   17332:        ;;
                   17333: esac
                   17334: INCLTDL="$LTDLINCL"
                   17335: 
                   17336: # Report our decision...
1.150     moko     17337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17338: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17339: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17340: $as_echo "$LTDLINCL" >&6; }
                   17341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17342: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17343: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17344: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17345: 
                   17346: 
                   17347: 
1.150     moko     17348: # Check whether --enable-ltdl-install was given.
                   17349: if test "${enable_ltdl_install+set}" = set; then :
                   17350:   enableval=$enable_ltdl_install;
                   17351: fi
1.128     moko     17352: 
                   17353: 
                   17354: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17355:   *yes*) ;;
                   17356:   *) enable_ltdl_convenience=yes ;;
                   17357: esac
                   17358: 
1.150     moko     17359:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17360:   INSTALL_LTDL_TRUE=
                   17361:   INSTALL_LTDL_FALSE='#'
                   17362: else
                   17363:   INSTALL_LTDL_TRUE='#'
                   17364:   INSTALL_LTDL_FALSE=
                   17365: fi
                   17366: 
1.150     moko     17367:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17368:   CONVENIENCE_LTDL_TRUE=
                   17369:   CONVENIENCE_LTDL_FALSE='#'
                   17370: else
                   17371:   CONVENIENCE_LTDL_TRUE='#'
                   17372:   CONVENIENCE_LTDL_FALSE=
                   17373: fi
                   17374: 
                   17375: 
                   17376: 
1.150     moko     17377:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17378: 
                   17379: 
                   17380: 
                   17381: 
                   17382: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17383: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17384: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17385: # definitions required by ltdl.c.
                   17386: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17387: 
                   17388: 
                   17389: 
1.150     moko     17390: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17391: do :
                   17392:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17393: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17394: "
                   17395: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17396:   cat >>confdefs.h <<_ACEOF
                   17397: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17398: _ACEOF
1.128     moko     17399: 
1.150     moko     17400: fi
1.128     moko     17401: 
1.150     moko     17402: done
1.128     moko     17403: 
                   17404: 
1.150     moko     17405: for ac_func in closedir opendir readdir
                   17406: do :
                   17407:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17408: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17409: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17410:   cat >>confdefs.h <<_ACEOF
                   17411: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17412: _ACEOF
1.66      paf      17413: 
                   17414: else
1.64      paf      17415: 
1.66      paf      17416: 
1.128     moko     17417:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17418: 
1.66      paf      17419: fi
1.128     moko     17420: done
                   17421: 
                   17422: for ac_func in strlcat strlcpy
1.150     moko     17423: do :
                   17424:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17425: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17426: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17427:   cat >>confdefs.h <<_ACEOF
1.150     moko     17428: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17429: _ACEOF
                   17430: 
                   17431: else
                   17432: 
                   17433: 
                   17434:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17435: 
1.62      paf      17436: fi
1.128     moko     17437: done
                   17438: 
                   17439: 
1.64      paf      17440: 
1.128     moko     17441: cat >>confdefs.h <<_ACEOF
                   17442: #define LT_LIBEXT "$libext"
1.62      paf      17443: _ACEOF
1.64      paf      17444: 
1.128     moko     17445: 
                   17446: name=
                   17447: eval "lt_libprefix=\"$libname_spec\""
                   17448: 
                   17449: cat >>confdefs.h <<_ACEOF
                   17450: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17451: _ACEOF
1.128     moko     17452: 
                   17453: 
                   17454: name=ltdl
                   17455: eval "LTDLOPEN=\"$libname_spec\""
                   17456: 
                   17457: 
                   17458: 
                   17459: 
                   17460: 
                   17461: 
                   17462: 
                   17463: 
                   17464: # Only expand once:
                   17465: 
                   17466: 
                   17467: 
                   17468: 
1.150     moko     17469:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17470: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17471: if ${ac_cv_c_bigendian+:} false; then :
                   17472:   $as_echo_n "(cached) " >&6
                   17473: else
                   17474:   ac_cv_c_bigendian=unknown
                   17475:     # See if we're dealing with a universal compiler.
                   17476:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17477: /* end confdefs.h.  */
                   17478: #ifndef __APPLE_CC__
                   17479:               not a universal capable compiler
                   17480:             #endif
                   17481:             typedef int dummy;
                   17482: 
                   17483: _ACEOF
                   17484: if ac_fn_c_try_compile "$LINENO"; then :
                   17485: 
                   17486:        # Check for potential -arch flags.  It is not universal unless
                   17487:        # there are at least two -arch flags with different values.
                   17488:        ac_arch=
                   17489:        ac_prev=
                   17490:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17491:         if test -n "$ac_prev"; then
                   17492:           case $ac_word in
                   17493:             i?86 | x86_64 | ppc | ppc64)
                   17494:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17495:                 ac_arch=$ac_word
                   17496:               else
                   17497:                 ac_cv_c_bigendian=universal
                   17498:                 break
                   17499:               fi
                   17500:               ;;
                   17501:           esac
                   17502:           ac_prev=
                   17503:         elif test "x$ac_word" = "x-arch"; then
                   17504:           ac_prev=arch
                   17505:         fi
                   17506:        done
                   17507: fi
                   17508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17509:     if test $ac_cv_c_bigendian = unknown; then
                   17510:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17511:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17512: /* end confdefs.h.  */
1.128     moko     17513: #include <sys/types.h>
1.150     moko     17514:             #include <sys/param.h>
1.128     moko     17515: 
                   17516: int
                   17517: main ()
                   17518: {
1.150     moko     17519: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17520:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17521:                     && LITTLE_ENDIAN)
                   17522:              bogus endian macros
                   17523:             #endif
1.64      paf      17524: 
1.128     moko     17525:   ;
                   17526:   return 0;
                   17527: }
1.66      paf      17528: _ACEOF
1.150     moko     17529: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17530:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17531:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17532: /* end confdefs.h.  */
1.128     moko     17533: #include <sys/types.h>
1.150     moko     17534:                #include <sys/param.h>
1.64      paf      17535: 
                   17536: int
                   17537: main ()
1.128     moko     17538: {
                   17539: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17540:                 not big endian
                   17541:                #endif
1.128     moko     17542: 
                   17543:   ;
                   17544:   return 0;
1.64      paf      17545: }
                   17546: _ACEOF
1.150     moko     17547: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17548:   ac_cv_c_bigendian=yes
1.64      paf      17549: else
1.150     moko     17550:   ac_cv_c_bigendian=no
                   17551: fi
                   17552: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17553: fi
                   17554: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17555:     fi
                   17556:     if test $ac_cv_c_bigendian = unknown; then
                   17557:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17558:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17559: /* end confdefs.h.  */
                   17560: #include <limits.h>
1.64      paf      17561: 
1.150     moko     17562: int
                   17563: main ()
                   17564: {
                   17565: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17566:              bogus endian macros
                   17567:             #endif
1.66      paf      17568: 
1.150     moko     17569:   ;
                   17570:   return 0;
                   17571: }
1.62      paf      17572: _ACEOF
1.150     moko     17573: if ac_fn_c_try_compile "$LINENO"; then :
                   17574:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17575:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17576: /* end confdefs.h.  */
1.150     moko     17577: #include <limits.h>
                   17578: 
1.128     moko     17579: int
                   17580: main ()
                   17581: {
1.150     moko     17582: #ifndef _BIG_ENDIAN
                   17583:                 not big endian
                   17584:                #endif
                   17585: 
1.128     moko     17586:   ;
                   17587:   return 0;
                   17588: }
1.62      paf      17589: _ACEOF
1.150     moko     17590: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17591:   ac_cv_c_bigendian=yes
1.150     moko     17592: else
                   17593:   ac_cv_c_bigendian=no
1.128     moko     17594: fi
1.150     moko     17595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17596: fi
1.150     moko     17597: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17598:     fi
                   17599:     if test $ac_cv_c_bigendian = unknown; then
                   17600:       # Compile a test program.
                   17601:       if test "$cross_compiling" = yes; then :
                   17602:   # Try to guess by grepping values from an object file.
                   17603:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17604: /* end confdefs.h.  */
                   17605: short int ascii_mm[] =
                   17606:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17607:                short int ascii_ii[] =
                   17608:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17609:                int use_ascii (int i) {
                   17610:                  return ascii_mm[i] + ascii_ii[i];
                   17611:                }
                   17612:                short int ebcdic_ii[] =
                   17613:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17614:                short int ebcdic_mm[] =
                   17615:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17616:                int use_ebcdic (int i) {
                   17617:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17618:                }
                   17619:                extern int foo;
1.62      paf      17620: 
1.150     moko     17621: int
                   17622: main ()
                   17623: {
                   17624: return use_ascii (foo) == use_ebcdic (foo);
                   17625:   ;
                   17626:   return 0;
                   17627: }
                   17628: _ACEOF
                   17629: if ac_fn_c_try_compile "$LINENO"; then :
                   17630:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17631:              ac_cv_c_bigendian=yes
                   17632:            fi
                   17633:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17634:              if test "$ac_cv_c_bigendian" = unknown; then
                   17635:                ac_cv_c_bigendian=no
                   17636:              else
                   17637:                # finding both strings is unlikely to happen, but who knows?
                   17638:                ac_cv_c_bigendian=unknown
                   17639:              fi
                   17640:            fi
1.128     moko     17641: fi
1.150     moko     17642: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17643: else
1.150     moko     17644:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17645: /* end confdefs.h.  */
1.150     moko     17646: $ac_includes_default
1.128     moko     17647: int
                   17648: main ()
                   17649: {
1.150     moko     17650: 
                   17651:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17652:             union
                   17653:             {
                   17654:               long int l;
                   17655:               char c[sizeof (long int)];
                   17656:             } u;
                   17657:             u.l = 1;
                   17658:             return u.c[sizeof (long int) - 1] == 1;
                   17659: 
                   17660:   ;
                   17661:   return 0;
1.128     moko     17662: }
                   17663: _ACEOF
1.150     moko     17664: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17665:   ac_cv_c_bigendian=no
                   17666: else
1.150     moko     17667:   ac_cv_c_bigendian=yes
1.128     moko     17668: fi
1.150     moko     17669: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17670:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17671: fi
1.150     moko     17672: 
                   17673:     fi
1.66      paf      17674: fi
1.150     moko     17675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17676: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17677:  case $ac_cv_c_bigendian in #(
                   17678:    yes)
                   17679: 
                   17680: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17681: 
                   17682: ;; #(
                   17683:    no)
1.128     moko     17684: 
1.150     moko     17685: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17686: 
1.150     moko     17687:  ;; #(
                   17688:    universal)
1.128     moko     17689: 
1.150     moko     17690: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17691: 
1.150     moko     17692:      ;; #(
                   17693:    *)
                   17694:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17695:  ;;
1.150     moko     17696:  esac
1.66      paf      17697: 
                   17698: 
1.150     moko     17699: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17700: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17701: 
1.66      paf      17702: else
1.1       paf      17703: 
1.66      paf      17704: cat >>confdefs.h <<_ACEOF
1.150     moko     17705: #define size_t unsigned int
1.66      paf      17706: _ACEOF
1.62      paf      17707: 
                   17708: fi
1.66      paf      17709: 
1.156     moko     17710: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17711: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17712: 
                   17713: else
                   17714: 
                   17715: cat >>confdefs.h <<_ACEOF
                   17716: #define ssize_t int
                   17717: _ACEOF
                   17718: 
                   17719: fi
                   17720: 
1.159     moko     17721: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17722: case $ac_cv_c_uint8_t in #(
                   17723:   no|yes) ;; #(
                   17724:   *)
                   17725: 
                   17726: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17727: 
                   17728: 
                   17729: cat >>confdefs.h <<_ACEOF
                   17730: #define uint8_t $ac_cv_c_uint8_t
                   17731: _ACEOF
                   17732: ;;
                   17733:   esac
                   17734: 
1.165     moko     17735: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17736: case $ac_cv_c_uint16_t in #(
                   17737:   no|yes) ;; #(
                   17738:   *)
                   17739: 
                   17740: 
                   17741: cat >>confdefs.h <<_ACEOF
                   17742: #define uint16_t $ac_cv_c_uint16_t
                   17743: _ACEOF
                   17744: ;;
                   17745:   esac
                   17746: 
1.156     moko     17747: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17748: case $ac_cv_c_uint32_t in #(
                   17749:   no|yes) ;; #(
                   17750:   *)
                   17751: 
                   17752: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17753: 
                   17754: 
                   17755: cat >>confdefs.h <<_ACEOF
                   17756: #define uint32_t $ac_cv_c_uint32_t
                   17757: _ACEOF
                   17758: ;;
                   17759:   esac
1.128     moko     17760: 
1.159     moko     17761: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17762: case $ac_cv_c_uint64_t in #(
                   17763:   no|yes) ;; #(
                   17764:   *)
                   17765: 
                   17766: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17767: 
                   17768: 
                   17769: cat >>confdefs.h <<_ACEOF
                   17770: #define uint64_t $ac_cv_c_uint64_t
                   17771: _ACEOF
                   17772: ;;
                   17773:   esac
                   17774: 
                   17775: 
1.161     moko     17776: ac_header_dirent=no
                   17777: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17778:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17779: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17780: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17781: if eval \${$as_ac_Header+:} false; then :
                   17782:   $as_echo_n "(cached) " >&6
                   17783: else
                   17784:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17785: /* end confdefs.h.  */
                   17786: #include <sys/types.h>
                   17787: #include <$ac_hdr>
                   17788: 
                   17789: int
                   17790: main ()
                   17791: {
                   17792: if ((DIR *) 0)
                   17793: return 0;
                   17794:   ;
                   17795:   return 0;
                   17796: }
                   17797: _ACEOF
                   17798: if ac_fn_c_try_compile "$LINENO"; then :
                   17799:   eval "$as_ac_Header=yes"
                   17800: else
                   17801:   eval "$as_ac_Header=no"
                   17802: fi
                   17803: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17804: fi
                   17805: eval ac_res=\$$as_ac_Header
                   17806:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17807: $as_echo "$ac_res" >&6; }
                   17808: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17809:   cat >>confdefs.h <<_ACEOF
                   17810: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17811: _ACEOF
                   17812: 
                   17813: ac_header_dirent=$ac_hdr; break
                   17814: fi
                   17815: 
                   17816: done
                   17817: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17818: if test $ac_header_dirent = dirent.h; then
                   17819:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17820: $as_echo_n "checking for library containing opendir... " >&6; }
                   17821: if ${ac_cv_search_opendir+:} false; then :
                   17822:   $as_echo_n "(cached) " >&6
                   17823: else
                   17824:   ac_func_search_save_LIBS=$LIBS
                   17825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17826: /* end confdefs.h.  */
                   17827: 
                   17828: /* Override any GCC internal prototype to avoid an error.
                   17829:    Use char because int might match the return type of a GCC
                   17830:    builtin and then its argument prototype would still apply.  */
                   17831: #ifdef __cplusplus
                   17832: extern "C"
                   17833: #endif
                   17834: char opendir ();
                   17835: int
                   17836: main ()
                   17837: {
                   17838: return opendir ();
                   17839:   ;
                   17840:   return 0;
                   17841: }
                   17842: _ACEOF
                   17843: for ac_lib in '' dir; do
                   17844:   if test -z "$ac_lib"; then
                   17845:     ac_res="none required"
                   17846:   else
                   17847:     ac_res=-l$ac_lib
                   17848:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17849:   fi
                   17850:   if ac_fn_c_try_link "$LINENO"; then :
                   17851:   ac_cv_search_opendir=$ac_res
                   17852: fi
                   17853: rm -f core conftest.err conftest.$ac_objext \
                   17854:     conftest$ac_exeext
                   17855:   if ${ac_cv_search_opendir+:} false; then :
                   17856:   break
                   17857: fi
                   17858: done
                   17859: if ${ac_cv_search_opendir+:} false; then :
                   17860: 
                   17861: else
                   17862:   ac_cv_search_opendir=no
                   17863: fi
                   17864: rm conftest.$ac_ext
                   17865: LIBS=$ac_func_search_save_LIBS
                   17866: fi
                   17867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17868: $as_echo "$ac_cv_search_opendir" >&6; }
                   17869: ac_res=$ac_cv_search_opendir
                   17870: if test "$ac_res" != no; then :
                   17871:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17872: 
                   17873: fi
                   17874: 
                   17875: else
                   17876:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17877: $as_echo_n "checking for library containing opendir... " >&6; }
                   17878: if ${ac_cv_search_opendir+:} false; then :
                   17879:   $as_echo_n "(cached) " >&6
                   17880: else
                   17881:   ac_func_search_save_LIBS=$LIBS
                   17882: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17883: /* end confdefs.h.  */
                   17884: 
                   17885: /* Override any GCC internal prototype to avoid an error.
                   17886:    Use char because int might match the return type of a GCC
                   17887:    builtin and then its argument prototype would still apply.  */
                   17888: #ifdef __cplusplus
                   17889: extern "C"
                   17890: #endif
                   17891: char opendir ();
                   17892: int
                   17893: main ()
                   17894: {
                   17895: return opendir ();
                   17896:   ;
                   17897:   return 0;
                   17898: }
                   17899: _ACEOF
                   17900: for ac_lib in '' x; do
                   17901:   if test -z "$ac_lib"; then
                   17902:     ac_res="none required"
                   17903:   else
                   17904:     ac_res=-l$ac_lib
                   17905:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17906:   fi
                   17907:   if ac_fn_c_try_link "$LINENO"; then :
                   17908:   ac_cv_search_opendir=$ac_res
                   17909: fi
                   17910: rm -f core conftest.err conftest.$ac_objext \
                   17911:     conftest$ac_exeext
                   17912:   if ${ac_cv_search_opendir+:} false; then :
                   17913:   break
                   17914: fi
                   17915: done
                   17916: if ${ac_cv_search_opendir+:} false; then :
                   17917: 
                   17918: else
                   17919:   ac_cv_search_opendir=no
                   17920: fi
                   17921: rm conftest.$ac_ext
                   17922: LIBS=$ac_func_search_save_LIBS
                   17923: fi
                   17924: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17925: $as_echo "$ac_cv_search_opendir" >&6; }
                   17926: ac_res=$ac_cv_search_opendir
                   17927: if test "$ac_res" != no; then :
                   17928:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17929: 
                   17930: fi
                   17931: 
                   17932: fi
                   17933: 
                   17934: 
                   17935: 
                   17936:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   17937: #include <sys/types.h>
                   17938: #ifdef HAVE_DIRENT_H
                   17939: # include <dirent.h>
                   17940: #else
                   17941: # define dirent direct
                   17942: # ifdef HAVE_SYS_NDIR_H
                   17943: #  include <sys/ndir.h>
                   17944: # endif
                   17945: # ifdef HAVE_SYS_DIR_H
                   17946: #  include <sys/dir.h>
                   17947: # endif
                   17948: # ifdef HAVE_NDIR_H
                   17949: #  include <ndir.h>
                   17950: # endif
                   17951: #endif
                   17952: 
                   17953: "
                   17954: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   17955: 
                   17956: cat >>confdefs.h <<_ACEOF
                   17957: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   17958: _ACEOF
                   17959: 
                   17960: 
                   17961: fi
                   17962: 
                   17963: 
1.159     moko     17964: 
1.171     moko     17965: # Check whether --enable-largefile was given.
                   17966: if test "${enable_largefile+set}" = set; then :
                   17967:   enableval=$enable_largefile;
                   17968: fi
                   17969: 
                   17970: if test "$enable_largefile" != no; then
                   17971: 
                   17972:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   17973: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   17974: if ${ac_cv_sys_largefile_CC+:} false; then :
                   17975:   $as_echo_n "(cached) " >&6
                   17976: else
                   17977:   ac_cv_sys_largefile_CC=no
                   17978:      if test "$GCC" != yes; then
                   17979:        ac_save_CC=$CC
                   17980:        while :; do
                   17981:         # IRIX 6.2 and later do not support large files by default,
                   17982:         # so use the C compiler's -n32 option if that helps.
                   17983:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17984: /* end confdefs.h.  */
                   17985: #include <sys/types.h>
                   17986:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17987:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17988:     since some C++ compilers masquerading as C compilers
                   17989:     incorrectly reject 9223372036854775807.  */
1.191     moko     17990: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     17991:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17992:                       && LARGE_OFF_T % 2147483647 == 1)
                   17993:                      ? 1 : -1];
                   17994: int
                   17995: main ()
                   17996: {
                   17997: 
                   17998:   ;
                   17999:   return 0;
                   18000: }
                   18001: _ACEOF
                   18002:         if ac_fn_c_try_compile "$LINENO"; then :
                   18003:   break
                   18004: fi
                   18005: rm -f core conftest.err conftest.$ac_objext
                   18006:         CC="$CC -n32"
                   18007:         if ac_fn_c_try_compile "$LINENO"; then :
                   18008:   ac_cv_sys_largefile_CC=' -n32'; break
                   18009: fi
                   18010: rm -f core conftest.err conftest.$ac_objext
                   18011:         break
                   18012:        done
                   18013:        CC=$ac_save_CC
                   18014:        rm -f conftest.$ac_ext
                   18015:     fi
                   18016: fi
                   18017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   18018: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   18019:   if test "$ac_cv_sys_largefile_CC" != no; then
                   18020:     CC=$CC$ac_cv_sys_largefile_CC
                   18021:   fi
                   18022: 
                   18023:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   18024: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   18025: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   18026:   $as_echo_n "(cached) " >&6
                   18027: else
                   18028:   while :; do
                   18029:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18030: /* end confdefs.h.  */
                   18031: #include <sys/types.h>
                   18032:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18033:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18034:     since some C++ compilers masquerading as C compilers
                   18035:     incorrectly reject 9223372036854775807.  */
1.191     moko     18036: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18037:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18038:                       && LARGE_OFF_T % 2147483647 == 1)
                   18039:                      ? 1 : -1];
                   18040: int
                   18041: main ()
                   18042: {
                   18043: 
                   18044:   ;
                   18045:   return 0;
                   18046: }
                   18047: _ACEOF
                   18048: if ac_fn_c_try_compile "$LINENO"; then :
                   18049:   ac_cv_sys_file_offset_bits=no; break
                   18050: fi
                   18051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18052:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18053: /* end confdefs.h.  */
                   18054: #define _FILE_OFFSET_BITS 64
                   18055: #include <sys/types.h>
                   18056:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18057:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18058:     since some C++ compilers masquerading as C compilers
                   18059:     incorrectly reject 9223372036854775807.  */
1.191     moko     18060: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18061:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18062:                       && LARGE_OFF_T % 2147483647 == 1)
                   18063:                      ? 1 : -1];
                   18064: int
                   18065: main ()
                   18066: {
                   18067: 
                   18068:   ;
                   18069:   return 0;
                   18070: }
                   18071: _ACEOF
                   18072: if ac_fn_c_try_compile "$LINENO"; then :
                   18073:   ac_cv_sys_file_offset_bits=64; break
                   18074: fi
                   18075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18076:   ac_cv_sys_file_offset_bits=unknown
                   18077:   break
                   18078: done
                   18079: fi
                   18080: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   18081: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   18082: case $ac_cv_sys_file_offset_bits in #(
                   18083:   no | unknown) ;;
                   18084:   *)
                   18085: cat >>confdefs.h <<_ACEOF
                   18086: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   18087: _ACEOF
                   18088: ;;
                   18089: esac
                   18090: rm -rf conftest*
                   18091:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   18092:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   18093: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   18094: if ${ac_cv_sys_large_files+:} false; then :
                   18095:   $as_echo_n "(cached) " >&6
                   18096: else
                   18097:   while :; do
                   18098:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18099: /* end confdefs.h.  */
                   18100: #include <sys/types.h>
                   18101:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18102:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18103:     since some C++ compilers masquerading as C compilers
                   18104:     incorrectly reject 9223372036854775807.  */
1.191     moko     18105: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18106:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18107:                       && LARGE_OFF_T % 2147483647 == 1)
                   18108:                      ? 1 : -1];
                   18109: int
                   18110: main ()
                   18111: {
                   18112: 
                   18113:   ;
                   18114:   return 0;
                   18115: }
                   18116: _ACEOF
                   18117: if ac_fn_c_try_compile "$LINENO"; then :
                   18118:   ac_cv_sys_large_files=no; break
                   18119: fi
                   18120: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18121:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18122: /* end confdefs.h.  */
                   18123: #define _LARGE_FILES 1
                   18124: #include <sys/types.h>
                   18125:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18126:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18127:     since some C++ compilers masquerading as C compilers
                   18128:     incorrectly reject 9223372036854775807.  */
1.191     moko     18129: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18130:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18131:                       && LARGE_OFF_T % 2147483647 == 1)
                   18132:                      ? 1 : -1];
                   18133: int
                   18134: main ()
                   18135: {
                   18136: 
                   18137:   ;
                   18138:   return 0;
                   18139: }
                   18140: _ACEOF
                   18141: if ac_fn_c_try_compile "$LINENO"; then :
                   18142:   ac_cv_sys_large_files=1; break
                   18143: fi
                   18144: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18145:   ac_cv_sys_large_files=unknown
                   18146:   break
                   18147: done
                   18148: fi
                   18149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   18150: $as_echo "$ac_cv_sys_large_files" >&6; }
                   18151: case $ac_cv_sys_large_files in #(
                   18152:   no | unknown) ;;
                   18153:   *)
                   18154: cat >>confdefs.h <<_ACEOF
                   18155: #define _LARGE_FILES $ac_cv_sys_large_files
                   18156: _ACEOF
                   18157: ;;
                   18158: esac
                   18159: rm -rf conftest*
                   18160:   fi
                   18161: 
                   18162: 
                   18163: fi
                   18164: 
                   18165: 
1.159     moko     18166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   18167: $as_echo_n "checking for ANSI C header files... " >&6; }
                   18168: if ${ac_cv_header_stdc+:} false; then :
                   18169:   $as_echo_n "(cached) " >&6
                   18170: else
                   18171:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18172: /* end confdefs.h.  */
                   18173: #include <stdlib.h>
                   18174: #include <stdarg.h>
                   18175: #include <string.h>
                   18176: #include <float.h>
                   18177: 
                   18178: int
                   18179: main ()
                   18180: {
                   18181: 
                   18182:   ;
                   18183:   return 0;
                   18184: }
                   18185: _ACEOF
                   18186: if ac_fn_c_try_compile "$LINENO"; then :
                   18187:   ac_cv_header_stdc=yes
                   18188: else
                   18189:   ac_cv_header_stdc=no
                   18190: fi
                   18191: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18192: 
                   18193: if test $ac_cv_header_stdc = yes; then
                   18194:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   18195:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18196: /* end confdefs.h.  */
                   18197: #include <string.h>
                   18198: 
                   18199: _ACEOF
                   18200: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18201:   $EGREP "memchr" >/dev/null 2>&1; then :
                   18202: 
                   18203: else
                   18204:   ac_cv_header_stdc=no
                   18205: fi
                   18206: rm -f conftest*
                   18207: 
                   18208: fi
                   18209: 
                   18210: if test $ac_cv_header_stdc = yes; then
                   18211:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   18212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18213: /* end confdefs.h.  */
                   18214: #include <stdlib.h>
                   18215: 
                   18216: _ACEOF
                   18217: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18218:   $EGREP "free" >/dev/null 2>&1; then :
                   18219: 
                   18220: else
                   18221:   ac_cv_header_stdc=no
                   18222: fi
                   18223: rm -f conftest*
                   18224: 
                   18225: fi
                   18226: 
                   18227: if test $ac_cv_header_stdc = yes; then
                   18228:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   18229:   if test "$cross_compiling" = yes; then :
                   18230:   :
                   18231: else
                   18232:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18233: /* end confdefs.h.  */
                   18234: #include <ctype.h>
                   18235: #include <stdlib.h>
                   18236: #if ((' ' & 0x0FF) == 0x020)
                   18237: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   18238: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   18239: #else
                   18240: # define ISLOWER(c) \
                   18241:                   (('a' <= (c) && (c) <= 'i') \
                   18242:                     || ('j' <= (c) && (c) <= 'r') \
                   18243:                     || ('s' <= (c) && (c) <= 'z'))
                   18244: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   18245: #endif
                   18246: 
                   18247: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   18248: int
                   18249: main ()
                   18250: {
                   18251:   int i;
                   18252:   for (i = 0; i < 256; i++)
                   18253:     if (XOR (islower (i), ISLOWER (i))
                   18254:        || toupper (i) != TOUPPER (i))
                   18255:       return 2;
                   18256:   return 0;
                   18257: }
                   18258: _ACEOF
                   18259: if ac_fn_c_try_run "$LINENO"; then :
                   18260: 
                   18261: else
                   18262:   ac_cv_header_stdc=no
                   18263: fi
                   18264: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18265:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18266: fi
                   18267: 
                   18268: fi
                   18269: fi
                   18270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   18271: $as_echo "$ac_cv_header_stdc" >&6; }
                   18272: if test $ac_cv_header_stdc = yes; then
                   18273: 
                   18274: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   18275: 
                   18276: fi
1.128     moko     18277: 
1.150     moko     18278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   18279: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   18280: if ${ac_cv_header_time+:} false; then :
                   18281:   $as_echo_n "(cached) " >&6
1.62      paf      18282: else
1.150     moko     18283:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18284: /* end confdefs.h.  */
1.66      paf      18285: #include <sys/types.h>
                   18286: #include <sys/time.h>
                   18287: #include <time.h>
1.62      paf      18288: 
                   18289: int
                   18290: main ()
                   18291: {
1.66      paf      18292: if ((struct tm *) 0)
                   18293: return 0;
1.62      paf      18294:   ;
                   18295:   return 0;
                   18296: }
                   18297: _ACEOF
1.150     moko     18298: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      18299:   ac_cv_header_time=yes
1.1       paf      18300: else
1.150     moko     18301:   ac_cv_header_time=no
1.1       paf      18302: fi
1.150     moko     18303: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18304: fi
1.150     moko     18305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   18306: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      18307: if test $ac_cv_header_time = yes; then
1.1       paf      18308: 
1.150     moko     18309: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      18310: 
1.1       paf      18311: fi
1.66      paf      18312: 
1.1       paf      18313: 
1.159     moko     18314: for ac_header in stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h strings.h inttypes.h stdint.h unistd.h
                   18315: do :
                   18316:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18317: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18318: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18319:   cat >>confdefs.h <<_ACEOF
                   18320: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18321: _ACEOF
                   18322: 
                   18323: fi
1.150     moko     18324: 
1.159     moko     18325: done
                   18326: 
                   18327: for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h
                   18328: do :
                   18329:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18330: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18331: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18332:   cat >>confdefs.h <<_ACEOF
                   18333: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18334: _ACEOF
                   18335: 
                   18336: fi
                   18337: 
                   18338: done
                   18339: 
1.164     moko     18340: for ac_header in errno.h dirent.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.h sys/wait.h
1.159     moko     18341: do :
                   18342:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18343: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18344: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18345:   cat >>confdefs.h <<_ACEOF
                   18346: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18347: _ACEOF
                   18348: 
                   18349: fi
                   18350: 
                   18351: done
                   18352: 
1.163     moko     18353: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18354: do :
                   18355:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18356: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18357: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18358:   cat >>confdefs.h <<_ACEOF
1.150     moko     18359: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18360: _ACEOF
                   18361: 
                   18362: fi
                   18363: 
1.66      paf      18364: done
1.62      paf      18365: 
                   18366: 
                   18367: 
1.66      paf      18368: case "$host" in
1.107     misha    18369:   *-freebsd4*)
                   18370: 
1.150     moko     18371: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18372: 
                   18373:   ;;
1.195     moko     18374:   *-freebsd1*)
                   18375: 
                   18376: $as_echo "#define FREEBSD1X /**/" >>confdefs.h
                   18377: 
                   18378:   ;;
1.66      paf      18379:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18380:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18381: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18382: if ${ac_cv_lib_xnet_main+:} false; then :
                   18383:   $as_echo_n "(cached) " >&6
1.62      paf      18384: else
1.66      paf      18385:   ac_check_lib_save_LIBS=$LIBS
                   18386: LIBS="-lxnet  $LIBS"
1.150     moko     18387: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18388: /* end confdefs.h.  */
                   18389: 
1.66      paf      18390: 
                   18391: int
                   18392: main ()
                   18393: {
1.150     moko     18394: return main ();
1.66      paf      18395:   ;
                   18396:   return 0;
                   18397: }
1.62      paf      18398: _ACEOF
1.150     moko     18399: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18400:   ac_cv_lib_xnet_main=yes
1.62      paf      18401: else
1.150     moko     18402:   ac_cv_lib_xnet_main=no
1.62      paf      18403: fi
1.150     moko     18404: rm -f core conftest.err conftest.$ac_objext \
                   18405:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18406: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18407: fi
1.150     moko     18408: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18409: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18410: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18411:   cat >>confdefs.h <<_ACEOF
1.66      paf      18412: #define HAVE_LIBXNET 1
1.62      paf      18413: _ACEOF
1.1       paf      18414: 
1.66      paf      18415:   LIBS="-lxnet $LIBS"
                   18416: 
1.1       paf      18417: fi
                   18418: 
1.66      paf      18419:   ;;
                   18420:   *-sunos5* | *-solaris2*)
1.150     moko     18421:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18422: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18423: if ${ac_cv_lib_socket_main+:} false; then :
                   18424:   $as_echo_n "(cached) " >&6
1.62      paf      18425: else
1.66      paf      18426:   ac_check_lib_save_LIBS=$LIBS
                   18427: LIBS="-lsocket  $LIBS"
1.150     moko     18428: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18429: /* end confdefs.h.  */
1.66      paf      18430: 
                   18431: 
1.62      paf      18432: int
                   18433: main ()
                   18434: {
1.150     moko     18435: return main ();
1.62      paf      18436:   ;
                   18437:   return 0;
                   18438: }
                   18439: _ACEOF
1.150     moko     18440: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18441:   ac_cv_lib_socket_main=yes
1.1       paf      18442: else
1.150     moko     18443:   ac_cv_lib_socket_main=no
1.1       paf      18444: fi
1.150     moko     18445: rm -f core conftest.err conftest.$ac_objext \
                   18446:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18447: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18448: fi
1.150     moko     18449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18450: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18451: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18452:   cat >>confdefs.h <<_ACEOF
                   18453: #define HAVE_LIBSOCKET 1
                   18454: _ACEOF
1.1       paf      18455: 
1.66      paf      18456:   LIBS="-lsocket $LIBS"
1.1       paf      18457: 
                   18458: fi
                   18459: 
1.150     moko     18460:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18461: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18462: if ${ac_cv_lib_nsl_main+:} false; then :
                   18463:   $as_echo_n "(cached) " >&6
1.62      paf      18464: else
1.66      paf      18465:   ac_check_lib_save_LIBS=$LIBS
                   18466: LIBS="-lnsl  $LIBS"
1.150     moko     18467: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18468: /* end confdefs.h.  */
1.66      paf      18469: 
                   18470: 
1.62      paf      18471: int
                   18472: main ()
                   18473: {
1.150     moko     18474: return main ();
1.62      paf      18475:   ;
                   18476:   return 0;
                   18477: }
                   18478: _ACEOF
1.150     moko     18479: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18480:   ac_cv_lib_nsl_main=yes
1.30      paf      18481: else
1.150     moko     18482:   ac_cv_lib_nsl_main=no
1.30      paf      18483: fi
1.150     moko     18484: rm -f core conftest.err conftest.$ac_objext \
                   18485:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18486: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18487: fi
1.150     moko     18488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18489: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18490: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18491:   cat >>confdefs.h <<_ACEOF
                   18492: #define HAVE_LIBNSL 1
                   18493: _ACEOF
1.30      paf      18494: 
1.66      paf      18495:   LIBS="-lnsl $LIBS"
1.30      paf      18496: 
                   18497: fi
                   18498: 
1.66      paf      18499:   ;;
                   18500:   *-nec-sysv4*)
1.150     moko     18501:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18502: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18503: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18504:   $as_echo_n "(cached) " >&6
1.62      paf      18505: else
1.66      paf      18506:   ac_check_lib_save_LIBS=$LIBS
                   18507: LIBS="-lnsl  $LIBS"
1.150     moko     18508: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18509: /* end confdefs.h.  */
1.66      paf      18510: 
1.150     moko     18511: /* Override any GCC internal prototype to avoid an error.
                   18512:    Use char because int might match the return type of a GCC
                   18513:    builtin and then its argument prototype would still apply.  */
1.66      paf      18514: #ifdef __cplusplus
                   18515: extern "C"
                   18516: #endif
                   18517: char gethostbyname ();
1.62      paf      18518: int
                   18519: main ()
                   18520: {
1.150     moko     18521: return gethostbyname ();
1.62      paf      18522:   ;
                   18523:   return 0;
                   18524: }
                   18525: _ACEOF
1.150     moko     18526: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18527:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18528: else
1.150     moko     18529:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18530: fi
1.150     moko     18531: rm -f core conftest.err conftest.$ac_objext \
                   18532:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18533: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18534: fi
1.150     moko     18535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18536: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18537: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18538:   cat >>confdefs.h <<_ACEOF
                   18539: #define HAVE_LIBNSL 1
                   18540: _ACEOF
1.30      paf      18541: 
1.66      paf      18542:   LIBS="-lnsl $LIBS"
1.30      paf      18543: 
                   18544: fi
                   18545: 
1.150     moko     18546:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18547: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18548: if ${ac_cv_lib_socket_socket+:} false; then :
                   18549:   $as_echo_n "(cached) " >&6
1.8       paf      18550: else
1.66      paf      18551:   ac_check_lib_save_LIBS=$LIBS
                   18552: LIBS="-lsocket  $LIBS"
1.150     moko     18553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18554: /* end confdefs.h.  */
                   18555: 
1.150     moko     18556: /* Override any GCC internal prototype to avoid an error.
                   18557:    Use char because int might match the return type of a GCC
                   18558:    builtin and then its argument prototype would still apply.  */
1.66      paf      18559: #ifdef __cplusplus
                   18560: extern "C"
                   18561: #endif
                   18562: char socket ();
1.62      paf      18563: int
                   18564: main ()
                   18565: {
1.150     moko     18566: return socket ();
1.62      paf      18567:   ;
                   18568:   return 0;
                   18569: }
                   18570: _ACEOF
1.150     moko     18571: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18572:   ac_cv_lib_socket_socket=yes
1.8       paf      18573: else
1.150     moko     18574:   ac_cv_lib_socket_socket=no
1.8       paf      18575: fi
1.150     moko     18576: rm -f core conftest.err conftest.$ac_objext \
                   18577:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18578: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18579: fi
1.150     moko     18580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18581: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18582: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18583:   cat >>confdefs.h <<_ACEOF
1.128     moko     18584: #define HAVE_LIBSOCKET 1
1.66      paf      18585: _ACEOF
                   18586: 
1.128     moko     18587:   LIBS="-lsocket $LIBS"
1.66      paf      18588: 
1.62      paf      18589: fi
                   18590: 
1.66      paf      18591:   ;;
1.128     moko     18592:   *-cygwin*)
                   18593: 
1.150     moko     18594: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18595: 
1.66      paf      18596:   ;;
                   18597: esac
1.1       paf      18598: 
1.150     moko     18599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18600: $as_echo_n "checking for sin in -lm... " >&6; }
                   18601: if ${ac_cv_lib_m_sin+:} false; then :
                   18602:   $as_echo_n "(cached) " >&6
1.1       paf      18603: else
1.62      paf      18604:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18605: LIBS="-lm  $LIBS"
1.150     moko     18606: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18607: /* end confdefs.h.  */
                   18608: 
1.150     moko     18609: /* Override any GCC internal prototype to avoid an error.
                   18610:    Use char because int might match the return type of a GCC
                   18611:    builtin and then its argument prototype would still apply.  */
1.66      paf      18612: #ifdef __cplusplus
                   18613: extern "C"
                   18614: #endif
                   18615: char sin ();
1.62      paf      18616: int
                   18617: main ()
                   18618: {
1.150     moko     18619: return sin ();
1.62      paf      18620:   ;
                   18621:   return 0;
                   18622: }
                   18623: _ACEOF
1.150     moko     18624: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18625:   ac_cv_lib_m_sin=yes
1.62      paf      18626: else
1.150     moko     18627:   ac_cv_lib_m_sin=no
1.62      paf      18628: fi
1.150     moko     18629: rm -f core conftest.err conftest.$ac_objext \
                   18630:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18631: LIBS=$ac_check_lib_save_LIBS
                   18632: fi
1.150     moko     18633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18634: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18635: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18636:   cat >>confdefs.h <<_ACEOF
1.66      paf      18637: #define HAVE_LIBM 1
1.62      paf      18638: _ACEOF
1.1       paf      18639: 
1.66      paf      18640:   LIBS="-lm $LIBS"
1.1       paf      18641: 
                   18642: fi
                   18643: 
1.150     moko     18644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18645: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18646: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18647:   $as_echo_n "(cached) " >&6
1.1       paf      18648: else
1.62      paf      18649:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18650: LIBS="-lcrypt  $LIBS"
1.150     moko     18651: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18652: /* end confdefs.h.  */
                   18653: 
1.150     moko     18654: /* Override any GCC internal prototype to avoid an error.
                   18655:    Use char because int might match the return type of a GCC
                   18656:    builtin and then its argument prototype would still apply.  */
1.66      paf      18657: #ifdef __cplusplus
                   18658: extern "C"
                   18659: #endif
                   18660: char crypt ();
1.62      paf      18661: int
                   18662: main ()
                   18663: {
1.150     moko     18664: return crypt ();
1.62      paf      18665:   ;
                   18666:   return 0;
                   18667: }
                   18668: _ACEOF
1.150     moko     18669: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18670:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18671: else
1.150     moko     18672:   ac_cv_lib_crypt_crypt=no
1.62      paf      18673: fi
1.150     moko     18674: rm -f core conftest.err conftest.$ac_objext \
                   18675:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18676: LIBS=$ac_check_lib_save_LIBS
                   18677: fi
1.150     moko     18678: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18679: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18680: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18681:   cat >>confdefs.h <<_ACEOF
1.66      paf      18682: #define HAVE_LIBCRYPT 1
1.62      paf      18683: _ACEOF
1.1       paf      18684: 
1.66      paf      18685:   LIBS="-lcrypt $LIBS"
                   18686: 
                   18687: fi
                   18688: 
                   18689: 
                   18690: 
1.159     moko     18691: for ac_func in flock _locking fcntl lockf ftruncate fchmod
                   18692: do :
                   18693:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18694: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18695: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18696:   cat >>confdefs.h <<_ACEOF
                   18697: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18698: _ACEOF
                   18699: 
                   18700: fi
                   18701: done
1.66      paf      18702: 
1.159     moko     18703: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv
1.150     moko     18704: do :
                   18705:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18706: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18707: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18708:   cat >>confdefs.h <<_ACEOF
1.150     moko     18709: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18710: _ACEOF
1.1       paf      18711: 
1.66      paf      18712: fi
                   18713: done
                   18714: 
1.1       paf      18715: 
                   18716: 
1.159     moko     18717: 
1.67      paf      18718: pa_func=sigsetjmp
1.150     moko     18719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18720: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   18721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18722: /* end confdefs.h.  */
                   18723: 
                   18724: #ifdef HAVE_SETJMP_H
                   18725: #      include <setjmp.h>
                   18726: #endif
                   18727: 
                   18728: int
                   18729: main ()
                   18730: {
                   18731: 
                   18732:         $pa_func(0,0);
                   18733: 
                   18734:   ;
                   18735:   return 0;
                   18736: }
                   18737: _ACEOF
1.150     moko     18738: if ac_fn_c_try_compile "$LINENO"; then :
                   18739:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18740: $as_echo "yes" >&6; }
1.67      paf      18741: cat >>confdefs.h <<_ACEOF
1.150     moko     18742: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18743: _ACEOF
                   18744: 
                   18745: 
                   18746: else
1.150     moko     18747:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18748: $as_echo "no" >&6; }
1.67      paf      18749: 
                   18750: fi
1.150     moko     18751: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18752: 
                   18753: 
                   18754: 
1.159     moko     18755: 
1.150     moko     18756: ac_ext=cpp
1.67      paf      18757: ac_cpp='$CXXCPP $CPPFLAGS'
                   18758: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18759: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18760: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18761: 
                   18762: 
                   18763: 
1.188     moko     18764: for pa_func in trunc round sign isfinite
1.67      paf      18765: do
                   18766: 
1.150     moko     18767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18768: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   18769: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18770: /* end confdefs.h.  */
                   18771: 
                   18772: #ifdef HAVE_MATH_H
                   18773: #       include <math.h>
                   18774: #endif
                   18775: 
                   18776: int
                   18777: main ()
                   18778: {
                   18779: 
                   18780:         double result=$pa_func(1.6);
                   18781: 
                   18782:   ;
                   18783:   return 0;
                   18784: }
                   18785: _ACEOF
1.150     moko     18786: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18788: $as_echo "yes" >&6; }
1.67      paf      18789: cat >>confdefs.h <<_ACEOF
1.150     moko     18790: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18791: _ACEOF
1.66      paf      18792: 
1.62      paf      18793: else
1.150     moko     18794:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18795: $as_echo "no" >&6; }
1.62      paf      18796: 
                   18797: fi
1.150     moko     18798: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18799: 
                   18800: done
                   18801: 
                   18802: ac_ext=c
                   18803: ac_cpp='$CPP $CPPFLAGS'
                   18804: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18805: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18806: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18807: 
                   18808: 
                   18809: 
                   18810: for ac_func in qsort
                   18811: do :
                   18812:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18813: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18814:   cat >>confdefs.h <<_ACEOF
1.150     moko     18815: #define HAVE_QSORT 1
1.62      paf      18816: _ACEOF
1.1       paf      18817: 
1.66      paf      18818: else
1.150     moko     18819:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18820: fi
1.66      paf      18821: done
1.1       paf      18822: 
                   18823: 
1.62      paf      18824: 
1.159     moko     18825: 
1.177     moko     18826: ac_ext=cpp
                   18827: ac_cpp='$CXXCPP $CPPFLAGS'
                   18828: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18829: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18830: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18831: 
1.150     moko     18832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18833: $as_echo_n "checking for timezone variable... " >&6; }
                   18834: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18835: /* end confdefs.h.  */
1.66      paf      18836: #include <time.h>
1.62      paf      18837: int
                   18838: main ()
                   18839: {
1.177     moko     18840: int test=timezone;
1.62      paf      18841:   ;
                   18842:   return 0;
                   18843: }
                   18844: _ACEOF
1.177     moko     18845: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18846:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18847:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18848: $as_echo "yes" >&6; }
1.62      paf      18849: else
1.150     moko     18850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18851: $as_echo "no" >&6; }
1.62      paf      18852: fi
1.150     moko     18853: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.177     moko     18854: ac_ext=c
                   18855: ac_cpp='$CPP $CPPFLAGS'
                   18856: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18857: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18858: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18859: 
1.1       paf      18860: 
1.176     moko     18861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18862: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.150     moko     18863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18864: /* end confdefs.h.  */
1.66      paf      18865: #include <time.h>
1.62      paf      18866: int
                   18867: main ()
                   18868: {
1.176     moko     18869: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18870:   ;
                   18871:   return 0;
                   18872: }
                   18873: _ACEOF
1.150     moko     18874: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18875:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18876:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18877: $as_echo "yes" >&6; }
1.62      paf      18878: else
1.150     moko     18879:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18880: $as_echo "no" >&6; }
1.62      paf      18881: fi
1.150     moko     18882: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18883: 
1.176     moko     18884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18885: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.150     moko     18886: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18887: /* end confdefs.h.  */
1.66      paf      18888: #include <time.h>
1.62      paf      18889: int
                   18890: main ()
                   18891: {
1.176     moko     18892: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18893:   ;
                   18894:   return 0;
                   18895: }
                   18896: _ACEOF
1.150     moko     18897: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18898:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18899:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18900: $as_echo "yes" >&6; }
1.62      paf      18901: else
1.150     moko     18902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18903: $as_echo "no" >&6; }
1.62      paf      18904: fi
1.150     moko     18905: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18906: 
1.176     moko     18907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   18908: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   18909: if test "$cross_compiling" = yes; then :
                   18910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18911: $as_echo "no" >&6; }
                   18912: else
                   18913:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18914: /* end confdefs.h.  */
1.176     moko     18915: 
                   18916: #include <string.h>
1.66      paf      18917: #include <time.h>
1.176     moko     18918: 
                   18919: int main() {
                   18920:        struct tm tmL,tmH;
                   18921:        memset(&tmL, 0, sizeof(tmL));
                   18922:        memset(&tmH, 0, sizeof(tmH));
                   18923:        tmL.tm_year=-1900;
                   18924:        tmL.tm_mon=-1;
                   18925:        tmH.tm_year=9999-1900;
                   18926:        tmH.tm_mon=12-1;
                   18927:        tmH.tm_mday=31;
                   18928:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      18929: }
1.176     moko     18930: 
1.62      paf      18931: _ACEOF
1.176     moko     18932: if ac_fn_c_try_run "$LINENO"; then :
                   18933:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     18934:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18935: $as_echo "yes" >&6; }
1.62      paf      18936: else
1.150     moko     18937:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18938: $as_echo "no" >&6; }
1.62      paf      18939: fi
1.176     moko     18940: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18941:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18942: fi
1.31      paf      18943: 
1.1       paf      18944: 
                   18945: 
                   18946: 
1.62      paf      18947: 
                   18948: 
                   18949: 
1.150     moko     18950: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18951: 
                   18952: 
1.200     moko     18953: ac_config_files="$ac_config_files Makefile src/Makefile src/types/Makefile src/classes/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/lib/Makefile src/lib/gd/Makefile src/lib/smtp/Makefile src/lib/gc/Makefile src/lib/gc/include/Makefile src/lib/pcre/Makefile src/lib/cord/Makefile src/lib/cord/include/Makefile src/lib/cord/include/private/Makefile src/lib/md5/Makefile src/lib/sdbm/Makefile src/lib/sdbm/pa-include/Makefile src/lib/json/Makefile src/lib/curl/Makefile src/lib/punycode/Makefile src/lib/memcached/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile etc/auto.p"
1.62      paf      18954: 
                   18955: cat >confcache <<\_ACEOF
1.1       paf      18956: # This file is a shell script that caches the results of configure
                   18957: # tests run on this system so they can be shared between configure
1.62      paf      18958: # scripts and configure runs, see configure's option --config-cache.
                   18959: # It is not useful on other systems.  If it contains results you don't
                   18960: # want to keep, you may remove or edit it.
1.1       paf      18961: #
1.62      paf      18962: # config.status only pays attention to the cache file if you give it
                   18963: # the --recheck option to rerun configure.
1.1       paf      18964: #
1.62      paf      18965: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18966: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18967: # following values.
                   18968: 
                   18969: _ACEOF
                   18970: 
1.1       paf      18971: # The following way of writing the cache mishandles newlines in values,
                   18972: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18973: # So, we kill variables containing newlines.
1.1       paf      18974: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18975: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18976: (
                   18977:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18978:     eval ac_val=\$$ac_var
                   18979:     case $ac_val in #(
                   18980:     *${as_nl}*)
                   18981:       case $ac_var in #(
                   18982:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18983: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18984:       esac
                   18985:       case $ac_var in #(
                   18986:       _ | IFS | as_nl) ;; #(
                   18987:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18988:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18989:       esac ;;
                   18990:     esac
                   18991:   done
                   18992: 
1.62      paf      18993:   (set) 2>&1 |
1.150     moko     18994:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18995:     *${as_nl}ac_space=\ *)
                   18996:       # `set' does not quote correctly, so add quotes: double-quote
                   18997:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18998:       sed -n \
1.86      paf      18999:        "s/'/'\\\\''/g;
                   19000:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     19001:       ;; #(
1.62      paf      19002:     *)
                   19003:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     19004:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      19005:       ;;
1.150     moko     19006:     esac |
                   19007:     sort
                   19008: ) |
1.62      paf      19009:   sed '
1.150     moko     19010:      /^ac_cv_env_/b end
1.62      paf      19011:      t clear
1.150     moko     19012:      :clear
1.62      paf      19013:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19014:      t end
1.150     moko     19015:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19016:      :end' >>confcache
                   19017: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19018:   if test -w "$cache_file"; then
                   19019:     if test "x$cache_file" != "x/dev/null"; then
                   19020:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19021: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19022:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19023:        cat confcache >"$cache_file"
                   19024:       else
                   19025:         case $cache_file in #(
                   19026:         */* | ?:*)
                   19027:          mv -f confcache "$cache_file"$$ &&
                   19028:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19029:         *)
                   19030:          mv -f confcache "$cache_file" ;;
                   19031:        esac
                   19032:       fi
                   19033:     fi
1.1       paf      19034:   else
1.150     moko     19035:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19036: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      19037:   fi
                   19038: fi
                   19039: rm -f confcache
                   19040: 
                   19041: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19042: # Let make expand exec_prefix.
                   19043: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19044: 
1.62      paf      19045: DEFS=-DHAVE_CONFIG_H
                   19046: 
                   19047: ac_libobjs=
                   19048: ac_ltlibobjs=
                   19049: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19050:   # 1. Remove the extension, and $U if already installed.
1.150     moko     19051:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19052:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19053:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19054:   #    will be set to the directory where LIBOBJS objects are built.
                   19055:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19056:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      19057: done
                   19058: LIBOBJS=$ac_libobjs
                   19059: 
                   19060: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      19061: 
                   19062: 
1.187     moko     19063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19064: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19065:    if test -n "$am_sleep_pid"; then
                   19066:      # Hide warnings about reused PIDs.
                   19067:      wait $am_sleep_pid 2>/dev/null
                   19068:    fi
                   19069:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19070: $as_echo "done" >&6; }
1.150     moko     19071:  if test -n "$EXEEXT"; then
                   19072:   am__EXEEXT_TRUE=
                   19073:   am__EXEEXT_FALSE='#'
                   19074: else
                   19075:   am__EXEEXT_TRUE='#'
                   19076:   am__EXEEXT_FALSE=
                   19077: fi
                   19078: 
1.62      paf      19079: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     19080:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19081: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19082: fi
1.66      paf      19083: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     19084:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19085: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19086: fi
1.66      paf      19087: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     19088:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19089: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19090: fi
1.122     moko     19091: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     19092:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   19093: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19094: fi
1.128     moko     19095: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     19096:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   19097: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19098: fi
                   19099: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     19100:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   19101: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19102: fi
1.150     moko     19103: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     19104: 
                   19105:     _ltdl_libobjs=
                   19106:     _ltdl_ltlibobjs=
                   19107:     if test -n "$_LT_LIBOBJS"; then
                   19108:       # Remove the extension.
                   19109:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   19110:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   19111:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   19112:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   19113:       done
                   19114:     fi
                   19115:     ltdl_LIBOBJS=$_ltdl_libobjs
                   19116: 
                   19117:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   19118: 
                   19119: 
1.62      paf      19120: 
1.150     moko     19121: 
                   19122: : "${CONFIG_STATUS=./config.status}"
                   19123: ac_write_fail=0
1.62      paf      19124: ac_clean_files_save=$ac_clean_files
                   19125: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     19126: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19127: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19128: as_write_fail=0
                   19129: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      19130: #! $SHELL
                   19131: # Generated by $as_me.
                   19132: # Run this file to recreate the current configuration.
                   19133: # Compiler output produced by configure, useful for debugging
                   19134: # configure, is in config.log if it exists.
                   19135: 
                   19136: debug=false
                   19137: ac_cs_recheck=false
                   19138: ac_cs_silent=false
1.150     moko     19139: 
1.62      paf      19140: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     19141: export SHELL
                   19142: _ASEOF
                   19143: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19144: ## -------------------- ##
                   19145: ## M4sh Initialization. ##
                   19146: ## -------------------- ##
1.62      paf      19147: 
1.150     moko     19148: # Be more Bourne compatible
                   19149: DUALCASE=1; export DUALCASE # for MKS sh
                   19150: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      19151:   emulate sh
                   19152:   NULLCMD=:
1.150     moko     19153:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      19154:   # is contrary to our usage.  Disable this feature.
                   19155:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     19156:   setopt NO_GLOB_SUBST
                   19157: else
                   19158:   case `(set -o) 2>/dev/null` in #(
                   19159:   *posix*) :
                   19160:     set -o posix ;; #(
                   19161:   *) :
                   19162:      ;;
                   19163: esac
                   19164: fi
                   19165: 
                   19166: 
                   19167: as_nl='
                   19168: '
                   19169: export as_nl
                   19170: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19171: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19172: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19173: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19174: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19175: # but without wasting forks for bash or zsh.
                   19176: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19177:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19178:   as_echo='print -r --'
                   19179:   as_echo_n='print -rn --'
                   19180: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19181:   as_echo='printf %s\n'
                   19182:   as_echo_n='printf %s'
                   19183: else
                   19184:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19185:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19186:     as_echo_n='/usr/ucb/echo -n'
                   19187:   else
                   19188:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19189:     as_echo_n_body='eval
                   19190:       arg=$1;
                   19191:       case $arg in #(
                   19192:       *"$as_nl"*)
                   19193:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19194:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19195:       esac;
                   19196:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19197:     '
                   19198:     export as_echo_n_body
                   19199:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19200:   fi
                   19201:   export as_echo_body
                   19202:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      19203: fi
                   19204: 
1.150     moko     19205: # The user is always right.
                   19206: if test "${PATH_SEPARATOR+set}" != set; then
                   19207:   PATH_SEPARATOR=:
                   19208:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19209:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19210:       PATH_SEPARATOR=';'
                   19211:   }
1.62      paf      19212: fi
                   19213: 
                   19214: 
1.150     moko     19215: # IFS
                   19216: # We need space, tab and new line, in precisely that order.  Quoting is
                   19217: # there to prevent editors from complaining about space-tab.
                   19218: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19219: # splitting by setting IFS to empty value.)
                   19220: IFS=" ""       $as_nl"
                   19221: 
                   19222: # Find who we are.  Look in the path if we contain no directory separator.
                   19223: as_myself=
                   19224: case $0 in #((
                   19225:   *[\\/]* ) as_myself=$0 ;;
                   19226:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19227: for as_dir in $PATH
                   19228: do
                   19229:   IFS=$as_save_IFS
                   19230:   test -z "$as_dir" && as_dir=.
                   19231:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19232:   done
                   19233: IFS=$as_save_IFS
                   19234: 
                   19235:      ;;
                   19236: esac
                   19237: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19238: # in which case we are not to be found in the path.
                   19239: if test "x$as_myself" = x; then
                   19240:   as_myself=$0
                   19241: fi
                   19242: if test ! -f "$as_myself"; then
                   19243:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19244:   exit 1
                   19245: fi
                   19246: 
                   19247: # Unset variables that we do not need and which cause bugs (e.g. in
                   19248: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19249: # suppresses any "Segmentation fault" message there.  '((' could
                   19250: # trigger a bug in pdksh 5.2.14.
                   19251: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19252: do eval test x\${$as_var+set} = xset \
                   19253:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19254: done
1.62      paf      19255: PS1='$ '
                   19256: PS2='> '
                   19257: PS4='+ '
                   19258: 
                   19259: # NLS nuisances.
1.150     moko     19260: LC_ALL=C
                   19261: export LC_ALL
                   19262: LANGUAGE=C
                   19263: export LANGUAGE
                   19264: 
                   19265: # CDPATH.
                   19266: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19267: 
                   19268: 
                   19269: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19270: # ----------------------------------------
                   19271: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19272: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19273: # script with STATUS, using 1 if that was 0.
                   19274: as_fn_error ()
                   19275: {
                   19276:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19277:   if test "$4"; then
                   19278:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19279:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19280:   fi
                   19281:   $as_echo "$as_me: error: $2" >&2
                   19282:   as_fn_exit $as_status
                   19283: } # as_fn_error
                   19284: 
                   19285: 
                   19286: # as_fn_set_status STATUS
                   19287: # -----------------------
                   19288: # Set $? to STATUS, without forking.
                   19289: as_fn_set_status ()
                   19290: {
                   19291:   return $1
                   19292: } # as_fn_set_status
                   19293: 
                   19294: # as_fn_exit STATUS
                   19295: # -----------------
                   19296: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19297: as_fn_exit ()
                   19298: {
                   19299:   set +e
                   19300:   as_fn_set_status $1
                   19301:   exit $1
                   19302: } # as_fn_exit
                   19303: 
                   19304: # as_fn_unset VAR
                   19305: # ---------------
                   19306: # Portably unset VAR.
                   19307: as_fn_unset ()
                   19308: {
                   19309:   { eval $1=; unset $1;}
                   19310: }
                   19311: as_unset=as_fn_unset
                   19312: # as_fn_append VAR VALUE
                   19313: # ----------------------
                   19314: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19315: # advantage of any shell optimizations that allow amortized linear growth over
                   19316: # repeated appends, instead of the typical quadratic growth present in naive
                   19317: # implementations.
                   19318: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19319:   eval 'as_fn_append ()
                   19320:   {
                   19321:     eval $1+=\$2
                   19322:   }'
                   19323: else
                   19324:   as_fn_append ()
                   19325:   {
                   19326:     eval $1=\$$1\$2
                   19327:   }
                   19328: fi # as_fn_append
                   19329: 
                   19330: # as_fn_arith ARG...
                   19331: # ------------------
                   19332: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19333: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19334: # must be portable across $(()) and expr.
                   19335: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19336:   eval 'as_fn_arith ()
                   19337:   {
                   19338:     as_val=$(( $* ))
                   19339:   }'
                   19340: else
                   19341:   as_fn_arith ()
                   19342:   {
                   19343:     as_val=`expr "$@" || test $? -eq 1`
                   19344:   }
                   19345: fi # as_fn_arith
                   19346: 
1.1       paf      19347: 
1.150     moko     19348: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19349:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19350:   as_expr=expr
                   19351: else
                   19352:   as_expr=false
                   19353: fi
                   19354: 
1.150     moko     19355: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19356:   as_basename=basename
                   19357: else
                   19358:   as_basename=false
                   19359: fi
                   19360: 
1.150     moko     19361: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19362:   as_dirname=dirname
                   19363: else
                   19364:   as_dirname=false
                   19365: fi
1.62      paf      19366: 
1.150     moko     19367: as_me=`$as_basename -- "$0" ||
1.62      paf      19368: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19369:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19370:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19371: $as_echo X/"$0" |
                   19372:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19373:            s//\1/
                   19374:            q
                   19375:          }
                   19376:          /^X\/\(\/\/\)$/{
                   19377:            s//\1/
                   19378:            q
                   19379:          }
                   19380:          /^X\/\(\/\).*/{
                   19381:            s//\1/
                   19382:            q
                   19383:          }
                   19384:          s/.*/./; q'`
1.62      paf      19385: 
                   19386: # Avoid depending upon Character Ranges.
                   19387: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19388: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19389: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19390: as_cr_digits='0123456789'
                   19391: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19392: 
1.150     moko     19393: ECHO_C= ECHO_N= ECHO_T=
                   19394: case `echo -n x` in #(((((
                   19395: -n*)
                   19396:   case `echo 'xy\c'` in
                   19397:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19398:   xy)  ECHO_C='\c';;
                   19399:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19400:        ECHO_T='        ';;
                   19401:   esac;;
                   19402: *)
                   19403:   ECHO_N='-n';;
1.62      paf      19404: esac
                   19405: 
1.150     moko     19406: rm -f conf$$ conf$$.exe conf$$.file
                   19407: if test -d conf$$.dir; then
                   19408:   rm -f conf$$.dir/conf$$.file
1.62      paf      19409: else
1.150     moko     19410:   rm -f conf$$.dir
                   19411:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19412: fi
1.150     moko     19413: if (echo >conf$$.file) 2>/dev/null; then
                   19414:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19415:     as_ln_s='ln -s'
                   19416:     # ... but there are two gotchas:
                   19417:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19418:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19419:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19420:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19421:       as_ln_s='cp -pR'
1.150     moko     19422:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19423:     as_ln_s=ln
                   19424:   else
1.166     moko     19425:     as_ln_s='cp -pR'
1.62      paf      19426:   fi
                   19427: else
1.166     moko     19428:   as_ln_s='cp -pR'
1.62      paf      19429: fi
1.150     moko     19430: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19431: rmdir conf$$.dir 2>/dev/null
                   19432: 
                   19433: 
                   19434: # as_fn_mkdir_p
                   19435: # -------------
                   19436: # Create "$as_dir" as a directory, including parents if necessary.
                   19437: as_fn_mkdir_p ()
                   19438: {
                   19439: 
                   19440:   case $as_dir in #(
                   19441:   -*) as_dir=./$as_dir;;
                   19442:   esac
                   19443:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19444:     as_dirs=
                   19445:     while :; do
                   19446:       case $as_dir in #(
                   19447:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19448:       *) as_qdir=$as_dir;;
                   19449:       esac
                   19450:       as_dirs="'$as_qdir' $as_dirs"
                   19451:       as_dir=`$as_dirname -- "$as_dir" ||
                   19452: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19453:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19454:         X"$as_dir" : 'X\(//\)$' \| \
                   19455:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19456: $as_echo X"$as_dir" |
                   19457:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19458:            s//\1/
                   19459:            q
                   19460:          }
                   19461:          /^X\(\/\/\)[^/].*/{
                   19462:            s//\1/
                   19463:            q
                   19464:          }
                   19465:          /^X\(\/\/\)$/{
                   19466:            s//\1/
                   19467:            q
                   19468:          }
                   19469:          /^X\(\/\).*/{
                   19470:            s//\1/
                   19471:            q
                   19472:          }
                   19473:          s/.*/./; q'`
                   19474:       test -d "$as_dir" && break
                   19475:     done
                   19476:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19477:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19478: 
1.62      paf      19479: 
1.150     moko     19480: } # as_fn_mkdir_p
1.62      paf      19481: if mkdir -p . 2>/dev/null; then
1.150     moko     19482:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19483: else
1.86      paf      19484:   test -d ./-p && rmdir ./-p
1.62      paf      19485:   as_mkdir_p=false
                   19486: fi
                   19487: 
1.166     moko     19488: 
                   19489: # as_fn_executable_p FILE
                   19490: # -----------------------
                   19491: # Test if FILE is an executable regular file.
                   19492: as_fn_executable_p ()
                   19493: {
                   19494:   test -f "$1" && test -x "$1"
                   19495: } # as_fn_executable_p
                   19496: as_test_x='test -x'
                   19497: as_executable_p=as_fn_executable_p
1.62      paf      19498: 
                   19499: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19500: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19501: 
                   19502: # Sed expression to map a string onto a valid variable name.
1.86      paf      19503: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19504: 
                   19505: 
                   19506: exec 6>&1
1.150     moko     19507: ## ----------------------------------- ##
                   19508: ## Main body of $CONFIG_STATUS script. ##
                   19509: ## ----------------------------------- ##
                   19510: _ASEOF
                   19511: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19512: 
1.150     moko     19513: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19514: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19515: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19516: # values after options handling.
                   19517: ac_log="
1.186     moko     19518: This file was extended by parser $as_me 3.4.6b, which was
1.166     moko     19519: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19520: 
                   19521:   CONFIG_FILES    = $CONFIG_FILES
                   19522:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19523:   CONFIG_LINKS    = $CONFIG_LINKS
                   19524:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19525:   $ $0 $@
                   19526: 
1.150     moko     19527: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19528: "
                   19529: 
1.62      paf      19530: _ACEOF
                   19531: 
1.150     moko     19532: case $ac_config_files in *"
                   19533: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19534: esac
1.62      paf      19535: 
1.150     moko     19536: case $ac_config_headers in *"
                   19537: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19538: esac
1.62      paf      19539: 
                   19540: 
1.150     moko     19541: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19542: # Files that config.status was made for.
                   19543: config_files="$ac_config_files"
                   19544: config_headers="$ac_config_headers"
                   19545: config_commands="$ac_config_commands"
1.62      paf      19546: 
1.150     moko     19547: _ACEOF
1.62      paf      19548: 
1.150     moko     19549: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19550: ac_cs_usage="\
1.150     moko     19551: \`$as_me' instantiates files and other configuration actions
                   19552: from templates according to the current configuration.  Unless the files
                   19553: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19554: 
1.150     moko     19555: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19556: 
                   19557:   -h, --help       print this help, then exit
1.150     moko     19558:   -V, --version    print version number and configuration settings, then exit
                   19559:       --config     print configuration, then exit
                   19560:   -q, --quiet, --silent
                   19561:                    do not print progress messages
1.62      paf      19562:   -d, --debug      don't remove temporary files
                   19563:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19564:       --file=FILE[:TEMPLATE]
                   19565:                    instantiate the configuration file FILE
                   19566:       --header=FILE[:TEMPLATE]
                   19567:                    instantiate the configuration header FILE
1.62      paf      19568: 
                   19569: Configuration files:
                   19570: $config_files
                   19571: 
                   19572: Configuration headers:
                   19573: $config_headers
                   19574: 
                   19575: Configuration commands:
                   19576: $config_commands
                   19577: 
1.150     moko     19578: Report bugs to the package provider."
                   19579: 
1.62      paf      19580: _ACEOF
1.150     moko     19581: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19582: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19583: ac_cs_version="\\
1.186     moko     19584: parser config.status 3.4.6b
1.166     moko     19585: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19586:   with options \\"\$ac_cs_config\\"
1.62      paf      19587: 
1.166     moko     19588: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19589: This config.status script is free software; the Free Software Foundation
                   19590: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19591: 
                   19592: ac_pwd='$ac_pwd'
                   19593: srcdir='$srcdir'
                   19594: INSTALL='$INSTALL'
                   19595: MKDIR_P='$MKDIR_P'
                   19596: AWK='$AWK'
                   19597: test -n "\$AWK" || AWK=awk
1.62      paf      19598: _ACEOF
                   19599: 
1.150     moko     19600: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19601: # The default lists apply if the user does not specify any file.
1.62      paf      19602: ac_need_defaults=:
                   19603: while test $# != 0
                   19604: do
                   19605:   case $1 in
1.150     moko     19606:   --*=?*)
                   19607:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19608:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19609:     ac_shift=:
                   19610:     ;;
1.150     moko     19611:   --*=)
                   19612:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19613:     ac_optarg=
                   19614:     ac_shift=:
                   19615:     ;;
                   19616:   *)
1.62      paf      19617:     ac_option=$1
                   19618:     ac_optarg=$2
                   19619:     ac_shift=shift
                   19620:     ;;
                   19621:   esac
                   19622: 
                   19623:   case $ac_option in
                   19624:   # Handling of the options.
                   19625:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19626:     ac_cs_recheck=: ;;
1.150     moko     19627:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19628:     $as_echo "$ac_cs_version"; exit ;;
                   19629:   --config | --confi | --conf | --con | --co | --c )
                   19630:     $as_echo "$ac_cs_config"; exit ;;
                   19631:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19632:     debug=: ;;
                   19633:   --file | --fil | --fi | --f )
                   19634:     $ac_shift
1.150     moko     19635:     case $ac_optarg in
                   19636:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19637:     '') as_fn_error $? "missing file argument" ;;
                   19638:     esac
                   19639:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19640:     ac_need_defaults=false;;
                   19641:   --header | --heade | --head | --hea )
                   19642:     $ac_shift
1.150     moko     19643:     case $ac_optarg in
                   19644:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19645:     esac
                   19646:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19647:     ac_need_defaults=false;;
1.150     moko     19648:   --he | --h)
                   19649:     # Conflict between --help and --header
                   19650:     as_fn_error $? "ambiguous option: \`$1'
                   19651: Try \`$0 --help' for more information.";;
                   19652:   --help | --hel | -h )
                   19653:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19654:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19655:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19656:     ac_cs_silent=: ;;
                   19657: 
                   19658:   # This is an error.
1.150     moko     19659:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19660: Try \`$0 --help' for more information." ;;
1.62      paf      19661: 
1.150     moko     19662:   *) as_fn_append ac_config_targets " $1"
                   19663:      ac_need_defaults=false ;;
1.62      paf      19664: 
                   19665:   esac
                   19666:   shift
                   19667: done
                   19668: 
                   19669: ac_configure_extra_args=
                   19670: 
                   19671: if $ac_cs_silent; then
                   19672:   exec 6>/dev/null
1.150     moko     19673:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19674: fi
                   19675: 
                   19676: _ACEOF
                   19677: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19678: if \$ac_cs_recheck; then
1.166     moko     19679:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19680:   shift
                   19681:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19682:   CONFIG_SHELL='$SHELL'
                   19683:   export CONFIG_SHELL
                   19684:   exec "\$@"
                   19685: fi
                   19686: 
                   19687: _ACEOF
                   19688: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19689: exec 5>>config.log
                   19690: {
                   19691:   echo
                   19692:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19693: ## Running $as_me. ##
                   19694: _ASBOX
                   19695:   $as_echo "$ac_log"
                   19696: } >&5
1.62      paf      19697: 
                   19698: _ACEOF
1.150     moko     19699: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19700: #
1.150     moko     19701: # INIT-COMMANDS
1.1       paf      19702: #
1.199     moko     19703: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      19704: 
1.128     moko     19705: 
                   19706: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19707: # if CDPATH is set.
                   19708: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19709: 
                   19710: sed_quote_subst='$sed_quote_subst'
                   19711: double_quote_subst='$double_quote_subst'
                   19712: delay_variable_subst='$delay_variable_subst'
                   19713: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19714: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19715: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19716: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19717: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19718: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19719: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19720: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19721: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19722: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19723: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19724: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19725: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19726: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19727: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19728: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19729: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19730: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19731: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19732: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19733: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19734: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19735: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19736: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19737: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19738: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19739: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19740: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19741: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19742: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19743: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19744: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19745: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19746: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19747: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19748: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19749: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19750: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19751: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19752: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19753: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19754: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19755: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19756: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19757: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19758: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19759: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19760: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19761: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19762: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19763: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19764: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19765: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19766: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19767: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19768: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19769: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19770: 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"`'
                   19771: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19772: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19773: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19774: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19775: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19776: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19777: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19778: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19779: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19780: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19781: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19782: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19783: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19784: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19785: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19786: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19787: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19788: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19789: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19790: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19791: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19792: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19793: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19794: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19795: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19796: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19797: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19798: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19799: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19800: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19801: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19802: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19803: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19804: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19805: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19806: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19807: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19808: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19809: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19810: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19811: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19812: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19813: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19814: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19815: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19816: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19817: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19818: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19819: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19820: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19821: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19822: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19823: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19824: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19825: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19826: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19827: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19828: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19829: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19830: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19831: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19832: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19833: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19834: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19835: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19836: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19837: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19838: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19839: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19840: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19841: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19842: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19843: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19844: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19845: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19846: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19847: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19848: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19849: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19850: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19851: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19852: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19853: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19854: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19855: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19856: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19857: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19858: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19859: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19860: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19861: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19862: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19863: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19864: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19865: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19866: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19867: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19868: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19869: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19870: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19871: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19872: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19873: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19874: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19875: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19876: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19877: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19878: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19879: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19880: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19881: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19882: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19883: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19884: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19885: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19886: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19887: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19888: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19889: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19890: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19891: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19892: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19893: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19894: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19895: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19896: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19897: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19898: 
                   19899: LTCC='$LTCC'
                   19900: LTCFLAGS='$LTCFLAGS'
                   19901: compiler='$compiler_DEFAULT'
                   19902: 
                   19903: # A function that is used when there is no print builtin or printf.
                   19904: func_fallback_echo ()
                   19905: {
                   19906:   eval 'cat <<_LTECHO_EOF
                   19907: \$1
                   19908: _LTECHO_EOF'
                   19909: }
                   19910: 
                   19911: # Quote evaled strings.
                   19912: for var in AS \
                   19913: DLLTOOL \
                   19914: OBJDUMP \
                   19915: SHELL \
                   19916: ECHO \
                   19917: PATH_SEPARATOR \
                   19918: SED \
                   19919: GREP \
                   19920: EGREP \
                   19921: FGREP \
                   19922: LD \
                   19923: NM \
                   19924: LN_S \
                   19925: lt_SP2NL \
                   19926: lt_NL2SP \
                   19927: reload_flag \
                   19928: deplibs_check_method \
                   19929: file_magic_cmd \
                   19930: file_magic_glob \
                   19931: want_nocaseglob \
                   19932: sharedlib_from_linklib_cmd \
                   19933: AR \
                   19934: AR_FLAGS \
                   19935: archiver_list_spec \
                   19936: STRIP \
                   19937: RANLIB \
                   19938: CC \
                   19939: CFLAGS \
                   19940: compiler \
                   19941: lt_cv_sys_global_symbol_pipe \
                   19942: lt_cv_sys_global_symbol_to_cdecl \
                   19943: lt_cv_sys_global_symbol_to_c_name_address \
                   19944: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19945: nm_file_list_spec \
                   19946: lt_prog_compiler_no_builtin_flag \
                   19947: lt_prog_compiler_pic \
                   19948: lt_prog_compiler_wl \
                   19949: lt_prog_compiler_static \
                   19950: lt_cv_prog_compiler_c_o \
                   19951: need_locks \
                   19952: MANIFEST_TOOL \
                   19953: DSYMUTIL \
                   19954: NMEDIT \
                   19955: LIPO \
                   19956: OTOOL \
                   19957: OTOOL64 \
                   19958: shrext_cmds \
                   19959: export_dynamic_flag_spec \
                   19960: whole_archive_flag_spec \
                   19961: compiler_needs_object \
                   19962: with_gnu_ld \
                   19963: allow_undefined_flag \
                   19964: no_undefined_flag \
                   19965: hardcode_libdir_flag_spec \
                   19966: hardcode_libdir_separator \
                   19967: exclude_expsyms \
                   19968: include_expsyms \
                   19969: file_list_spec \
                   19970: variables_saved_for_relink \
                   19971: libname_spec \
                   19972: library_names_spec \
                   19973: soname_spec \
                   19974: install_override_mode \
                   19975: finish_eval \
                   19976: old_striplib \
                   19977: striplib \
                   19978: compiler_lib_search_dirs \
                   19979: predep_objects \
                   19980: postdep_objects \
                   19981: predeps \
                   19982: postdeps \
                   19983: compiler_lib_search_path \
                   19984: LD_CXX \
                   19985: reload_flag_CXX \
                   19986: compiler_CXX \
                   19987: lt_prog_compiler_no_builtin_flag_CXX \
                   19988: lt_prog_compiler_pic_CXX \
                   19989: lt_prog_compiler_wl_CXX \
                   19990: lt_prog_compiler_static_CXX \
                   19991: lt_cv_prog_compiler_c_o_CXX \
                   19992: export_dynamic_flag_spec_CXX \
                   19993: whole_archive_flag_spec_CXX \
                   19994: compiler_needs_object_CXX \
                   19995: with_gnu_ld_CXX \
                   19996: allow_undefined_flag_CXX \
                   19997: no_undefined_flag_CXX \
                   19998: hardcode_libdir_flag_spec_CXX \
                   19999: hardcode_libdir_separator_CXX \
                   20000: exclude_expsyms_CXX \
                   20001: include_expsyms_CXX \
                   20002: file_list_spec_CXX \
                   20003: compiler_lib_search_dirs_CXX \
                   20004: predep_objects_CXX \
                   20005: postdep_objects_CXX \
                   20006: predeps_CXX \
                   20007: postdeps_CXX \
                   20008: compiler_lib_search_path_CXX; do
                   20009:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20010:     *[\\\\\\\`\\"\\\$]*)
                   20011:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20012:       ;;
                   20013:     *)
                   20014:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20015:       ;;
                   20016:     esac
                   20017: done
                   20018: 
                   20019: # Double-quote double-evaled strings.
                   20020: for var in reload_cmds \
                   20021: old_postinstall_cmds \
                   20022: old_postuninstall_cmds \
                   20023: old_archive_cmds \
                   20024: extract_expsyms_cmds \
                   20025: old_archive_from_new_cmds \
                   20026: old_archive_from_expsyms_cmds \
                   20027: archive_cmds \
                   20028: archive_expsym_cmds \
                   20029: module_cmds \
                   20030: module_expsym_cmds \
                   20031: export_symbols_cmds \
                   20032: prelink_cmds \
                   20033: postlink_cmds \
                   20034: postinstall_cmds \
                   20035: postuninstall_cmds \
                   20036: finish_cmds \
                   20037: sys_lib_search_path_spec \
                   20038: sys_lib_dlsearch_path_spec \
                   20039: reload_cmds_CXX \
                   20040: old_archive_cmds_CXX \
                   20041: old_archive_from_new_cmds_CXX \
                   20042: old_archive_from_expsyms_cmds_CXX \
                   20043: archive_cmds_CXX \
                   20044: archive_expsym_cmds_CXX \
                   20045: module_cmds_CXX \
                   20046: module_expsym_cmds_CXX \
                   20047: export_symbols_cmds_CXX \
                   20048: prelink_cmds_CXX \
                   20049: postlink_cmds_CXX; do
                   20050:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20051:     *[\\\\\\\`\\"\\\$]*)
                   20052:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20053:       ;;
                   20054:     *)
                   20055:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20056:       ;;
                   20057:     esac
                   20058: done
                   20059: 
                   20060: ac_aux_dir='$ac_aux_dir'
                   20061: xsi_shell='$xsi_shell'
                   20062: lt_shell_append='$lt_shell_append'
                   20063: 
                   20064: # See if we are running on zsh, and set the options which allow our
                   20065: # commands through without removal of \ escapes INIT.
                   20066: if test -n "\${ZSH_VERSION+set}" ; then
                   20067:    setopt NO_GLOB_SUBST
                   20068: fi
                   20069: 
                   20070: 
                   20071:     PACKAGE='$PACKAGE'
                   20072:     VERSION='$VERSION'
                   20073:     TIMESTAMP='$TIMESTAMP'
                   20074:     RM='$RM'
                   20075:     ofile='$ofile'
                   20076: 
                   20077: 
                   20078: 
                   20079: 
                   20080: 
                   20081: 
1.62      paf      20082: _ACEOF
                   20083: 
1.150     moko     20084: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20085: 
1.150     moko     20086: # Handling of arguments.
1.62      paf      20087: for ac_config_target in $ac_config_targets
1.1       paf      20088: do
1.150     moko     20089:   case $ac_config_target in
                   20090:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20091:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20092:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20093:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20094:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20095:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20096:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20097:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20098:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20099:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20100:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   20101:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20102:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   20103:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20104:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   20105:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   20106:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20107:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20108:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   20109:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   20110:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   20111:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   20112:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     20113:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   20114:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     20115:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   20116:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20117:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   20118:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   20119:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20120:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20121:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     20122:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     20123: 
                   20124:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      20125:   esac
                   20126: done
                   20127: 
1.150     moko     20128: 
1.62      paf      20129: # If the user did not use the arguments to specify the items to instantiate,
                   20130: # then the envvar interface is used.  Set only those that are not.
                   20131: # We use the long form for the default assignment because of an extremely
                   20132: # bizarre bug on SunOS 4.1.3.
                   20133: if $ac_need_defaults; then
                   20134:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20135:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20136:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20137: fi
                   20138: 
                   20139: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     20140: # simply because there is no reason against having it here, and in addition,
1.62      paf      20141: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     20142: # Hook for its removal unless debugging.
                   20143: # Note that there is a small window in which the directory will not be cleaned:
                   20144: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      20145: $debug ||
                   20146: {
1.150     moko     20147:   tmp= ac_tmp=
                   20148:   trap 'exit_status=$?
                   20149:   : "${ac_tmp:=$tmp}"
                   20150:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20151: ' 0
                   20152:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      20153: }
                   20154: # Create a (secure) tmp directory for tmp files.
                   20155: 
                   20156: {
1.150     moko     20157:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20158:   test -d "$tmp"
1.62      paf      20159: }  ||
                   20160: {
1.150     moko     20161:   tmp=./conf$$-$RANDOM
                   20162:   (umask 077 && mkdir "$tmp")
                   20163: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20164: ac_tmp=$tmp
                   20165: 
                   20166: # Set up the scripts for CONFIG_FILES section.
                   20167: # No need to generate them if there are no CONFIG_FILES.
                   20168: # This happens for instance with `./config.status config.h'.
                   20169: if test -n "$CONFIG_FILES"; then
                   20170: 
                   20171: 
                   20172: ac_cr=`echo X | tr X '\015'`
                   20173: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20174: # But we know of no other shell where ac_cr would be empty at this
                   20175: # point, so we can use a bashism as a fallback.
                   20176: if test "x$ac_cr" = x; then
                   20177:   eval ac_cr=\$\'\\r\'
                   20178: fi
                   20179: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20180: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20181:   ac_cs_awk_cr='\\r'
                   20182: else
                   20183:   ac_cs_awk_cr=$ac_cr
                   20184: fi
                   20185: 
                   20186: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20187: _ACEOF
                   20188: 
                   20189: 
1.62      paf      20190: {
1.150     moko     20191:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20192:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20193:   echo "_ACEOF"
                   20194: } >conf$$subs.sh ||
                   20195:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20196: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20197: ac_delim='%!_!# '
                   20198: for ac_last_try in false false false false false :; do
                   20199:   . ./conf$$subs.sh ||
                   20200:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20201: 
                   20202:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20203:   if test $ac_delim_n = $ac_delim_num; then
                   20204:     break
                   20205:   elif $ac_last_try; then
                   20206:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20207:   else
                   20208:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20209:   fi
                   20210: done
                   20211: rm -f conf$$subs.sh
                   20212: 
                   20213: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20214: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20215: _ACEOF
                   20216: sed -n '
                   20217: h
                   20218: s/^/S["/; s/!.*/"]=/
                   20219: p
                   20220: g
                   20221: s/^[^!]*!//
                   20222: :repl
                   20223: t repl
                   20224: s/'"$ac_delim"'$//
                   20225: t delim
                   20226: :nl
                   20227: h
                   20228: s/\(.\{148\}\)..*/\1/
                   20229: t more1
                   20230: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20231: p
                   20232: n
                   20233: b repl
                   20234: :more1
                   20235: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20236: p
                   20237: g
                   20238: s/.\{148\}//
                   20239: t nl
                   20240: :delim
                   20241: h
                   20242: s/\(.\{148\}\)..*/\1/
                   20243: t more2
                   20244: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20245: p
                   20246: b
                   20247: :more2
                   20248: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20249: p
                   20250: g
                   20251: s/.\{148\}//
                   20252: t delim
                   20253: ' <conf$$subs.awk | sed '
                   20254: /^[^""]/{
                   20255:   N
                   20256:   s/\n//
                   20257: }
                   20258: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20259: rm -f conf$$subs.awk
                   20260: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20261: _ACAWK
                   20262: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20263:   for (key in S) S_is_set[key] = 1
                   20264:   FS = ""
                   20265: 
                   20266: }
                   20267: {
                   20268:   line = $ 0
                   20269:   nfields = split(line, field, "@")
                   20270:   substed = 0
                   20271:   len = length(field[1])
                   20272:   for (i = 2; i < nfields; i++) {
                   20273:     key = field[i]
                   20274:     keylen = length(key)
                   20275:     if (S_is_set[key]) {
                   20276:       value = S[key]
                   20277:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20278:       len += length(value) + length(field[++i])
                   20279:       substed = 1
                   20280:     } else
                   20281:       len += 1 + keylen
                   20282:   }
                   20283: 
                   20284:   print line
1.62      paf      20285: }
                   20286: 
1.150     moko     20287: _ACAWK
                   20288: _ACEOF
                   20289: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20290: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20291:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20292: else
                   20293:   cat
                   20294: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20295:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20296: _ACEOF
1.1       paf      20297: 
1.150     moko     20298: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20299: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20300: # trailing colons and then remove the whole line if VPATH becomes empty
                   20301: # (actually we leave an empty line to preserve line numbers).
                   20302: if test "x$srcdir" = x.; then
                   20303:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20304: h
                   20305: s///
                   20306: s/^/:/
                   20307: s/[     ]*$/:/
                   20308: s/:\$(srcdir):/:/g
                   20309: s/:\${srcdir}:/:/g
                   20310: s/:@srcdir@:/:/g
                   20311: s/^:*//
                   20312: s/:*$//
                   20313: x
                   20314: s/\(=[  ]*\).*/\1/
                   20315: G
                   20316: s/\n//
                   20317: s/^[^=]*=[      ]*$//
                   20318: }'
                   20319: fi
1.62      paf      20320: 
1.150     moko     20321: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20322: fi # test -n "$CONFIG_FILES"
1.1       paf      20323: 
1.150     moko     20324: # Set up the scripts for CONFIG_HEADERS section.
                   20325: # No need to generate them if there are no CONFIG_HEADERS.
                   20326: # This happens for instance with `./config.status Makefile'.
                   20327: if test -n "$CONFIG_HEADERS"; then
                   20328: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20329: BEGIN {
                   20330: _ACEOF
                   20331: 
                   20332: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20333: # here-document in config.status, that substitutes the proper values into
                   20334: # config.h.in to produce config.h.
                   20335: 
                   20336: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20337: # handling of long lines.
                   20338: ac_delim='%!_!# '
                   20339: for ac_last_try in false false :; do
                   20340:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20341:   if test -z "$ac_tt"; then
                   20342:     break
                   20343:   elif $ac_last_try; then
                   20344:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20345:   else
                   20346:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20347:   fi
1.150     moko     20348: done
1.1       paf      20349: 
1.150     moko     20350: # For the awk script, D is an array of macro values keyed by name,
                   20351: # likewise P contains macro parameters if any.  Preserve backslash
                   20352: # newline sequences.
                   20353: 
                   20354: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20355: sed -n '
                   20356: s/.\{148\}/&'"$ac_delim"'/g
                   20357: t rset
                   20358: :rset
                   20359: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20360: t def
                   20361: d
                   20362: :def
                   20363: s/\\$//
                   20364: t bsnl
                   20365: s/["\\]/\\&/g
                   20366: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20367: D["\1"]=" \3"/p
                   20368: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20369: d
                   20370: :bsnl
                   20371: s/["\\]/\\&/g
                   20372: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20373: D["\1"]=" \3\\\\\\n"\\/p
                   20374: t cont
                   20375: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20376: t cont
                   20377: d
                   20378: :cont
                   20379: n
                   20380: s/.\{148\}/&'"$ac_delim"'/g
                   20381: t clear
                   20382: :clear
                   20383: s/\\$//
                   20384: t bsnlc
                   20385: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20386: d
                   20387: :bsnlc
                   20388: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20389: b cont
                   20390: ' <confdefs.h | sed '
                   20391: s/'"$ac_delim"'/"\\\
                   20392: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20393: 
                   20394: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20395:   for (key in D) D_is_set[key] = 1
                   20396:   FS = ""
                   20397: }
                   20398: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20399:   line = \$ 0
                   20400:   split(line, arg, " ")
                   20401:   if (arg[1] == "#") {
                   20402:     defundef = arg[2]
                   20403:     mac1 = arg[3]
                   20404:   } else {
                   20405:     defundef = substr(arg[1], 2)
                   20406:     mac1 = arg[2]
                   20407:   }
                   20408:   split(mac1, mac2, "(") #)
                   20409:   macro = mac2[1]
                   20410:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20411:   if (D_is_set[macro]) {
                   20412:     # Preserve the white space surrounding the "#".
                   20413:     print prefix "define", macro P[macro] D[macro]
                   20414:     next
                   20415:   } else {
                   20416:     # Replace #undef with comments.  This is necessary, for example,
                   20417:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20418:     # on some systems where configure will not decide to define it.
                   20419:     if (defundef == "undef") {
                   20420:       print "/*", prefix defundef, macro, "*/"
                   20421:       next
                   20422:     }
                   20423:   }
                   20424: }
                   20425: { print }
                   20426: _ACAWK
1.62      paf      20427: _ACEOF
1.150     moko     20428: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20429:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20430: fi # test -n "$CONFIG_HEADERS"
                   20431: 
                   20432: 
                   20433: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20434: shift
                   20435: for ac_tag
                   20436: do
                   20437:   case $ac_tag in
                   20438:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20439:   esac
                   20440:   case $ac_mode$ac_tag in
                   20441:   :[FHL]*:*);;
                   20442:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20443:   :[FH]-) ac_tag=-:-;;
                   20444:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20445:   esac
                   20446:   ac_save_IFS=$IFS
                   20447:   IFS=:
                   20448:   set x $ac_tag
                   20449:   IFS=$ac_save_IFS
                   20450:   shift
                   20451:   ac_file=$1
                   20452:   shift
                   20453: 
                   20454:   case $ac_mode in
                   20455:   :L) ac_source=$1;;
                   20456:   :[FH])
                   20457:     ac_file_inputs=
                   20458:     for ac_f
                   20459:     do
                   20460:       case $ac_f in
                   20461:       -) ac_f="$ac_tmp/stdin";;
                   20462:       *) # Look for the file first in the build tree, then in the source tree
                   20463:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20464:         # because $ac_f cannot contain `:'.
                   20465:         test -f "$ac_f" ||
                   20466:           case $ac_f in
                   20467:           [\\/$]*) false;;
                   20468:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20469:           esac ||
                   20470:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20471:       esac
                   20472:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20473:       as_fn_append ac_file_inputs " '$ac_f'"
                   20474:     done
                   20475: 
                   20476:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20477:     # use $as_me), people would be surprised to read:
                   20478:     #    /* config.h.  Generated by config.status.  */
                   20479:     configure_input='Generated from '`
                   20480:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20481:        `' by configure.'
                   20482:     if test x"$ac_file" != x-; then
                   20483:       configure_input="$ac_file.  $configure_input"
                   20484:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20485: $as_echo "$as_me: creating $ac_file" >&6;}
                   20486:     fi
                   20487:     # Neutralize special characters interpreted by sed in replacement strings.
                   20488:     case $configure_input in #(
                   20489:     *\&* | *\|* | *\\* )
                   20490:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20491:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20492:     *) ac_sed_conf_input=$configure_input;;
                   20493:     esac
                   20494: 
                   20495:     case $ac_tag in
                   20496:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20497:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20498:     esac
                   20499:     ;;
1.1       paf      20500:   esac
                   20501: 
1.150     moko     20502:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20503: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20504:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20505:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20506:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20507: $as_echo X"$ac_file" |
                   20508:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20509:            s//\1/
                   20510:            q
                   20511:          }
                   20512:          /^X\(\/\/\)[^/].*/{
                   20513:            s//\1/
                   20514:            q
                   20515:          }
                   20516:          /^X\(\/\/\)$/{
                   20517:            s//\1/
                   20518:            q
                   20519:          }
                   20520:          /^X\(\/\).*/{
                   20521:            s//\1/
                   20522:            q
                   20523:          }
                   20524:          s/.*/./; q'`
                   20525:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20526:   ac_builddir=.
                   20527: 
1.150     moko     20528: case "$ac_dir" in
                   20529: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20530: *)
                   20531:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20532:   # A ".." for each directory in $ac_dir_suffix.
                   20533:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20534:   case $ac_top_builddir_sub in
                   20535:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20536:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20537:   esac ;;
                   20538: esac
                   20539: ac_abs_top_builddir=$ac_pwd
                   20540: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20541: # for backward compatibility:
                   20542: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20543: 
                   20544: case $srcdir in
1.150     moko     20545:   .)  # We are building in place.
1.62      paf      20546:     ac_srcdir=.
1.150     moko     20547:     ac_top_srcdir=$ac_top_builddir_sub
                   20548:     ac_abs_top_srcdir=$ac_pwd ;;
                   20549:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20550:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20551:     ac_top_srcdir=$srcdir
                   20552:     ac_abs_top_srcdir=$srcdir ;;
                   20553:   *) # Relative name.
                   20554:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20555:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20556:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20557: esac
1.150     moko     20558: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20559: 
1.62      paf      20560: 
1.150     moko     20561:   case $ac_mode in
                   20562:   :F)
                   20563:   #
                   20564:   # CONFIG_FILE
                   20565:   #
1.1       paf      20566: 
1.62      paf      20567:   case $INSTALL in
                   20568:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20569:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20570:   esac
1.150     moko     20571:   ac_MKDIR_P=$MKDIR_P
                   20572:   case $MKDIR_P in
                   20573:   [\\/$]* | ?:[\\/]* ) ;;
                   20574:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20575:   esac
                   20576: _ACEOF
1.1       paf      20577: 
1.150     moko     20578: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20579: # If the template does not know about datarootdir, expand it.
                   20580: # FIXME: This hack should be removed a few years after 2.60.
                   20581: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20582: ac_sed_dataroot='
                   20583: /datarootdir/ {
                   20584:   p
                   20585:   q
                   20586: }
                   20587: /@datadir@/p
                   20588: /@docdir@/p
                   20589: /@infodir@/p
                   20590: /@localedir@/p
                   20591: /@mandir@/p'
                   20592: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20593: *datarootdir*) ac_datarootdir_seen=yes;;
                   20594: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20595:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20596: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20597: _ACEOF
                   20598: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20599:   ac_datarootdir_hack='
                   20600:   s&@datadir@&$datadir&g
                   20601:   s&@docdir@&$docdir&g
                   20602:   s&@infodir@&$infodir&g
                   20603:   s&@localedir@&$localedir&g
                   20604:   s&@mandir@&$mandir&g
                   20605:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20606: esac
                   20607: _ACEOF
1.62      paf      20608: 
1.150     moko     20609: # Neutralize VPATH when `$srcdir' = `.'.
                   20610: # Shell code in configure.ac might set extrasub.
                   20611: # FIXME: do we really want to maintain this feature?
                   20612: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20613: ac_sed_extra="$ac_vpsub
1.62      paf      20614: $extrasub
                   20615: _ACEOF
1.150     moko     20616: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20617: :t
                   20618: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20619: s|@configure_input@|$ac_sed_conf_input|;t t
                   20620: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20621: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20622: s&@srcdir@&$ac_srcdir&;t t
                   20623: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20624: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20625: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20626: s&@builddir@&$ac_builddir&;t t
                   20627: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20628: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20629: s&@INSTALL@&$ac_INSTALL&;t t
                   20630: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20631: $ac_datarootdir_hack
                   20632: "
                   20633: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20634:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20635: 
                   20636: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20637:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20638:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20639:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20640:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20641: which seems to be undefined.  Please make sure it is defined" >&5
                   20642: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20643: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20644: 
1.150     moko     20645:   rm -f "$ac_tmp/stdin"
1.62      paf      20646:   case $ac_file in
1.150     moko     20647:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20648:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20649:   esac \
                   20650:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20651:  ;;
                   20652:   :H)
                   20653:   #
                   20654:   # CONFIG_HEADER
                   20655:   #
1.62      paf      20656:   if test x"$ac_file" != x-; then
1.150     moko     20657:     {
                   20658:       $as_echo "/* $configure_input  */" \
                   20659:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20660:     } >"$ac_tmp/config.h" \
                   20661:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20662:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20663:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20664: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20665:     else
1.150     moko     20666:       rm -f "$ac_file"
                   20667:       mv "$ac_tmp/config.h" "$ac_file" \
                   20668:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20669:     fi
                   20670:   else
1.150     moko     20671:     $as_echo "/* $configure_input  */" \
                   20672:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20673:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20674:   fi
1.150     moko     20675: # Compute "$ac_file"'s index in $config_headers.
                   20676: _am_arg="$ac_file"
1.86      paf      20677: _am_stamp_count=1
                   20678: for _am_header in $config_headers :; do
                   20679:   case $_am_header in
1.150     moko     20680:     $_am_arg | $_am_arg:* )
1.86      paf      20681:       break ;;
                   20682:     * )
                   20683:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20684:   esac
                   20685: done
1.150     moko     20686: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20687: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20688:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20689:         X"$_am_arg" : 'X\(//\)$' \| \
                   20690:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20691: $as_echo X"$_am_arg" |
                   20692:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20693:            s//\1/
                   20694:            q
                   20695:          }
                   20696:          /^X\(\/\/\)[^/].*/{
                   20697:            s//\1/
                   20698:            q
                   20699:          }
                   20700:          /^X\(\/\/\)$/{
                   20701:            s//\1/
                   20702:            q
                   20703:          }
                   20704:          /^X\(\/\).*/{
                   20705:            s//\1/
                   20706:            q
                   20707:          }
                   20708:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20709:  ;;
1.62      paf      20710: 
1.150     moko     20711:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20712: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20713:  ;;
                   20714:   esac
1.86      paf      20715: 
1.62      paf      20716: 
1.150     moko     20717:   case $ac_file$ac_mode in
                   20718:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     20719:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     20720:   # are listed without --file.  Let's play safe and only enable the eval
                   20721:   # if we detect the quoting.
1.199     moko     20722:   # TODO: see whether this extra hack can be removed once we start
                   20723:   # requiring Autoconf 2.70 or later.
                   20724:   case $CONFIG_FILES in #(
                   20725:   *\'*) :
                   20726:     eval set x "$CONFIG_FILES" ;; #(
                   20727:   *) :
                   20728:     set x $CONFIG_FILES ;; #(
                   20729:   *) :
                   20730:      ;;
                   20731: esac
1.150     moko     20732:   shift
1.199     moko     20733:   # Used to flag and report bootstrapping failures.
                   20734:   am_rc=0
                   20735:   for am_mf
1.150     moko     20736:   do
                   20737:     # Strip MF so we end up with the name of the file.
1.199     moko     20738:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
                   20739:     # Check whether this is an Automake generated Makefile which includes
                   20740:     # dependency-tracking related rules and includes.
                   20741:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     20742:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     20743:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   20744:       || continue
                   20745:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   20746: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20747:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   20748:         X"$am_mf" : 'X\(//\)$' \| \
                   20749:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20750: $as_echo X"$am_mf" |
1.150     moko     20751:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20752:            s//\1/
                   20753:            q
                   20754:          }
                   20755:          /^X\(\/\/\)[^/].*/{
                   20756:            s//\1/
                   20757:            q
                   20758:          }
                   20759:          /^X\(\/\/\)$/{
                   20760:            s//\1/
                   20761:            q
                   20762:          }
                   20763:          /^X\(\/\).*/{
                   20764:            s//\1/
                   20765:            q
                   20766:          }
                   20767:          s/.*/./; q'`
1.199     moko     20768:     am_filepart=`$as_basename -- "$am_mf" ||
                   20769: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   20770:         X"$am_mf" : 'X\(//\)$' \| \
                   20771:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20772: $as_echo X/"$am_mf" |
                   20773:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     20774:            s//\1/
                   20775:            q
                   20776:          }
1.199     moko     20777:          /^X\/\(\/\/\)$/{
1.150     moko     20778:            s//\1/
                   20779:            q
                   20780:          }
1.199     moko     20781:          /^X\/\(\/\).*/{
1.150     moko     20782:            s//\1/
                   20783:            q
                   20784:          }
                   20785:          s/.*/./; q'`
1.199     moko     20786:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   20787:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20788:         | $MAKE -f - am--depfiles" >&5
                   20789:    (cd "$am_dirpart" \
                   20790:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20791:         | $MAKE -f - am--depfiles) >&5 2>&5
                   20792:    ac_status=$?
                   20793:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20794:    (exit $ac_status); } || am_rc=$?
1.62      paf      20795:   done
1.199     moko     20796:   if test $am_rc -ne 0; then
                   20797:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   20798: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   20799: as_fn_error $? "Something went wrong bootstrapping makefile fragments
                   20800:     for automatic dependency tracking.  Try re-running configure with the
                   20801:     '--disable-dependency-tracking' option to at least be able to build
                   20802:     the package (albeit without support for automatic dependency tracking).
                   20803: See \`config.log' for more details" "$LINENO" 5; }
                   20804:   fi
                   20805:   { am_dirpart=; unset am_dirpart;}
                   20806:   { am_filepart=; unset am_filepart;}
                   20807:   { am_mf=; unset am_mf;}
                   20808:   { am_rc=; unset am_rc;}
                   20809:   rm -f conftest-deps.mk
1.150     moko     20810: }
1.62      paf      20811:  ;;
1.150     moko     20812:     "libtool":C)
1.128     moko     20813: 
                   20814:     # See if we are running on zsh, and set the options which allow our
                   20815:     # commands through without removal of \ escapes.
                   20816:     if test -n "${ZSH_VERSION+set}" ; then
                   20817:       setopt NO_GLOB_SUBST
                   20818:     fi
                   20819: 
                   20820:     cfgfile="${ofile}T"
                   20821:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20822:     $RM "$cfgfile"
                   20823: 
                   20824:     cat <<_LT_EOF >> "$cfgfile"
                   20825: #! $SHELL
                   20826: 
                   20827: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20828: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20829: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20830: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20831: #
                   20832: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20833: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20834: #                 Foundation, Inc.
                   20835: #   Written by Gordon Matzigkeit, 1996
                   20836: #
                   20837: #   This file is part of GNU Libtool.
                   20838: #
                   20839: # GNU Libtool is free software; you can redistribute it and/or
                   20840: # modify it under the terms of the GNU General Public License as
                   20841: # published by the Free Software Foundation; either version 2 of
                   20842: # the License, or (at your option) any later version.
                   20843: #
                   20844: # As a special exception to the GNU General Public License,
                   20845: # if you distribute this file as part of a program or library that
                   20846: # is built using GNU Libtool, you may include this file under the
                   20847: # same distribution terms that you use for the rest of that program.
                   20848: #
                   20849: # GNU Libtool is distributed in the hope that it will be useful,
                   20850: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20851: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20852: # GNU General Public License for more details.
                   20853: #
                   20854: # You should have received a copy of the GNU General Public License
                   20855: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20856: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20857: # obtained by writing to the Free Software Foundation, Inc.,
                   20858: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20859: 
                   20860: 
                   20861: # The names of the tagged configurations supported by this script.
                   20862: available_tags="CXX "
                   20863: 
                   20864: # ### BEGIN LIBTOOL CONFIG
                   20865: 
                   20866: # Which release of libtool.m4 was used?
                   20867: macro_version=$macro_version
                   20868: macro_revision=$macro_revision
                   20869: 
                   20870: # Assembler program.
                   20871: AS=$lt_AS
                   20872: 
                   20873: # DLL creation program.
                   20874: DLLTOOL=$lt_DLLTOOL
                   20875: 
                   20876: # Object dumper program.
                   20877: OBJDUMP=$lt_OBJDUMP
                   20878: 
1.145     moko     20879: # What type of objects to build.
                   20880: pic_mode=$pic_mode
                   20881: 
1.128     moko     20882: # Whether or not to build shared libraries.
                   20883: build_libtool_libs=$enable_shared
                   20884: 
1.138     moko     20885: # Whether or not to build static libraries.
                   20886: build_old_libs=$enable_static
                   20887: 
1.128     moko     20888: # Whether or not to optimize for fast installation.
                   20889: fast_install=$enable_fast_install
                   20890: 
                   20891: # Shell to use when invoking shell scripts.
                   20892: SHELL=$lt_SHELL
                   20893: 
                   20894: # An echo program that protects backslashes.
                   20895: ECHO=$lt_ECHO
                   20896: 
                   20897: # The PATH separator for the build system.
                   20898: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20899: 
                   20900: # The host system.
                   20901: host_alias=$host_alias
                   20902: host=$host
                   20903: host_os=$host_os
                   20904: 
                   20905: # The build system.
                   20906: build_alias=$build_alias
                   20907: build=$build
                   20908: build_os=$build_os
                   20909: 
                   20910: # A sed program that does not truncate output.
                   20911: SED=$lt_SED
                   20912: 
                   20913: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20914: Xsed="\$SED -e 1s/^X//"
                   20915: 
                   20916: # A grep program that handles long lines.
                   20917: GREP=$lt_GREP
                   20918: 
                   20919: # An ERE matcher.
                   20920: EGREP=$lt_EGREP
                   20921: 
                   20922: # A literal string matcher.
                   20923: FGREP=$lt_FGREP
                   20924: 
                   20925: # A BSD- or MS-compatible name lister.
                   20926: NM=$lt_NM
                   20927: 
                   20928: # Whether we need soft or hard links.
                   20929: LN_S=$lt_LN_S
                   20930: 
                   20931: # What is the maximum length of a command?
                   20932: max_cmd_len=$max_cmd_len
                   20933: 
                   20934: # Object file suffix (normally "o").
                   20935: objext=$ac_objext
                   20936: 
                   20937: # Executable file suffix (normally "").
                   20938: exeext=$exeext
                   20939: 
                   20940: # whether the shell understands "unset".
                   20941: lt_unset=$lt_unset
                   20942: 
                   20943: # turn spaces into newlines.
                   20944: SP2NL=$lt_lt_SP2NL
                   20945: 
                   20946: # turn newlines into spaces.
                   20947: NL2SP=$lt_lt_NL2SP
                   20948: 
                   20949: # convert \$build file names to \$host format.
                   20950: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20951: 
                   20952: # convert \$build files to toolchain format.
                   20953: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20954: 
                   20955: # Method to check whether dependent libraries are shared objects.
                   20956: deplibs_check_method=$lt_deplibs_check_method
                   20957: 
                   20958: # Command to use when deplibs_check_method = "file_magic".
                   20959: file_magic_cmd=$lt_file_magic_cmd
                   20960: 
                   20961: # How to find potential files when deplibs_check_method = "file_magic".
                   20962: file_magic_glob=$lt_file_magic_glob
                   20963: 
                   20964: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20965: want_nocaseglob=$lt_want_nocaseglob
                   20966: 
                   20967: # Command to associate shared and link libraries.
                   20968: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20969: 
                   20970: # The archiver.
                   20971: AR=$lt_AR
                   20972: 
                   20973: # Flags to create an archive.
                   20974: AR_FLAGS=$lt_AR_FLAGS
                   20975: 
                   20976: # How to feed a file listing to the archiver.
                   20977: archiver_list_spec=$lt_archiver_list_spec
                   20978: 
                   20979: # A symbol stripping program.
                   20980: STRIP=$lt_STRIP
                   20981: 
                   20982: # Commands used to install an old-style archive.
                   20983: RANLIB=$lt_RANLIB
                   20984: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20985: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20986: 
                   20987: # Whether to use a lock for old archive extraction.
                   20988: lock_old_archive_extraction=$lock_old_archive_extraction
                   20989: 
                   20990: # A C compiler.
                   20991: LTCC=$lt_CC
                   20992: 
                   20993: # LTCC compiler flags.
                   20994: LTCFLAGS=$lt_CFLAGS
                   20995: 
                   20996: # Take the output of nm and produce a listing of raw symbols and C names.
                   20997: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20998: 
                   20999: # Transform the output of nm in a proper C declaration.
                   21000: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21001: 
                   21002: # Transform the output of nm in a C name address pair.
                   21003: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21004: 
                   21005: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21006: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21007: 
                   21008: # Specify filename containing input files for \$NM.
                   21009: nm_file_list_spec=$lt_nm_file_list_spec
                   21010: 
                   21011: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21012: lt_sysroot=$lt_sysroot
                   21013: 
                   21014: # The name of the directory that contains temporary libtool files.
                   21015: objdir=$objdir
                   21016: 
                   21017: # Used to examine libraries when file_magic_cmd begins with "file".
                   21018: MAGIC_CMD=$MAGIC_CMD
                   21019: 
                   21020: # Must we lock files when doing compilation?
                   21021: need_locks=$lt_need_locks
                   21022: 
                   21023: # Manifest tool.
                   21024: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21025: 
                   21026: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21027: DSYMUTIL=$lt_DSYMUTIL
                   21028: 
                   21029: # Tool to change global to local symbols on Mac OS X.
                   21030: NMEDIT=$lt_NMEDIT
                   21031: 
                   21032: # Tool to manipulate fat objects and archives on Mac OS X.
                   21033: LIPO=$lt_LIPO
                   21034: 
                   21035: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21036: OTOOL=$lt_OTOOL
                   21037: 
                   21038: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21039: OTOOL64=$lt_OTOOL64
                   21040: 
                   21041: # Old archive suffix (normally "a").
                   21042: libext=$libext
                   21043: 
                   21044: # Shared library suffix (normally ".so").
                   21045: shrext_cmds=$lt_shrext_cmds
                   21046: 
                   21047: # The commands to extract the exported symbol list from a shared archive.
                   21048: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21049: 
                   21050: # Variables whose values should be saved in libtool wrapper scripts and
                   21051: # restored at link time.
                   21052: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21053: 
                   21054: # Do we need the "lib" prefix for modules?
                   21055: need_lib_prefix=$need_lib_prefix
                   21056: 
                   21057: # Do we need a version for libraries?
                   21058: need_version=$need_version
                   21059: 
                   21060: # Library versioning type.
                   21061: version_type=$version_type
                   21062: 
                   21063: # Shared library runtime path variable.
                   21064: runpath_var=$runpath_var
                   21065: 
                   21066: # Shared library path variable.
                   21067: shlibpath_var=$shlibpath_var
                   21068: 
                   21069: # Is shlibpath searched before the hard-coded library search path?
                   21070: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21071: 
                   21072: # Format of library name prefix.
                   21073: libname_spec=$lt_libname_spec
                   21074: 
                   21075: # List of archive names.  First name is the real one, the rest are links.
                   21076: # The last name is the one that the linker finds with -lNAME
                   21077: library_names_spec=$lt_library_names_spec
                   21078: 
                   21079: # The coded name of the library, if different from the real name.
                   21080: soname_spec=$lt_soname_spec
                   21081: 
                   21082: # Permission mode override for installation of shared libraries.
                   21083: install_override_mode=$lt_install_override_mode
                   21084: 
                   21085: # Command to use after installation of a shared archive.
                   21086: postinstall_cmds=$lt_postinstall_cmds
                   21087: 
                   21088: # Command to use after uninstallation of a shared archive.
                   21089: postuninstall_cmds=$lt_postuninstall_cmds
                   21090: 
                   21091: # Commands used to finish a libtool library installation in a directory.
                   21092: finish_cmds=$lt_finish_cmds
                   21093: 
                   21094: # As "finish_cmds", except a single script fragment to be evaled but
                   21095: # not shown.
                   21096: finish_eval=$lt_finish_eval
                   21097: 
                   21098: # Whether we should hardcode library paths into libraries.
                   21099: hardcode_into_libs=$hardcode_into_libs
                   21100: 
                   21101: # Compile-time system search path for libraries.
                   21102: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21103: 
                   21104: # Run-time system search path for libraries.
                   21105: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21106: 
                   21107: # Whether dlopen is supported.
                   21108: dlopen_support=$enable_dlopen
                   21109: 
                   21110: # Whether dlopen of programs is supported.
                   21111: dlopen_self=$enable_dlopen_self
                   21112: 
                   21113: # Whether dlopen of statically linked programs is supported.
                   21114: dlopen_self_static=$enable_dlopen_self_static
                   21115: 
                   21116: # Commands to strip libraries.
                   21117: old_striplib=$lt_old_striplib
                   21118: striplib=$lt_striplib
                   21119: 
                   21120: 
                   21121: # The linker used to build libraries.
                   21122: LD=$lt_LD
                   21123: 
                   21124: # How to create reloadable object files.
                   21125: reload_flag=$lt_reload_flag
                   21126: reload_cmds=$lt_reload_cmds
                   21127: 
                   21128: # Commands used to build an old-style archive.
                   21129: old_archive_cmds=$lt_old_archive_cmds
                   21130: 
                   21131: # A language specific compiler.
                   21132: CC=$lt_compiler
                   21133: 
                   21134: # Is the compiler the GNU compiler?
                   21135: with_gcc=$GCC
                   21136: 
                   21137: # Compiler flag to turn off builtin functions.
                   21138: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21139: 
                   21140: # Additional compiler flags for building library objects.
                   21141: pic_flag=$lt_lt_prog_compiler_pic
                   21142: 
                   21143: # How to pass a linker flag through the compiler.
                   21144: wl=$lt_lt_prog_compiler_wl
                   21145: 
                   21146: # Compiler flag to prevent dynamic linking.
                   21147: link_static_flag=$lt_lt_prog_compiler_static
                   21148: 
                   21149: # Does compiler simultaneously support -c and -o options?
                   21150: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21151: 
                   21152: # Whether or not to add -lc for building shared libraries.
                   21153: build_libtool_need_lc=$archive_cmds_need_lc
                   21154: 
                   21155: # Whether or not to disallow shared libs when runtime libs are static.
                   21156: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21157: 
                   21158: # Compiler flag to allow reflexive dlopens.
                   21159: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21160: 
                   21161: # Compiler flag to generate shared objects directly from archives.
                   21162: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21163: 
                   21164: # Whether the compiler copes with passing no objects directly.
                   21165: compiler_needs_object=$lt_compiler_needs_object
                   21166: 
                   21167: # Create an old-style archive from a shared archive.
                   21168: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21169: 
                   21170: # Create a temporary old-style archive to link instead of a shared archive.
                   21171: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21172: 
                   21173: # Commands used to build a shared archive.
                   21174: archive_cmds=$lt_archive_cmds
                   21175: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21176: 
                   21177: # Commands used to build a loadable module if different from building
                   21178: # a shared archive.
                   21179: module_cmds=$lt_module_cmds
                   21180: module_expsym_cmds=$lt_module_expsym_cmds
                   21181: 
                   21182: # Whether we are building with GNU ld or not.
                   21183: with_gnu_ld=$lt_with_gnu_ld
                   21184: 
                   21185: # Flag that allows shared libraries with undefined symbols to be built.
                   21186: allow_undefined_flag=$lt_allow_undefined_flag
                   21187: 
                   21188: # Flag that enforces no undefined symbols.
                   21189: no_undefined_flag=$lt_no_undefined_flag
                   21190: 
                   21191: # Flag to hardcode \$libdir into a binary during linking.
                   21192: # This must work even if \$libdir does not exist
                   21193: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21194: 
                   21195: # Whether we need a single "-rpath" flag with a separated argument.
                   21196: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21197: 
                   21198: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21199: # DIR into the resulting binary.
                   21200: hardcode_direct=$hardcode_direct
                   21201: 
                   21202: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21203: # DIR into the resulting binary and the resulting library dependency is
                   21204: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21205: # library is relocated.
                   21206: hardcode_direct_absolute=$hardcode_direct_absolute
                   21207: 
                   21208: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21209: # into the resulting binary.
                   21210: hardcode_minus_L=$hardcode_minus_L
                   21211: 
                   21212: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21213: # into the resulting binary.
                   21214: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21215: 
                   21216: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21217: # into the library and all subsequent libraries and executables linked
                   21218: # against it.
                   21219: hardcode_automatic=$hardcode_automatic
                   21220: 
                   21221: # Set to yes if linker adds runtime paths of dependent libraries
                   21222: # to runtime path list.
                   21223: inherit_rpath=$inherit_rpath
                   21224: 
                   21225: # Whether libtool must link a program against all its dependency libraries.
                   21226: link_all_deplibs=$link_all_deplibs
                   21227: 
                   21228: # Set to "yes" if exported symbols are required.
                   21229: always_export_symbols=$always_export_symbols
                   21230: 
                   21231: # The commands to list exported symbols.
                   21232: export_symbols_cmds=$lt_export_symbols_cmds
                   21233: 
                   21234: # Symbols that should not be listed in the preloaded symbols.
                   21235: exclude_expsyms=$lt_exclude_expsyms
                   21236: 
                   21237: # Symbols that must always be exported.
                   21238: include_expsyms=$lt_include_expsyms
                   21239: 
                   21240: # Commands necessary for linking programs (against libraries) with templates.
                   21241: prelink_cmds=$lt_prelink_cmds
                   21242: 
                   21243: # Commands necessary for finishing linking programs.
                   21244: postlink_cmds=$lt_postlink_cmds
                   21245: 
                   21246: # Specify filename containing input files.
                   21247: file_list_spec=$lt_file_list_spec
                   21248: 
                   21249: # How to hardcode a shared library path into an executable.
                   21250: hardcode_action=$hardcode_action
                   21251: 
                   21252: # The directories searched by this compiler when creating a shared library.
                   21253: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21254: 
                   21255: # Dependencies to place before and after the objects being linked to
                   21256: # create a shared library.
                   21257: predep_objects=$lt_predep_objects
                   21258: postdep_objects=$lt_postdep_objects
                   21259: predeps=$lt_predeps
                   21260: postdeps=$lt_postdeps
                   21261: 
                   21262: # The library search path used internally by the compiler when linking
                   21263: # a shared library.
                   21264: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21265: 
                   21266: # ### END LIBTOOL CONFIG
                   21267: 
                   21268: _LT_EOF
                   21269: 
                   21270:   case $host_os in
                   21271:   aix3*)
                   21272:     cat <<\_LT_EOF >> "$cfgfile"
                   21273: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21274: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21275: # vanish in a puff of smoke.
                   21276: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21277:   COLLECT_NAMES=
                   21278:   export COLLECT_NAMES
                   21279: fi
                   21280: _LT_EOF
                   21281:     ;;
                   21282:   esac
                   21283: 
                   21284: 
                   21285: ltmain="$ac_aux_dir/ltmain.sh"
                   21286: 
                   21287: 
                   21288:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21289:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21290:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21291:   # is reportedly fixed, but why not run on old versions too?
                   21292:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21293:      || (rm -f "$cfgfile"; exit 1)
                   21294: 
                   21295:   if test x"$xsi_shell" = xyes; then
                   21296:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21297: func_dirname ()\
                   21298: {\
                   21299: \    case ${1} in\
                   21300: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21301: \      *  ) func_dirname_result="${3}" ;;\
                   21302: \    esac\
                   21303: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21304:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21305:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21306: test 0 -eq $? || _lt_function_replace_fail=:
                   21307: 
                   21308: 
                   21309:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21310: func_basename ()\
                   21311: {\
                   21312: \    func_basename_result="${1##*/}"\
                   21313: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21314:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21315:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21316: test 0 -eq $? || _lt_function_replace_fail=:
                   21317: 
                   21318: 
                   21319:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21320: func_dirname_and_basename ()\
                   21321: {\
                   21322: \    case ${1} in\
                   21323: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21324: \      *  ) func_dirname_result="${3}" ;;\
                   21325: \    esac\
                   21326: \    func_basename_result="${1##*/}"\
                   21327: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21328:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21329:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21330: test 0 -eq $? || _lt_function_replace_fail=:
                   21331: 
                   21332: 
                   21333:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21334: func_stripname ()\
                   21335: {\
                   21336: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21337: \    # positional parameters, so assign one to ordinary parameter first.\
                   21338: \    func_stripname_result=${3}\
                   21339: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21340: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21341: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21342:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21343:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21344: test 0 -eq $? || _lt_function_replace_fail=:
                   21345: 
                   21346: 
                   21347:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21348: func_split_long_opt ()\
                   21349: {\
                   21350: \    func_split_long_opt_name=${1%%=*}\
                   21351: \    func_split_long_opt_arg=${1#*=}\
                   21352: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21353:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21354:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21355: test 0 -eq $? || _lt_function_replace_fail=:
                   21356: 
                   21357: 
                   21358:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21359: func_split_short_opt ()\
                   21360: {\
                   21361: \    func_split_short_opt_arg=${1#??}\
                   21362: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21363: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21364:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21365:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21366: test 0 -eq $? || _lt_function_replace_fail=:
                   21367: 
                   21368: 
                   21369:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21370: func_lo2o ()\
                   21371: {\
                   21372: \    case ${1} in\
                   21373: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21374: \      *)    func_lo2o_result=${1} ;;\
                   21375: \    esac\
                   21376: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21377:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21378:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21379: test 0 -eq $? || _lt_function_replace_fail=:
                   21380: 
                   21381: 
                   21382:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21383: func_xform ()\
                   21384: {\
                   21385:     func_xform_result=${1%.*}.lo\
                   21386: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21387:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21388:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21389: test 0 -eq $? || _lt_function_replace_fail=:
                   21390: 
                   21391: 
                   21392:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21393: func_arith ()\
                   21394: {\
                   21395:     func_arith_result=$(( $* ))\
                   21396: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21397:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21398:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21399: test 0 -eq $? || _lt_function_replace_fail=:
                   21400: 
                   21401: 
                   21402:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21403: func_len ()\
                   21404: {\
                   21405:     func_len_result=${#1}\
                   21406: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   21407:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21408:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21409: test 0 -eq $? || _lt_function_replace_fail=:
                   21410: 
                   21411: fi
                   21412: 
                   21413: if test x"$lt_shell_append" = xyes; then
                   21414:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21415: func_append ()\
                   21416: {\
                   21417:     eval "${1}+=\\${2}"\
                   21418: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21419:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21420:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21421: test 0 -eq $? || _lt_function_replace_fail=:
                   21422: 
                   21423: 
                   21424:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21425: func_append_quoted ()\
                   21426: {\
                   21427: \    func_quote_for_eval "${2}"\
                   21428: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21429: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21430:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21431:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21432: test 0 -eq $? || _lt_function_replace_fail=:
                   21433: 
                   21434: 
                   21435:   # Save a `func_append' function call where possible by direct use of '+='
                   21436:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21437:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21438:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21439:   test 0 -eq $? || _lt_function_replace_fail=:
                   21440: else
                   21441:   # Save a `func_append' function call even when '+=' is not available
                   21442:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21443:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21444:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21445:   test 0 -eq $? || _lt_function_replace_fail=:
                   21446: fi
                   21447: 
                   21448: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21449:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21450: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21451: fi
                   21452: 
                   21453: 
                   21454:    mv -f "$cfgfile" "$ofile" ||
                   21455:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21456:   chmod +x "$ofile"
                   21457: 
                   21458: 
                   21459:     cat <<_LT_EOF >> "$ofile"
                   21460: 
                   21461: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21462: 
                   21463: # The linker used to build libraries.
                   21464: LD=$lt_LD_CXX
                   21465: 
                   21466: # How to create reloadable object files.
                   21467: reload_flag=$lt_reload_flag_CXX
                   21468: reload_cmds=$lt_reload_cmds_CXX
                   21469: 
                   21470: # Commands used to build an old-style archive.
                   21471: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21472: 
                   21473: # A language specific compiler.
                   21474: CC=$lt_compiler_CXX
                   21475: 
                   21476: # Is the compiler the GNU compiler?
                   21477: with_gcc=$GCC_CXX
                   21478: 
                   21479: # Compiler flag to turn off builtin functions.
                   21480: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21481: 
                   21482: # Additional compiler flags for building library objects.
                   21483: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21484: 
                   21485: # How to pass a linker flag through the compiler.
                   21486: wl=$lt_lt_prog_compiler_wl_CXX
                   21487: 
                   21488: # Compiler flag to prevent dynamic linking.
                   21489: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21490: 
                   21491: # Does compiler simultaneously support -c and -o options?
                   21492: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21493: 
                   21494: # Whether or not to add -lc for building shared libraries.
                   21495: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21496: 
                   21497: # Whether or not to disallow shared libs when runtime libs are static.
                   21498: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21499: 
                   21500: # Compiler flag to allow reflexive dlopens.
                   21501: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21502: 
                   21503: # Compiler flag to generate shared objects directly from archives.
                   21504: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21505: 
                   21506: # Whether the compiler copes with passing no objects directly.
                   21507: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21508: 
                   21509: # Create an old-style archive from a shared archive.
                   21510: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21511: 
                   21512: # Create a temporary old-style archive to link instead of a shared archive.
                   21513: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21514: 
                   21515: # Commands used to build a shared archive.
                   21516: archive_cmds=$lt_archive_cmds_CXX
                   21517: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21518: 
                   21519: # Commands used to build a loadable module if different from building
                   21520: # a shared archive.
                   21521: module_cmds=$lt_module_cmds_CXX
                   21522: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21523: 
                   21524: # Whether we are building with GNU ld or not.
                   21525: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21526: 
                   21527: # Flag that allows shared libraries with undefined symbols to be built.
                   21528: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21529: 
                   21530: # Flag that enforces no undefined symbols.
                   21531: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21532: 
                   21533: # Flag to hardcode \$libdir into a binary during linking.
                   21534: # This must work even if \$libdir does not exist
                   21535: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21536: 
                   21537: # Whether we need a single "-rpath" flag with a separated argument.
                   21538: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21539: 
                   21540: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21541: # DIR into the resulting binary.
                   21542: hardcode_direct=$hardcode_direct_CXX
                   21543: 
                   21544: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21545: # DIR into the resulting binary and the resulting library dependency is
                   21546: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21547: # library is relocated.
                   21548: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21549: 
                   21550: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21551: # into the resulting binary.
                   21552: hardcode_minus_L=$hardcode_minus_L_CXX
                   21553: 
                   21554: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21555: # into the resulting binary.
                   21556: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21557: 
                   21558: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21559: # into the library and all subsequent libraries and executables linked
                   21560: # against it.
                   21561: hardcode_automatic=$hardcode_automatic_CXX
                   21562: 
                   21563: # Set to yes if linker adds runtime paths of dependent libraries
                   21564: # to runtime path list.
                   21565: inherit_rpath=$inherit_rpath_CXX
                   21566: 
                   21567: # Whether libtool must link a program against all its dependency libraries.
                   21568: link_all_deplibs=$link_all_deplibs_CXX
                   21569: 
                   21570: # Set to "yes" if exported symbols are required.
                   21571: always_export_symbols=$always_export_symbols_CXX
                   21572: 
                   21573: # The commands to list exported symbols.
                   21574: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21575: 
                   21576: # Symbols that should not be listed in the preloaded symbols.
                   21577: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21578: 
                   21579: # Symbols that must always be exported.
                   21580: include_expsyms=$lt_include_expsyms_CXX
                   21581: 
                   21582: # Commands necessary for linking programs (against libraries) with templates.
                   21583: prelink_cmds=$lt_prelink_cmds_CXX
                   21584: 
                   21585: # Commands necessary for finishing linking programs.
                   21586: postlink_cmds=$lt_postlink_cmds_CXX
                   21587: 
                   21588: # Specify filename containing input files.
                   21589: file_list_spec=$lt_file_list_spec_CXX
                   21590: 
                   21591: # How to hardcode a shared library path into an executable.
                   21592: hardcode_action=$hardcode_action_CXX
                   21593: 
                   21594: # The directories searched by this compiler when creating a shared library.
                   21595: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21596: 
                   21597: # Dependencies to place before and after the objects being linked to
                   21598: # create a shared library.
                   21599: predep_objects=$lt_predep_objects_CXX
                   21600: postdep_objects=$lt_postdep_objects_CXX
                   21601: predeps=$lt_predeps_CXX
                   21602: postdeps=$lt_postdeps_CXX
                   21603: 
                   21604: # The library search path used internally by the compiler when linking
                   21605: # a shared library.
                   21606: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21607: 
                   21608: # ### END LIBTOOL TAG CONFIG: CXX
                   21609: _LT_EOF
                   21610: 
                   21611:  ;;
1.150     moko     21612: 
1.62      paf      21613:   esac
1.150     moko     21614: done # for ac_tag
1.62      paf      21615: 
                   21616: 
1.150     moko     21617: as_fn_exit 0
1.62      paf      21618: _ACEOF
                   21619: ac_clean_files=$ac_clean_files_save
                   21620: 
1.150     moko     21621: test $ac_write_fail = 0 ||
                   21622:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21623: 
1.1       paf      21624: 
1.62      paf      21625: # configure is writing to config.log, and then calls config.status.
                   21626: # config.status does its own redirection, appending to config.log.
                   21627: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21628: # by configure, so config.status won't be able to write to it; its
                   21629: # output is simply discarded.  So we exec the FD to /dev/null,
                   21630: # effectively closing config.log, so it can be properly (re)opened and
                   21631: # appended to by config.status.  When coming back to configure, we
                   21632: # need to make the FD available again.
                   21633: if test "$no_create" != yes; then
                   21634:   ac_cs_success=:
                   21635:   ac_config_status_args=
                   21636:   test "$silent" = yes &&
                   21637:     ac_config_status_args="$ac_config_status_args --quiet"
                   21638:   exec 5>/dev/null
                   21639:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21640:   exec 5>>config.log
                   21641:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21642:   # would make configure fail if this is the last instruction.
1.150     moko     21643:   $ac_cs_success || as_fn_exit 1
1.62      paf      21644: fi
                   21645: 
                   21646: #
                   21647: # CONFIG_SUBDIRS section.
                   21648: #
1.1       paf      21649: if test "$no_recursion" != yes; then
                   21650: 
1.150     moko     21651:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21652:   # so they do not pile up.
1.1       paf      21653:   ac_sub_configure_args=
                   21654:   ac_prev=
1.150     moko     21655:   eval "set x $ac_configure_args"
                   21656:   shift
                   21657:   for ac_arg
                   21658:   do
1.1       paf      21659:     if test -n "$ac_prev"; then
                   21660:       ac_prev=
                   21661:       continue
                   21662:     fi
1.62      paf      21663:     case $ac_arg in
1.1       paf      21664:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21665:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21666:       ac_prev=cache_file ;;
                   21667:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21668:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21669:     | --c=*)
                   21670:       ;;
                   21671:     --config-cache | -C)
1.1       paf      21672:       ;;
                   21673:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21674:       ac_prev=srcdir ;;
                   21675:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21676:       ;;
1.62      paf      21677:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21678:       ac_prev=prefix ;;
                   21679:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21680:       ;;
1.150     moko     21681:     --disable-option-checking)
                   21682:       ;;
                   21683:     *)
                   21684:       case $ac_arg in
                   21685:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21686:       esac
                   21687:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21688:     esac
                   21689:   done
                   21690: 
1.62      paf      21691:   # Always prepend --prefix to ensure using the same prefix
                   21692:   # in subdir configurations.
1.150     moko     21693:   ac_arg="--prefix=$prefix"
                   21694:   case $ac_arg in
                   21695:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21696:   esac
                   21697:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21698: 
                   21699:   # Pass --silent
                   21700:   if test "$silent" = yes; then
                   21701:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21702:   fi
                   21703: 
                   21704:   # Always prepend --disable-option-checking to silence warnings, since
                   21705:   # different subdirs can have different --enable and --with options.
                   21706:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21707: 
                   21708:   ac_popdir=`pwd`
                   21709:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21710: 
                   21711:     # Do not complain, so a configure script can configure whichever
                   21712:     # parts of a large source tree are present.
1.150     moko     21713:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21714: 
1.150     moko     21715:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21716:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21717:     $as_echo "$ac_msg" >&6
                   21718:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21719:     ac_builddir=.
                   21720: 
1.150     moko     21721: case "$ac_dir" in
                   21722: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21723: *)
                   21724:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21725:   # A ".." for each directory in $ac_dir_suffix.
                   21726:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21727:   case $ac_top_builddir_sub in
                   21728:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21729:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21730:   esac ;;
                   21731: esac
                   21732: ac_abs_top_builddir=$ac_pwd
                   21733: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21734: # for backward compatibility:
                   21735: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21736: 
                   21737: case $srcdir in
1.150     moko     21738:   .)  # We are building in place.
1.62      paf      21739:     ac_srcdir=.
1.150     moko     21740:     ac_top_srcdir=$ac_top_builddir_sub
                   21741:     ac_abs_top_srcdir=$ac_pwd ;;
                   21742:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21743:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21744:     ac_top_srcdir=$srcdir
                   21745:     ac_abs_top_srcdir=$srcdir ;;
                   21746:   *) # Relative name.
                   21747:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21748:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21749:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21750: esac
1.150     moko     21751: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21752: 
                   21753: 
1.150     moko     21754:     cd "$ac_dir"
1.1       paf      21755: 
                   21756:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21757:     if test -f "$ac_srcdir/configure.gnu"; then
                   21758:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21759:     elif test -f "$ac_srcdir/configure"; then
                   21760:       ac_sub_configure=$ac_srcdir/configure
                   21761:     elif test -f "$ac_srcdir/configure.in"; then
                   21762:       # This should be Cygnus configure.
                   21763:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21764:     else
1.150     moko     21765:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21766: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21767:       ac_sub_configure=
                   21768:     fi
                   21769: 
                   21770:     # The recursion is here.
                   21771:     if test -n "$ac_sub_configure"; then
                   21772:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21773:       case $cache_file in
                   21774:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21775:       *) # Relative name.
                   21776:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21777:       esac
                   21778: 
1.150     moko     21779:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   21780: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       paf      21781:       # The eval makes quoting arguments work.
1.150     moko     21782:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21783:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21784:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21785:     fi
                   21786: 
1.150     moko     21787:     cd "$ac_popdir"
1.1       paf      21788:   done
                   21789: fi
1.150     moko     21790: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21791:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21792: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21793: fi
1.1       paf      21794: 

E-mail: