Annotation of parser3/configure, revision 1.206

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.150     moko      810: enable_safe_mode
                    811: enable_execs
                    812: enable_stringstream
                    813: with_gc
                    814: with_pcre
                    815: with_xml
1.154     moko      816: with_mailreceive
1.150     moko      817: with_sendmail
                    818: with_apache
                    819: with_pic
                    820: enable_shared
                    821: enable_static
                    822: enable_fast_install
                    823: with_gnu_ld
                    824: with_sysroot
                    825: enable_libtool_lock
                    826: with_included_ltdl
                    827: with_ltdl_include
                    828: with_ltdl_lib
                    829: enable_ltdl_install
1.171     moko      830: enable_largefile
1.150     moko      831: '
                    832:       ac_precious_vars='build_alias
                    833: host_alias
                    834: target_alias
                    835: YACC
                    836: YFLAGS
                    837: CXX
                    838: CXXFLAGS
                    839: LDFLAGS
                    840: LIBS
                    841: CPPFLAGS
                    842: CCC
                    843: CC
                    844: CFLAGS
                    845: CPP
                    846: CXXCPP'
                    847: ac_subdirs_all='src/lib/ltdl'
1.1       paf       848: 
                    849: # Initialize some variables set by options.
1.62      paf       850: ac_init_help=
                    851: ac_init_version=false
1.150     moko      852: ac_unrecognized_opts=
                    853: ac_unrecognized_sep=
1.1       paf       854: # The variables have the same names as the options, with
                    855: # dashes changed to underlines.
1.62      paf       856: cache_file=/dev/null
1.1       paf       857: exec_prefix=NONE
                    858: no_create=
                    859: no_recursion=
                    860: prefix=NONE
                    861: program_prefix=NONE
                    862: program_suffix=NONE
                    863: program_transform_name=s,x,x,
                    864: silent=
                    865: site=
                    866: srcdir=
                    867: verbose=
                    868: x_includes=NONE
                    869: x_libraries=NONE
1.62      paf       870: 
                    871: # Installation directory options.
                    872: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    873: # and all the variables that are supposed to be based on exec_prefix
                    874: # by default will actually change.
                    875: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      876: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       877: bindir='${exec_prefix}/bin'
                    878: sbindir='${exec_prefix}/sbin'
                    879: libexecdir='${exec_prefix}/libexec'
1.150     moko      880: datarootdir='${prefix}/share'
                    881: datadir='${datarootdir}'
1.1       paf       882: sysconfdir='${prefix}/etc'
                    883: sharedstatedir='${prefix}/com'
                    884: localstatedir='${prefix}/var'
1.191     moko      885: runstatedir='${localstatedir}/run'
1.1       paf       886: includedir='${prefix}/include'
                    887: oldincludedir='/usr/include'
1.150     moko      888: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    889: infodir='${datarootdir}/info'
                    890: htmldir='${docdir}'
                    891: dvidir='${docdir}'
                    892: pdfdir='${docdir}'
                    893: psdir='${docdir}'
                    894: libdir='${exec_prefix}/lib'
                    895: localedir='${datarootdir}/locale'
                    896: mandir='${datarootdir}/man'
1.1       paf       897: 
                    898: ac_prev=
1.150     moko      899: ac_dashdash=
1.1       paf       900: for ac_option
                    901: do
                    902:   # If the previous option needs an argument, assign it.
                    903:   if test -n "$ac_prev"; then
1.150     moko      904:     eval $ac_prev=\$ac_option
1.1       paf       905:     ac_prev=
                    906:     continue
                    907:   fi
                    908: 
1.150     moko      909:   case $ac_option in
                    910:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    911:   *=)   ac_optarg= ;;
                    912:   *)    ac_optarg=yes ;;
                    913:   esac
1.1       paf       914: 
                    915:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    916: 
1.150     moko      917:   case $ac_dashdash$ac_option in
                    918:   --)
                    919:     ac_dashdash=yes ;;
1.1       paf       920: 
                    921:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    922:     ac_prev=bindir ;;
                    923:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       924:     bindir=$ac_optarg ;;
1.1       paf       925: 
                    926:   -build | --build | --buil | --bui | --bu)
1.62      paf       927:     ac_prev=build_alias ;;
1.1       paf       928:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       929:     build_alias=$ac_optarg ;;
1.1       paf       930: 
                    931:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    932:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    933:     ac_prev=cache_file ;;
                    934:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    935:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       936:     cache_file=$ac_optarg ;;
                    937: 
                    938:   --config-cache | -C)
                    939:     cache_file=config.cache ;;
1.1       paf       940: 
1.150     moko      941:   -datadir | --datadir | --datadi | --datad)
1.1       paf       942:     ac_prev=datadir ;;
1.150     moko      943:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       944:     datadir=$ac_optarg ;;
1.1       paf       945: 
1.150     moko      946:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    947:   | --dataroo | --dataro | --datar)
                    948:     ac_prev=datarootdir ;;
                    949:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    950:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    951:     datarootdir=$ac_optarg ;;
                    952: 
1.1       paf       953:   -disable-* | --disable-*)
1.150     moko      954:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       955:     # Reject names that are not valid shell variable names.
1.150     moko      956:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    957:       as_fn_error $? "invalid feature name: $ac_useropt"
                    958:     ac_useropt_orig=$ac_useropt
                    959:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    960:     case $ac_user_opts in
                    961:       *"
                    962: "enable_$ac_useropt"
                    963: "*) ;;
                    964:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    965:         ac_unrecognized_sep=', ';;
                    966:     esac
                    967:     eval enable_$ac_useropt=no ;;
                    968: 
                    969:   -docdir | --docdir | --docdi | --doc | --do)
                    970:     ac_prev=docdir ;;
                    971:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    972:     docdir=$ac_optarg ;;
                    973: 
                    974:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    975:     ac_prev=dvidir ;;
                    976:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    977:     dvidir=$ac_optarg ;;
1.1       paf       978: 
                    979:   -enable-* | --enable-*)
1.150     moko      980:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       981:     # Reject names that are not valid shell variable names.
1.150     moko      982:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    983:       as_fn_error $? "invalid feature name: $ac_useropt"
                    984:     ac_useropt_orig=$ac_useropt
                    985:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    986:     case $ac_user_opts in
                    987:       *"
                    988: "enable_$ac_useropt"
                    989: "*) ;;
                    990:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    991:         ac_unrecognized_sep=', ';;
1.1       paf       992:     esac
1.150     moko      993:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       994: 
                    995:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    996:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    997:   | --exec | --exe | --ex)
                    998:     ac_prev=exec_prefix ;;
                    999:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1000:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1001:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1002:     exec_prefix=$ac_optarg ;;
1.1       paf      1003: 
                   1004:   -gas | --gas | --ga | --g)
                   1005:     # Obsolete; use --with-gas.
                   1006:     with_gas=yes ;;
                   1007: 
1.62      paf      1008:   -help | --help | --hel | --he | -h)
                   1009:     ac_init_help=long ;;
                   1010:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1011:     ac_init_help=recursive ;;
                   1012:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1013:     ac_init_help=short ;;
1.1       paf      1014: 
                   1015:   -host | --host | --hos | --ho)
1.62      paf      1016:     ac_prev=host_alias ;;
1.1       paf      1017:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1018:     host_alias=$ac_optarg ;;
1.1       paf      1019: 
1.150     moko     1020:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1021:     ac_prev=htmldir ;;
                   1022:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1023:   | --ht=*)
                   1024:     htmldir=$ac_optarg ;;
                   1025: 
1.1       paf      1026:   -includedir | --includedir | --includedi | --included | --include \
                   1027:   | --includ | --inclu | --incl | --inc)
                   1028:     ac_prev=includedir ;;
                   1029:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1030:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1031:     includedir=$ac_optarg ;;
1.1       paf      1032: 
                   1033:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1034:     ac_prev=infodir ;;
                   1035:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1036:     infodir=$ac_optarg ;;
1.1       paf      1037: 
                   1038:   -libdir | --libdir | --libdi | --libd)
                   1039:     ac_prev=libdir ;;
                   1040:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1041:     libdir=$ac_optarg ;;
1.1       paf      1042: 
                   1043:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1044:   | --libexe | --libex | --libe)
                   1045:     ac_prev=libexecdir ;;
                   1046:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1047:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1048:     libexecdir=$ac_optarg ;;
1.1       paf      1049: 
1.150     moko     1050:   -localedir | --localedir | --localedi | --localed | --locale)
                   1051:     ac_prev=localedir ;;
                   1052:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1053:     localedir=$ac_optarg ;;
                   1054: 
1.1       paf      1055:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1056:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1057:     ac_prev=localstatedir ;;
                   1058:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1059:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1060:     localstatedir=$ac_optarg ;;
1.1       paf      1061: 
                   1062:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1063:     ac_prev=mandir ;;
                   1064:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1065:     mandir=$ac_optarg ;;
1.1       paf      1066: 
                   1067:   -nfp | --nfp | --nf)
                   1068:     # Obsolete; use --without-fp.
                   1069:     with_fp=no ;;
                   1070: 
                   1071:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1072:   | --no-cr | --no-c | -n)
1.1       paf      1073:     no_create=yes ;;
                   1074: 
                   1075:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1076:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1077:     no_recursion=yes ;;
                   1078: 
                   1079:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1080:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1081:   | --oldin | --oldi | --old | --ol | --o)
                   1082:     ac_prev=oldincludedir ;;
                   1083:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1084:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1085:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1086:     oldincludedir=$ac_optarg ;;
1.1       paf      1087: 
                   1088:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1089:     ac_prev=prefix ;;
                   1090:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1091:     prefix=$ac_optarg ;;
1.1       paf      1092: 
                   1093:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1094:   | --program-pre | --program-pr | --program-p)
                   1095:     ac_prev=program_prefix ;;
                   1096:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1097:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1098:     program_prefix=$ac_optarg ;;
1.1       paf      1099: 
                   1100:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1101:   | --program-suf | --program-su | --program-s)
                   1102:     ac_prev=program_suffix ;;
                   1103:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1104:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1105:     program_suffix=$ac_optarg ;;
1.1       paf      1106: 
                   1107:   -program-transform-name | --program-transform-name \
                   1108:   | --program-transform-nam | --program-transform-na \
                   1109:   | --program-transform-n | --program-transform- \
                   1110:   | --program-transform | --program-transfor \
                   1111:   | --program-transfo | --program-transf \
                   1112:   | --program-trans | --program-tran \
                   1113:   | --progr-tra | --program-tr | --program-t)
                   1114:     ac_prev=program_transform_name ;;
                   1115:   -program-transform-name=* | --program-transform-name=* \
                   1116:   | --program-transform-nam=* | --program-transform-na=* \
                   1117:   | --program-transform-n=* | --program-transform-=* \
                   1118:   | --program-transform=* | --program-transfor=* \
                   1119:   | --program-transfo=* | --program-transf=* \
                   1120:   | --program-trans=* | --program-tran=* \
                   1121:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1122:     program_transform_name=$ac_optarg ;;
1.1       paf      1123: 
1.150     moko     1124:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1125:     ac_prev=pdfdir ;;
                   1126:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1127:     pdfdir=$ac_optarg ;;
                   1128: 
                   1129:   -psdir | --psdir | --psdi | --psd | --ps)
                   1130:     ac_prev=psdir ;;
                   1131:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1132:     psdir=$ac_optarg ;;
                   1133: 
1.1       paf      1134:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1135:   | -silent | --silent | --silen | --sile | --sil)
                   1136:     silent=yes ;;
                   1137: 
1.191     moko     1138:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1139:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1140:   | --run | --ru | --r)
                   1141:     ac_prev=runstatedir ;;
                   1142:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1143:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1144:   | --run=* | --ru=* | --r=*)
                   1145:     runstatedir=$ac_optarg ;;
                   1146: 
1.1       paf      1147:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1148:     ac_prev=sbindir ;;
                   1149:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1150:   | --sbi=* | --sb=*)
1.62      paf      1151:     sbindir=$ac_optarg ;;
1.1       paf      1152: 
                   1153:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1154:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1155:   | --sharedst | --shareds | --shared | --share | --shar \
                   1156:   | --sha | --sh)
                   1157:     ac_prev=sharedstatedir ;;
                   1158:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1159:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1160:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1161:   | --sha=* | --sh=*)
1.62      paf      1162:     sharedstatedir=$ac_optarg ;;
1.1       paf      1163: 
                   1164:   -site | --site | --sit)
                   1165:     ac_prev=site ;;
                   1166:   -site=* | --site=* | --sit=*)
1.62      paf      1167:     site=$ac_optarg ;;
1.1       paf      1168: 
                   1169:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1170:     ac_prev=srcdir ;;
                   1171:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1172:     srcdir=$ac_optarg ;;
1.1       paf      1173: 
                   1174:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1175:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1176:     ac_prev=sysconfdir ;;
                   1177:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1178:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1179:     sysconfdir=$ac_optarg ;;
1.1       paf      1180: 
                   1181:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1182:     ac_prev=target_alias ;;
1.1       paf      1183:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1184:     target_alias=$ac_optarg ;;
1.1       paf      1185: 
                   1186:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1187:     verbose=yes ;;
                   1188: 
1.62      paf      1189:   -version | --version | --versio | --versi | --vers | -V)
                   1190:     ac_init_version=: ;;
1.1       paf      1191: 
                   1192:   -with-* | --with-*)
1.150     moko     1193:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1194:     # Reject names that are not valid shell variable names.
1.150     moko     1195:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1196:       as_fn_error $? "invalid package name: $ac_useropt"
                   1197:     ac_useropt_orig=$ac_useropt
                   1198:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1199:     case $ac_user_opts in
                   1200:       *"
                   1201: "with_$ac_useropt"
                   1202: "*) ;;
                   1203:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1204:         ac_unrecognized_sep=', ';;
1.1       paf      1205:     esac
1.150     moko     1206:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1207: 
                   1208:   -without-* | --without-*)
1.150     moko     1209:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1210:     # Reject names that are not valid shell variable names.
1.150     moko     1211:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1212:       as_fn_error $? "invalid package name: $ac_useropt"
                   1213:     ac_useropt_orig=$ac_useropt
                   1214:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1215:     case $ac_user_opts in
                   1216:       *"
                   1217: "with_$ac_useropt"
                   1218: "*) ;;
                   1219:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1220:         ac_unrecognized_sep=', ';;
                   1221:     esac
                   1222:     eval with_$ac_useropt=no ;;
1.1       paf      1223: 
                   1224:   --x)
                   1225:     # Obsolete; use --with-x.
                   1226:     with_x=yes ;;
                   1227: 
                   1228:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1229:   | --x-incl | --x-inc | --x-in | --x-i)
                   1230:     ac_prev=x_includes ;;
                   1231:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1232:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1233:     x_includes=$ac_optarg ;;
1.1       paf      1234: 
                   1235:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1236:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1237:     ac_prev=x_libraries ;;
                   1238:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1239:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1240:     x_libraries=$ac_optarg ;;
1.1       paf      1241: 
1.150     moko     1242:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1243: Try \`$0 --help' for more information"
1.1       paf      1244:     ;;
                   1245: 
1.62      paf      1246:   *=*)
                   1247:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1248:     # Reject names that are not valid shell variable names.
1.150     moko     1249:     case $ac_envvar in #(
                   1250:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1251:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1252:     esac
                   1253:     eval $ac_envvar=\$ac_optarg
1.62      paf      1254:     export $ac_envvar ;;
                   1255: 
1.1       paf      1256:   *)
1.62      paf      1257:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1258:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1259:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1260:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1261:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1262:     ;;
                   1263: 
                   1264:   esac
                   1265: done
                   1266: 
                   1267: if test -n "$ac_prev"; then
1.62      paf      1268:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1269:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1270: fi
                   1271: 
1.150     moko     1272: if test -n "$ac_unrecognized_opts"; then
                   1273:   case $enable_option_checking in
                   1274:     no) ;;
                   1275:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1276:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1277:   esac
                   1278: fi
                   1279: 
                   1280: # Check all directory arguments for consistency.
                   1281: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1282:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1283:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1284:                libdir localedir mandir runstatedir
1.62      paf      1285: do
1.150     moko     1286:   eval ac_val=\$$ac_var
                   1287:   # Remove trailing slashes.
1.62      paf      1288:   case $ac_val in
1.150     moko     1289:     */ )
                   1290:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1291:       eval $ac_var=\$ac_val;;
1.62      paf      1292:   esac
1.150     moko     1293:   # Be sure to have absolute directory names.
1.62      paf      1294:   case $ac_val in
1.150     moko     1295:     [\\/$]* | ?:[\\/]* )  continue;;
                   1296:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1297:   esac
1.150     moko     1298:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1299: done
                   1300: 
1.62      paf      1301: # There might be people who depend on the old broken behavior: `$host'
                   1302: # used to hold the argument of --host etc.
                   1303: # FIXME: To remove some day.
                   1304: build=$build_alias
                   1305: host=$host_alias
                   1306: target=$target_alias
                   1307: 
                   1308: # FIXME: To remove some day.
                   1309: if test "x$host_alias" != x; then
                   1310:   if test "x$build_alias" = x; then
                   1311:     cross_compiling=maybe
                   1312:   elif test "x$build_alias" != "x$host_alias"; then
                   1313:     cross_compiling=yes
                   1314:   fi
                   1315: fi
                   1316: 
                   1317: ac_tool_prefix=
                   1318: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1319: 
1.62      paf      1320: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1321: 
                   1322: 
1.150     moko     1323: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1324: ac_ls_di=`ls -di .` &&
                   1325: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1326:   as_fn_error $? "working directory cannot be determined"
                   1327: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1328:   as_fn_error $? "pwd does not report name of working directory"
                   1329: 
                   1330: 
1.1       paf      1331: # Find the source files, if location was not specified.
                   1332: if test -z "$srcdir"; then
                   1333:   ac_srcdir_defaulted=yes
1.150     moko     1334:   # Try the directory containing this script, then the parent directory.
                   1335:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1336: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1337:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1338:         X"$as_myself" : 'X\(//\)$' \| \
                   1339:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1340: $as_echo X"$as_myself" |
                   1341:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1342:            s//\1/
                   1343:            q
                   1344:          }
                   1345:          /^X\(\/\/\)[^/].*/{
                   1346:            s//\1/
                   1347:            q
                   1348:          }
                   1349:          /^X\(\/\/\)$/{
                   1350:            s//\1/
                   1351:            q
                   1352:          }
                   1353:          /^X\(\/\).*/{
                   1354:            s//\1/
                   1355:            q
                   1356:          }
                   1357:          s/.*/./; q'`
1.1       paf      1358:   srcdir=$ac_confdir
1.150     moko     1359:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1360:     srcdir=..
                   1361:   fi
                   1362: else
                   1363:   ac_srcdir_defaulted=no
                   1364: fi
1.150     moko     1365: if test ! -r "$srcdir/$ac_unique_file"; then
                   1366:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1367:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1368: fi
                   1369: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1370: ac_abs_confdir=`(
                   1371:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1372:        pwd)`
                   1373: # When building in place, set srcdir=.
                   1374: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1375:   srcdir=.
                   1376: fi
                   1377: # Remove unnecessary trailing slashes from srcdir.
                   1378: # Double slashes in file names in object file debugging info
                   1379: # mess up M-x gdb in Emacs.
                   1380: case $srcdir in
                   1381: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1382: esac
                   1383: for ac_var in $ac_precious_vars; do
                   1384:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1385:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1386:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1387:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1388: done
1.62      paf      1389: 
                   1390: #
                   1391: # Report the --help message.
                   1392: #
                   1393: if test "$ac_init_help" = "long"; then
                   1394:   # Omit some internal or obsolete options to make the list less imposing.
                   1395:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1396:   cat <<_ACEOF
1.186     moko     1397: \`configure' configures parser 3.4.6b to adapt to many kinds of systems.
1.62      paf      1398: 
                   1399: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1400: 
                   1401: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1402: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1403: 
                   1404: Defaults for the options are specified in brackets.
                   1405: 
                   1406: Configuration:
                   1407:   -h, --help              display this help and exit
                   1408:       --help=short        display options specific to this package
                   1409:       --help=recursive    display the short help of all the included packages
                   1410:   -V, --version           display version information and exit
1.150     moko     1411:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1412:       --cache-file=FILE   cache test results in FILE [disabled]
                   1413:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1414:   -n, --no-create         do not create output files
                   1415:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1416: 
                   1417: Installation directories:
                   1418:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1419:                           [$ac_default_prefix]
1.62      paf      1420:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1421:                           [PREFIX]
1.62      paf      1422: 
                   1423: By default, \`make install' will install all the files in
                   1424: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1425: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1426: for instance \`--prefix=\$HOME'.
                   1427: 
                   1428: For better control, use the options below.
                   1429: 
                   1430: Fine tuning of the installation directories:
1.150     moko     1431:   --bindir=DIR            user executables [EPREFIX/bin]
                   1432:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1433:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1434:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1435:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1436:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1437:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1438:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1439:   --includedir=DIR        C header files [PREFIX/include]
                   1440:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1441:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1442:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1443:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1444:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1445:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1446:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1447:   --htmldir=DIR           html documentation [DOCDIR]
                   1448:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1449:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1450:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1451: _ACEOF
                   1452: 
                   1453:   cat <<\_ACEOF
                   1454: 
                   1455: Program names:
                   1456:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1457:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1458:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1459: 
                   1460: System types:
                   1461:   --build=BUILD     configure for building on BUILD [guessed]
                   1462:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1463: _ACEOF
                   1464: fi
                   1465: 
                   1466: if test -n "$ac_init_help"; then
1.128     moko     1467:   case $ac_init_help in
1.186     moko     1468:      short | recursive ) echo "Configuration of parser 3.4.6b:";;
1.128     moko     1469:    esac
1.62      paf      1470:   cat <<\_ACEOF
                   1471: 
                   1472: Optional Features:
1.150     moko     1473:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1474:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1475:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1476:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1477:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1478:   --enable-dependency-tracking
                   1479:                           do not reject slow dependency extractors
                   1480:   --disable-dependency-tracking
                   1481:                           speeds up one-time build
1.67      paf      1482:   --disable-safe-mode    to enable reading and executing
1.62      paf      1483:                           files belonging to group+user other then effective
1.146     moko     1484:   --disable-execs        to disable any execs
1.62      paf      1485:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1486:   --disable-stringstream to disable stringstream usage.
                   1487:                           when disabled table.save uses more memory, but more compilers are supported
1.150     moko     1488:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1489:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1490:   --enable-fast-install[=PKGS]
                   1491:                           optimize for fast installation [default=yes]
                   1492:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1493:   --enable-ltdl-install   install libltdl
1.171     moko     1494:   --disable-largefile     omit support for large files
1.62      paf      1495: 
                   1496: Optional Packages:
                   1497:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1498:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1499:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1500:   --with-coverage         to enable gcov code coverage support
                   1501:   --with-profiler         to enable gprof code profiler support
1.67      paf      1502:   --with-assertions       to enable assertions
1.201     moko     1503:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1504:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1505:   --with-gc=DIR           DIR is the directory where
1.142     moko     1506:                           Boehm garbage collecting library is installed
1.201     moko     1507:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1508:                           PCRE library is installed
1.201     moko     1509:   --with-xml=DIR          DIR is the directory where
1.142     moko     1510:                           Gnome XML libraries are installed
1.201     moko     1511:   --with-mailreceive=DIR  is the directory where
1.154     moko     1512:                           Gnome MIME library is installed
1.62      paf      1513:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1514:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1515:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1516:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1517:                           builds apache DSO module using apxs
1.150     moko     1518:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1519:                           both]
                   1520:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1521:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1522:                         (or the compiler's sysroot if not specified).
                   1523:   --with-included-ltdl    use the GNU ltdl sources included here
                   1524:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1525:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1526: 
                   1527: Some influential environment variables:
1.150     moko     1528:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1529:               Defaults to the first program found out of: `bison -y', `byacc',
                   1530:               `yacc'.
                   1531:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1532:               This script will default YFLAGS to the empty string to avoid a
                   1533:               default value of `-d' given by some make applications.
1.66      paf      1534:   CXX         C++ compiler command
                   1535:   CXXFLAGS    C++ compiler flags
1.62      paf      1536:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1537:               nonstandard directory <lib dir>
1.150     moko     1538:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1539:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1540:               you have headers in a nonstandard directory <include dir>
1.66      paf      1541:   CC          C compiler command
                   1542:   CFLAGS      C compiler flags
                   1543:   CPP         C preprocessor
1.128     moko     1544:   CXXCPP      C++ preprocessor
1.62      paf      1545: 
                   1546: Use these variables to override the choices made by `configure' or to help
                   1547: it to find libraries and programs with nonstandard names/locations.
                   1548: 
1.150     moko     1549: Report bugs to the package provider.
1.62      paf      1550: _ACEOF
1.150     moko     1551: ac_status=$?
1.62      paf      1552: fi
                   1553: 
                   1554: if test "$ac_init_help" = "recursive"; then
                   1555:   # If there are subdirs, report their specific --help.
                   1556:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1557:     test -d "$ac_dir" ||
                   1558:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1559:       continue
1.62      paf      1560:     ac_builddir=.
                   1561: 
1.150     moko     1562: case "$ac_dir" in
                   1563: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1564: *)
                   1565:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1566:   # A ".." for each directory in $ac_dir_suffix.
                   1567:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1568:   case $ac_top_builddir_sub in
                   1569:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1570:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1571:   esac ;;
                   1572: esac
                   1573: ac_abs_top_builddir=$ac_pwd
                   1574: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1575: # for backward compatibility:
                   1576: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1577: 
                   1578: case $srcdir in
1.150     moko     1579:   .)  # We are building in place.
1.62      paf      1580:     ac_srcdir=.
1.150     moko     1581:     ac_top_srcdir=$ac_top_builddir_sub
                   1582:     ac_abs_top_srcdir=$ac_pwd ;;
                   1583:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1584:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1585:     ac_top_srcdir=$srcdir
                   1586:     ac_abs_top_srcdir=$srcdir ;;
                   1587:   *) # Relative name.
                   1588:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1589:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1590:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1591: esac
1.150     moko     1592: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1593: 
1.150     moko     1594:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1595:     # Check for guested configure.
                   1596:     if test -f "$ac_srcdir/configure.gnu"; then
                   1597:       echo &&
                   1598:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1599:     elif test -f "$ac_srcdir/configure"; then
                   1600:       echo &&
                   1601:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1602:     else
1.150     moko     1603:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1604:     fi || ac_status=$?
                   1605:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1606:   done
                   1607: fi
                   1608: 
1.150     moko     1609: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1610: if $ac_init_version; then
                   1611:   cat <<\_ACEOF
1.186     moko     1612: parser configure 3.4.6b
1.166     moko     1613: generated by GNU Autoconf 2.69
1.62      paf      1614: 
1.166     moko     1615: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1616: This configure script is free software; the Free Software Foundation
                   1617: gives unlimited permission to copy, distribute and modify it.
                   1618: _ACEOF
1.150     moko     1619:   exit
1.62      paf      1620: fi
                   1621: 
1.150     moko     1622: ## ------------------------ ##
                   1623: ## Autoconf initialization. ##
                   1624: ## ------------------------ ##
                   1625: 
                   1626: # ac_fn_cxx_try_compile LINENO
                   1627: # ----------------------------
                   1628: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1629: ac_fn_cxx_try_compile ()
1.62      paf      1630: {
1.150     moko     1631:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1632:   rm -f conftest.$ac_objext
                   1633:   if { { ac_try="$ac_compile"
                   1634: case "(($ac_try" in
                   1635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1636:   *) ac_try_echo=$ac_try;;
                   1637: esac
                   1638: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1639: $as_echo "$ac_try_echo"; } >&5
                   1640:   (eval "$ac_compile") 2>conftest.err
                   1641:   ac_status=$?
                   1642:   if test -s conftest.err; then
                   1643:     grep -v '^ *+' conftest.err >conftest.er1
                   1644:     cat conftest.er1 >&5
                   1645:     mv -f conftest.er1 conftest.err
                   1646:   fi
                   1647:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1648:   test $ac_status = 0; } && {
                   1649:         test -z "$ac_cxx_werror_flag" ||
                   1650:         test ! -s conftest.err
                   1651:        } && test -s conftest.$ac_objext; then :
                   1652:   ac_retval=0
                   1653: else
                   1654:   $as_echo "$as_me: failed program was:" >&5
                   1655: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1656: 
1.150     moko     1657:        ac_retval=1
                   1658: fi
                   1659:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1660:   as_fn_set_status $ac_retval
1.62      paf      1661: 
1.150     moko     1662: } # ac_fn_cxx_try_compile
                   1663: 
                   1664: # ac_fn_c_try_compile LINENO
                   1665: # --------------------------
                   1666: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1667: ac_fn_c_try_compile ()
                   1668: {
                   1669:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1670:   rm -f conftest.$ac_objext
                   1671:   if { { ac_try="$ac_compile"
                   1672: case "(($ac_try" in
                   1673:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1674:   *) ac_try_echo=$ac_try;;
                   1675: esac
                   1676: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1677: $as_echo "$ac_try_echo"; } >&5
                   1678:   (eval "$ac_compile") 2>conftest.err
                   1679:   ac_status=$?
                   1680:   if test -s conftest.err; then
                   1681:     grep -v '^ *+' conftest.err >conftest.er1
                   1682:     cat conftest.er1 >&5
                   1683:     mv -f conftest.er1 conftest.err
                   1684:   fi
                   1685:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1686:   test $ac_status = 0; } && {
                   1687:         test -z "$ac_c_werror_flag" ||
                   1688:         test ! -s conftest.err
                   1689:        } && test -s conftest.$ac_objext; then :
                   1690:   ac_retval=0
                   1691: else
                   1692:   $as_echo "$as_me: failed program was:" >&5
                   1693: sed 's/^/| /' conftest.$ac_ext >&5
                   1694: 
                   1695:        ac_retval=1
                   1696: fi
                   1697:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1698:   as_fn_set_status $ac_retval
                   1699: 
                   1700: } # ac_fn_c_try_compile
                   1701: 
                   1702: # ac_fn_c_try_link LINENO
                   1703: # -----------------------
                   1704: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1705: ac_fn_c_try_link ()
                   1706: {
                   1707:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1708:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1709:   if { { ac_try="$ac_link"
                   1710: case "(($ac_try" in
                   1711:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1712:   *) ac_try_echo=$ac_try;;
                   1713: esac
                   1714: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1715: $as_echo "$ac_try_echo"; } >&5
                   1716:   (eval "$ac_link") 2>conftest.err
                   1717:   ac_status=$?
                   1718:   if test -s conftest.err; then
                   1719:     grep -v '^ *+' conftest.err >conftest.er1
                   1720:     cat conftest.er1 >&5
                   1721:     mv -f conftest.er1 conftest.err
                   1722:   fi
                   1723:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1724:   test $ac_status = 0; } && {
                   1725:         test -z "$ac_c_werror_flag" ||
                   1726:         test ! -s conftest.err
                   1727:        } && test -s conftest$ac_exeext && {
                   1728:         test "$cross_compiling" = yes ||
1.166     moko     1729:         test -x conftest$ac_exeext
1.150     moko     1730:        }; then :
                   1731:   ac_retval=0
                   1732: else
                   1733:   $as_echo "$as_me: failed program was:" >&5
                   1734: sed 's/^/| /' conftest.$ac_ext >&5
                   1735: 
                   1736:        ac_retval=1
                   1737: fi
                   1738:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1739:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1740:   # interfere with the next link command; also delete a directory that is
                   1741:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1742:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1743:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1744:   as_fn_set_status $ac_retval
                   1745: 
                   1746: } # ac_fn_c_try_link
                   1747: 
                   1748: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1749: # -------------------------------------------------------
                   1750: # Tests whether HEADER exists and can be compiled using the include files in
                   1751: # INCLUDES, setting the cache variable VAR accordingly.
                   1752: ac_fn_c_check_header_compile ()
                   1753: {
                   1754:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1755:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1756: $as_echo_n "checking for $2... " >&6; }
                   1757: if eval \${$3+:} false; then :
                   1758:   $as_echo_n "(cached) " >&6
                   1759: else
                   1760:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1761: /* end confdefs.h.  */
                   1762: $4
                   1763: #include <$2>
                   1764: _ACEOF
                   1765: if ac_fn_c_try_compile "$LINENO"; then :
                   1766:   eval "$3=yes"
                   1767: else
                   1768:   eval "$3=no"
                   1769: fi
                   1770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1771: fi
                   1772: eval ac_res=\$$3
                   1773:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1774: $as_echo "$ac_res" >&6; }
                   1775:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1776: 
                   1777: } # ac_fn_c_check_header_compile
                   1778: 
                   1779: # ac_fn_c_try_cpp LINENO
                   1780: # ----------------------
                   1781: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1782: ac_fn_c_try_cpp ()
                   1783: {
                   1784:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1785:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1786: case "(($ac_try" in
                   1787:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1788:   *) ac_try_echo=$ac_try;;
                   1789: esac
                   1790: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1791: $as_echo "$ac_try_echo"; } >&5
                   1792:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1793:   ac_status=$?
                   1794:   if test -s conftest.err; then
                   1795:     grep -v '^ *+' conftest.err >conftest.er1
                   1796:     cat conftest.er1 >&5
                   1797:     mv -f conftest.er1 conftest.err
                   1798:   fi
                   1799:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1800:   test $ac_status = 0; } > conftest.i && {
                   1801:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1802:         test ! -s conftest.err
                   1803:        }; then :
                   1804:   ac_retval=0
                   1805: else
                   1806:   $as_echo "$as_me: failed program was:" >&5
                   1807: sed 's/^/| /' conftest.$ac_ext >&5
                   1808: 
                   1809:     ac_retval=1
                   1810: fi
                   1811:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1812:   as_fn_set_status $ac_retval
                   1813: 
                   1814: } # ac_fn_c_try_cpp
                   1815: 
                   1816: # ac_fn_c_try_run LINENO
                   1817: # ----------------------
                   1818: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1819: # that executables *can* be run.
                   1820: ac_fn_c_try_run ()
                   1821: {
                   1822:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1823:   if { { ac_try="$ac_link"
                   1824: case "(($ac_try" in
                   1825:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1826:   *) ac_try_echo=$ac_try;;
                   1827: esac
                   1828: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1829: $as_echo "$ac_try_echo"; } >&5
                   1830:   (eval "$ac_link") 2>&5
                   1831:   ac_status=$?
                   1832:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1833:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1834:   { { case "(($ac_try" in
                   1835:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1836:   *) ac_try_echo=$ac_try;;
                   1837: esac
                   1838: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1839: $as_echo "$ac_try_echo"; } >&5
                   1840:   (eval "$ac_try") 2>&5
                   1841:   ac_status=$?
                   1842:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1843:   test $ac_status = 0; }; }; then :
                   1844:   ac_retval=0
                   1845: else
                   1846:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1847:        $as_echo "$as_me: failed program was:" >&5
                   1848: sed 's/^/| /' conftest.$ac_ext >&5
                   1849: 
                   1850:        ac_retval=$ac_status
                   1851: fi
                   1852:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1853:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1854:   as_fn_set_status $ac_retval
                   1855: 
                   1856: } # ac_fn_c_try_run
                   1857: 
                   1858: # ac_fn_c_check_func LINENO FUNC VAR
                   1859: # ----------------------------------
                   1860: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1861: ac_fn_c_check_func ()
                   1862: {
                   1863:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1864:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1865: $as_echo_n "checking for $2... " >&6; }
                   1866: if eval \${$3+:} false; then :
                   1867:   $as_echo_n "(cached) " >&6
                   1868: else
                   1869:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1870: /* end confdefs.h.  */
                   1871: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1872:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1873: #define $2 innocuous_$2
                   1874: 
                   1875: /* System header to define __stub macros and hopefully few prototypes,
                   1876:     which can conflict with char $2 (); below.
                   1877:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1878:     <limits.h> exists even on freestanding compilers.  */
                   1879: 
                   1880: #ifdef __STDC__
                   1881: # include <limits.h>
                   1882: #else
                   1883: # include <assert.h>
                   1884: #endif
                   1885: 
                   1886: #undef $2
                   1887: 
                   1888: /* Override any GCC internal prototype to avoid an error.
                   1889:    Use char because int might match the return type of a GCC
                   1890:    builtin and then its argument prototype would still apply.  */
                   1891: #ifdef __cplusplus
                   1892: extern "C"
                   1893: #endif
                   1894: char $2 ();
                   1895: /* The GNU C library defines this for functions which it implements
                   1896:     to always fail with ENOSYS.  Some functions are actually named
                   1897:     something starting with __ and the normal name is an alias.  */
                   1898: #if defined __stub_$2 || defined __stub___$2
                   1899: choke me
                   1900: #endif
                   1901: 
                   1902: int
                   1903: main ()
                   1904: {
                   1905: return $2 ();
                   1906:   ;
                   1907:   return 0;
                   1908: }
                   1909: _ACEOF
                   1910: if ac_fn_c_try_link "$LINENO"; then :
                   1911:   eval "$3=yes"
                   1912: else
                   1913:   eval "$3=no"
                   1914: fi
                   1915: rm -f core conftest.err conftest.$ac_objext \
                   1916:     conftest$ac_exeext conftest.$ac_ext
                   1917: fi
                   1918: eval ac_res=\$$3
                   1919:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1920: $as_echo "$ac_res" >&6; }
                   1921:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1922: 
                   1923: } # ac_fn_c_check_func
                   1924: 
                   1925: # ac_fn_cxx_try_cpp LINENO
                   1926: # ------------------------
                   1927: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1928: ac_fn_cxx_try_cpp ()
                   1929: {
                   1930:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1931:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1932: case "(($ac_try" in
                   1933:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1934:   *) ac_try_echo=$ac_try;;
                   1935: esac
                   1936: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1937: $as_echo "$ac_try_echo"; } >&5
                   1938:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1939:   ac_status=$?
                   1940:   if test -s conftest.err; then
                   1941:     grep -v '^ *+' conftest.err >conftest.er1
                   1942:     cat conftest.er1 >&5
                   1943:     mv -f conftest.er1 conftest.err
                   1944:   fi
                   1945:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1946:   test $ac_status = 0; } > conftest.i && {
                   1947:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1948:         test ! -s conftest.err
                   1949:        }; then :
                   1950:   ac_retval=0
                   1951: else
                   1952:   $as_echo "$as_me: failed program was:" >&5
                   1953: sed 's/^/| /' conftest.$ac_ext >&5
                   1954: 
                   1955:     ac_retval=1
                   1956: fi
                   1957:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1958:   as_fn_set_status $ac_retval
                   1959: 
                   1960: } # ac_fn_cxx_try_cpp
                   1961: 
                   1962: # ac_fn_cxx_try_link LINENO
                   1963: # -------------------------
                   1964: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1965: ac_fn_cxx_try_link ()
                   1966: {
                   1967:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1968:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1969:   if { { ac_try="$ac_link"
                   1970: case "(($ac_try" in
                   1971:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1972:   *) ac_try_echo=$ac_try;;
                   1973: esac
                   1974: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1975: $as_echo "$ac_try_echo"; } >&5
                   1976:   (eval "$ac_link") 2>conftest.err
                   1977:   ac_status=$?
                   1978:   if test -s conftest.err; then
                   1979:     grep -v '^ *+' conftest.err >conftest.er1
                   1980:     cat conftest.er1 >&5
                   1981:     mv -f conftest.er1 conftest.err
                   1982:   fi
                   1983:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1984:   test $ac_status = 0; } && {
                   1985:         test -z "$ac_cxx_werror_flag" ||
                   1986:         test ! -s conftest.err
                   1987:        } && test -s conftest$ac_exeext && {
                   1988:         test "$cross_compiling" = yes ||
1.166     moko     1989:         test -x conftest$ac_exeext
1.150     moko     1990:        }; then :
                   1991:   ac_retval=0
                   1992: else
                   1993:   $as_echo "$as_me: failed program was:" >&5
                   1994: sed 's/^/| /' conftest.$ac_ext >&5
                   1995: 
                   1996:        ac_retval=1
                   1997: fi
                   1998:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1999:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2000:   # interfere with the next link command; also delete a directory that is
                   2001:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2002:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2003:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2004:   as_fn_set_status $ac_retval
                   2005: 
                   2006: } # ac_fn_cxx_try_link
                   2007: 
                   2008: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2009: # ---------------------------------------------
                   2010: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2011: # accordingly.
                   2012: ac_fn_c_check_decl ()
                   2013: {
                   2014:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2015:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2016:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2017:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2018: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2019: if eval \${$3+:} false; then :
                   2020:   $as_echo_n "(cached) " >&6
                   2021: else
                   2022:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2023: /* end confdefs.h.  */
                   2024: $4
                   2025: int
                   2026: main ()
                   2027: {
                   2028: #ifndef $as_decl_name
                   2029: #ifdef __cplusplus
                   2030:   (void) $as_decl_use;
                   2031: #else
                   2032:   (void) $as_decl_name;
                   2033: #endif
                   2034: #endif
                   2035: 
                   2036:   ;
                   2037:   return 0;
                   2038: }
                   2039: _ACEOF
                   2040: if ac_fn_c_try_compile "$LINENO"; then :
                   2041:   eval "$3=yes"
                   2042: else
                   2043:   eval "$3=no"
                   2044: fi
                   2045: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2046: fi
                   2047: eval ac_res=\$$3
                   2048:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2049: $as_echo "$ac_res" >&6; }
                   2050:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2051: 
                   2052: } # ac_fn_c_check_decl
                   2053: 
                   2054: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2055: # -------------------------------------------
                   2056: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2057: # variable VAR accordingly.
                   2058: ac_fn_c_check_type ()
                   2059: {
                   2060:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2061:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2062: $as_echo_n "checking for $2... " >&6; }
                   2063: if eval \${$3+:} false; then :
                   2064:   $as_echo_n "(cached) " >&6
                   2065: else
                   2066:   eval "$3=no"
                   2067:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2068: /* end confdefs.h.  */
                   2069: $4
                   2070: int
                   2071: main ()
                   2072: {
                   2073: if (sizeof ($2))
                   2074:         return 0;
                   2075:   ;
                   2076:   return 0;
                   2077: }
                   2078: _ACEOF
                   2079: if ac_fn_c_try_compile "$LINENO"; then :
                   2080:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2081: /* end confdefs.h.  */
                   2082: $4
                   2083: int
                   2084: main ()
                   2085: {
                   2086: if (sizeof (($2)))
                   2087:            return 0;
                   2088:   ;
                   2089:   return 0;
                   2090: }
                   2091: _ACEOF
                   2092: if ac_fn_c_try_compile "$LINENO"; then :
                   2093: 
                   2094: else
                   2095:   eval "$3=yes"
                   2096: fi
                   2097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2098: fi
                   2099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2100: fi
                   2101: eval ac_res=\$$3
                   2102:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2103: $as_echo "$ac_res" >&6; }
                   2104:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2105: 
                   2106: } # ac_fn_c_check_type
                   2107: 
1.156     moko     2108: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2109: # ------------------------------------
                   2110: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2111: # accordingly.
                   2112: ac_fn_c_find_uintX_t ()
                   2113: {
                   2114:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2115:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2116: $as_echo_n "checking for uint$2_t... " >&6; }
                   2117: if eval \${$3+:} false; then :
                   2118:   $as_echo_n "(cached) " >&6
                   2119: else
                   2120:   eval "$3=no"
                   2121:      # Order is important - never check a type that is potentially smaller
                   2122:      # than half of the expected target width.
                   2123:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2124:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2125:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2126: /* end confdefs.h.  */
                   2127: $ac_includes_default
                   2128: int
                   2129: main ()
                   2130: {
                   2131: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2132: test_array [0] = 0;
                   2133: return test_array [0];
1.156     moko     2134: 
                   2135:   ;
                   2136:   return 0;
                   2137: }
                   2138: _ACEOF
                   2139: if ac_fn_c_try_compile "$LINENO"; then :
                   2140:   case $ac_type in #(
                   2141:   uint$2_t) :
                   2142:     eval "$3=yes" ;; #(
                   2143:   *) :
                   2144:     eval "$3=\$ac_type" ;;
                   2145: esac
                   2146: fi
                   2147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2148:        if eval test \"x\$"$3"\" = x"no"; then :
                   2149: 
                   2150: else
                   2151:   break
                   2152: fi
                   2153:      done
                   2154: fi
                   2155: eval ac_res=\$$3
                   2156:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2157: $as_echo "$ac_res" >&6; }
                   2158:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2159: 
                   2160: } # ac_fn_c_find_uintX_t
                   2161: 
1.161     moko     2162: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2163: # ----------------------------------------------------
                   2164: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2165: # INCLUDES, setting cache variable VAR accordingly.
                   2166: ac_fn_c_check_member ()
                   2167: {
                   2168:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2169:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2170: $as_echo_n "checking for $2.$3... " >&6; }
                   2171: if eval \${$4+:} false; then :
                   2172:   $as_echo_n "(cached) " >&6
                   2173: else
                   2174:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2175: /* end confdefs.h.  */
                   2176: $5
                   2177: int
                   2178: main ()
                   2179: {
                   2180: static $2 ac_aggr;
                   2181: if (ac_aggr.$3)
                   2182: return 0;
                   2183:   ;
                   2184:   return 0;
                   2185: }
                   2186: _ACEOF
                   2187: if ac_fn_c_try_compile "$LINENO"; then :
                   2188:   eval "$4=yes"
                   2189: else
                   2190:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2191: /* end confdefs.h.  */
                   2192: $5
                   2193: int
                   2194: main ()
                   2195: {
                   2196: static $2 ac_aggr;
                   2197: if (sizeof ac_aggr.$3)
                   2198: return 0;
                   2199:   ;
                   2200:   return 0;
                   2201: }
                   2202: _ACEOF
                   2203: if ac_fn_c_try_compile "$LINENO"; then :
                   2204:   eval "$4=yes"
                   2205: else
                   2206:   eval "$4=no"
                   2207: fi
                   2208: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2209: fi
                   2210: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2211: fi
                   2212: eval ac_res=\$$4
                   2213:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2214: $as_echo "$ac_res" >&6; }
                   2215:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2216: 
                   2217: } # ac_fn_c_check_member
                   2218: 
1.150     moko     2219: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2220: # -------------------------------------------------------
                   2221: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2222: # the include files in INCLUDES and setting the cache variable VAR
                   2223: # accordingly.
                   2224: ac_fn_c_check_header_mongrel ()
                   2225: {
                   2226:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2227:   if eval \${$3+:} false; then :
                   2228:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2229: $as_echo_n "checking for $2... " >&6; }
                   2230: if eval \${$3+:} false; then :
                   2231:   $as_echo_n "(cached) " >&6
                   2232: fi
                   2233: eval ac_res=\$$3
                   2234:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2235: $as_echo "$ac_res" >&6; }
                   2236: else
                   2237:   # Is the header compilable?
                   2238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2239: $as_echo_n "checking $2 usability... " >&6; }
                   2240: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2241: /* end confdefs.h.  */
                   2242: $4
                   2243: #include <$2>
                   2244: _ACEOF
                   2245: if ac_fn_c_try_compile "$LINENO"; then :
                   2246:   ac_header_compiler=yes
                   2247: else
                   2248:   ac_header_compiler=no
                   2249: fi
                   2250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2252: $as_echo "$ac_header_compiler" >&6; }
                   2253: 
                   2254: # Is the header present?
                   2255: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2256: $as_echo_n "checking $2 presence... " >&6; }
                   2257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2258: /* end confdefs.h.  */
                   2259: #include <$2>
                   2260: _ACEOF
                   2261: if ac_fn_c_try_cpp "$LINENO"; then :
                   2262:   ac_header_preproc=yes
                   2263: else
                   2264:   ac_header_preproc=no
                   2265: fi
                   2266: rm -f conftest.err conftest.i conftest.$ac_ext
                   2267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2268: $as_echo "$ac_header_preproc" >&6; }
                   2269: 
                   2270: # So?  What about this header?
                   2271: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2272:   yes:no: )
                   2273:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2274: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2275:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2276: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2277:     ;;
                   2278:   no:yes:* )
                   2279:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2280: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2281:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2282: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2283:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2284: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2285:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2286: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2287:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2288: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2289:     ;;
                   2290: esac
                   2291:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2292: $as_echo_n "checking for $2... " >&6; }
                   2293: if eval \${$3+:} false; then :
                   2294:   $as_echo_n "(cached) " >&6
                   2295: else
                   2296:   eval "$3=\$ac_header_compiler"
                   2297: fi
                   2298: eval ac_res=\$$3
                   2299:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2300: $as_echo "$ac_res" >&6; }
                   2301: fi
                   2302:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2303: 
                   2304: } # ac_fn_c_check_header_mongrel
                   2305: cat >config.log <<_ACEOF
                   2306: This file contains any messages produced by compilers while
                   2307: running configure, to aid debugging if configure makes a mistake.
                   2308: 
1.186     moko     2309: It was created by parser $as_me 3.4.6b, which was
1.166     moko     2310: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2311: 
                   2312:   $ $0 $@
                   2313: 
                   2314: _ACEOF
                   2315: exec 5>>config.log
                   2316: {
                   2317: cat <<_ASUNAME
                   2318: ## --------- ##
                   2319: ## Platform. ##
                   2320: ## --------- ##
                   2321: 
                   2322: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2323: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2324: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2325: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2326: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2327: 
                   2328: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2329: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2330: 
                   2331: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2332: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2333: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2334: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2335: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2336: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2337: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2338: 
                   2339: _ASUNAME
                   2340: 
                   2341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2342: for as_dir in $PATH
                   2343: do
                   2344:   IFS=$as_save_IFS
                   2345:   test -z "$as_dir" && as_dir=.
1.150     moko     2346:     $as_echo "PATH: $as_dir"
                   2347:   done
                   2348: IFS=$as_save_IFS
1.1       paf      2349: 
1.62      paf      2350: } >&5
                   2351: 
                   2352: cat >&5 <<_ACEOF
                   2353: 
                   2354: 
                   2355: ## ----------- ##
                   2356: ## Core tests. ##
                   2357: ## ----------- ##
                   2358: 
                   2359: _ACEOF
                   2360: 
                   2361: 
                   2362: # Keep a trace of the command line.
                   2363: # Strip out --no-create and --no-recursion so they do not pile up.
                   2364: # Strip out --silent because we don't want to record it for future runs.
                   2365: # Also quote any args containing shell meta-characters.
                   2366: # Make two passes to allow for proper duplicate-argument suppression.
                   2367: ac_configure_args=
                   2368: ac_configure_args0=
                   2369: ac_configure_args1=
                   2370: ac_must_keep_next=false
                   2371: for ac_pass in 1 2
                   2372: do
                   2373:   for ac_arg
                   2374:   do
                   2375:     case $ac_arg in
                   2376:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2377:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2378:     | -silent | --silent | --silen | --sile | --sil)
                   2379:       continue ;;
1.150     moko     2380:     *\'*)
                   2381:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2382:     esac
                   2383:     case $ac_pass in
1.150     moko     2384:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2385:     2)
1.150     moko     2386:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2387:       if test $ac_must_keep_next = true; then
1.86      paf      2388:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2389:       else
1.86      paf      2390:        case $ac_arg in
                   2391:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2392:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2393:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2394:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2395:            case "$ac_configure_args0 " in
                   2396:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2397:            esac
                   2398:            ;;
                   2399:          -* ) ac_must_keep_next=true ;;
                   2400:        esac
1.62      paf      2401:       fi
1.150     moko     2402:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2403:       ;;
                   2404:     esac
                   2405:   done
                   2406: done
1.150     moko     2407: { ac_configure_args0=; unset ac_configure_args0;}
                   2408: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2409: 
                   2410: # When interrupted or exit'd, cleanup temporary files, and complete
                   2411: # config.log.  We remove comments because anyway the quotes in there
                   2412: # would cause problems or look ugly.
1.150     moko     2413: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2414: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2415: trap 'exit_status=$?
                   2416:   # Save into config.log some information that might help in debugging.
                   2417:   {
                   2418:     echo
                   2419: 
1.150     moko     2420:     $as_echo "## ---------------- ##
1.62      paf      2421: ## Cache variables. ##
1.150     moko     2422: ## ---------------- ##"
1.62      paf      2423:     echo
                   2424:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2425: (
                   2426:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2427:     eval ac_val=\$$ac_var
                   2428:     case $ac_val in #(
                   2429:     *${as_nl}*)
                   2430:       case $ac_var in #(
                   2431:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2432: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2433:       esac
                   2434:       case $ac_var in #(
                   2435:       _ | IFS | as_nl) ;; #(
                   2436:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2437:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2438:       esac ;;
                   2439:     esac
                   2440:   done
1.62      paf      2441:   (set) 2>&1 |
1.150     moko     2442:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2443:     *${as_nl}ac_space=\ *)
1.62      paf      2444:       sed -n \
1.150     moko     2445:        "s/'\''/'\''\\\\'\'''\''/g;
                   2446:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2447:       ;; #(
1.62      paf      2448:     *)
1.150     moko     2449:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2450:       ;;
1.150     moko     2451:     esac |
                   2452:     sort
                   2453: )
1.62      paf      2454:     echo
                   2455: 
1.150     moko     2456:     $as_echo "## ----------------- ##
1.62      paf      2457: ## Output variables. ##
1.150     moko     2458: ## ----------------- ##"
1.62      paf      2459:     echo
                   2460:     for ac_var in $ac_subst_vars
                   2461:     do
1.150     moko     2462:       eval ac_val=\$$ac_var
                   2463:       case $ac_val in
                   2464:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2465:       esac
                   2466:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2467:     done | sort
                   2468:     echo
                   2469: 
                   2470:     if test -n "$ac_subst_files"; then
1.150     moko     2471:       $as_echo "## ------------------- ##
                   2472: ## File substitutions. ##
                   2473: ## ------------------- ##"
1.62      paf      2474:       echo
                   2475:       for ac_var in $ac_subst_files
                   2476:       do
1.150     moko     2477:        eval ac_val=\$$ac_var
                   2478:        case $ac_val in
                   2479:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2480:        esac
                   2481:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2482:       done | sort
                   2483:       echo
                   2484:     fi
                   2485: 
                   2486:     if test -s confdefs.h; then
1.150     moko     2487:       $as_echo "## ----------- ##
1.62      paf      2488: ## confdefs.h. ##
1.150     moko     2489: ## ----------- ##"
1.62      paf      2490:       echo
1.150     moko     2491:       cat confdefs.h
1.62      paf      2492:       echo
                   2493:     fi
                   2494:     test "$ac_signal" != 0 &&
1.150     moko     2495:       $as_echo "$as_me: caught signal $ac_signal"
                   2496:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2497:   } >&5
1.150     moko     2498:   rm -f core *.core core.conftest.* &&
                   2499:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2500:     exit $exit_status
1.150     moko     2501: ' 0
1.62      paf      2502: for ac_signal in 1 2 13 15; do
1.150     moko     2503:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2504: done
                   2505: ac_signal=0
                   2506: 
                   2507: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2508: rm -f -r conftest* confdefs.h
                   2509: 
                   2510: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2511: 
                   2512: # Predefined preprocessor variables.
                   2513: 
                   2514: cat >>confdefs.h <<_ACEOF
                   2515: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2516: _ACEOF
                   2517: 
                   2518: cat >>confdefs.h <<_ACEOF
                   2519: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2520: _ACEOF
                   2521: 
                   2522: cat >>confdefs.h <<_ACEOF
                   2523: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2524: _ACEOF
                   2525: 
                   2526: cat >>confdefs.h <<_ACEOF
                   2527: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2528: _ACEOF
                   2529: 
1.150     moko     2530: cat >>confdefs.h <<_ACEOF
                   2531: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2532: _ACEOF
1.62      paf      2533: 
                   2534: cat >>confdefs.h <<_ACEOF
1.150     moko     2535: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2536: _ACEOF
                   2537: 
                   2538: 
                   2539: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2540: # Prefer an explicitly selected file to automatically selected ones.
                   2541: ac_site_file1=NONE
                   2542: ac_site_file2=NONE
                   2543: if test -n "$CONFIG_SITE"; then
                   2544:   # We do not want a PATH search for config.site.
                   2545:   case $CONFIG_SITE in #((
                   2546:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2547:     */*) ac_site_file1=$CONFIG_SITE;;
                   2548:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2549:   esac
                   2550: elif test "x$prefix" != xNONE; then
                   2551:   ac_site_file1=$prefix/share/config.site
                   2552:   ac_site_file2=$prefix/etc/config.site
                   2553: else
                   2554:   ac_site_file1=$ac_default_prefix/share/config.site
                   2555:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2556: fi
                   2557: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2558: do
                   2559:   test "x$ac_site_file" = xNONE && continue
                   2560:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2561:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2562: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2563:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2564:     . "$ac_site_file" \
                   2565:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2566: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2567: as_fn_error $? "failed to load site script $ac_site_file
                   2568: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2569:   fi
                   2570: done
                   2571: 
                   2572: if test -r "$cache_file"; then
1.150     moko     2573:   # Some versions of bash will fail to source /dev/null (special files
                   2574:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2575:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2576:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2577: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2578:     case $cache_file in
1.150     moko     2579:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2580:       *)                      . "./$cache_file";;
1.62      paf      2581:     esac
                   2582:   fi
1.1       paf      2583: else
1.150     moko     2584:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2585: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2586:   >$cache_file
                   2587: fi
                   2588: 
                   2589: # Check that the precious variables saved in the cache have kept the same
                   2590: # value.
                   2591: ac_cache_corrupted=false
1.150     moko     2592: for ac_var in $ac_precious_vars; do
1.62      paf      2593:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2594:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2595:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2596:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2597:   case $ac_old_set,$ac_new_set in
                   2598:     set,)
1.150     moko     2599:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2600: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2601:       ac_cache_corrupted=: ;;
                   2602:     ,set)
1.150     moko     2603:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2604: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2605:       ac_cache_corrupted=: ;;
                   2606:     ,);;
                   2607:     *)
                   2608:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2609:        # differences in whitespace do not lead to failure.
                   2610:        ac_old_val_w=`echo x $ac_old_val`
                   2611:        ac_new_val_w=`echo x $ac_new_val`
                   2612:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2613:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2614: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2615:          ac_cache_corrupted=:
                   2616:        else
                   2617:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2618: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2619:          eval $ac_var=\$ac_old_val
                   2620:        fi
                   2621:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2622: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2623:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2624: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2625:       fi;;
                   2626:   esac
                   2627:   # Pass precious variables to config.status.
                   2628:   if test "$ac_new_set" = set; then
                   2629:     case $ac_new_val in
1.150     moko     2630:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2631:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2632:     esac
                   2633:     case " $ac_configure_args " in
                   2634:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2635:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2636:     esac
                   2637:   fi
                   2638: done
                   2639: if $ac_cache_corrupted; then
1.150     moko     2640:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2642:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2643: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2644:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2645: fi
                   2646: ## -------------------- ##
                   2647: ## Main body of script. ##
                   2648: ## -------------------- ##
1.1       paf      2649: 
                   2650: ac_ext=c
                   2651: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2652: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2653: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2654: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2655: 
                   2656: 
                   2657: 
                   2658: 
                   2659: 
1.199     moko     2660: am__api_version='1.16'
1.62      paf      2661: 
1.1       paf      2662: ac_aux_dir=
1.150     moko     2663: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2664:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2665:     ac_aux_dir=$ac_dir
                   2666:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2667:     break
1.150     moko     2668:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2669:     ac_aux_dir=$ac_dir
                   2670:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2671:     break
1.150     moko     2672:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2673:     ac_aux_dir=$ac_dir
                   2674:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2675:     break
1.1       paf      2676:   fi
                   2677: done
                   2678: if test -z "$ac_aux_dir"; then
1.150     moko     2679:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2680: fi
                   2681: 
                   2682: # These three variables are undocumented and unsupported,
                   2683: # and are intended to be withdrawn in a future Autoconf release.
                   2684: # They can cause serious problems if a builder's source tree is in a directory
                   2685: # whose full name contains unusual characters.
                   2686: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2687: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2688: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2689: 
1.1       paf      2690: 
                   2691: # Find a good install program.  We prefer a C program (faster),
                   2692: # so one script is as good as another.  But avoid the broken or
                   2693: # incompatible versions:
                   2694: # SysV /etc/install, /usr/sbin/install
                   2695: # SunOS /usr/etc/install
                   2696: # IRIX /sbin/install
                   2697: # AIX /bin/install
1.62      paf      2698: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2699: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2700: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2701: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2702: # OS/2's system install, which has a completely different semantic
1.1       paf      2703: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2704: # Reject install programs that cannot install multiple files.
                   2705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2706: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2707: if test -z "$INSTALL"; then
1.150     moko     2708: if ${ac_cv_path_install+:} false; then :
                   2709:   $as_echo_n "(cached) " >&6
1.1       paf      2710: else
1.62      paf      2711:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2712: for as_dir in $PATH
                   2713: do
                   2714:   IFS=$as_save_IFS
                   2715:   test -z "$as_dir" && as_dir=.
1.150     moko     2716:     # Account for people who put trailing slashes in PATH elements.
                   2717: case $as_dir/ in #((
                   2718:   ./ | .// | /[cC]/* | \
1.62      paf      2719:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2720:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2721:   /usr/ucb/* ) ;;
                   2722:   *)
                   2723:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2724:     # Don't use installbsd from OSF since it installs stuff as root
                   2725:     # by default.
                   2726:     for ac_prog in ginstall scoinst install; do
                   2727:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2728:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2729:          if test $ac_prog = install &&
                   2730:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2731:            # AIX install.  It has an incompatible calling convention.
                   2732:            :
                   2733:          elif test $ac_prog = install &&
                   2734:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2735:            # program-specific install script used by HP pwplus--don't use.
                   2736:            :
                   2737:          else
1.150     moko     2738:            rm -rf conftest.one conftest.two conftest.dir
                   2739:            echo one > conftest.one
                   2740:            echo two > conftest.two
                   2741:            mkdir conftest.dir
                   2742:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2743:              test -s conftest.one && test -s conftest.two &&
                   2744:              test -s conftest.dir/conftest.one &&
                   2745:              test -s conftest.dir/conftest.two
                   2746:            then
                   2747:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2748:              break 3
                   2749:            fi
1.86      paf      2750:          fi
                   2751:        fi
1.1       paf      2752:       done
1.62      paf      2753:     done
                   2754:     ;;
                   2755: esac
                   2756: 
1.150     moko     2757:   done
                   2758: IFS=$as_save_IFS
                   2759: 
                   2760: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2761: 
                   2762: fi
                   2763:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2764:     INSTALL=$ac_cv_path_install
1.1       paf      2765:   else
1.150     moko     2766:     # As a last resort, use the slow shell script.  Don't cache a
                   2767:     # value for INSTALL within a source directory, because that will
1.1       paf      2768:     # break other packages using the cache if that directory is
1.150     moko     2769:     # removed, or if the value is a relative name.
1.62      paf      2770:     INSTALL=$ac_install_sh
1.1       paf      2771:   fi
                   2772: fi
1.150     moko     2773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2774: $as_echo "$INSTALL" >&6; }
1.1       paf      2775: 
                   2776: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2777: # It thinks the first close brace ends the variable substitution.
                   2778: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2779: 
1.62      paf      2780: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2781: 
                   2782: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2783: 
1.150     moko     2784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2785: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2786: # Reject unsafe characters in $srcdir or the absolute working directory
                   2787: # name.  Accept space and tab only in the latter.
                   2788: am_lf='
                   2789: '
                   2790: case `pwd` in
                   2791:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2792:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2793: esac
                   2794: case $srcdir in
                   2795:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     2796:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     2797: esac
                   2798: 
1.187     moko     2799: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2800: # arguments.  Must try -L first in case configure is actually a
                   2801: # symlink; some systems play weird games with the mod time of symlinks
                   2802: # (eg FreeBSD returns the mod time of the symlink's containing
                   2803: # directory).
                   2804: if (
1.187     moko     2805:    am_has_slept=no
                   2806:    for am_try in 1 2; do
                   2807:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2808:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2809:      if test "$*" = "X"; then
                   2810:        # -L didn't work.
                   2811:        set X `ls -t "$srcdir/configure" conftest.file`
                   2812:      fi
                   2813:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2814:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2815: 
1.187     moko     2816:        # If neither matched, then we have a broken ls.  This can happen
                   2817:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2818:        # broken ls alias from the environment.  This has actually
                   2819:        # happened.  Such a system could not be considered "sane".
                   2820:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2821:   alias in your environment" "$LINENO" 5
                   2822:      fi
                   2823:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2824:        break
                   2825:      fi
                   2826:      # Just in case.
                   2827:      sleep 1
                   2828:      am_has_slept=yes
                   2829:    done
1.62      paf      2830:    test "$2" = conftest.file
1.1       paf      2831:    )
                   2832: then
                   2833:    # Ok.
                   2834:    :
                   2835: else
1.150     moko     2836:    as_fn_error $? "newly created file is older than distributed files!
                   2837: Check your system clock" "$LINENO" 5
1.1       paf      2838: fi
1.150     moko     2839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2840: $as_echo "yes" >&6; }
1.187     moko     2841: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2842: # generated files are strictly newer.
                   2843: am_sleep_pid=
                   2844: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2845:   ( sleep 1 ) &
                   2846:   am_sleep_pid=$!
                   2847: fi
                   2848: 
                   2849: rm -f conftest.file
                   2850: 
1.1       paf      2851: test "$program_prefix" != NONE &&
1.150     moko     2852:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2853: # Use a double $ so make ignores it.
                   2854: test "$program_suffix" != NONE &&
1.150     moko     2855:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2856: # Double any \ or $.
1.62      paf      2857: # By default was `s,x,x', remove it if useless.
1.150     moko     2858: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2859: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2860: 
1.187     moko     2861: # Expand $ac_aux_dir to an absolute path.
                   2862: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      2863: 
1.150     moko     2864: if test x"${MISSING+set}" != xset; then
                   2865:   case $am_aux_dir in
                   2866:   *\ * | *\    *)
                   2867:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2868:   *)
                   2869:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2870:   esac
                   2871: fi
1.62      paf      2872: # Use eval to expand $SHELL
1.187     moko     2873: if eval "$MISSING --is-lightweight"; then
                   2874:   am_missing_run="$MISSING "
1.62      paf      2875: else
                   2876:   am_missing_run=
1.187     moko     2877:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2878: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      2879: fi
                   2880: 
1.187     moko     2881: if test x"${install_sh+set}" != xset; then
1.150     moko     2882:   case $am_aux_dir in
                   2883:   *\ * | *\    *)
                   2884:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2885:   *)
                   2886:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2887:   esac
1.86      paf      2888: fi
                   2889: 
1.187     moko     2890: # Installed binaries are usually stripped using 'strip' when the user
                   2891: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     2892: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     2893: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     2894: if test "$cross_compiling" != no; then
                   2895:   if test -n "$ac_tool_prefix"; then
                   2896:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2897: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2899: $as_echo_n "checking for $ac_word... " >&6; }
                   2900: if ${ac_cv_prog_STRIP+:} false; then :
                   2901:   $as_echo_n "(cached) " >&6
                   2902: else
                   2903:   if test -n "$STRIP"; then
                   2904:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2905: else
                   2906: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2907: for as_dir in $PATH
                   2908: do
                   2909:   IFS=$as_save_IFS
                   2910:   test -z "$as_dir" && as_dir=.
                   2911:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2912:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2913:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2914:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2915:     break 2
                   2916:   fi
                   2917: done
                   2918:   done
                   2919: IFS=$as_save_IFS
                   2920: 
                   2921: fi
                   2922: fi
                   2923: STRIP=$ac_cv_prog_STRIP
                   2924: if test -n "$STRIP"; then
                   2925:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2926: $as_echo "$STRIP" >&6; }
                   2927: else
                   2928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2929: $as_echo "no" >&6; }
                   2930: fi
                   2931: 
                   2932: 
                   2933: fi
                   2934: if test -z "$ac_cv_prog_STRIP"; then
                   2935:   ac_ct_STRIP=$STRIP
                   2936:   # Extract the first word of "strip", so it can be a program name with args.
                   2937: set dummy strip; ac_word=$2
                   2938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2939: $as_echo_n "checking for $ac_word... " >&6; }
                   2940: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2941:   $as_echo_n "(cached) " >&6
                   2942: else
                   2943:   if test -n "$ac_ct_STRIP"; then
                   2944:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2945: else
                   2946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2947: for as_dir in $PATH
                   2948: do
                   2949:   IFS=$as_save_IFS
                   2950:   test -z "$as_dir" && as_dir=.
                   2951:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2952:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2953:     ac_cv_prog_ac_ct_STRIP="strip"
                   2954:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2955:     break 2
                   2956:   fi
                   2957: done
                   2958:   done
                   2959: IFS=$as_save_IFS
                   2960: 
                   2961: fi
                   2962: fi
                   2963: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2964: if test -n "$ac_ct_STRIP"; then
                   2965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2966: $as_echo "$ac_ct_STRIP" >&6; }
                   2967: else
                   2968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2969: $as_echo "no" >&6; }
                   2970: fi
                   2971: 
                   2972:   if test "x$ac_ct_STRIP" = x; then
                   2973:     STRIP=":"
                   2974:   else
                   2975:     case $cross_compiling:$ac_tool_warned in
                   2976: yes:)
                   2977: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2978: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2979: ac_tool_warned=yes ;;
                   2980: esac
                   2981:     STRIP=$ac_ct_STRIP
                   2982:   fi
                   2983: else
                   2984:   STRIP="$ac_cv_prog_STRIP"
                   2985: fi
                   2986: 
                   2987: fi
                   2988: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2989: 
                   2990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2991: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2992: if test -z "$MKDIR_P"; then
                   2993:   if ${ac_cv_path_mkdir+:} false; then :
                   2994:   $as_echo_n "(cached) " >&6
                   2995: else
                   2996:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2997: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2998: do
                   2999:   IFS=$as_save_IFS
                   3000:   test -z "$as_dir" && as_dir=.
                   3001:     for ac_prog in mkdir gmkdir; do
                   3002:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3003:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     3004:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3005:             'mkdir (GNU coreutils) '* | \
                   3006:             'mkdir (coreutils) '* | \
                   3007:             'mkdir (fileutils) '4.1*)
                   3008:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3009:               break 3;;
                   3010:           esac
                   3011:         done
                   3012:        done
                   3013:   done
                   3014: IFS=$as_save_IFS
                   3015: 
                   3016: fi
                   3017: 
                   3018:   test -d ./--version && rmdir ./--version
                   3019:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3020:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3021:   else
                   3022:     # As a last resort, use the slow shell script.  Don't cache a
                   3023:     # value for MKDIR_P within a source directory, because that will
                   3024:     # break other packages using the cache if that directory is
                   3025:     # removed, or if the value is a relative name.
                   3026:     MKDIR_P="$ac_install_sh -d"
                   3027:   fi
                   3028: fi
                   3029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3030: $as_echo "$MKDIR_P" >&6; }
                   3031: 
                   3032: for ac_prog in gawk mawk nawk awk
1.62      paf      3033: do
                   3034:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3035: set dummy $ac_prog; ac_word=$2
1.150     moko     3036: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3037: $as_echo_n "checking for $ac_word... " >&6; }
                   3038: if ${ac_cv_prog_AWK+:} false; then :
                   3039:   $as_echo_n "(cached) " >&6
1.62      paf      3040: else
                   3041:   if test -n "$AWK"; then
                   3042:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3043: else
                   3044: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3045: for as_dir in $PATH
                   3046: do
                   3047:   IFS=$as_save_IFS
                   3048:   test -z "$as_dir" && as_dir=.
1.150     moko     3049:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3050:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3051:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3052:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3053:     break 2
                   3054:   fi
                   3055: done
1.150     moko     3056:   done
                   3057: IFS=$as_save_IFS
1.62      paf      3058: 
                   3059: fi
                   3060: fi
                   3061: AWK=$ac_cv_prog_AWK
                   3062: if test -n "$AWK"; then
1.150     moko     3063:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3064: $as_echo "$AWK" >&6; }
1.62      paf      3065: else
1.150     moko     3066:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3067: $as_echo "no" >&6; }
1.62      paf      3068: fi
1.1       paf      3069: 
1.150     moko     3070: 
1.62      paf      3071:   test -n "$AWK" && break
                   3072: done
1.1       paf      3073: 
1.150     moko     3074: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3075: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3076: set x ${MAKE-make}
                   3077: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3078: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3079:   $as_echo_n "(cached) " >&6
1.1       paf      3080: else
1.62      paf      3081:   cat >conftest.make <<\_ACEOF
1.150     moko     3082: SHELL = /bin/sh
1.1       paf      3083: all:
1.150     moko     3084:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3085: _ACEOF
1.150     moko     3086: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3087: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3088:   *@@@%%%=?*=@@@%%%*)
                   3089:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3090:   *)
                   3091:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3092: esac
1.62      paf      3093: rm -f conftest.make
1.1       paf      3094: fi
1.150     moko     3095: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3096:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3097: $as_echo "yes" >&6; }
1.1       paf      3098:   SET_MAKE=
                   3099: else
1.150     moko     3100:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3101: $as_echo "no" >&6; }
1.1       paf      3102:   SET_MAKE="MAKE=${MAKE-make}"
                   3103: fi
                   3104: 
1.86      paf      3105: rm -rf .tst 2>/dev/null
                   3106: mkdir .tst 2>/dev/null
                   3107: if test -d .tst; then
                   3108:   am__leading_dot=.
                   3109: else
                   3110:   am__leading_dot=_
                   3111: fi
                   3112: rmdir .tst 2>/dev/null
                   3113: 
1.187     moko     3114: # Check whether --enable-silent-rules was given.
                   3115: if test "${enable_silent_rules+set}" = set; then :
                   3116:   enableval=$enable_silent_rules;
                   3117: fi
                   3118: 
                   3119: case $enable_silent_rules in # (((
                   3120:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3121:    no) AM_DEFAULT_VERBOSITY=1;;
                   3122:     *) AM_DEFAULT_VERBOSITY=1;;
                   3123: esac
                   3124: am_make=${MAKE-make}
                   3125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3126: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3127: if ${am_cv_make_support_nested_variables+:} false; then :
                   3128:   $as_echo_n "(cached) " >&6
                   3129: else
                   3130:   if $as_echo 'TRUE=$(BAR$(V))
                   3131: BAR0=false
                   3132: BAR1=true
                   3133: V=1
                   3134: am__doit:
                   3135:        @$(TRUE)
                   3136: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3137:   am_cv_make_support_nested_variables=yes
                   3138: else
                   3139:   am_cv_make_support_nested_variables=no
                   3140: fi
                   3141: fi
                   3142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3143: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3144: if test $am_cv_make_support_nested_variables = yes; then
                   3145:     AM_V='$(V)'
                   3146:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3147: else
                   3148:   AM_V=$AM_DEFAULT_VERBOSITY
                   3149:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3150: fi
                   3151: AM_BACKSLASH='\'
                   3152: 
1.150     moko     3153: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3154:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3155:   # is not polluted with repeated "-I."
                   3156:   am__isrc=' -I$(srcdir)'
                   3157:   # test to see if srcdir already configured
                   3158:   if test -f $srcdir/config.status; then
                   3159:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3160:   fi
1.62      paf      3161: fi
                   3162: 
                   3163: # test whether we have cygpath
                   3164: if test -z "$CYGPATH_W"; then
                   3165:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3166:     CYGPATH_W='cygpath -w'
                   3167:   else
                   3168:     CYGPATH_W=echo
                   3169:   fi
                   3170: fi
                   3171: 
                   3172: 
                   3173: # Define the identity of the package.
1.128     moko     3174:  PACKAGE='parser'
1.186     moko     3175:  VERSION='3.4.6b'
1.128     moko     3176: 
                   3177: 
                   3178: cat >>confdefs.h <<_ACEOF
                   3179: #define PACKAGE "$PACKAGE"
                   3180: _ACEOF
1.1       paf      3181: 
                   3182: 
1.128     moko     3183: cat >>confdefs.h <<_ACEOF
                   3184: #define VERSION "$VERSION"
                   3185: _ACEOF
                   3186: 
1.62      paf      3187: # Some tools Automake needs.
                   3188: 
                   3189: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3190: 
                   3191: 
                   3192: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3193: 
                   3194: 
                   3195: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3196: 
                   3197: 
                   3198: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3199: 
                   3200: 
                   3201: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3202: 
1.187     moko     3203: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3204: # dies out for good.  For more background, see:
1.199     moko     3205: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3206: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     3207: mkdir_p='$(MKDIR_P)'
                   3208: 
                   3209: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3210: # system "awk" is bad on some platforms.
                   3211: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3212: # in the wild :-(  We should find a proper way to deprecate it ...
                   3213: AMTAR='$${TAR-tar}'
                   3214: 
                   3215: 
                   3216: # We'll loop over all known methods to create a tar archive until one works.
                   3217: _am_tools='gnutar  pax cpio none'
                   3218: 
                   3219: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3220: 
1.86      paf      3221: 
                   3222: 
                   3223: 
                   3224: 
1.62      paf      3225: 
1.187     moko     3226: # POSIX will say in a future version that running "rm -f" with no argument
                   3227: # is OK; and we want to be able to make that assumption in our Makefile
                   3228: # recipes.  So use an aggressive probe to check that the usage we want is
                   3229: # actually supported "in the wild" to an acceptable degree.
                   3230: # See automake bug#10828.
                   3231: # To make any issue more visible, cause the running configure to be aborted
                   3232: # by default if the 'rm' program in use doesn't match our expectations; the
                   3233: # user can still override this though.
                   3234: if rm -f && rm -fr && rm -rf; then : OK; else
                   3235:   cat >&2 <<'END'
                   3236: Oops!
1.1       paf      3237: 
1.187     moko     3238: Your 'rm' program seems unable to run without file operands specified
                   3239: on the command line, even when the '-f' option is present.  This is contrary
                   3240: to the behaviour of most rm programs out there, and not conforming with
                   3241: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3242: 
                   3243: Please tell bug-automake@gnu.org about your system, including the value
                   3244: of your $PATH and any error possibly output before this message.  This
                   3245: can help us improve future automake versions.
                   3246: 
                   3247: END
                   3248:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3249:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3250:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3251:     echo >&2
                   3252:   else
                   3253:     cat >&2 <<'END'
                   3254: Aborting the configuration process, to ensure you take notice of the issue.
                   3255: 
                   3256: You can download and install GNU coreutils to get an 'rm' implementation
1.199     moko     3257: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.187     moko     3258: 
                   3259: If you want to complete the configuration process using your problematic
                   3260: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3261: to "yes", and re-run configure.
                   3262: 
                   3263: END
                   3264:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3265:   fi
                   3266: fi
1.1       paf      3267: 
                   3268: 
1.128     moko     3269: 
1.12      paf      3270: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3271: 
                   3272: 
1.128     moko     3273: 
1.41      paf      3274: # Make sure we can run config.sub.
1.150     moko     3275: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3276:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3277: 
1.150     moko     3278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3279: $as_echo_n "checking build system type... " >&6; }
                   3280: if ${ac_cv_build+:} false; then :
                   3281:   $as_echo_n "(cached) " >&6
                   3282: else
                   3283:   ac_build_alias=$build_alias
                   3284: test "x$ac_build_alias" = x &&
                   3285:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3286: test "x$ac_build_alias" = x &&
                   3287:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3288: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3289:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3290: 
                   3291: fi
                   3292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3293: $as_echo "$ac_cv_build" >&6; }
                   3294: case $ac_cv_build in
                   3295: *-*-*) ;;
                   3296: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3297: esac
                   3298: build=$ac_cv_build
                   3299: ac_save_IFS=$IFS; IFS='-'
                   3300: set x $ac_cv_build
                   3301: shift
                   3302: build_cpu=$1
                   3303: build_vendor=$2
                   3304: shift; shift
                   3305: # Remember, the first character of IFS is used to create $*,
                   3306: # except with old shells:
                   3307: build_os=$*
                   3308: IFS=$ac_save_IFS
                   3309: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3310: 
                   3311: 
                   3312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3313: $as_echo_n "checking host system type... " >&6; }
                   3314: if ${ac_cv_host+:} false; then :
                   3315:   $as_echo_n "(cached) " >&6
                   3316: else
                   3317:   if test "x$host_alias" = x; then
                   3318:   ac_cv_host=$ac_cv_build
                   3319: else
                   3320:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3321:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3322: fi
                   3323: 
                   3324: fi
1.150     moko     3325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3326: $as_echo "$ac_cv_host" >&6; }
                   3327: case $ac_cv_host in
                   3328: *-*-*) ;;
                   3329: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3330: esac
1.62      paf      3331: host=$ac_cv_host
1.150     moko     3332: ac_save_IFS=$IFS; IFS='-'
                   3333: set x $ac_cv_host
                   3334: shift
                   3335: host_cpu=$1
                   3336: host_vendor=$2
                   3337: shift; shift
                   3338: # Remember, the first character of IFS is used to create $*,
                   3339: # except with old shells:
                   3340: host_os=$*
                   3341: IFS=$ac_save_IFS
                   3342: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3343: 
                   3344: 
                   3345: 
1.148     moko     3346: cat >>confdefs.h <<_ACEOF
                   3347: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3348: _ACEOF
                   3349: 
                   3350: 
1.41      paf      3351: 
1.67      paf      3352: case $host_os in
                   3353:   *cygwin* )
1.150     moko     3354: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3355: ;;
                   3356: esac
1.41      paf      3357: 
1.128     moko     3358: 
1.1       paf      3359: 
1.62      paf      3360: for ac_prog in gawk mawk nawk awk
1.41      paf      3361: do
1.62      paf      3362:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3363: set dummy $ac_prog; ac_word=$2
1.150     moko     3364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3365: $as_echo_n "checking for $ac_word... " >&6; }
                   3366: if ${ac_cv_prog_AWK+:} false; then :
                   3367:   $as_echo_n "(cached) " >&6
1.41      paf      3368: else
                   3369:   if test -n "$AWK"; then
                   3370:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3371: else
1.62      paf      3372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3373: for as_dir in $PATH
                   3374: do
                   3375:   IFS=$as_save_IFS
                   3376:   test -z "$as_dir" && as_dir=.
1.150     moko     3377:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3378:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3379:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3380:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3381:     break 2
                   3382:   fi
                   3383: done
1.150     moko     3384:   done
                   3385: IFS=$as_save_IFS
1.62      paf      3386: 
1.41      paf      3387: fi
                   3388: fi
1.62      paf      3389: AWK=$ac_cv_prog_AWK
1.41      paf      3390: if test -n "$AWK"; then
1.150     moko     3391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3392: $as_echo "$AWK" >&6; }
1.41      paf      3393: else
1.150     moko     3394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3395: $as_echo "no" >&6; }
1.41      paf      3396: fi
                   3397: 
1.150     moko     3398: 
1.62      paf      3399:   test -n "$AWK" && break
1.41      paf      3400: done
                   3401: 
                   3402: 
                   3403: for ac_prog in 'bison -y' byacc
                   3404: do
1.62      paf      3405:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3406: set dummy $ac_prog; ac_word=$2
1.150     moko     3407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3408: $as_echo_n "checking for $ac_word... " >&6; }
                   3409: if ${ac_cv_prog_YACC+:} false; then :
                   3410:   $as_echo_n "(cached) " >&6
1.41      paf      3411: else
                   3412:   if test -n "$YACC"; then
                   3413:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3414: else
1.62      paf      3415: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3416: for as_dir in $PATH
                   3417: do
                   3418:   IFS=$as_save_IFS
                   3419:   test -z "$as_dir" && as_dir=.
1.150     moko     3420:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3421:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3422:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3423:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3424:     break 2
                   3425:   fi
                   3426: done
1.150     moko     3427:   done
                   3428: IFS=$as_save_IFS
1.62      paf      3429: 
1.41      paf      3430: fi
                   3431: fi
1.62      paf      3432: YACC=$ac_cv_prog_YACC
1.41      paf      3433: if test -n "$YACC"; then
1.150     moko     3434:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3435: $as_echo "$YACC" >&6; }
1.41      paf      3436: else
1.150     moko     3437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3438: $as_echo "no" >&6; }
1.41      paf      3439: fi
                   3440: 
1.150     moko     3441: 
1.62      paf      3442:   test -n "$YACC" && break
1.41      paf      3443: done
                   3444: test -n "$YACC" || YACC="yacc"
                   3445: 
                   3446: if test "$YACC" != "bison -y"; then
1.150     moko     3447:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3448: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3449: else
1.150     moko     3450:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3451: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3452:        oldIFS=$IFS; IFS=.
                   3453:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3454:        IFS=$oldIFS
                   3455:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3456:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3457: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3458:        fi
1.150     moko     3459:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3460: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3461: fi
                   3462: 
1.150     moko     3463: ac_ext=cpp
1.66      paf      3464: ac_cpp='$CXXCPP $CPPFLAGS'
                   3465: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3466: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3467: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3468: if test -z "$CXX"; then
                   3469:   if test -n "$CCC"; then
                   3470:     CXX=$CCC
                   3471:   else
                   3472:     if test -n "$ac_tool_prefix"; then
                   3473:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3474:   do
                   3475:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3476: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3478: $as_echo_n "checking for $ac_word... " >&6; }
                   3479: if ${ac_cv_prog_CXX+:} false; then :
                   3480:   $as_echo_n "(cached) " >&6
1.62      paf      3481: else
1.66      paf      3482:   if test -n "$CXX"; then
                   3483:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3484: else
                   3485: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3486: for as_dir in $PATH
                   3487: do
                   3488:   IFS=$as_save_IFS
                   3489:   test -z "$as_dir" && as_dir=.
1.150     moko     3490:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3491:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3492:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3493:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3494:     break 2
                   3495:   fi
                   3496: done
1.150     moko     3497:   done
                   3498: IFS=$as_save_IFS
1.62      paf      3499: 
                   3500: fi
                   3501: fi
1.66      paf      3502: CXX=$ac_cv_prog_CXX
                   3503: if test -n "$CXX"; then
1.150     moko     3504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3505: $as_echo "$CXX" >&6; }
1.62      paf      3506: else
1.150     moko     3507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3508: $as_echo "no" >&6; }
1.41      paf      3509: fi
                   3510: 
1.150     moko     3511: 
1.66      paf      3512:     test -n "$CXX" && break
                   3513:   done
1.62      paf      3514: fi
1.66      paf      3515: if test -z "$CXX"; then
                   3516:   ac_ct_CXX=$CXX
1.150     moko     3517:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3518: do
                   3519:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3520: set dummy $ac_prog; ac_word=$2
1.150     moko     3521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3522: $as_echo_n "checking for $ac_word... " >&6; }
                   3523: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3524:   $as_echo_n "(cached) " >&6
1.62      paf      3525: else
1.66      paf      3526:   if test -n "$ac_ct_CXX"; then
                   3527:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3528: else
                   3529: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3530: for as_dir in $PATH
                   3531: do
                   3532:   IFS=$as_save_IFS
                   3533:   test -z "$as_dir" && as_dir=.
1.150     moko     3534:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3535:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3536:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3537:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3538:     break 2
                   3539:   fi
                   3540: done
1.150     moko     3541:   done
                   3542: IFS=$as_save_IFS
1.62      paf      3543: 
                   3544: fi
                   3545: fi
1.66      paf      3546: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3547: if test -n "$ac_ct_CXX"; then
1.150     moko     3548:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3549: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3550: else
1.150     moko     3551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3552: $as_echo "no" >&6; }
1.62      paf      3553: fi
                   3554: 
1.150     moko     3555: 
1.66      paf      3556:   test -n "$ac_ct_CXX" && break
                   3557: done
                   3558: 
1.150     moko     3559:   if test "x$ac_ct_CXX" = x; then
                   3560:     CXX="g++"
                   3561:   else
                   3562:     case $cross_compiling:$ac_tool_warned in
                   3563: yes:)
                   3564: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3565: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3566: ac_tool_warned=yes ;;
                   3567: esac
                   3568:     CXX=$ac_ct_CXX
                   3569:   fi
1.62      paf      3570: fi
                   3571: 
1.150     moko     3572:   fi
                   3573: fi
1.66      paf      3574: # Provide some information about the compiler.
1.150     moko     3575: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3576: set X $ac_compile
                   3577: ac_compiler=$2
                   3578: for ac_option in --version -v -V -qversion; do
                   3579:   { { ac_try="$ac_compiler $ac_option >&5"
                   3580: case "(($ac_try" in
                   3581:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3582:   *) ac_try_echo=$ac_try;;
                   3583: esac
                   3584: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3585: $as_echo "$ac_try_echo"; } >&5
                   3586:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3587:   ac_status=$?
1.150     moko     3588:   if test -s conftest.err; then
                   3589:     sed '10a\
                   3590: ... rest of stderr output deleted ...
                   3591:          10q' conftest.err >conftest.er1
                   3592:     cat conftest.er1 >&5
                   3593:   fi
                   3594:   rm -f conftest.er1 conftest.err
                   3595:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3596:   test $ac_status = 0; }
                   3597: done
1.66      paf      3598: 
1.150     moko     3599: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3600: /* end confdefs.h.  */
                   3601: 
                   3602: int
                   3603: main ()
                   3604: {
                   3605: 
                   3606:   ;
                   3607:   return 0;
                   3608: }
                   3609: _ACEOF
                   3610: ac_clean_files_save=$ac_clean_files
1.150     moko     3611: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3612: # Try to create an executable without -o first, disregard a.out.
                   3613: # It will help us diagnose broken compilers, and finding out an intuition
                   3614: # of exeext.
1.150     moko     3615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3616: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3617: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3618: 
                   3619: # The possible output files:
                   3620: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3621: 
                   3622: ac_rmfiles=
                   3623: for ac_file in $ac_files
                   3624: do
                   3625:   case $ac_file in
                   3626:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3627:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3628:   esac
                   3629: done
                   3630: rm -f $ac_rmfiles
                   3631: 
                   3632: if { { ac_try="$ac_link_default"
                   3633: case "(($ac_try" in
                   3634:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3635:   *) ac_try_echo=$ac_try;;
                   3636: esac
                   3637: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3638: $as_echo "$ac_try_echo"; } >&5
                   3639:   (eval "$ac_link_default") 2>&5
                   3640:   ac_status=$?
                   3641:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3642:   test $ac_status = 0; }; then :
                   3643:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3644: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3645: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3646: # so that the user can short-circuit this test for compilers unknown to
                   3647: # Autoconf.
                   3648: for ac_file in $ac_files ''
1.62      paf      3649: do
1.66      paf      3650:   test -f "$ac_file" || continue
                   3651:   case $ac_file in
1.150     moko     3652:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3653:        ;;
1.66      paf      3654:     [ab].out )
1.86      paf      3655:        # We found the default executable, but exeext='' is most
                   3656:        # certainly right.
                   3657:        break;;
1.66      paf      3658:     *.* )
1.150     moko     3659:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3660:        then :; else
                   3661:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3662:        fi
                   3663:        # We set ac_cv_exeext here because the later test for it is not
                   3664:        # safe: cross compilers may not add the suffix if given an `-o'
                   3665:        # argument, so we may need to know it at that point already.
                   3666:        # Even if this section looks crufty: it has the advantage of
                   3667:        # actually working.
1.86      paf      3668:        break;;
1.66      paf      3669:     * )
1.86      paf      3670:        break;;
1.66      paf      3671:   esac
1.62      paf      3672: done
1.150     moko     3673: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3674: 
1.66      paf      3675: else
1.150     moko     3676:   ac_file=''
                   3677: fi
                   3678: if test -z "$ac_file"; then :
                   3679:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3680: $as_echo "no" >&6; }
                   3681: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3682: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3683: 
1.150     moko     3684: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3685: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3686: as_fn_error 77 "C++ compiler cannot create executables
                   3687: See \`config.log' for more details" "$LINENO" 5; }
                   3688: else
                   3689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3690: $as_echo "yes" >&6; }
1.1       paf      3691: fi
1.150     moko     3692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3693: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3695: $as_echo "$ac_file" >&6; }
1.66      paf      3696: ac_exeext=$ac_cv_exeext
1.62      paf      3697: 
1.150     moko     3698: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3699: ac_clean_files=$ac_clean_files_save
1.150     moko     3700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3701: $as_echo_n "checking for suffix of executables... " >&6; }
                   3702: if { { ac_try="$ac_link"
                   3703: case "(($ac_try" in
                   3704:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3705:   *) ac_try_echo=$ac_try;;
                   3706: esac
                   3707: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3708: $as_echo "$ac_try_echo"; } >&5
                   3709:   (eval "$ac_link") 2>&5
1.62      paf      3710:   ac_status=$?
1.150     moko     3711:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3712:   test $ac_status = 0; }; then :
1.62      paf      3713:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3714: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3715: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3716: # `rm'.
                   3717: for ac_file in conftest.exe conftest conftest.*; do
                   3718:   test -f "$ac_file" || continue
                   3719:   case $ac_file in
1.150     moko     3720:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3721:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3722:          break;;
1.62      paf      3723:     * ) break;;
                   3724:   esac
                   3725: done
                   3726: else
1.150     moko     3727:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3728: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3729: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3730: See \`config.log' for more details" "$LINENO" 5; }
                   3731: fi
                   3732: rm -f conftest conftest$ac_cv_exeext
                   3733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3734: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3735: 
                   3736: rm -f conftest.$ac_ext
                   3737: EXEEXT=$ac_cv_exeext
                   3738: ac_exeext=$EXEEXT
1.150     moko     3739: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3740: /* end confdefs.h.  */
                   3741: #include <stdio.h>
                   3742: int
                   3743: main ()
                   3744: {
                   3745: FILE *f = fopen ("conftest.out", "w");
                   3746:  return ferror (f) || fclose (f) != 0;
                   3747: 
                   3748:   ;
                   3749:   return 0;
                   3750: }
                   3751: _ACEOF
                   3752: ac_clean_files="$ac_clean_files conftest.out"
                   3753: # Check that the compiler produces executables we can run.  If not, either
                   3754: # the compiler is broken, or we cross compile.
                   3755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3756: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3757: if test "$cross_compiling" != yes; then
                   3758:   { { ac_try="$ac_link"
                   3759: case "(($ac_try" in
                   3760:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3761:   *) ac_try_echo=$ac_try;;
                   3762: esac
                   3763: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3764: $as_echo "$ac_try_echo"; } >&5
                   3765:   (eval "$ac_link") 2>&5
                   3766:   ac_status=$?
                   3767:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3768:   test $ac_status = 0; }
                   3769:   if { ac_try='./conftest$ac_cv_exeext'
                   3770:   { { case "(($ac_try" in
                   3771:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3772:   *) ac_try_echo=$ac_try;;
                   3773: esac
                   3774: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3775: $as_echo "$ac_try_echo"; } >&5
                   3776:   (eval "$ac_try") 2>&5
                   3777:   ac_status=$?
                   3778:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3779:   test $ac_status = 0; }; }; then
                   3780:     cross_compiling=no
                   3781:   else
                   3782:     if test "$cross_compiling" = maybe; then
                   3783:        cross_compiling=yes
                   3784:     else
                   3785:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3786: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3787: as_fn_error $? "cannot run C++ compiled programs.
                   3788: If you meant to cross compile, use \`--host'.
                   3789: See \`config.log' for more details" "$LINENO" 5; }
                   3790:     fi
                   3791:   fi
                   3792: fi
                   3793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3794: $as_echo "$cross_compiling" >&6; }
                   3795: 
                   3796: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3797: ac_clean_files=$ac_clean_files_save
                   3798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3799: $as_echo_n "checking for suffix of object files... " >&6; }
                   3800: if ${ac_cv_objext+:} false; then :
                   3801:   $as_echo_n "(cached) " >&6
1.62      paf      3802: else
1.150     moko     3803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3804: /* end confdefs.h.  */
                   3805: 
                   3806: int
                   3807: main ()
                   3808: {
                   3809: 
                   3810:   ;
                   3811:   return 0;
                   3812: }
                   3813: _ACEOF
                   3814: rm -f conftest.o conftest.obj
1.150     moko     3815: if { { ac_try="$ac_compile"
                   3816: case "(($ac_try" in
                   3817:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3818:   *) ac_try_echo=$ac_try;;
                   3819: esac
                   3820: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3821: $as_echo "$ac_try_echo"; } >&5
                   3822:   (eval "$ac_compile") 2>&5
                   3823:   ac_status=$?
                   3824:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3825:   test $ac_status = 0; }; then :
                   3826:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3827:   test -f "$ac_file" || continue;
1.62      paf      3828:   case $ac_file in
1.150     moko     3829:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3830:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3831:        break;;
                   3832:   esac
                   3833: done
                   3834: else
1.150     moko     3835:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3836: sed 's/^/| /' conftest.$ac_ext >&5
                   3837: 
1.150     moko     3838: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3839: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3840: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3841: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3842: fi
                   3843: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3844: fi
1.150     moko     3845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3846: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3847: OBJEXT=$ac_cv_objext
                   3848: ac_objext=$OBJEXT
1.150     moko     3849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3850: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3851: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3852:   $as_echo_n "(cached) " >&6
1.62      paf      3853: else
1.150     moko     3854:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3855: /* end confdefs.h.  */
1.66      paf      3856: 
1.62      paf      3857: int
                   3858: main ()
                   3859: {
1.66      paf      3860: #ifndef __GNUC__
                   3861:        choke me
                   3862: #endif
                   3863: 
1.62      paf      3864:   ;
                   3865:   return 0;
                   3866: }
                   3867: _ACEOF
1.150     moko     3868: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3869:   ac_compiler_gnu=yes
1.62      paf      3870: else
1.150     moko     3871:   ac_compiler_gnu=no
1.1       paf      3872: fi
1.150     moko     3873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3874: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3875: 
                   3876: fi
1.150     moko     3877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3878: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3879: if test $ac_compiler_gnu = yes; then
                   3880:   GXX=yes
                   3881: else
                   3882:   GXX=
                   3883: fi
1.66      paf      3884: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3885: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3887: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3888: if ${ac_cv_prog_cxx_g+:} false; then :
                   3889:   $as_echo_n "(cached) " >&6
                   3890: else
                   3891:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3892:    ac_cxx_werror_flag=yes
                   3893:    ac_cv_prog_cxx_g=no
                   3894:    CXXFLAGS="-g"
                   3895:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3896: /* end confdefs.h.  */
1.1       paf      3897: 
1.66      paf      3898: int
                   3899: main ()
                   3900: {
1.1       paf      3901: 
1.66      paf      3902:   ;
                   3903:   return 0;
                   3904: }
1.62      paf      3905: _ACEOF
1.150     moko     3906: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3907:   ac_cv_prog_cxx_g=yes
                   3908: else
1.150     moko     3909:   CXXFLAGS=""
                   3910:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3911: /* end confdefs.h.  */
1.66      paf      3912: 
1.62      paf      3913: int
                   3914: main ()
                   3915: {
1.150     moko     3916: 
1.62      paf      3917:   ;
                   3918:   return 0;
                   3919: }
                   3920: _ACEOF
1.150     moko     3921: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3922: 
1.1       paf      3923: else
1.150     moko     3924:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3925:         CXXFLAGS="-g"
                   3926:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3927: /* end confdefs.h.  */
1.62      paf      3928: 
                   3929: int
                   3930: main ()
                   3931: {
1.150     moko     3932: 
1.62      paf      3933:   ;
                   3934:   return 0;
                   3935: }
                   3936: _ACEOF
1.150     moko     3937: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3938:   ac_cv_prog_cxx_g=yes
                   3939: fi
                   3940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   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:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3946: fi
                   3947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3948: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3949: if test "$ac_test_CXXFLAGS" = set; then
                   3950:   CXXFLAGS=$ac_save_CXXFLAGS
                   3951: elif test $ac_cv_prog_cxx_g = yes; then
                   3952:   if test "$GXX" = yes; then
                   3953:     CXXFLAGS="-g -O2"
                   3954:   else
                   3955:     CXXFLAGS="-g"
                   3956:   fi
1.1       paf      3957: else
1.150     moko     3958:   if test "$GXX" = yes; then
                   3959:     CXXFLAGS="-O2"
                   3960:   else
                   3961:     CXXFLAGS=
                   3962:   fi
1.1       paf      3963: fi
1.62      paf      3964: ac_ext=c
                   3965: ac_cpp='$CPP $CPPFLAGS'
                   3966: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3967: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3968: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3969: DEPDIR="${am__leading_dot}deps"
1.62      paf      3970: 
1.150     moko     3971: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3972: 
1.199     moko     3973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   3974: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
                   3975: cat > confinc.mk << 'END'
1.86      paf      3976: am__doit:
1.199     moko     3977:        @echo this is the am__doit target >confinc.out
1.86      paf      3978: .PHONY: am__doit
1.62      paf      3979: END
                   3980: am__include="#"
                   3981: am__quote=
1.199     moko     3982: # BSD make does it like this.
                   3983: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   3984: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   3985: echo 'include confinc.mk # ignored' > confmf.GNU
                   3986: _am_result=no
                   3987: for s in GNU BSD; do
                   3988:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   3989:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   3990:    ac_status=$?
                   3991:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3992:    (exit $ac_status); }
                   3993:   case $?:`cat confinc.out 2>/dev/null` in #(
                   3994:   '0:this is the am__doit target') :
                   3995:     case $s in #(
                   3996:   BSD) :
                   3997:     am__include='.include' am__quote='"' ;; #(
                   3998:   *) :
                   3999:     am__include='include' am__quote='' ;;
                   4000: esac ;; #(
                   4001:   *) :
1.150     moko     4002:      ;;
1.199     moko     4003: esac
                   4004:   if test "$am__include" != "#"; then
                   4005:     _am_result="yes ($s style)"
                   4006:     break
                   4007:   fi
                   4008: done
                   4009: rm -f confinc.* confmf.*
                   4010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   4011: $as_echo "${_am_result}" >&6; }
1.62      paf      4012: 
1.150     moko     4013: # Check whether --enable-dependency-tracking was given.
                   4014: if test "${enable_dependency_tracking+set}" = set; then :
                   4015:   enableval=$enable_dependency_tracking;
                   4016: fi
1.62      paf      4017: 
                   4018: if test "x$enable_dependency_tracking" != xno; then
                   4019:   am_depcomp="$ac_aux_dir/depcomp"
                   4020:   AMDEPBACKSLASH='\'
1.187     moko     4021:   am__nodep='_no'
1.1       paf      4022: fi
1.150     moko     4023:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      4024:   AMDEP_TRUE=
                   4025:   AMDEP_FALSE='#'
                   4026: else
                   4027:   AMDEP_TRUE='#'
                   4028:   AMDEP_FALSE=
                   4029: fi
1.1       paf      4030: 
                   4031: 
                   4032: 
1.66      paf      4033: depcc="$CXX"  am_compiler_list=
1.1       paf      4034: 
1.150     moko     4035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4036: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4037: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   4038:   $as_echo_n "(cached) " >&6
1.62      paf      4039: else
                   4040:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4041:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4042:   # making bogus files that we don't know about and never remove.  For
                   4043:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4044:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4045:   # in D".
                   4046:   rm -rf conftest.dir
1.62      paf      4047:   mkdir conftest.dir
                   4048:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4049:   # using a relative directory.
                   4050:   cp "$am_depcomp" conftest.dir
                   4051:   cd conftest.dir
1.86      paf      4052:   # We will build objects and dependencies in a subdirectory because
                   4053:   # it helps to detect inapplicable dependency modes.  For instance
                   4054:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4055:   # side effect of compilation, but ICC will put the dependencies in
                   4056:   # the current directory while Tru64 will put them in the object
                   4057:   # directory.
                   4058:   mkdir sub
1.1       paf      4059: 
1.66      paf      4060:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      4061:   if test "$am_compiler_list" = ""; then
                   4062:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      4063:   fi
1.150     moko     4064:   am__universal=false
                   4065:   case " $depcc " in #(
                   4066:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4067:      esac
                   4068: 
1.62      paf      4069:   for depmode in $am_compiler_list; do
1.86      paf      4070:     # Setup a source with many dependencies, because some compilers
                   4071:     # like to wrap large dependency lists on column 80 (with \), and
                   4072:     # we should not choose a depcomp mode which is confused by this.
                   4073:     #
1.62      paf      4074:     # We need to recreate these files for each test, as the compiler may
                   4075:     # overwrite some of them when testing with obscure command lines.
                   4076:     # This happens at least with the AIX C compiler.
1.86      paf      4077:     : > sub/conftest.c
                   4078:     for i in 1 2 3 4 5 6; do
                   4079:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4080:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4081:       # Solaris 10 /bin/sh.
                   4082:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4083:     done
                   4084:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4085: 
1.187     moko     4086:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4087:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4088:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4089:     # versions had trouble with output in subdirs.
1.150     moko     4090:     am__obj=sub/conftest.${OBJEXT-o}
                   4091:     am__minus_obj="-o $am__obj"
1.62      paf      4092:     case $depmode in
1.150     moko     4093:     gcc)
                   4094:       # This depmode causes a compiler race in universal mode.
                   4095:       test "$am__universal" = false || continue
                   4096:       ;;
1.62      paf      4097:     nosideeffect)
1.187     moko     4098:       # After this tag, mechanisms are not by side-effect, so they'll
                   4099:       # only be used when explicitly requested.
1.62      paf      4100:       if test "x$enable_dependency_tracking" = xyes; then
                   4101:        continue
                   4102:       else
                   4103:        break
                   4104:       fi
                   4105:       ;;
1.187     moko     4106:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4107:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4108:       # not run yet.  These depmodes are late enough in the game, and
                   4109:       # so weak that their functioning should not be impacted.
                   4110:       am__obj=conftest.${OBJEXT-o}
                   4111:       am__minus_obj=
                   4112:       ;;
1.62      paf      4113:     none) break ;;
                   4114:     esac
                   4115:     if depmode=$depmode \
1.150     moko     4116:        source=sub/conftest.c object=$am__obj \
1.86      paf      4117:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4118:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4119:          >/dev/null 2>conftest.err &&
1.150     moko     4120:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4121:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4122:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      4123:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4124:       # icc doesn't choke on unknown options, it will just issue warnings
                   4125:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4126:       # that says an option was ignored or not supported.
                   4127:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4128:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4129:       # The diagnosis changed in icc 8.0:
                   4130:       #   icc: Command line remark: option '-MP' not supported
                   4131:       if (grep 'ignoring option' conftest.err ||
                   4132:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4133:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4134:         break
                   4135:       fi
1.66      paf      4136:     fi
                   4137:   done
                   4138: 
                   4139:   cd ..
                   4140:   rm -rf conftest.dir
                   4141: else
                   4142:   am_cv_CXX_dependencies_compiler_type=none
                   4143: fi
                   4144: 
                   4145: fi
1.150     moko     4146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4147: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4148: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4149: 
1.150     moko     4150:  if
1.66      paf      4151:   test "x$enable_dependency_tracking" != xno \
                   4152:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4153:   am__fastdepCXX_TRUE=
                   4154:   am__fastdepCXX_FALSE='#'
                   4155: else
                   4156:   am__fastdepCXX_TRUE='#'
                   4157:   am__fastdepCXX_FALSE=
                   4158: fi
                   4159: 
                   4160: 
                   4161: ac_ext=c
                   4162: ac_cpp='$CPP $CPPFLAGS'
                   4163: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4164: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4165: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4166: if test -n "$ac_tool_prefix"; then
                   4167:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4168: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4170: $as_echo_n "checking for $ac_word... " >&6; }
                   4171: if ${ac_cv_prog_CC+:} false; then :
                   4172:   $as_echo_n "(cached) " >&6
1.66      paf      4173: else
                   4174:   if test -n "$CC"; then
                   4175:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4176: else
                   4177: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4178: for as_dir in $PATH
                   4179: do
                   4180:   IFS=$as_save_IFS
                   4181:   test -z "$as_dir" && as_dir=.
1.150     moko     4182:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4183:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4184:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4185:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4186:     break 2
                   4187:   fi
                   4188: done
1.150     moko     4189:   done
                   4190: IFS=$as_save_IFS
1.66      paf      4191: 
                   4192: fi
                   4193: fi
                   4194: CC=$ac_cv_prog_CC
                   4195: if test -n "$CC"; then
1.150     moko     4196:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4197: $as_echo "$CC" >&6; }
1.66      paf      4198: else
1.150     moko     4199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4200: $as_echo "no" >&6; }
1.66      paf      4201: fi
                   4202: 
1.150     moko     4203: 
1.66      paf      4204: fi
                   4205: if test -z "$ac_cv_prog_CC"; then
                   4206:   ac_ct_CC=$CC
                   4207:   # Extract the first word of "gcc", so it can be a program name with args.
                   4208: set dummy gcc; ac_word=$2
1.150     moko     4209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4210: $as_echo_n "checking for $ac_word... " >&6; }
                   4211: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4212:   $as_echo_n "(cached) " >&6
1.66      paf      4213: else
                   4214:   if test -n "$ac_ct_CC"; then
                   4215:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4216: else
                   4217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4218: for as_dir in $PATH
                   4219: do
                   4220:   IFS=$as_save_IFS
                   4221:   test -z "$as_dir" && as_dir=.
1.150     moko     4222:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4223:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4224:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4225:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4226:     break 2
                   4227:   fi
                   4228: done
1.150     moko     4229:   done
                   4230: IFS=$as_save_IFS
1.66      paf      4231: 
                   4232: fi
                   4233: fi
                   4234: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4235: if test -n "$ac_ct_CC"; then
1.150     moko     4236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4237: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4238: else
1.150     moko     4239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4240: $as_echo "no" >&6; }
1.62      paf      4241: fi
                   4242: 
1.150     moko     4243:   if test "x$ac_ct_CC" = x; then
                   4244:     CC=""
                   4245:   else
                   4246:     case $cross_compiling:$ac_tool_warned in
                   4247: yes:)
                   4248: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4249: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4250: ac_tool_warned=yes ;;
                   4251: esac
                   4252:     CC=$ac_ct_CC
                   4253:   fi
1.66      paf      4254: else
                   4255:   CC="$ac_cv_prog_CC"
1.1       paf      4256: fi
1.62      paf      4257: 
1.66      paf      4258: if test -z "$CC"; then
1.150     moko     4259:           if test -n "$ac_tool_prefix"; then
                   4260:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4261: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4263: $as_echo_n "checking for $ac_word... " >&6; }
                   4264: if ${ac_cv_prog_CC+:} false; then :
                   4265:   $as_echo_n "(cached) " >&6
1.66      paf      4266: else
                   4267:   if test -n "$CC"; then
                   4268:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4269: else
                   4270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4271: for as_dir in $PATH
                   4272: do
                   4273:   IFS=$as_save_IFS
                   4274:   test -z "$as_dir" && as_dir=.
1.150     moko     4275:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4276:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4277:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4278:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4279:     break 2
                   4280:   fi
                   4281: done
1.150     moko     4282:   done
                   4283: IFS=$as_save_IFS
1.62      paf      4284: 
1.66      paf      4285: fi
                   4286: fi
                   4287: CC=$ac_cv_prog_CC
                   4288: if test -n "$CC"; then
1.150     moko     4289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4290: $as_echo "$CC" >&6; }
1.62      paf      4291: else
1.150     moko     4292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4293: $as_echo "no" >&6; }
1.1       paf      4294: fi
                   4295: 
1.150     moko     4296: 
1.66      paf      4297:   fi
1.1       paf      4298: fi
1.66      paf      4299: if test -z "$CC"; then
                   4300:   # Extract the first word of "cc", so it can be a program name with args.
                   4301: set dummy cc; ac_word=$2
1.150     moko     4302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4303: $as_echo_n "checking for $ac_word... " >&6; }
                   4304: if ${ac_cv_prog_CC+:} false; then :
                   4305:   $as_echo_n "(cached) " >&6
1.66      paf      4306: else
                   4307:   if test -n "$CC"; then
                   4308:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4309: else
                   4310:   ac_prog_rejected=no
                   4311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4312: for as_dir in $PATH
                   4313: do
                   4314:   IFS=$as_save_IFS
                   4315:   test -z "$as_dir" && as_dir=.
1.150     moko     4316:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4317:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4318:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4319:        ac_prog_rejected=yes
                   4320:        continue
                   4321:      fi
                   4322:     ac_cv_prog_CC="cc"
1.150     moko     4323:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4324:     break 2
                   4325:   fi
                   4326: done
1.150     moko     4327:   done
                   4328: IFS=$as_save_IFS
1.62      paf      4329: 
1.66      paf      4330: if test $ac_prog_rejected = yes; then
                   4331:   # We found a bogon in the path, so make sure we never use it.
                   4332:   set dummy $ac_cv_prog_CC
                   4333:   shift
                   4334:   if test $# != 0; then
                   4335:     # We chose a different compiler from the bogus one.
                   4336:     # However, it has the same basename, so the bogon will be chosen
                   4337:     # first if we set CC to just the basename; use the full file name.
                   4338:     shift
                   4339:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4340:   fi
                   4341: fi
                   4342: fi
                   4343: fi
                   4344: CC=$ac_cv_prog_CC
                   4345: if test -n "$CC"; then
1.150     moko     4346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4347: $as_echo "$CC" >&6; }
1.66      paf      4348: else
1.150     moko     4349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4350: $as_echo "no" >&6; }
1.1       paf      4351: fi
                   4352: 
1.150     moko     4353: 
1.66      paf      4354: fi
                   4355: if test -z "$CC"; then
                   4356:   if test -n "$ac_tool_prefix"; then
1.150     moko     4357:   for ac_prog in cl.exe
1.62      paf      4358:   do
                   4359:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4360: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4362: $as_echo_n "checking for $ac_word... " >&6; }
                   4363: if ${ac_cv_prog_CC+:} false; then :
                   4364:   $as_echo_n "(cached) " >&6
1.62      paf      4365: else
1.66      paf      4366:   if test -n "$CC"; then
                   4367:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4368: else
                   4369: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4370: for as_dir in $PATH
                   4371: do
                   4372:   IFS=$as_save_IFS
                   4373:   test -z "$as_dir" && as_dir=.
1.150     moko     4374:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4375:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4376:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4377:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4378:     break 2
                   4379:   fi
                   4380: done
1.150     moko     4381:   done
                   4382: IFS=$as_save_IFS
1.1       paf      4383: 
1.62      paf      4384: fi
                   4385: fi
1.66      paf      4386: CC=$ac_cv_prog_CC
                   4387: if test -n "$CC"; then
1.150     moko     4388:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4389: $as_echo "$CC" >&6; }
1.1       paf      4390: else
1.150     moko     4391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4392: $as_echo "no" >&6; }
1.1       paf      4393: fi
                   4394: 
1.150     moko     4395: 
1.66      paf      4396:     test -n "$CC" && break
1.62      paf      4397:   done
                   4398: fi
1.66      paf      4399: if test -z "$CC"; then
                   4400:   ac_ct_CC=$CC
1.150     moko     4401:   for ac_prog in cl.exe
1.62      paf      4402: do
                   4403:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4404: set dummy $ac_prog; ac_word=$2
1.150     moko     4405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4406: $as_echo_n "checking for $ac_word... " >&6; }
                   4407: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4408:   $as_echo_n "(cached) " >&6
1.62      paf      4409: else
1.66      paf      4410:   if test -n "$ac_ct_CC"; then
                   4411:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4412: else
1.62      paf      4413: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4414: for as_dir in $PATH
                   4415: do
                   4416:   IFS=$as_save_IFS
                   4417:   test -z "$as_dir" && as_dir=.
1.150     moko     4418:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4419:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4420:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4421:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4422:     break 2
                   4423:   fi
                   4424: done
1.150     moko     4425:   done
                   4426: IFS=$as_save_IFS
1.62      paf      4427: 
                   4428: fi
                   4429: fi
1.66      paf      4430: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4431: if test -n "$ac_ct_CC"; then
1.150     moko     4432:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4433: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4434: else
1.150     moko     4435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4436: $as_echo "no" >&6; }
1.1       paf      4437: fi
                   4438: 
1.150     moko     4439: 
1.66      paf      4440:   test -n "$ac_ct_CC" && break
                   4441: done
                   4442: 
1.150     moko     4443:   if test "x$ac_ct_CC" = x; then
                   4444:     CC=""
                   4445:   else
                   4446:     case $cross_compiling:$ac_tool_warned in
                   4447: yes:)
                   4448: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4449: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4450: ac_tool_warned=yes ;;
                   4451: esac
                   4452:     CC=$ac_ct_CC
                   4453:   fi
1.66      paf      4454: fi
                   4455: 
                   4456: fi
1.62      paf      4457: 
1.1       paf      4458: 
1.150     moko     4459: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4460: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4461: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4462: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4463: 
                   4464: # Provide some information about the compiler.
1.150     moko     4465: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4466: set X $ac_compile
                   4467: ac_compiler=$2
                   4468: for ac_option in --version -v -V -qversion; do
                   4469:   { { ac_try="$ac_compiler $ac_option >&5"
                   4470: case "(($ac_try" in
                   4471:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4472:   *) ac_try_echo=$ac_try;;
                   4473: esac
                   4474: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4475: $as_echo "$ac_try_echo"; } >&5
                   4476:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4477:   ac_status=$?
1.150     moko     4478:   if test -s conftest.err; then
                   4479:     sed '10a\
                   4480: ... rest of stderr output deleted ...
                   4481:          10q' conftest.err >conftest.er1
                   4482:     cat conftest.er1 >&5
                   4483:   fi
                   4484:   rm -f conftest.er1 conftest.err
                   4485:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4486:   test $ac_status = 0; }
                   4487: done
                   4488: 
                   4489: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4490: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4491: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4492:   $as_echo_n "(cached) " >&6
1.62      paf      4493: else
1.150     moko     4494:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4495: /* end confdefs.h.  */
                   4496: 
                   4497: int
                   4498: main ()
                   4499: {
                   4500: #ifndef __GNUC__
                   4501:        choke me
                   4502: #endif
                   4503: 
                   4504:   ;
                   4505:   return 0;
                   4506: }
                   4507: _ACEOF
1.150     moko     4508: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4509:   ac_compiler_gnu=yes
                   4510: else
1.150     moko     4511:   ac_compiler_gnu=no
1.62      paf      4512: fi
1.150     moko     4513: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4514: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4515: 
                   4516: fi
1.150     moko     4517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4518: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4519: if test $ac_compiler_gnu = yes; then
                   4520:   GCC=yes
                   4521: else
                   4522:   GCC=
                   4523: fi
1.66      paf      4524: ac_test_CFLAGS=${CFLAGS+set}
                   4525: ac_save_CFLAGS=$CFLAGS
1.150     moko     4526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4527: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4528: if ${ac_cv_prog_cc_g+:} false; then :
                   4529:   $as_echo_n "(cached) " >&6
                   4530: else
                   4531:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4532:    ac_c_werror_flag=yes
                   4533:    ac_cv_prog_cc_g=no
                   4534:    CFLAGS="-g"
                   4535:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4536: /* end confdefs.h.  */
                   4537: 
                   4538: int
                   4539: main ()
                   4540: {
                   4541: 
                   4542:   ;
                   4543:   return 0;
                   4544: }
                   4545: _ACEOF
1.150     moko     4546: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4547:   ac_cv_prog_cc_g=yes
1.62      paf      4548: else
1.150     moko     4549:   CFLAGS=""
                   4550:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4551: /* end confdefs.h.  */
                   4552: 
                   4553: int
                   4554: main ()
                   4555: {
1.62      paf      4556: 
1.150     moko     4557:   ;
                   4558:   return 0;
                   4559: }
                   4560: _ACEOF
                   4561: if ac_fn_c_try_compile "$LINENO"; then :
                   4562: 
                   4563: else
                   4564:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4565:         CFLAGS="-g"
                   4566:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4567: /* end confdefs.h.  */
                   4568: 
                   4569: int
                   4570: main ()
                   4571: {
                   4572: 
                   4573:   ;
                   4574:   return 0;
                   4575: }
                   4576: _ACEOF
                   4577: if ac_fn_c_try_compile "$LINENO"; then :
                   4578:   ac_cv_prog_cc_g=yes
                   4579: fi
                   4580: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4581: fi
1.150     moko     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
                   4585:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4586: fi
                   4587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4588: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4589: if test "$ac_test_CFLAGS" = set; then
                   4590:   CFLAGS=$ac_save_CFLAGS
                   4591: elif test $ac_cv_prog_cc_g = yes; then
                   4592:   if test "$GCC" = yes; then
                   4593:     CFLAGS="-g -O2"
1.1       paf      4594:   else
1.66      paf      4595:     CFLAGS="-g"
1.1       paf      4596:   fi
                   4597: else
1.66      paf      4598:   if test "$GCC" = yes; then
                   4599:     CFLAGS="-O2"
1.1       paf      4600:   else
1.66      paf      4601:     CFLAGS=
1.1       paf      4602:   fi
                   4603: fi
1.150     moko     4604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4605: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4606: if ${ac_cv_prog_cc_c89+:} false; then :
                   4607:   $as_echo_n "(cached) " >&6
1.66      paf      4608: else
1.150     moko     4609:   ac_cv_prog_cc_c89=no
1.66      paf      4610: ac_save_CC=$CC
1.150     moko     4611: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4612: /* end confdefs.h.  */
                   4613: #include <stdarg.h>
                   4614: #include <stdio.h>
1.166     moko     4615: struct stat;
1.66      paf      4616: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4617: struct buf { int x; };
                   4618: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4619: static char *e (p, i)
                   4620:      char **p;
                   4621:      int i;
                   4622: {
                   4623:   return p[i];
                   4624: }
                   4625: static char *f (char * (*g) (char **, int), char **p, ...)
                   4626: {
                   4627:   char *s;
                   4628:   va_list v;
                   4629:   va_start (v,p);
                   4630:   s = g (p, va_arg (v,int));
                   4631:   va_end (v);
                   4632:   return s;
                   4633: }
1.86      paf      4634: 
                   4635: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4636:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4637:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4638:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4639:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4640:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4641:    that's true only with -std.  */
1.86      paf      4642: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4643: 
1.150     moko     4644: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4645:    inside strings and character constants.  */
                   4646: #define FOO(x) 'x'
                   4647: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4648: 
1.66      paf      4649: int test (int i, double x);
                   4650: struct s1 {int (*f) (int a);};
                   4651: struct s2 {int (*f) (double a);};
                   4652: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4653: int argc;
                   4654: char **argv;
                   4655: int
                   4656: main ()
                   4657: {
                   4658: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4659:   ;
                   4660:   return 0;
                   4661: }
                   4662: _ACEOF
1.150     moko     4663: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4664:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4665: do
                   4666:   CC="$ac_save_CC $ac_arg"
1.150     moko     4667:   if ac_fn_c_try_compile "$LINENO"; then :
                   4668:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4669: fi
1.150     moko     4670: rm -f core conftest.err conftest.$ac_objext
                   4671:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4672: done
1.150     moko     4673: rm -f conftest.$ac_ext
1.66      paf      4674: CC=$ac_save_CC
                   4675: 
                   4676: fi
1.150     moko     4677: # AC_CACHE_VAL
                   4678: case "x$ac_cv_prog_cc_c89" in
                   4679:   x)
                   4680:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4681: $as_echo "none needed" >&6; } ;;
                   4682:   xno)
                   4683:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4684: $as_echo "unsupported" >&6; } ;;
1.66      paf      4685:   *)
1.150     moko     4686:     CC="$CC $ac_cv_prog_cc_c89"
                   4687:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4688: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4689: esac
1.150     moko     4690: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4691: 
                   4692: fi
1.66      paf      4693: 
1.62      paf      4694: ac_ext=c
                   4695: ac_cpp='$CPP $CPPFLAGS'
                   4696: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4697: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4698: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4699: 
1.187     moko     4700: ac_ext=c
                   4701: ac_cpp='$CPP $CPPFLAGS'
                   4702: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4703: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4704: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4705: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   4706: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   4707: if ${am_cv_prog_cc_c_o+:} false; then :
                   4708:   $as_echo_n "(cached) " >&6
                   4709: else
                   4710:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4711: /* end confdefs.h.  */
                   4712: 
                   4713: int
                   4714: main ()
                   4715: {
                   4716: 
                   4717:   ;
                   4718:   return 0;
                   4719: }
                   4720: _ACEOF
                   4721:   # Make sure it works both with $CC and with simple cc.
                   4722:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4723:   # compilers refuse to overwrite an existing .o file with -o,
                   4724:   # though they will create one.
                   4725:   am_cv_prog_cc_c_o=yes
                   4726:   for am_i in 1 2; do
                   4727:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4728:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4729:    ac_status=$?
                   4730:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4731:    (exit $ac_status); } \
                   4732:          && test -f conftest2.$ac_objext; then
                   4733:       : OK
                   4734:     else
                   4735:       am_cv_prog_cc_c_o=no
                   4736:       break
                   4737:     fi
                   4738:   done
                   4739:   rm -f core conftest*
                   4740:   unset am_i
                   4741: fi
                   4742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   4743: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   4744: if test "$am_cv_prog_cc_c_o" != yes; then
                   4745:    # Losing compiler, so override with the script.
                   4746:    # FIXME: It is wrong to rewrite CC.
                   4747:    # But if we don't then we get into trouble of one sort or another.
                   4748:    # A longer-term fix would be to have automake use am__CC in this case,
                   4749:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4750:    CC="$am_aux_dir/compile $CC"
                   4751: fi
                   4752: ac_ext=c
                   4753: ac_cpp='$CPP $CPPFLAGS'
                   4754: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4755: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4756: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4757: 
                   4758: 
1.66      paf      4759: depcc="$CC"   am_compiler_list=
1.62      paf      4760: 
1.150     moko     4761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4762: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4763: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4764:   $as_echo_n "(cached) " >&6
1.62      paf      4765: else
                   4766:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4767:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4768:   # making bogus files that we don't know about and never remove.  For
                   4769:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4770:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4771:   # in D".
                   4772:   rm -rf conftest.dir
1.62      paf      4773:   mkdir conftest.dir
                   4774:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4775:   # using a relative directory.
                   4776:   cp "$am_depcomp" conftest.dir
                   4777:   cd conftest.dir
1.86      paf      4778:   # We will build objects and dependencies in a subdirectory because
                   4779:   # it helps to detect inapplicable dependency modes.  For instance
                   4780:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4781:   # side effect of compilation, but ICC will put the dependencies in
                   4782:   # the current directory while Tru64 will put them in the object
                   4783:   # directory.
                   4784:   mkdir sub
1.62      paf      4785: 
1.66      paf      4786:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4787:   if test "$am_compiler_list" = ""; then
                   4788:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4789:   fi
1.150     moko     4790:   am__universal=false
                   4791:   case " $depcc " in #(
                   4792:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4793:      esac
                   4794: 
1.62      paf      4795:   for depmode in $am_compiler_list; do
1.86      paf      4796:     # Setup a source with many dependencies, because some compilers
                   4797:     # like to wrap large dependency lists on column 80 (with \), and
                   4798:     # we should not choose a depcomp mode which is confused by this.
                   4799:     #
1.62      paf      4800:     # We need to recreate these files for each test, as the compiler may
                   4801:     # overwrite some of them when testing with obscure command lines.
                   4802:     # This happens at least with the AIX C compiler.
1.86      paf      4803:     : > sub/conftest.c
                   4804:     for i in 1 2 3 4 5 6; do
                   4805:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4806:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4807:       # Solaris 10 /bin/sh.
                   4808:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4809:     done
                   4810:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4811: 
1.187     moko     4812:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4813:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4814:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4815:     # versions had trouble with output in subdirs.
1.150     moko     4816:     am__obj=sub/conftest.${OBJEXT-o}
                   4817:     am__minus_obj="-o $am__obj"
1.62      paf      4818:     case $depmode in
1.150     moko     4819:     gcc)
                   4820:       # This depmode causes a compiler race in universal mode.
                   4821:       test "$am__universal" = false || continue
                   4822:       ;;
1.62      paf      4823:     nosideeffect)
1.187     moko     4824:       # After this tag, mechanisms are not by side-effect, so they'll
                   4825:       # only be used when explicitly requested.
1.62      paf      4826:       if test "x$enable_dependency_tracking" = xyes; then
                   4827:        continue
                   4828:       else
                   4829:        break
                   4830:       fi
                   4831:       ;;
1.187     moko     4832:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4833:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4834:       # not run yet.  These depmodes are late enough in the game, and
                   4835:       # so weak that their functioning should not be impacted.
                   4836:       am__obj=conftest.${OBJEXT-o}
                   4837:       am__minus_obj=
                   4838:       ;;
1.62      paf      4839:     none) break ;;
                   4840:     esac
1.66      paf      4841:     if depmode=$depmode \
1.150     moko     4842:        source=sub/conftest.c object=$am__obj \
1.86      paf      4843:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4844:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4845:          >/dev/null 2>conftest.err &&
1.150     moko     4846:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4847:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4848:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4849:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4850:       # icc doesn't choke on unknown options, it will just issue warnings
                   4851:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4852:       # that says an option was ignored or not supported.
                   4853:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4854:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4855:       # The diagnosis changed in icc 8.0:
                   4856:       #   icc: Command line remark: option '-MP' not supported
                   4857:       if (grep 'ignoring option' conftest.err ||
                   4858:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4859:         am_cv_CC_dependencies_compiler_type=$depmode
                   4860:         break
                   4861:       fi
1.66      paf      4862:     fi
                   4863:   done
                   4864: 
                   4865:   cd ..
                   4866:   rm -rf conftest.dir
                   4867: else
                   4868:   am_cv_CC_dependencies_compiler_type=none
                   4869: fi
                   4870: 
                   4871: fi
1.150     moko     4872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4873: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4874: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4875: 
1.150     moko     4876:  if
1.66      paf      4877:   test "x$enable_dependency_tracking" != xno \
                   4878:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4879:   am__fastdepCC_TRUE=
                   4880:   am__fastdepCC_FALSE='#'
                   4881: else
                   4882:   am__fastdepCC_TRUE='#'
                   4883:   am__fastdepCC_FALSE=
                   4884: fi
                   4885: 
                   4886: 
1.128     moko     4887: 
1.66      paf      4888: ac_ext=c
                   4889: ac_cpp='$CPP $CPPFLAGS'
                   4890: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4891: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4892: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4893: 
1.67      paf      4894: 
1.62      paf      4895: 
1.150     moko     4896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4897: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4898: case "$host_os" in
1.158     moko     4899:   *cygwin* ) dll_extension=dll;;
                   4900:   * ) dll_extension=so
1.66      paf      4901: esac
1.150     moko     4902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4903: $as_echo "$dll_extension" >&6; }
1.1       paf      4904: 
1.71      paf      4905: 
                   4906: 
                   4907: 
1.150     moko     4908: # Check whether --with-build-warnings was given.
                   4909: if test "${with_build_warnings+set}" = set; then :
                   4910:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4911: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.183     moko     4912:        CXXFLAGS="$CXXFLAGS -Wextra -Wall -Wno-parentheses"
1.71      paf      4913: 
1.150     moko     4914: fi
                   4915: 
1.1       paf      4916: 
                   4917: 
1.182     moko     4918: # Check whether --with-coverage was given.
                   4919: if test "${with_coverage+set}" = set; then :
                   4920:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4921: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4922:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   4923:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   4924:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4925:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4926:        LDFLAGS="$LDFLAGS -lgcov"
                   4927: 
                   4928: fi
                   4929: 
                   4930: 
                   4931: 
                   4932: # Check whether --with-profiler was given.
                   4933: if test "${with_profiler+set}" = set; then :
                   4934:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   4935: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     4936:        CFLAGS="$CFLAGS -O0 -pg -g"
                   4937:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     4938: 
                   4939: fi
                   4940: 
                   4941: 
                   4942: 
1.150     moko     4943: # Check whether --with-assertions was given.
                   4944: if test "${with_assertions+set}" = set; then :
                   4945:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4946: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4947: 
                   4948: else
                   4949: 
1.150     moko     4950: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4951: 
1.67      paf      4952: 
1.150     moko     4953: fi
1.67      paf      4954: 
                   4955: 
1.94      misha    4956: 
1.150     moko     4957: # Check whether --with-sjlj-exceptions was given.
                   4958: if test "${with_sjlj_exceptions+set}" = set; then :
                   4959:   withval=$with_sjlj_exceptions;
                   4960: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4961: 
                   4962: 
1.150     moko     4963: fi
1.128     moko     4964: 
                   4965: 
1.62      paf      4966: 
1.201     moko     4967: 
1.203     moko     4968: # Check whether --with-system-cfg was given.
                   4969: if test "${with_system_cfg+set}" = set; then :
                   4970:   withval=$with_system_cfg;
                   4971: cat >>confdefs.h <<_ACEOF
                   4972: #define SYSTEM_CONFIG_FILE "$withval"
                   4973: _ACEOF
1.201     moko     4974: 
                   4975: 
                   4976: fi
                   4977: 
                   4978: 
                   4979: 
1.150     moko     4980: # Check whether --enable-safe-mode was given.
                   4981: if test "${enable_safe_mode+set}" = set; then :
                   4982:   enableval=$enable_safe_mode;
1.67      paf      4983:        SAFE_MODE=$enableval
1.60      paf      4984: 
1.1       paf      4985: 
1.150     moko     4986: fi
                   4987: 
1.128     moko     4988: 
1.60      paf      4989: if test "$SAFE_MODE" = "no"; then
1.150     moko     4990:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4991: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4992: else
1.62      paf      4993: 
1.150     moko     4994: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4995: 
                   4996: fi
                   4997: 
1.94      misha    4998: 
1.150     moko     4999: # Check whether --enable-execs was given.
                   5000: if test "${enable_execs+set}" = set; then :
                   5001:   enableval=$enable_execs;
1.13      paf      5002: if test "$enableval" = "no"; then
1.150     moko     5003:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   5004: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      5005: 
1.150     moko     5006: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      5007: 
                   5008: fi
                   5009: 
                   5010: 
1.150     moko     5011: fi
1.13      paf      5012: 
1.60      paf      5013: 
1.94      misha    5014: 
1.150     moko     5015: # Check whether --enable-stringstream was given.
                   5016: if test "${enable_stringstream+set}" = set; then :
                   5017:   enableval=$enable_stringstream;
1.94      misha    5018: if test "$enableval" = "no"; then
1.150     moko     5019:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   5020: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    5021: 
1.150     moko     5022: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    5023: 
                   5024: fi
                   5025: 
                   5026: 
1.150     moko     5027: fi
1.94      misha    5028: 
                   5029: 
1.62      paf      5030: 
1.17      paf      5031: 
1.150     moko     5032: # Check whether --with-gc was given.
                   5033: if test "${with_gc+set}" = set; then :
                   5034:   withval=$with_gc;
1.17      paf      5035: 
1.142     moko     5036:        GC=$withval
                   5037:        GC_LIBS="$GC/libgc.la"
                   5038: 
                   5039:        if test -f $GC_LIBS; then
                   5040:                GC_OK="yes"
                   5041:        else
                   5042:                GC_LIBS="-L$GC -lgc"
                   5043:        fi
1.62      paf      5044: 
1.151     moko     5045:        if test "$GC" = "yes"; then
                   5046:                GC=""
                   5047:                GC_LIBS="-lgc"
                   5048:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   5049: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   5050:        fi
                   5051: 
1.142     moko     5052: else
1.17      paf      5053: 
1.142     moko     5054:        GC_LIBS="-lgc"
1.150     moko     5055:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   5056: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   5057: 
                   5058: fi
1.17      paf      5059: 
                   5060: 
1.142     moko     5061: if test -z "$GC_OK"; then
1.150     moko     5062:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   5063: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     5064:        SAVE_LIBS=$LIBS
                   5065:        LIBS="$LIBS $GC_LIBS"
1.128     moko     5066: 
1.150     moko     5067: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      5068: /* end confdefs.h.  */
1.142     moko     5069:  extern int GC_dont_gc;
1.67      paf      5070: int
                   5071: main ()
                   5072: {
1.142     moko     5073:  GC_dont_gc=0;
1.67      paf      5074:   ;
                   5075:   return 0;
                   5076: }
                   5077: _ACEOF
1.150     moko     5078: if ac_fn_c_try_link "$LINENO"; then :
                   5079:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5080: $as_echo "yes" >&6; }
1.67      paf      5081: 
                   5082: else
1.150     moko     5083:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5084: $as_echo "no" >&6; }
1.142     moko     5085:                if test -z "$GC"; then
1.201     moko     5086:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     5087:                else
1.150     moko     5088:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     5089:                fi
1.67      paf      5090: 
                   5091: fi
1.150     moko     5092: rm -f core conftest.err conftest.$ac_objext \
                   5093:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     5094:        LIBS=$SAVE_LIBS
                   5095: fi
1.67      paf      5096: 
                   5097: 
1.1       paf      5098: 
1.15      paf      5099: 
1.142     moko     5100: 
1.150     moko     5101: # Check whether --with-pcre was given.
                   5102: if test "${with_pcre+set}" = set; then :
                   5103:   withval=$with_pcre;
1.100     misha    5104:        PCRE=$withval
1.142     moko     5105:        PCRE_INCLUDES="-I$PCRE/include"
                   5106:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    5107: 
1.142     moko     5108:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   5109:                PCRE_OK="yes"
                   5110:        else
1.191     moko     5111:                PCRE_LIBS="-L$PCRE/lib -lpcre"
1.100     misha    5112:        fi
                   5113: 
1.151     moko     5114:        if test "$PCRE" = "yes"; then
                   5115:                PCRE=""
                   5116:                PCRE_LIBS="-lpcre"
                   5117:                PCRE_INCLUDES=""
                   5118:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   5119: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   5120:        fi
1.142     moko     5121: 
                   5122: else
                   5123: 
                   5124:        PCRE_LIBS="-lpcre"
1.149     moko     5125:        PCRE_INCLUDES=""
1.150     moko     5126:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   5127: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   5128: 
                   5129: fi
1.100     misha    5130: 
                   5131: 
1.142     moko     5132: if test -z "$PCRE_OK"; then
1.150     moko     5133:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   5134: $as_echo_n "checking for prce... " >&6; }
1.142     moko     5135:        SAVE_LIBS=$LIBS
                   5136:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     5137:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5138: /* end confdefs.h.  */
                   5139:  #include <pcre.h>
                   5140: int
                   5141: main ()
                   5142: {
                   5143:  const char *v=pcre_version();
                   5144:   ;
                   5145:   return 0;
                   5146: }
                   5147: _ACEOF
1.150     moko     5148: if ac_fn_c_try_link "$LINENO"; then :
                   5149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5150: $as_echo "yes" >&6; }
1.142     moko     5151: 
                   5152: else
1.150     moko     5153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5154: $as_echo "no" >&6; }
1.142     moko     5155:                if test -z "$PCRE"; then
1.201     moko     5156:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     5157:                else
1.150     moko     5158:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     5159:                fi
                   5160: 
                   5161: fi
1.150     moko     5162: rm -f core conftest.err conftest.$ac_objext \
                   5163:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5164:        LIBS=$SAVE_LIBS
                   5165: fi
1.100     misha    5166: 
                   5167: 
                   5168: 
                   5169: 
1.66      paf      5170: 
                   5171: 
1.150     moko     5172: # Check whether --with-xml was given.
                   5173: if test "${with_xml+set}" = set; then :
                   5174:   withval=$with_xml;
1.66      paf      5175: 
1.142     moko     5176:        XML=$withval
                   5177:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   5178: 
                   5179:        if test -z "$XML" -o "$XML" = "yes"; then
                   5180:                XML=""
                   5181:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     5182:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   5183: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     5184:        else
                   5185:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     5186:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      5187: 
1.142     moko     5188:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   5189:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   5190:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   5191:                        XML_OK="yes"
                   5192:                fi
1.67      paf      5193:        fi
1.66      paf      5194: 
1.142     moko     5195:        if test -z "$XML_OK"; then
1.150     moko     5196:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   5197: $as_echo_n "checking for xml... " >&6; }
1.142     moko     5198:                SAVE_LIBS=$LIBS
                   5199:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     5200:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5201: /* end confdefs.h.  */
                   5202:  #include <libxslt/xslt.h>
                   5203: int
                   5204: main ()
                   5205: {
                   5206:  const char *v=xsltEngineVersion;
                   5207:   ;
                   5208:   return 0;
                   5209: }
                   5210: _ACEOF
1.150     moko     5211: if ac_fn_c_try_link "$LINENO"; then :
                   5212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5213: $as_echo "yes" >&6; }
1.142     moko     5214: 
                   5215: else
1.150     moko     5216:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5217: $as_echo "no" >&6; }
1.142     moko     5218:                        if test -z "$XML"; then
1.201     moko     5219:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     5220:                        else
1.150     moko     5221:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5222:                        fi
                   5223: 
                   5224: fi
1.150     moko     5225: rm -f core conftest.err conftest.$ac_objext \
                   5226:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     5227:                LIBS=$SAVE_LIBS
1.67      paf      5228:        fi
1.66      paf      5229: 
1.150     moko     5230: $as_echo "#define XML /**/" >>confdefs.h
                   5231: 
1.66      paf      5232: 
1.150     moko     5233: fi
1.66      paf      5234: 
1.90      paf      5235: 
1.66      paf      5236: 
                   5237: 
                   5238: 
                   5239: 
1.90      paf      5240: 
1.154     moko     5241: # Check whether --with-mailreceive was given.
                   5242: if test "${with_mailreceive+set}" = set; then :
                   5243:   withval=$with_mailreceive;
                   5244:        MIME=$withval
1.155     moko     5245:        GLIB="glib-2.0"
1.154     moko     5246:        GMIME="gmime-2.4"
                   5247: 
                   5248:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5249:                MIME=""
                   5250:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5251:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     5252:                if test -z "$MIME_LIBS"; then
                   5253:                        GMIME="gmime-3.0"
                   5254:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5255:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5256:                fi
1.154     moko     5257:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5258: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5259:        else
1.155     moko     5260:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5261:                MIME_LIBS="-l$GMIME"
                   5262:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5263:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5264:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5265:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5266:                        else
                   5267:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5268:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5269:                        fi
1.154     moko     5270:                        MIME_OK="yes"
                   5271:                fi
1.67      paf      5272:        fi
1.66      paf      5273: 
1.154     moko     5274:        if test -z "$MIME_OK"; then
                   5275:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5276: $as_echo_n "checking for mime... " >&6; }
                   5277:                SAVE_LIBS=$LIBS
                   5278:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   5279:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5280: /* end confdefs.h.  */
                   5281:  #include <gmime/gmime.h>
                   5282: int
                   5283: main ()
                   5284: {
                   5285:  guint v=gmime_major_version;
                   5286:   ;
                   5287:   return 0;
                   5288: }
                   5289: _ACEOF
                   5290: if ac_fn_c_try_link "$LINENO"; then :
                   5291:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5292: $as_echo "yes" >&6; }
1.66      paf      5293: 
1.154     moko     5294: else
                   5295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5296: $as_echo "no" >&6; }
                   5297:                        if test -z "$MIME"; then
1.201     moko     5298:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     5299:                        else
                   5300:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5301:                        fi
1.66      paf      5302: 
1.150     moko     5303: fi
1.154     moko     5304: rm -f core conftest.err conftest.$ac_objext \
                   5305:     conftest$ac_exeext conftest.$ac_ext
                   5306:                LIBS=$SAVE_LIBS
1.67      paf      5307:        fi
1.66      paf      5308: 
1.150     moko     5309: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5310: 
                   5311: 
1.154     moko     5312: fi
1.66      paf      5313: 
                   5314: 
                   5315: 
                   5316: 
                   5317: 
                   5318: 
                   5319: 
1.150     moko     5320: # Check whether --with-sendmail was given.
                   5321: if test "${with_sendmail+set}" = set; then :
                   5322:   withval=$with_sendmail;
1.66      paf      5323: cat >>confdefs.h <<_ACEOF
                   5324: #define PA_FORCED_SENDMAIL "$withval"
                   5325: _ACEOF
                   5326: 
                   5327: 
1.150     moko     5328: fi
1.66      paf      5329: 
                   5330: 
                   5331: 
1.122     moko     5332: 
1.150     moko     5333: # Check whether --with-apache was given.
                   5334: if test "${with_apache+set}" = set; then :
                   5335:   withval=$with_apache;
1.122     moko     5336:        APXS=$withval
                   5337: 
                   5338:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5339:                APXS=`which apxs 2>/dev/null`
1.142     moko     5340:                if test -z "$APXS"; then
                   5341:                        APXS=`which apxs2 2>/dev/null`
                   5342:                fi
                   5343:        fi
1.122     moko     5344: 
                   5345:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5346: 
                   5347:        if test -z "$APACHE"; then
1.150     moko     5348:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5349:        fi
1.7       paf      5350: 
1.122     moko     5351:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5352:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5353:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5354:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5355: 
1.150     moko     5356: fi
1.7       paf      5357: 
                   5358: 
1.62      paf      5359: 
1.122     moko     5360: 
1.150     moko     5361:  if test -n "$APACHE"; then
1.122     moko     5362:   COMPILE_APACHE_MODULE_TRUE=
                   5363:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5364: else
1.122     moko     5365:   COMPILE_APACHE_MODULE_TRUE='#'
                   5366:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5367: fi
1.1       paf      5368: 
                   5369: 
                   5370: 
1.62      paf      5371: 
                   5372: 
1.7       paf      5373: 
1.1       paf      5374: 
                   5375: 
                   5376: 
1.62      paf      5377: 
1.128     moko     5378: case `pwd` in
                   5379:   *\ * | *\    *)
1.150     moko     5380:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5381: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5382: esac
                   5383: 
                   5384: 
                   5385: 
                   5386: macro_version='2.4.2'
                   5387: macro_revision='1.3337'
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: 
                   5397: 
                   5398: 
                   5399: 
                   5400: 
                   5401: ltmain="$ac_aux_dir/ltmain.sh"
                   5402: 
                   5403: # Backslashify metacharacters that are still active within
                   5404: # double-quoted strings.
                   5405: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5406: 
1.128     moko     5407: # Same as above, but do not quote variable references.
                   5408: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5409: 
1.128     moko     5410: # Sed substitution to delay expansion of an escaped shell variable in a
                   5411: # double_quote_subst'ed string.
                   5412: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5413: 
1.128     moko     5414: # Sed substitution to delay expansion of an escaped single quote.
                   5415: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5416: 
1.128     moko     5417: # Sed substitution to avoid accidental globbing in evaled expressions
                   5418: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5419: 
1.128     moko     5420: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5421: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5422: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5423: 
1.150     moko     5424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5425: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5426: # Test print first, because it will be a builtin if present.
                   5427: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5428:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5429:   ECHO='print -r --'
                   5430: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5431:   ECHO='printf %s\n'
                   5432: else
                   5433:   # Use this function as a fallback that always works.
                   5434:   func_fallback_echo ()
                   5435:   {
                   5436:     eval 'cat <<_LTECHO_EOF
                   5437: $1
                   5438: _LTECHO_EOF'
                   5439:   }
                   5440:   ECHO='func_fallback_echo'
                   5441: fi
1.86      paf      5442: 
1.128     moko     5443: # func_echo_all arg...
                   5444: # Invoke $ECHO with all args, space-separated.
                   5445: func_echo_all ()
1.66      paf      5446: {
1.128     moko     5447:     $ECHO ""
1.66      paf      5448: }
1.10      paf      5449: 
1.128     moko     5450: case "$ECHO" in
1.150     moko     5451:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5452: $as_echo "printf" >&6; } ;;
                   5453:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5454: $as_echo "print -r" >&6; } ;;
                   5455:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5456: $as_echo "cat" >&6; } ;;
1.128     moko     5457: esac
                   5458: 
                   5459: 
                   5460: 
                   5461: 
                   5462: 
                   5463: 
                   5464: 
                   5465: 
                   5466: 
                   5467: 
                   5468: 
                   5469: 
                   5470: 
                   5471: 
1.150     moko     5472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5473: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5474: if ${ac_cv_path_SED+:} false; then :
                   5475:   $as_echo_n "(cached) " >&6
                   5476: else
                   5477:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5478:      for ac_i in 1 2 3 4 5 6 7; do
                   5479:        ac_script="$ac_script$as_nl$ac_script"
                   5480:      done
                   5481:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5482:      { ac_script=; unset ac_script;}
                   5483:      if test -z "$SED"; then
                   5484:   ac_path_SED_found=false
                   5485:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5486:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5487: for as_dir in $PATH
                   5488: do
                   5489:   IFS=$as_save_IFS
                   5490:   test -z "$as_dir" && as_dir=.
1.150     moko     5491:     for ac_prog in sed gsed; do
1.128     moko     5492:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5493:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5494:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5495: # Check for GNU ac_path_SED and select it if it is found.
                   5496:   # Check for GNU $ac_path_SED
                   5497: case `"$ac_path_SED" --version 2>&1` in
                   5498: *GNU*)
                   5499:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5500: *)
                   5501:   ac_count=0
                   5502:   $as_echo_n 0123456789 >"conftest.in"
                   5503:   while :
                   5504:   do
                   5505:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5506:     mv "conftest.tmp" "conftest.in"
                   5507:     cp "conftest.in" "conftest.nl"
                   5508:     $as_echo '' >> "conftest.nl"
                   5509:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5510:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5511:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5512:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5513:       # Best one so far, save it but keep looking for a better one
                   5514:       ac_cv_path_SED="$ac_path_SED"
                   5515:       ac_path_SED_max=$ac_count
                   5516:     fi
                   5517:     # 10*(2^10) chars as input seems more than enough
                   5518:     test $ac_count -gt 10 && break
                   5519:   done
                   5520:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5521: esac
                   5522: 
                   5523:       $ac_path_SED_found && break 3
1.128     moko     5524:     done
                   5525:   done
1.150     moko     5526:   done
1.128     moko     5527: IFS=$as_save_IFS
1.150     moko     5528:   if test -z "$ac_cv_path_SED"; then
                   5529:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5530:   fi
1.150     moko     5531: else
                   5532:   ac_cv_path_SED=$SED
                   5533: fi
1.10      paf      5534: 
1.66      paf      5535: fi
1.150     moko     5536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5537: $as_echo "$ac_cv_path_SED" >&6; }
                   5538:  SED="$ac_cv_path_SED"
                   5539:   rm -f conftest.sed
1.128     moko     5540: 
                   5541: test -z "$SED" && SED=sed
                   5542: Xsed="$SED -e 1s/^X//"
1.10      paf      5543: 
1.128     moko     5544: 
                   5545: 
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
1.150     moko     5554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5555: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5556: if ${ac_cv_path_GREP+:} false; then :
                   5557:   $as_echo_n "(cached) " >&6
                   5558: else
                   5559:   if test -z "$GREP"; then
                   5560:   ac_path_GREP_found=false
                   5561:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5562:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5563: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5564: do
                   5565:   IFS=$as_save_IFS
                   5566:   test -z "$as_dir" && as_dir=.
                   5567:     for ac_prog in grep ggrep; do
                   5568:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5569:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5570:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5571: # Check for GNU ac_path_GREP and select it if it is found.
                   5572:   # Check for GNU $ac_path_GREP
                   5573: case `"$ac_path_GREP" --version 2>&1` in
                   5574: *GNU*)
                   5575:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5576: *)
                   5577:   ac_count=0
                   5578:   $as_echo_n 0123456789 >"conftest.in"
                   5579:   while :
                   5580:   do
                   5581:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5582:     mv "conftest.tmp" "conftest.in"
                   5583:     cp "conftest.in" "conftest.nl"
                   5584:     $as_echo 'GREP' >> "conftest.nl"
                   5585:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5586:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5587:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5588:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5589:       # Best one so far, save it but keep looking for a better one
                   5590:       ac_cv_path_GREP="$ac_path_GREP"
                   5591:       ac_path_GREP_max=$ac_count
1.128     moko     5592:     fi
1.150     moko     5593:     # 10*(2^10) chars as input seems more than enough
                   5594:     test $ac_count -gt 10 && break
                   5595:   done
                   5596:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5597: esac
                   5598: 
                   5599:       $ac_path_GREP_found && break 3
                   5600:     done
                   5601:   done
                   5602:   done
                   5603: IFS=$as_save_IFS
                   5604:   if test -z "$ac_cv_path_GREP"; then
                   5605:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5606:   fi
                   5607: else
                   5608:   ac_cv_path_GREP=$GREP
                   5609: fi
                   5610: 
1.128     moko     5611: fi
1.150     moko     5612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5613: $as_echo "$ac_cv_path_GREP" >&6; }
                   5614:  GREP="$ac_cv_path_GREP"
                   5615: 
                   5616: 
                   5617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5618: $as_echo_n "checking for egrep... " >&6; }
                   5619: if ${ac_cv_path_EGREP+:} false; then :
                   5620:   $as_echo_n "(cached) " >&6
                   5621: else
                   5622:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5623:    then ac_cv_path_EGREP="$GREP -E"
                   5624:    else
                   5625:      if test -z "$EGREP"; then
                   5626:   ac_path_EGREP_found=false
                   5627:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5628:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5629: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5630: do
                   5631:   IFS=$as_save_IFS
                   5632:   test -z "$as_dir" && as_dir=.
                   5633:     for ac_prog in egrep; do
                   5634:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5635:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5636:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5637: # Check for GNU ac_path_EGREP and select it if it is found.
                   5638:   # Check for GNU $ac_path_EGREP
                   5639: case `"$ac_path_EGREP" --version 2>&1` in
                   5640: *GNU*)
                   5641:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5642: *)
                   5643:   ac_count=0
                   5644:   $as_echo_n 0123456789 >"conftest.in"
                   5645:   while :
                   5646:   do
                   5647:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5648:     mv "conftest.tmp" "conftest.in"
                   5649:     cp "conftest.in" "conftest.nl"
                   5650:     $as_echo 'EGREP' >> "conftest.nl"
                   5651:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5652:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5653:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5654:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5655:       # Best one so far, save it but keep looking for a better one
                   5656:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5657:       ac_path_EGREP_max=$ac_count
                   5658:     fi
                   5659:     # 10*(2^10) chars as input seems more than enough
                   5660:     test $ac_count -gt 10 && break
                   5661:   done
                   5662:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5663: esac
1.128     moko     5664: 
1.150     moko     5665:       $ac_path_EGREP_found && break 3
                   5666:     done
                   5667:   done
                   5668:   done
                   5669: IFS=$as_save_IFS
                   5670:   if test -z "$ac_cv_path_EGREP"; then
                   5671:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5672:   fi
                   5673: else
                   5674:   ac_cv_path_EGREP=$EGREP
                   5675: fi
1.128     moko     5676: 
1.150     moko     5677:    fi
                   5678: fi
                   5679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5680: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5681:  EGREP="$ac_cv_path_EGREP"
                   5682: 
                   5683: 
                   5684: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5685: $as_echo_n "checking for fgrep... " >&6; }
                   5686: if ${ac_cv_path_FGREP+:} false; then :
                   5687:   $as_echo_n "(cached) " >&6
                   5688: else
                   5689:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5690:    then ac_cv_path_FGREP="$GREP -F"
                   5691:    else
                   5692:      if test -z "$FGREP"; then
                   5693:   ac_path_FGREP_found=false
                   5694:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5695:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5696: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5697: do
                   5698:   IFS=$as_save_IFS
                   5699:   test -z "$as_dir" && as_dir=.
                   5700:     for ac_prog in fgrep; do
                   5701:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5702:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5703:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5704: # Check for GNU ac_path_FGREP and select it if it is found.
                   5705:   # Check for GNU $ac_path_FGREP
                   5706: case `"$ac_path_FGREP" --version 2>&1` in
                   5707: *GNU*)
                   5708:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5709: *)
                   5710:   ac_count=0
                   5711:   $as_echo_n 0123456789 >"conftest.in"
                   5712:   while :
                   5713:   do
                   5714:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5715:     mv "conftest.tmp" "conftest.in"
                   5716:     cp "conftest.in" "conftest.nl"
                   5717:     $as_echo 'FGREP' >> "conftest.nl"
                   5718:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5719:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5720:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5721:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5722:       # Best one so far, save it but keep looking for a better one
                   5723:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5724:       ac_path_FGREP_max=$ac_count
1.128     moko     5725:     fi
1.150     moko     5726:     # 10*(2^10) chars as input seems more than enough
                   5727:     test $ac_count -gt 10 && break
                   5728:   done
                   5729:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5730: esac
                   5731: 
                   5732:       $ac_path_FGREP_found && break 3
                   5733:     done
                   5734:   done
                   5735:   done
                   5736: IFS=$as_save_IFS
                   5737:   if test -z "$ac_cv_path_FGREP"; then
                   5738:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5739:   fi
                   5740: else
                   5741:   ac_cv_path_FGREP=$FGREP
                   5742: fi
                   5743: 
                   5744:    fi
1.128     moko     5745: fi
1.150     moko     5746: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5747: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5748:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5749: 
                   5750: 
                   5751: test -z "$GREP" && GREP=grep
                   5752: 
                   5753: 
                   5754: 
                   5755: 
                   5756: 
                   5757: 
                   5758: 
                   5759: 
                   5760: 
                   5761: 
                   5762: 
                   5763: 
                   5764: 
                   5765: 
                   5766: 
                   5767: 
                   5768: 
                   5769: 
                   5770: 
1.150     moko     5771: # Check whether --with-gnu-ld was given.
                   5772: if test "${with_gnu_ld+set}" = set; then :
                   5773:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5774: else
                   5775:   with_gnu_ld=no
1.150     moko     5776: fi
                   5777: 
1.128     moko     5778: ac_prog=ld
                   5779: if test "$GCC" = yes; then
                   5780:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5781:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5782: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5783:   case $host in
                   5784:   *-*-mingw*)
                   5785:     # gcc leaves a trailing carriage return which upsets mingw
                   5786:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5787:   *)
                   5788:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5789:   esac
                   5790:   case $ac_prog in
                   5791:     # Accept absolute paths.
                   5792:     [\\/]* | ?:[\\/]*)
                   5793:       re_direlt='/[^/][^/]*/\.\./'
                   5794:       # Canonicalize the pathname of ld
                   5795:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5796:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5797:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5798:       done
                   5799:       test -z "$LD" && LD="$ac_prog"
                   5800:       ;;
                   5801:   "")
                   5802:     # If it fails, then pretend we aren't using GCC.
                   5803:     ac_prog=ld
                   5804:     ;;
                   5805:   *)
                   5806:     # If it is relative, then search for the first ld in PATH.
                   5807:     with_gnu_ld=unknown
                   5808:     ;;
                   5809:   esac
                   5810: elif test "$with_gnu_ld" = yes; then
1.150     moko     5811:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5812: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5813: else
1.150     moko     5814:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5815: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5816: fi
1.150     moko     5817: if ${lt_cv_path_LD+:} false; then :
                   5818:   $as_echo_n "(cached) " >&6
1.128     moko     5819: else
                   5820:   if test -z "$LD"; then
                   5821:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5822:   for ac_dir in $PATH; do
                   5823:     IFS="$lt_save_ifs"
                   5824:     test -z "$ac_dir" && ac_dir=.
                   5825:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5826:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5827:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5828:       # but apparently some variants of GNU ld only accept -v.
                   5829:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5830:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5831:       *GNU* | *'with BFD'*)
                   5832:        test "$with_gnu_ld" != no && break
                   5833:        ;;
                   5834:       *)
                   5835:        test "$with_gnu_ld" != yes && break
                   5836:        ;;
                   5837:       esac
                   5838:     fi
                   5839:   done
                   5840:   IFS="$lt_save_ifs"
                   5841: else
                   5842:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5843: fi
                   5844: fi
                   5845: 
                   5846: LD="$lt_cv_path_LD"
                   5847: if test -n "$LD"; then
1.150     moko     5848:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5849: $as_echo "$LD" >&6; }
1.128     moko     5850: else
1.150     moko     5851:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5852: $as_echo "no" >&6; }
1.128     moko     5853: fi
1.150     moko     5854: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5856: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5857: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5858:   $as_echo_n "(cached) " >&6
1.128     moko     5859: else
                   5860:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5861: case `$LD -v 2>&1 </dev/null` in
                   5862: *GNU* | *'with BFD'*)
                   5863:   lt_cv_prog_gnu_ld=yes
                   5864:   ;;
                   5865: *)
                   5866:   lt_cv_prog_gnu_ld=no
                   5867:   ;;
                   5868: esac
                   5869: fi
1.150     moko     5870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5871: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5872: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5873: 
                   5874: 
                   5875: 
                   5876: 
                   5877: 
                   5878: 
                   5879: 
                   5880: 
                   5881: 
1.150     moko     5882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5883: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5884: if ${lt_cv_path_NM+:} false; then :
                   5885:   $as_echo_n "(cached) " >&6
1.128     moko     5886: else
                   5887:   if test -n "$NM"; then
                   5888:   # Let the user override the test.
                   5889:   lt_cv_path_NM="$NM"
                   5890: else
                   5891:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5892:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5893:     lt_nm_to_check="$lt_nm_to_check nm"
                   5894:   fi
                   5895:   for lt_tmp_nm in $lt_nm_to_check; do
                   5896:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5897:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5898:       IFS="$lt_save_ifs"
                   5899:       test -z "$ac_dir" && ac_dir=.
                   5900:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5901:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5902:        # Check to see if the nm accepts a BSD-compat flag.
                   5903:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5904:        #   nm: unknown option "B" ignored
                   5905:        # Tru64's nm complains that /dev/null is an invalid object file
                   5906:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5907:        */dev/null* | *'Invalid file or object type'*)
                   5908:          lt_cv_path_NM="$tmp_nm -B"
                   5909:          break
                   5910:          ;;
                   5911:        *)
                   5912:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5913:          */dev/null*)
                   5914:            lt_cv_path_NM="$tmp_nm -p"
                   5915:            break
                   5916:            ;;
                   5917:          *)
                   5918:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5919:            continue # so that we can try to find one that supports BSD flags
                   5920:            ;;
                   5921:          esac
                   5922:          ;;
                   5923:        esac
                   5924:       fi
                   5925:     done
                   5926:     IFS="$lt_save_ifs"
                   5927:   done
                   5928:   : ${lt_cv_path_NM=no}
                   5929: fi
                   5930: fi
1.150     moko     5931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5932: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5933: if test "$lt_cv_path_NM" != "no"; then
                   5934:   NM="$lt_cv_path_NM"
                   5935: else
                   5936:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5937:   if test -n "$DUMPBIN"; then :
                   5938:     # Let the user override the test.
                   5939:   else
                   5940:     if test -n "$ac_tool_prefix"; then
                   5941:   for ac_prog in dumpbin "link -dump"
                   5942:   do
                   5943:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5944: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5946: $as_echo_n "checking for $ac_word... " >&6; }
                   5947: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5948:   $as_echo_n "(cached) " >&6
1.128     moko     5949: else
                   5950:   if test -n "$DUMPBIN"; then
                   5951:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5952: else
                   5953: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5954: for as_dir in $PATH
                   5955: do
                   5956:   IFS=$as_save_IFS
                   5957:   test -z "$as_dir" && as_dir=.
1.150     moko     5958:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     5959:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     5960:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5961:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5962:     break 2
                   5963:   fi
                   5964: done
1.150     moko     5965:   done
                   5966: IFS=$as_save_IFS
1.128     moko     5967: 
                   5968: fi
                   5969: fi
                   5970: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5971: if test -n "$DUMPBIN"; then
1.150     moko     5972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5973: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5974: else
1.150     moko     5975:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5976: $as_echo "no" >&6; }
1.128     moko     5977: fi
                   5978: 
1.150     moko     5979: 
1.128     moko     5980:     test -n "$DUMPBIN" && break
                   5981:   done
                   5982: fi
                   5983: if test -z "$DUMPBIN"; then
                   5984:   ac_ct_DUMPBIN=$DUMPBIN
                   5985:   for ac_prog in dumpbin "link -dump"
                   5986: do
                   5987:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5988: set dummy $ac_prog; ac_word=$2
1.150     moko     5989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5990: $as_echo_n "checking for $ac_word... " >&6; }
                   5991: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5992:   $as_echo_n "(cached) " >&6
1.128     moko     5993: else
                   5994:   if test -n "$ac_ct_DUMPBIN"; then
                   5995:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5996: else
                   5997: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5998: for as_dir in $PATH
                   5999: do
                   6000:   IFS=$as_save_IFS
                   6001:   test -z "$as_dir" && as_dir=.
1.150     moko     6002:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6003:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6004:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     6005:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6006:     break 2
                   6007:   fi
                   6008: done
1.150     moko     6009:   done
                   6010: IFS=$as_save_IFS
1.128     moko     6011: 
                   6012: fi
                   6013: fi
                   6014: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   6015: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     6016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   6017: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     6018: else
1.150     moko     6019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6020: $as_echo "no" >&6; }
1.128     moko     6021: fi
                   6022: 
1.150     moko     6023: 
1.128     moko     6024:   test -n "$ac_ct_DUMPBIN" && break
                   6025: done
                   6026: 
1.150     moko     6027:   if test "x$ac_ct_DUMPBIN" = x; then
                   6028:     DUMPBIN=":"
                   6029:   else
                   6030:     case $cross_compiling:$ac_tool_warned in
                   6031: yes:)
                   6032: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6033: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6034: ac_tool_warned=yes ;;
                   6035: esac
                   6036:     DUMPBIN=$ac_ct_DUMPBIN
                   6037:   fi
1.128     moko     6038: fi
                   6039: 
                   6040:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   6041:     *COFF*)
                   6042:       DUMPBIN="$DUMPBIN -symbols"
                   6043:       ;;
                   6044:     *)
                   6045:       DUMPBIN=:
                   6046:       ;;
                   6047:     esac
                   6048:   fi
                   6049: 
                   6050:   if test "$DUMPBIN" != ":"; then
                   6051:     NM="$DUMPBIN"
                   6052:   fi
                   6053: fi
                   6054: test -z "$NM" && NM=nm
                   6055: 
                   6056: 
                   6057: 
                   6058: 
                   6059: 
                   6060: 
1.150     moko     6061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   6062: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   6063: if ${lt_cv_nm_interface+:} false; then :
                   6064:   $as_echo_n "(cached) " >&6
1.128     moko     6065: else
                   6066:   lt_cv_nm_interface="BSD nm"
                   6067:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6068:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   6069:   (eval "$ac_compile" 2>conftest.err)
                   6070:   cat conftest.err >&5
                   6071:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   6072:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   6073:   cat conftest.err >&5
                   6074:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   6075:   cat conftest.out >&5
                   6076:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   6077:     lt_cv_nm_interface="MS dumpbin"
                   6078:   fi
                   6079:   rm -f conftest*
                   6080: fi
1.150     moko     6081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   6082: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     6083: 
1.150     moko     6084: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6085: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     6086: LN_S=$as_ln_s
                   6087: if test "$LN_S" = "ln -s"; then
1.150     moko     6088:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6089: $as_echo "yes" >&6; }
1.128     moko     6090: else
1.150     moko     6091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6092: $as_echo "no, using $LN_S" >&6; }
1.128     moko     6093: fi
                   6094: 
                   6095: # find the maximum length of command line arguments
1.150     moko     6096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   6097: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   6098: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   6099:   $as_echo_n "(cached) " >&6
1.128     moko     6100: else
                   6101:     i=0
                   6102:   teststring="ABCD"
                   6103: 
                   6104:   case $build_os in
                   6105:   msdosdjgpp*)
                   6106:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   6107:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   6108:     # during glob expansion).  Even if it were fixed, the result of this
                   6109:     # check would be larger than it should be.
                   6110:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   6111:     ;;
                   6112: 
                   6113:   gnu*)
                   6114:     # Under GNU Hurd, this test is not required because there is
                   6115:     # no limit to the length of command line arguments.
                   6116:     # Libtool will interpret -1 as no limit whatsoever
                   6117:     lt_cv_sys_max_cmd_len=-1;
                   6118:     ;;
                   6119: 
                   6120:   cygwin* | mingw* | cegcc*)
                   6121:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   6122:     # about 5 minutes as the teststring grows exponentially.
                   6123:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   6124:     # you end up with a "frozen" computer, even though with patience
                   6125:     # the test eventually succeeds (with a max line length of 256k).
                   6126:     # Instead, let's just punt: use the minimum linelength reported by
                   6127:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   6128:     lt_cv_sys_max_cmd_len=8192;
                   6129:     ;;
                   6130: 
                   6131:   mint*)
                   6132:     # On MiNT this can take a long time and run out of memory.
                   6133:     lt_cv_sys_max_cmd_len=8192;
                   6134:     ;;
                   6135: 
                   6136:   amigaos*)
                   6137:     # On AmigaOS with pdksh, this test takes hours, literally.
                   6138:     # So we just punt and use a minimum line length of 8192.
                   6139:     lt_cv_sys_max_cmd_len=8192;
                   6140:     ;;
                   6141: 
                   6142:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   6143:     # This has been around since 386BSD, at least.  Likely further.
                   6144:     if test -x /sbin/sysctl; then
                   6145:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   6146:     elif test -x /usr/sbin/sysctl; then
                   6147:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   6148:     else
                   6149:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   6150:     fi
                   6151:     # And add a safety zone
                   6152:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6153:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6154:     ;;
                   6155: 
                   6156:   interix*)
                   6157:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   6158:     lt_cv_sys_max_cmd_len=196608
                   6159:     ;;
                   6160: 
                   6161:   os2*)
                   6162:     # The test takes a long time on OS/2.
                   6163:     lt_cv_sys_max_cmd_len=8192
                   6164:     ;;
                   6165: 
                   6166:   osf*)
                   6167:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   6168:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   6169:     # nice to cause kernel panics so lets avoid the loop below.
                   6170:     # First set a reasonable default.
                   6171:     lt_cv_sys_max_cmd_len=16384
                   6172:     #
                   6173:     if test -x /sbin/sysconfig; then
                   6174:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   6175:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   6176:       esac
                   6177:     fi
                   6178:     ;;
                   6179:   sco3.2v5*)
                   6180:     lt_cv_sys_max_cmd_len=102400
                   6181:     ;;
                   6182:   sysv5* | sco5v6* | sysv4.2uw2*)
                   6183:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   6184:     if test -n "$kargmax"; then
                   6185:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   6186:     else
                   6187:       lt_cv_sys_max_cmd_len=32768
                   6188:     fi
                   6189:     ;;
                   6190:   *)
                   6191:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   6192:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   6193:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6194:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6195:     else
                   6196:       # Make teststring a little bigger before we do anything with it.
                   6197:       # a 1K string should be a reasonable start.
                   6198:       for i in 1 2 3 4 5 6 7 8 ; do
                   6199:         teststring=$teststring$teststring
                   6200:       done
                   6201:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   6202:       # If test is not a shell built-in, we'll probably end up computing a
                   6203:       # maximum length that is only half of the actual maximum length, but
                   6204:       # we can't tell.
                   6205:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6206:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6207:              test $i != 17 # 1/2 MB should be enough
                   6208:       do
                   6209:         i=`expr $i + 1`
                   6210:         teststring=$teststring$teststring
                   6211:       done
                   6212:       # Only check the string length outside the loop.
                   6213:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6214:       teststring=
                   6215:       # Add a significant safety factor because C++ compilers can tack on
                   6216:       # massive amounts of additional arguments before passing them to the
                   6217:       # linker.  It appears as though 1/2 is a usable value.
                   6218:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6219:     fi
                   6220:     ;;
                   6221:   esac
                   6222: 
                   6223: fi
                   6224: 
                   6225: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6227: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6228: else
1.150     moko     6229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6230: $as_echo "none" >&6; }
1.128     moko     6231: fi
                   6232: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6233: 
                   6234: 
                   6235: 
                   6236: 
                   6237: 
                   6238: 
                   6239: : ${CP="cp -f"}
                   6240: : ${MV="mv -f"}
                   6241: : ${RM="rm -f"}
                   6242: 
1.150     moko     6243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6244: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6245: # Try some XSI features
                   6246: xsi_shell=no
                   6247: ( _lt_dummy="a/b/c"
                   6248:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6249:       = c,a/b,b/c, \
                   6250:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6251:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6252:   && xsi_shell=yes
1.150     moko     6253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6254: $as_echo "$xsi_shell" >&6; }
1.128     moko     6255: 
                   6256: 
1.150     moko     6257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6258: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6259: lt_shell_append=no
                   6260: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6261:     >/dev/null 2>&1 \
                   6262:   && lt_shell_append=yes
1.150     moko     6263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6264: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6265: 
                   6266: 
                   6267: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6268:   lt_unset=unset
                   6269: else
                   6270:   lt_unset=false
                   6271: fi
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: 
                   6277: # test EBCDIC or ASCII
                   6278: case `echo X|tr X '\101'` in
                   6279:  A) # ASCII based system
                   6280:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6281:   lt_SP2NL='tr \040 \012'
                   6282:   lt_NL2SP='tr \015\012 \040\040'
                   6283:   ;;
                   6284:  *) # EBCDIC based system
                   6285:   lt_SP2NL='tr \100 \n'
                   6286:   lt_NL2SP='tr \r\n \100\100'
                   6287:   ;;
                   6288: esac
                   6289: 
                   6290: 
                   6291: 
                   6292: 
                   6293: 
                   6294: 
                   6295: 
                   6296: 
                   6297: 
1.150     moko     6298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6299: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6300: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6301:   $as_echo_n "(cached) " >&6
1.128     moko     6302: else
                   6303:   case $host in
                   6304:   *-*-mingw* )
                   6305:     case $build in
                   6306:       *-*-mingw* ) # actually msys
                   6307:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6308:         ;;
                   6309:       *-*-cygwin* )
                   6310:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6311:         ;;
                   6312:       * ) # otherwise, assume *nix
                   6313:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6314:         ;;
                   6315:     esac
                   6316:     ;;
                   6317:   *-*-cygwin* )
                   6318:     case $build in
                   6319:       *-*-mingw* ) # actually msys
                   6320:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6321:         ;;
                   6322:       *-*-cygwin* )
                   6323:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6324:         ;;
                   6325:       * ) # otherwise, assume *nix
                   6326:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6327:         ;;
                   6328:     esac
                   6329:     ;;
                   6330:   * ) # unhandled hosts (and "normal" native builds)
                   6331:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6332:     ;;
                   6333: esac
                   6334: 
                   6335: fi
                   6336: 
                   6337: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6339: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6340: 
                   6341: 
                   6342: 
                   6343: 
                   6344: 
1.150     moko     6345: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6346: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6347: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6348:   $as_echo_n "(cached) " >&6
1.128     moko     6349: else
                   6350:   #assume ordinary cross tools, or native build.
                   6351: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6352: case $host in
                   6353:   *-*-mingw* )
                   6354:     case $build in
                   6355:       *-*-mingw* ) # actually msys
                   6356:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6357:         ;;
                   6358:     esac
                   6359:     ;;
                   6360: esac
                   6361: 
                   6362: fi
                   6363: 
                   6364: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6366: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6367: 
                   6368: 
                   6369: 
                   6370: 
                   6371: 
1.150     moko     6372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6373: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6374: if ${lt_cv_ld_reload_flag+:} false; then :
                   6375:   $as_echo_n "(cached) " >&6
1.128     moko     6376: else
                   6377:   lt_cv_ld_reload_flag='-r'
                   6378: fi
1.150     moko     6379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6380: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6381: reload_flag=$lt_cv_ld_reload_flag
                   6382: case $reload_flag in
                   6383: "" | " "*) ;;
                   6384: *) reload_flag=" $reload_flag" ;;
                   6385: esac
                   6386: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6387: case $host_os in
                   6388:   cygwin* | mingw* | pw32* | cegcc*)
                   6389:     if test "$GCC" != yes; then
                   6390:       reload_cmds=false
                   6391:     fi
                   6392:     ;;
                   6393:   darwin*)
                   6394:     if test "$GCC" = yes; then
                   6395:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6396:     else
                   6397:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6398:     fi
                   6399:     ;;
                   6400: esac
                   6401: 
                   6402: 
                   6403: 
                   6404: 
                   6405: 
                   6406: 
                   6407: 
                   6408: 
                   6409: 
                   6410: if test -n "$ac_tool_prefix"; then
                   6411:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6412: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6413: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6414: $as_echo_n "checking for $ac_word... " >&6; }
                   6415: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6416:   $as_echo_n "(cached) " >&6
1.128     moko     6417: else
                   6418:   if test -n "$OBJDUMP"; then
                   6419:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6420: else
                   6421: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6422: for as_dir in $PATH
                   6423: do
                   6424:   IFS=$as_save_IFS
                   6425:   test -z "$as_dir" && as_dir=.
1.150     moko     6426:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6427:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6428:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6429:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6430:     break 2
                   6431:   fi
                   6432: done
1.150     moko     6433:   done
                   6434: IFS=$as_save_IFS
1.128     moko     6435: 
                   6436: fi
                   6437: fi
                   6438: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6439: if test -n "$OBJDUMP"; then
1.150     moko     6440:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6441: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6442: else
1.150     moko     6443:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6444: $as_echo "no" >&6; }
1.128     moko     6445: fi
                   6446: 
1.150     moko     6447: 
1.128     moko     6448: fi
                   6449: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6450:   ac_ct_OBJDUMP=$OBJDUMP
                   6451:   # Extract the first word of "objdump", so it can be a program name with args.
                   6452: set dummy objdump; ac_word=$2
1.150     moko     6453: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6454: $as_echo_n "checking for $ac_word... " >&6; }
                   6455: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6456:   $as_echo_n "(cached) " >&6
1.128     moko     6457: else
                   6458:   if test -n "$ac_ct_OBJDUMP"; then
                   6459:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6460: else
                   6461: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6462: for as_dir in $PATH
                   6463: do
                   6464:   IFS=$as_save_IFS
                   6465:   test -z "$as_dir" && as_dir=.
1.150     moko     6466:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6467:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6468:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6469:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6470:     break 2
                   6471:   fi
                   6472: done
1.150     moko     6473:   done
                   6474: IFS=$as_save_IFS
1.128     moko     6475: 
                   6476: fi
                   6477: fi
                   6478: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6479: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6481: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6482: else
1.150     moko     6483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6484: $as_echo "no" >&6; }
1.128     moko     6485: fi
                   6486: 
1.150     moko     6487:   if test "x$ac_ct_OBJDUMP" = x; then
                   6488:     OBJDUMP="false"
                   6489:   else
                   6490:     case $cross_compiling:$ac_tool_warned in
                   6491: yes:)
                   6492: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6493: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6494: ac_tool_warned=yes ;;
                   6495: esac
                   6496:     OBJDUMP=$ac_ct_OBJDUMP
                   6497:   fi
1.128     moko     6498: else
                   6499:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6500: fi
                   6501: 
                   6502: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6503: 
                   6504: 
                   6505: 
                   6506: 
                   6507: 
                   6508: 
1.150     moko     6509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6510: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6511: if ${lt_cv_deplibs_check_method+:} false; then :
                   6512:   $as_echo_n "(cached) " >&6
1.128     moko     6513: else
                   6514:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6515: lt_cv_file_magic_test_file=
                   6516: lt_cv_deplibs_check_method='unknown'
                   6517: # Need to set the preceding variable on all platforms that support
                   6518: # interlibrary dependencies.
                   6519: # 'none' -- dependencies not supported.
                   6520: # `unknown' -- same as none, but documents that we really don't know.
                   6521: # 'pass_all' -- all dependencies passed with no checks.
                   6522: # 'test_compile' -- check by making test program.
                   6523: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6524: # which responds to the $file_magic_cmd with a given extended regex.
                   6525: # If you have `file' or equivalent on your system and you're not sure
                   6526: # whether `pass_all' will *always* work, you probably want this one.
                   6527: 
                   6528: case $host_os in
                   6529: aix[4-9]*)
                   6530:   lt_cv_deplibs_check_method=pass_all
                   6531:   ;;
                   6532: 
                   6533: beos*)
                   6534:   lt_cv_deplibs_check_method=pass_all
                   6535:   ;;
                   6536: 
                   6537: bsdi[45]*)
                   6538:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6539:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6540:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6541:   ;;
                   6542: 
                   6543: cygwin*)
                   6544:   # func_win32_libid is a shell function defined in ltmain.sh
                   6545:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6546:   lt_cv_file_magic_cmd='func_win32_libid'
                   6547:   ;;
                   6548: 
                   6549: mingw* | pw32*)
                   6550:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6551:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6552:   # unless we find 'file', for example because we are cross-compiling.
                   6553:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6554:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6555:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6556:     lt_cv_file_magic_cmd='func_win32_libid'
                   6557:   else
                   6558:     # Keep this pattern in sync with the one in func_win32_libid.
                   6559:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6560:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6561:   fi
                   6562:   ;;
                   6563: 
                   6564: cegcc*)
                   6565:   # use the weaker test based on 'objdump'. See mingw*.
                   6566:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6567:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6568:   ;;
                   6569: 
                   6570: darwin* | rhapsody*)
                   6571:   lt_cv_deplibs_check_method=pass_all
                   6572:   ;;
                   6573: 
                   6574: freebsd* | dragonfly*)
                   6575:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6576:     case $host_cpu in
                   6577:     i*86 )
                   6578:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6579:       # Let's accept both of them until this is cleared up.
                   6580:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6581:       lt_cv_file_magic_cmd=/usr/bin/file
                   6582:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6583:       ;;
                   6584:     esac
                   6585:   else
                   6586:     lt_cv_deplibs_check_method=pass_all
                   6587:   fi
                   6588:   ;;
                   6589: 
                   6590: gnu*)
                   6591:   lt_cv_deplibs_check_method=pass_all
                   6592:   ;;
                   6593: 
                   6594: haiku*)
                   6595:   lt_cv_deplibs_check_method=pass_all
                   6596:   ;;
                   6597: 
                   6598: hpux10.20* | hpux11*)
                   6599:   lt_cv_file_magic_cmd=/usr/bin/file
                   6600:   case $host_cpu in
                   6601:   ia64*)
                   6602:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6603:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6604:     ;;
                   6605:   hppa*64*)
                   6606:     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]'
                   6607:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6608:     ;;
                   6609:   *)
                   6610:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6611:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6612:     ;;
                   6613:   esac
                   6614:   ;;
                   6615: 
                   6616: interix[3-9]*)
                   6617:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6618:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6619:   ;;
                   6620: 
                   6621: irix5* | irix6* | nonstopux*)
                   6622:   case $LD in
                   6623:   *-32|*"-32 ") libmagic=32-bit;;
                   6624:   *-n32|*"-n32 ") libmagic=N32;;
                   6625:   *-64|*"-64 ") libmagic=64-bit;;
                   6626:   *) libmagic=never-match;;
                   6627:   esac
                   6628:   lt_cv_deplibs_check_method=pass_all
                   6629:   ;;
                   6630: 
                   6631: # This must be glibc/ELF.
                   6632: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6633:   lt_cv_deplibs_check_method=pass_all
                   6634:   ;;
                   6635: 
                   6636: netbsd*)
                   6637:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6638:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6639:   else
                   6640:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6641:   fi
                   6642:   ;;
                   6643: 
                   6644: newos6*)
                   6645:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6646:   lt_cv_file_magic_cmd=/usr/bin/file
                   6647:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6648:   ;;
                   6649: 
                   6650: *nto* | *qnx*)
                   6651:   lt_cv_deplibs_check_method=pass_all
                   6652:   ;;
                   6653: 
                   6654: openbsd*)
                   6655:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6656:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6657:   else
                   6658:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6659:   fi
                   6660:   ;;
                   6661: 
                   6662: osf3* | osf4* | osf5*)
                   6663:   lt_cv_deplibs_check_method=pass_all
                   6664:   ;;
                   6665: 
                   6666: rdos*)
                   6667:   lt_cv_deplibs_check_method=pass_all
                   6668:   ;;
                   6669: 
                   6670: solaris*)
                   6671:   lt_cv_deplibs_check_method=pass_all
                   6672:   ;;
                   6673: 
                   6674: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6675:   lt_cv_deplibs_check_method=pass_all
                   6676:   ;;
                   6677: 
                   6678: sysv4 | sysv4.3*)
                   6679:   case $host_vendor in
                   6680:   motorola)
                   6681:     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]'
                   6682:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6683:     ;;
                   6684:   ncr)
                   6685:     lt_cv_deplibs_check_method=pass_all
                   6686:     ;;
                   6687:   sequent)
                   6688:     lt_cv_file_magic_cmd='/bin/file'
                   6689:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6690:     ;;
                   6691:   sni)
                   6692:     lt_cv_file_magic_cmd='/bin/file'
                   6693:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6694:     lt_cv_file_magic_test_file=/lib/libc.so
                   6695:     ;;
                   6696:   siemens)
                   6697:     lt_cv_deplibs_check_method=pass_all
                   6698:     ;;
                   6699:   pc)
                   6700:     lt_cv_deplibs_check_method=pass_all
                   6701:     ;;
                   6702:   esac
                   6703:   ;;
                   6704: 
                   6705: tpf*)
                   6706:   lt_cv_deplibs_check_method=pass_all
                   6707:   ;;
                   6708: esac
                   6709: 
                   6710: fi
1.150     moko     6711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6712: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6713: 
                   6714: file_magic_glob=
                   6715: want_nocaseglob=no
                   6716: if test "$build" = "$host"; then
                   6717:   case $host_os in
                   6718:   mingw* | pw32*)
                   6719:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6720:       want_nocaseglob=yes
                   6721:     else
                   6722:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6723:     fi
                   6724:     ;;
                   6725:   esac
                   6726: fi
                   6727: 
                   6728: file_magic_cmd=$lt_cv_file_magic_cmd
                   6729: deplibs_check_method=$lt_cv_deplibs_check_method
                   6730: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6731: 
                   6732: 
                   6733: 
                   6734: 
                   6735: 
                   6736: 
                   6737: 
                   6738: 
                   6739: 
                   6740: 
                   6741: 
                   6742: 
                   6743: 
                   6744: 
                   6745: 
                   6746: 
                   6747: 
                   6748: 
                   6749: 
                   6750: 
                   6751: 
                   6752: 
                   6753: if test -n "$ac_tool_prefix"; then
                   6754:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6755: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6757: $as_echo_n "checking for $ac_word... " >&6; }
                   6758: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6759:   $as_echo_n "(cached) " >&6
1.128     moko     6760: else
                   6761:   if test -n "$DLLTOOL"; then
                   6762:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6763: else
                   6764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6765: for as_dir in $PATH
                   6766: do
                   6767:   IFS=$as_save_IFS
                   6768:   test -z "$as_dir" && as_dir=.
1.150     moko     6769:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6770:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6771:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6772:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6773:     break 2
                   6774:   fi
                   6775: done
1.150     moko     6776:   done
                   6777: IFS=$as_save_IFS
1.128     moko     6778: 
                   6779: fi
                   6780: fi
                   6781: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6782: if test -n "$DLLTOOL"; then
1.150     moko     6783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6784: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6785: else
1.150     moko     6786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6787: $as_echo "no" >&6; }
1.128     moko     6788: fi
                   6789: 
1.150     moko     6790: 
1.128     moko     6791: fi
                   6792: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6793:   ac_ct_DLLTOOL=$DLLTOOL
                   6794:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6795: set dummy dlltool; ac_word=$2
1.150     moko     6796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6797: $as_echo_n "checking for $ac_word... " >&6; }
                   6798: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6799:   $as_echo_n "(cached) " >&6
1.128     moko     6800: else
                   6801:   if test -n "$ac_ct_DLLTOOL"; then
                   6802:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6803: else
                   6804: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6805: for as_dir in $PATH
                   6806: do
                   6807:   IFS=$as_save_IFS
                   6808:   test -z "$as_dir" && as_dir=.
1.150     moko     6809:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6810:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6811:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6812:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6813:     break 2
                   6814:   fi
                   6815: done
1.150     moko     6816:   done
                   6817: IFS=$as_save_IFS
1.128     moko     6818: 
                   6819: fi
                   6820: fi
                   6821: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6822: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6824: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6825: else
1.150     moko     6826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6827: $as_echo "no" >&6; }
1.128     moko     6828: fi
                   6829: 
1.150     moko     6830:   if test "x$ac_ct_DLLTOOL" = x; then
                   6831:     DLLTOOL="false"
                   6832:   else
                   6833:     case $cross_compiling:$ac_tool_warned in
                   6834: yes:)
                   6835: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6836: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6837: ac_tool_warned=yes ;;
                   6838: esac
                   6839:     DLLTOOL=$ac_ct_DLLTOOL
                   6840:   fi
1.128     moko     6841: else
                   6842:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6843: fi
                   6844: 
                   6845: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6846: 
                   6847: 
                   6848: 
                   6849: 
                   6850: 
                   6851: 
                   6852: 
1.150     moko     6853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6854: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6855: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6856:   $as_echo_n "(cached) " >&6
1.128     moko     6857: else
                   6858:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6859: 
                   6860: case $host_os in
                   6861: cygwin* | mingw* | pw32* | cegcc*)
                   6862:   # two different shell functions defined in ltmain.sh
                   6863:   # decide which to use based on capabilities of $DLLTOOL
                   6864:   case `$DLLTOOL --help 2>&1` in
                   6865:   *--identify-strict*)
                   6866:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6867:     ;;
                   6868:   *)
                   6869:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6870:     ;;
                   6871:   esac
                   6872:   ;;
                   6873: *)
                   6874:   # fallback: assume linklib IS sharedlib
                   6875:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6876:   ;;
                   6877: esac
                   6878: 
                   6879: fi
1.150     moko     6880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6881: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6882: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6883: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6884: 
                   6885: 
                   6886: 
                   6887: 
                   6888: 
                   6889: 
                   6890: 
                   6891: if test -n "$ac_tool_prefix"; then
                   6892:   for ac_prog in ar
                   6893:   do
                   6894:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6895: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6897: $as_echo_n "checking for $ac_word... " >&6; }
                   6898: if ${ac_cv_prog_AR+:} false; then :
                   6899:   $as_echo_n "(cached) " >&6
1.128     moko     6900: else
                   6901:   if test -n "$AR"; then
                   6902:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6903: else
                   6904: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6905: for as_dir in $PATH
                   6906: do
                   6907:   IFS=$as_save_IFS
                   6908:   test -z "$as_dir" && as_dir=.
1.150     moko     6909:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6910:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6911:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6912:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6913:     break 2
                   6914:   fi
                   6915: done
1.150     moko     6916:   done
                   6917: IFS=$as_save_IFS
1.128     moko     6918: 
                   6919: fi
                   6920: fi
                   6921: AR=$ac_cv_prog_AR
                   6922: if test -n "$AR"; then
1.150     moko     6923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6924: $as_echo "$AR" >&6; }
1.128     moko     6925: else
1.150     moko     6926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6927: $as_echo "no" >&6; }
1.128     moko     6928: fi
                   6929: 
1.150     moko     6930: 
1.128     moko     6931:     test -n "$AR" && break
                   6932:   done
                   6933: fi
                   6934: if test -z "$AR"; then
                   6935:   ac_ct_AR=$AR
                   6936:   for ac_prog in ar
                   6937: do
                   6938:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6939: set dummy $ac_prog; ac_word=$2
1.150     moko     6940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6941: $as_echo_n "checking for $ac_word... " >&6; }
                   6942: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6943:   $as_echo_n "(cached) " >&6
1.128     moko     6944: else
                   6945:   if test -n "$ac_ct_AR"; then
                   6946:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6947: else
                   6948: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6949: for as_dir in $PATH
                   6950: do
                   6951:   IFS=$as_save_IFS
                   6952:   test -z "$as_dir" && as_dir=.
1.150     moko     6953:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6954:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6955:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6956:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6957:     break 2
                   6958:   fi
                   6959: done
1.150     moko     6960:   done
                   6961: IFS=$as_save_IFS
1.128     moko     6962: 
                   6963: fi
                   6964: fi
                   6965: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6966: if test -n "$ac_ct_AR"; then
1.150     moko     6967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6968: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6969: else
1.150     moko     6970:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6971: $as_echo "no" >&6; }
1.128     moko     6972: fi
                   6973: 
1.150     moko     6974: 
1.128     moko     6975:   test -n "$ac_ct_AR" && break
                   6976: done
                   6977: 
1.150     moko     6978:   if test "x$ac_ct_AR" = x; then
                   6979:     AR="false"
                   6980:   else
                   6981:     case $cross_compiling:$ac_tool_warned in
                   6982: yes:)
                   6983: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6984: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6985: ac_tool_warned=yes ;;
                   6986: esac
                   6987:     AR=$ac_ct_AR
                   6988:   fi
1.128     moko     6989: fi
                   6990: 
                   6991: : ${AR=ar}
                   6992: : ${AR_FLAGS=cru}
                   6993: 
                   6994: 
                   6995: 
                   6996: 
                   6997: 
                   6998: 
                   6999: 
                   7000: 
                   7001: 
                   7002: 
                   7003: 
1.150     moko     7004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   7005: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   7006: if ${lt_cv_ar_at_file+:} false; then :
                   7007:   $as_echo_n "(cached) " >&6
1.128     moko     7008: else
                   7009:   lt_cv_ar_at_file=no
1.150     moko     7010:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7011: /* end confdefs.h.  */
                   7012: 
                   7013: int
                   7014: main ()
                   7015: {
                   7016: 
                   7017:   ;
                   7018:   return 0;
                   7019: }
                   7020: _ACEOF
1.150     moko     7021: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     7022:   echo conftest.$ac_objext > conftest.lst
                   7023:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     7024:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7025:   (eval $lt_ar_try) 2>&5
                   7026:   ac_status=$?
1.150     moko     7027:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7028:   test $ac_status = 0; }
1.128     moko     7029:       if test "$ac_status" -eq 0; then
                   7030:        # Ensure the archiver fails upon bogus file names.
                   7031:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     7032:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7033:   (eval $lt_ar_try) 2>&5
                   7034:   ac_status=$?
1.150     moko     7035:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7036:   test $ac_status = 0; }
1.128     moko     7037:        if test "$ac_status" -ne 0; then
                   7038:           lt_cv_ar_at_file=@
                   7039:         fi
                   7040:       fi
                   7041:       rm -f conftest.* libconftest.a
                   7042: 
                   7043: fi
1.150     moko     7044: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     7045: 
                   7046: fi
1.150     moko     7047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   7048: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     7049: 
                   7050: if test "x$lt_cv_ar_at_file" = xno; then
                   7051:   archiver_list_spec=
                   7052: else
                   7053:   archiver_list_spec=$lt_cv_ar_at_file
                   7054: fi
                   7055: 
                   7056: 
                   7057: 
                   7058: 
                   7059: 
                   7060: 
                   7061: 
                   7062: if test -n "$ac_tool_prefix"; then
                   7063:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   7064: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     7065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7066: $as_echo_n "checking for $ac_word... " >&6; }
                   7067: if ${ac_cv_prog_STRIP+:} false; then :
                   7068:   $as_echo_n "(cached) " >&6
1.128     moko     7069: else
                   7070:   if test -n "$STRIP"; then
                   7071:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   7072: else
                   7073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7074: for as_dir in $PATH
                   7075: do
                   7076:   IFS=$as_save_IFS
                   7077:   test -z "$as_dir" && as_dir=.
1.150     moko     7078:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7079:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7080:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     7081:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7082:     break 2
                   7083:   fi
                   7084: done
1.150     moko     7085:   done
                   7086: IFS=$as_save_IFS
1.128     moko     7087: 
                   7088: fi
                   7089: fi
                   7090: STRIP=$ac_cv_prog_STRIP
                   7091: if test -n "$STRIP"; then
1.150     moko     7092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   7093: $as_echo "$STRIP" >&6; }
1.128     moko     7094: else
1.150     moko     7095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7096: $as_echo "no" >&6; }
1.128     moko     7097: fi
                   7098: 
1.150     moko     7099: 
1.128     moko     7100: fi
                   7101: if test -z "$ac_cv_prog_STRIP"; then
                   7102:   ac_ct_STRIP=$STRIP
                   7103:   # Extract the first word of "strip", so it can be a program name with args.
                   7104: set dummy strip; ac_word=$2
1.150     moko     7105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7106: $as_echo_n "checking for $ac_word... " >&6; }
                   7107: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   7108:   $as_echo_n "(cached) " >&6
1.128     moko     7109: else
                   7110:   if test -n "$ac_ct_STRIP"; then
                   7111:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   7112: else
                   7113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7114: for as_dir in $PATH
                   7115: do
                   7116:   IFS=$as_save_IFS
                   7117:   test -z "$as_dir" && as_dir=.
1.150     moko     7118:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7119:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7120:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     7121:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7122:     break 2
                   7123:   fi
                   7124: done
1.150     moko     7125:   done
                   7126: IFS=$as_save_IFS
1.128     moko     7127: 
                   7128: fi
                   7129: fi
                   7130: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   7131: if test -n "$ac_ct_STRIP"; then
1.150     moko     7132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   7133: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     7134: else
1.150     moko     7135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7136: $as_echo "no" >&6; }
1.128     moko     7137: fi
                   7138: 
1.150     moko     7139:   if test "x$ac_ct_STRIP" = x; then
                   7140:     STRIP=":"
                   7141:   else
                   7142:     case $cross_compiling:$ac_tool_warned in
                   7143: yes:)
                   7144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7145: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7146: ac_tool_warned=yes ;;
                   7147: esac
                   7148:     STRIP=$ac_ct_STRIP
                   7149:   fi
1.128     moko     7150: else
                   7151:   STRIP="$ac_cv_prog_STRIP"
                   7152: fi
                   7153: 
                   7154: test -z "$STRIP" && STRIP=:
                   7155: 
                   7156: 
                   7157: 
                   7158: 
                   7159: 
                   7160: 
                   7161: if test -n "$ac_tool_prefix"; then
                   7162:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   7163: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     7164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7165: $as_echo_n "checking for $ac_word... " >&6; }
                   7166: if ${ac_cv_prog_RANLIB+:} false; then :
                   7167:   $as_echo_n "(cached) " >&6
1.128     moko     7168: else
                   7169:   if test -n "$RANLIB"; then
                   7170:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   7171: else
                   7172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7173: for as_dir in $PATH
                   7174: do
                   7175:   IFS=$as_save_IFS
                   7176:   test -z "$as_dir" && as_dir=.
1.150     moko     7177:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7178:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7179:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     7180:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7181:     break 2
                   7182:   fi
                   7183: done
1.150     moko     7184:   done
                   7185: IFS=$as_save_IFS
1.128     moko     7186: 
                   7187: fi
                   7188: fi
                   7189: RANLIB=$ac_cv_prog_RANLIB
                   7190: if test -n "$RANLIB"; then
1.150     moko     7191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   7192: $as_echo "$RANLIB" >&6; }
1.128     moko     7193: else
1.150     moko     7194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7195: $as_echo "no" >&6; }
1.128     moko     7196: fi
                   7197: 
1.150     moko     7198: 
1.128     moko     7199: fi
                   7200: if test -z "$ac_cv_prog_RANLIB"; then
                   7201:   ac_ct_RANLIB=$RANLIB
                   7202:   # Extract the first word of "ranlib", so it can be a program name with args.
                   7203: set dummy ranlib; ac_word=$2
1.150     moko     7204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7205: $as_echo_n "checking for $ac_word... " >&6; }
                   7206: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7207:   $as_echo_n "(cached) " >&6
1.128     moko     7208: else
                   7209:   if test -n "$ac_ct_RANLIB"; then
                   7210:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7211: else
                   7212: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7213: for as_dir in $PATH
                   7214: do
                   7215:   IFS=$as_save_IFS
                   7216:   test -z "$as_dir" && as_dir=.
1.150     moko     7217:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7218:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7219:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7220:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7221:     break 2
                   7222:   fi
                   7223: done
1.150     moko     7224:   done
                   7225: IFS=$as_save_IFS
1.128     moko     7226: 
                   7227: fi
                   7228: fi
                   7229: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7230: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7232: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7233: else
1.150     moko     7234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7235: $as_echo "no" >&6; }
1.128     moko     7236: fi
                   7237: 
1.150     moko     7238:   if test "x$ac_ct_RANLIB" = x; then
                   7239:     RANLIB=":"
                   7240:   else
                   7241:     case $cross_compiling:$ac_tool_warned in
                   7242: yes:)
                   7243: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7244: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7245: ac_tool_warned=yes ;;
                   7246: esac
                   7247:     RANLIB=$ac_ct_RANLIB
                   7248:   fi
1.128     moko     7249: else
                   7250:   RANLIB="$ac_cv_prog_RANLIB"
                   7251: fi
                   7252: 
                   7253: test -z "$RANLIB" && RANLIB=:
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: # Determine commands to create old-style static archives.
                   7261: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7262: old_postinstall_cmds='chmod 644 $oldlib'
                   7263: old_postuninstall_cmds=
                   7264: 
                   7265: if test -n "$RANLIB"; then
                   7266:   case $host_os in
                   7267:   openbsd*)
                   7268:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7269:     ;;
                   7270:   *)
                   7271:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7272:     ;;
                   7273:   esac
                   7274:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7275: fi
                   7276: 
                   7277: case $host_os in
                   7278:   darwin*)
                   7279:     lock_old_archive_extraction=yes ;;
                   7280:   *)
                   7281:     lock_old_archive_extraction=no ;;
                   7282: esac
                   7283: 
                   7284: 
                   7285: 
                   7286: 
                   7287: 
                   7288: 
                   7289: 
                   7290: 
                   7291: 
                   7292: 
                   7293: 
                   7294: 
                   7295: 
                   7296: 
                   7297: 
                   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: # If no C compiler was specified, use CC.
                   7323: LTCC=${LTCC-"$CC"}
                   7324: 
                   7325: # If no C compiler flags were specified, use CFLAGS.
                   7326: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7327: 
                   7328: # Allow CC to be a program name with arguments.
                   7329: compiler=$CC
                   7330: 
                   7331: 
                   7332: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7334: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7335: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7336:   $as_echo_n "(cached) " >&6
1.128     moko     7337: else
                   7338: 
                   7339: # These are sane defaults that work on at least a few old systems.
                   7340: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7341: 
                   7342: # Character class describing NM global symbol codes.
                   7343: symcode='[BCDEGRST]'
                   7344: 
                   7345: # Regexp to match symbols that can be accessed directly from C.
                   7346: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7347: 
                   7348: # Define system-specific variables.
                   7349: case $host_os in
                   7350: aix*)
                   7351:   symcode='[BCDT]'
                   7352:   ;;
                   7353: cygwin* | mingw* | pw32* | cegcc*)
                   7354:   symcode='[ABCDGISTW]'
                   7355:   ;;
                   7356: hpux*)
                   7357:   if test "$host_cpu" = ia64; then
                   7358:     symcode='[ABCDEGRST]'
                   7359:   fi
                   7360:   ;;
                   7361: irix* | nonstopux*)
                   7362:   symcode='[BCDEGRST]'
                   7363:   ;;
                   7364: osf*)
                   7365:   symcode='[BCDEGQRST]'
                   7366:   ;;
                   7367: solaris*)
                   7368:   symcode='[BDRT]'
                   7369:   ;;
                   7370: sco3.2v5*)
                   7371:   symcode='[DT]'
                   7372:   ;;
                   7373: sysv4.2uw2*)
                   7374:   symcode='[DT]'
                   7375:   ;;
                   7376: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7377:   symcode='[ABDT]'
                   7378:   ;;
                   7379: sysv4)
                   7380:   symcode='[DFNSTU]'
                   7381:   ;;
                   7382: esac
                   7383: 
                   7384: # If we're using GNU nm, then use its standard symbol codes.
                   7385: case `$NM -V 2>&1` in
                   7386: *GNU* | *'with BFD'*)
                   7387:   symcode='[ABCDGIRSTW]' ;;
                   7388: esac
                   7389: 
                   7390: # Transform an extracted symbol line into a proper C declaration.
                   7391: # Some systems (esp. on ia64) link data and code symbols differently,
                   7392: # so use this general approach.
                   7393: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7394: 
                   7395: # Transform an extracted symbol line into symbol name and symbol address
                   7396: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7397: 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'"
                   7398: 
                   7399: # Handle CRLF in mingw tool chain
                   7400: opt_cr=
                   7401: case $build_os in
                   7402: mingw*)
                   7403:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7404:   ;;
                   7405: esac
                   7406: 
                   7407: # Try without a prefix underscore, then with it.
                   7408: for ac_symprfx in "" "_"; do
                   7409: 
                   7410:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7411:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7412: 
                   7413:   # Write the raw and C identifiers.
                   7414:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7415:     # Fake it for dumpbin and say T for any non-static function
                   7416:     # and D for any global variable.
                   7417:     # Also find C++ and __fastcall symbols from MSVC++,
                   7418:     # which start with @ or ?.
                   7419:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7420: "     {last_section=section; section=\$ 3};"\
                   7421: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7422: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7423: "     \$ 0!~/External *\|/{next};"\
                   7424: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7425: "     {if(hide[section]) next};"\
                   7426: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7427: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7428: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7429: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7430: "     ' prfx=^$ac_symprfx"
                   7431:   else
                   7432:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7433:   fi
                   7434:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7435: 
                   7436:   # Check to see that the pipe works correctly.
                   7437:   pipe_works=no
                   7438: 
                   7439:   rm -f conftest*
                   7440:   cat > conftest.$ac_ext <<_LT_EOF
                   7441: #ifdef __cplusplus
                   7442: extern "C" {
                   7443: #endif
                   7444: char nm_test_var;
                   7445: void nm_test_func(void);
                   7446: void nm_test_func(void){}
                   7447: #ifdef __cplusplus
                   7448: }
                   7449: #endif
                   7450: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7451: _LT_EOF
                   7452: 
1.150     moko     7453:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7454:   (eval $ac_compile) 2>&5
                   7455:   ac_status=$?
1.150     moko     7456:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7457:   test $ac_status = 0; }; then
1.128     moko     7458:     # Now try to grab the symbols.
                   7459:     nlist=conftest.nm
1.150     moko     7460:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7461:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7462:   ac_status=$?
1.150     moko     7463:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7464:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7465:       # Try sorting and uniquifying the output.
                   7466:       if sort "$nlist" | uniq > "$nlist"T; then
                   7467:        mv -f "$nlist"T "$nlist"
                   7468:       else
                   7469:        rm -f "$nlist"T
                   7470:       fi
                   7471: 
                   7472:       # Make sure that we snagged all the symbols we need.
                   7473:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7474:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7475:          cat <<_LT_EOF > conftest.$ac_ext
                   7476: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7477: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7478: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7479:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7480: # define LT_DLSYM_CONST
                   7481: #elif defined(__osf__)
                   7482: /* This system does not cope well with relocations in const data.  */
                   7483: # define LT_DLSYM_CONST
                   7484: #else
                   7485: # define LT_DLSYM_CONST const
                   7486: #endif
                   7487: 
                   7488: #ifdef __cplusplus
                   7489: extern "C" {
                   7490: #endif
                   7491: 
                   7492: _LT_EOF
                   7493:          # Now generate the symbol file.
                   7494:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7495: 
                   7496:          cat <<_LT_EOF >> conftest.$ac_ext
                   7497: 
                   7498: /* The mapping between symbol names and symbols.  */
                   7499: LT_DLSYM_CONST struct {
                   7500:   const char *name;
                   7501:   void       *address;
                   7502: }
                   7503: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7504: {
                   7505:   { "@PROGRAM@", (void *) 0 },
                   7506: _LT_EOF
                   7507:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7508:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7509:   {0, (void *) 0}
                   7510: };
                   7511: 
                   7512: /* This works around a problem in FreeBSD linker */
                   7513: #ifdef FREEBSD_WORKAROUND
                   7514: static const void *lt_preloaded_setup() {
                   7515:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7516: }
                   7517: #endif
                   7518: 
                   7519: #ifdef __cplusplus
                   7520: }
                   7521: #endif
                   7522: _LT_EOF
                   7523:          # Now try linking the two files.
                   7524:          mv conftest.$ac_objext conftstm.$ac_objext
                   7525:          lt_globsym_save_LIBS=$LIBS
                   7526:          lt_globsym_save_CFLAGS=$CFLAGS
                   7527:          LIBS="conftstm.$ac_objext"
                   7528:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7529:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7530:   (eval $ac_link) 2>&5
                   7531:   ac_status=$?
1.150     moko     7532:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7533:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7534:            pipe_works=yes
                   7535:          fi
                   7536:          LIBS=$lt_globsym_save_LIBS
                   7537:          CFLAGS=$lt_globsym_save_CFLAGS
                   7538:        else
                   7539:          echo "cannot find nm_test_func in $nlist" >&5
                   7540:        fi
                   7541:       else
                   7542:        echo "cannot find nm_test_var in $nlist" >&5
                   7543:       fi
                   7544:     else
                   7545:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7546:     fi
                   7547:   else
                   7548:     echo "$progname: failed program was:" >&5
                   7549:     cat conftest.$ac_ext >&5
                   7550:   fi
                   7551:   rm -rf conftest* conftst*
                   7552: 
                   7553:   # Do not use the global_symbol_pipe unless it works.
                   7554:   if test "$pipe_works" = yes; then
                   7555:     break
                   7556:   else
                   7557:     lt_cv_sys_global_symbol_pipe=
                   7558:   fi
                   7559: done
                   7560: 
                   7561: fi
                   7562: 
                   7563: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7564:   lt_cv_sys_global_symbol_to_cdecl=
                   7565: fi
                   7566: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7567:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7568: $as_echo "failed" >&6; }
1.128     moko     7569: else
1.150     moko     7570:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7571: $as_echo "ok" >&6; }
1.128     moko     7572: fi
                   7573: 
                   7574: # Response file support.
                   7575: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7576:   nm_file_list_spec='@'
                   7577: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7578:   nm_file_list_spec='@'
                   7579: fi
                   7580: 
                   7581: 
                   7582: 
                   7583: 
                   7584: 
                   7585: 
                   7586: 
                   7587: 
                   7588: 
                   7589: 
                   7590: 
                   7591: 
                   7592: 
                   7593: 
                   7594: 
                   7595: 
                   7596: 
                   7597: 
                   7598: 
                   7599: 
                   7600: 
                   7601: 
                   7602: 
                   7603: 
                   7604: 
                   7605: 
                   7606: 
1.150     moko     7607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7608: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7609: 
1.150     moko     7610: # Check whether --with-sysroot was given.
                   7611: if test "${with_sysroot+set}" = set; then :
                   7612:   withval=$with_sysroot;
1.128     moko     7613: else
                   7614:   with_sysroot=no
1.150     moko     7615: fi
                   7616: 
1.128     moko     7617: 
                   7618: lt_sysroot=
                   7619: case ${with_sysroot} in #(
                   7620:  yes)
                   7621:    if test "$GCC" = yes; then
                   7622:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7623:    fi
                   7624:    ;; #(
                   7625:  /*)
                   7626:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7627:    ;; #(
                   7628:  no|'')
                   7629:    ;; #(
                   7630:  *)
1.150     moko     7631:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7632: $as_echo "${with_sysroot}" >&6; }
                   7633:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7634:    ;;
                   7635: esac
                   7636: 
1.150     moko     7637:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7638: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7639: 
                   7640: 
                   7641: 
                   7642: 
                   7643: 
1.150     moko     7644: # Check whether --enable-libtool-lock was given.
                   7645: if test "${enable_libtool_lock+set}" = set; then :
                   7646:   enableval=$enable_libtool_lock;
                   7647: fi
1.128     moko     7648: 
                   7649: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7650: 
                   7651: # Some flags need to be propagated to the compiler or linker for good
                   7652: # libtool support.
                   7653: case $host in
                   7654: ia64-*-hpux*)
                   7655:   # Find out which ABI we are using.
                   7656:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7657:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7658:   (eval $ac_compile) 2>&5
                   7659:   ac_status=$?
1.150     moko     7660:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7661:   test $ac_status = 0; }; then
1.128     moko     7662:     case `/usr/bin/file conftest.$ac_objext` in
                   7663:       *ELF-32*)
                   7664:        HPUX_IA64_MODE="32"
                   7665:        ;;
                   7666:       *ELF-64*)
                   7667:        HPUX_IA64_MODE="64"
                   7668:        ;;
                   7669:     esac
                   7670:   fi
                   7671:   rm -rf conftest*
                   7672:   ;;
                   7673: *-*-irix6*)
                   7674:   # Find out which ABI we are using.
                   7675:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7676:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7677:   (eval $ac_compile) 2>&5
                   7678:   ac_status=$?
1.150     moko     7679:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7680:   test $ac_status = 0; }; then
1.128     moko     7681:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7682:       case `/usr/bin/file conftest.$ac_objext` in
                   7683:        *32-bit*)
                   7684:          LD="${LD-ld} -melf32bsmip"
                   7685:          ;;
                   7686:        *N32*)
                   7687:          LD="${LD-ld} -melf32bmipn32"
                   7688:          ;;
                   7689:        *64-bit*)
                   7690:          LD="${LD-ld} -melf64bmip"
                   7691:        ;;
                   7692:       esac
                   7693:     else
                   7694:       case `/usr/bin/file conftest.$ac_objext` in
                   7695:        *32-bit*)
                   7696:          LD="${LD-ld} -32"
                   7697:          ;;
                   7698:        *N32*)
                   7699:          LD="${LD-ld} -n32"
                   7700:          ;;
                   7701:        *64-bit*)
                   7702:          LD="${LD-ld} -64"
                   7703:          ;;
                   7704:       esac
                   7705:     fi
                   7706:   fi
                   7707:   rm -rf conftest*
                   7708:   ;;
                   7709: 
                   7710: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7711: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7712:   # Find out which ABI we are using.
                   7713:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7714:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7715:   (eval $ac_compile) 2>&5
                   7716:   ac_status=$?
1.150     moko     7717:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7718:   test $ac_status = 0; }; then
1.128     moko     7719:     case `/usr/bin/file conftest.o` in
                   7720:       *32-bit*)
                   7721:        case $host in
                   7722:          x86_64-*kfreebsd*-gnu)
                   7723:            LD="${LD-ld} -m elf_i386_fbsd"
                   7724:            ;;
                   7725:          x86_64-*linux*)
                   7726:            LD="${LD-ld} -m elf_i386"
                   7727:            ;;
                   7728:          ppc64-*linux*|powerpc64-*linux*)
                   7729:            LD="${LD-ld} -m elf32ppclinux"
                   7730:            ;;
                   7731:          s390x-*linux*)
                   7732:            LD="${LD-ld} -m elf_s390"
                   7733:            ;;
                   7734:          sparc64-*linux*)
                   7735:            LD="${LD-ld} -m elf32_sparc"
                   7736:            ;;
                   7737:        esac
                   7738:        ;;
                   7739:       *64-bit*)
                   7740:        case $host in
                   7741:          x86_64-*kfreebsd*-gnu)
                   7742:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7743:            ;;
                   7744:          x86_64-*linux*)
                   7745:            LD="${LD-ld} -m elf_x86_64"
                   7746:            ;;
                   7747:          ppc*-*linux*|powerpc*-*linux*)
                   7748:            LD="${LD-ld} -m elf64ppc"
                   7749:            ;;
                   7750:          s390*-*linux*|s390*-*tpf*)
                   7751:            LD="${LD-ld} -m elf64_s390"
                   7752:            ;;
                   7753:          sparc*-*linux*)
                   7754:            LD="${LD-ld} -m elf64_sparc"
                   7755:            ;;
                   7756:        esac
                   7757:        ;;
                   7758:     esac
                   7759:   fi
                   7760:   rm -rf conftest*
                   7761:   ;;
                   7762: 
                   7763: *-*-sco3.2v5*)
                   7764:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7765:   SAVE_CFLAGS="$CFLAGS"
                   7766:   CFLAGS="$CFLAGS -belf"
1.150     moko     7767:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7768: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7769: if ${lt_cv_cc_needs_belf+:} false; then :
                   7770:   $as_echo_n "(cached) " >&6
1.128     moko     7771: else
                   7772:   ac_ext=c
                   7773: ac_cpp='$CPP $CPPFLAGS'
                   7774: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7775: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7776: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7777: 
1.150     moko     7778:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7779: /* end confdefs.h.  */
                   7780: 
                   7781: int
                   7782: main ()
                   7783: {
                   7784: 
                   7785:   ;
                   7786:   return 0;
                   7787: }
                   7788: _ACEOF
1.150     moko     7789: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7790:   lt_cv_cc_needs_belf=yes
                   7791: else
1.150     moko     7792:   lt_cv_cc_needs_belf=no
1.128     moko     7793: fi
1.150     moko     7794: rm -f core conftest.err conftest.$ac_objext \
                   7795:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7796:      ac_ext=c
                   7797: ac_cpp='$CPP $CPPFLAGS'
                   7798: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7799: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7800: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7801: 
                   7802: fi
1.150     moko     7803: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7804: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7805:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7806:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7807:     CFLAGS="$SAVE_CFLAGS"
                   7808:   fi
                   7809:   ;;
                   7810: *-*solaris*)
                   7811:   # Find out which ABI we are using.
                   7812:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7813:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7814:   (eval $ac_compile) 2>&5
                   7815:   ac_status=$?
1.150     moko     7816:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7817:   test $ac_status = 0; }; then
1.128     moko     7818:     case `/usr/bin/file conftest.o` in
                   7819:     *64-bit*)
                   7820:       case $lt_cv_prog_gnu_ld in
                   7821:       yes*)
                   7822:         case $host in
                   7823:         i?86-*-solaris*)
                   7824:           LD="${LD-ld} -m elf_x86_64"
                   7825:           ;;
                   7826:         sparc*-*-solaris*)
                   7827:           LD="${LD-ld} -m elf64_sparc"
                   7828:           ;;
                   7829:         esac
                   7830:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7831:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7832:           LD="${LD-ld}_sol2"
                   7833:         fi
                   7834:         ;;
                   7835:       *)
                   7836:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7837:          LD="${LD-ld} -64"
                   7838:        fi
                   7839:        ;;
                   7840:       esac
                   7841:       ;;
                   7842:     esac
                   7843:   fi
                   7844:   rm -rf conftest*
                   7845:   ;;
                   7846: esac
                   7847: 
                   7848: need_locks="$enable_libtool_lock"
                   7849: 
                   7850: if test -n "$ac_tool_prefix"; then
                   7851:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7852: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7854: $as_echo_n "checking for $ac_word... " >&6; }
                   7855: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7856:   $as_echo_n "(cached) " >&6
1.128     moko     7857: else
                   7858:   if test -n "$MANIFEST_TOOL"; then
                   7859:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7860: else
                   7861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7862: for as_dir in $PATH
                   7863: do
                   7864:   IFS=$as_save_IFS
                   7865:   test -z "$as_dir" && as_dir=.
1.150     moko     7866:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7867:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7868:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7869:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7870:     break 2
                   7871:   fi
                   7872: done
1.150     moko     7873:   done
                   7874: IFS=$as_save_IFS
1.128     moko     7875: 
                   7876: fi
                   7877: fi
                   7878: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7879: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7880:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7881: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7882: else
1.150     moko     7883:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7884: $as_echo "no" >&6; }
1.128     moko     7885: fi
                   7886: 
1.150     moko     7887: 
1.128     moko     7888: fi
                   7889: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7890:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7891:   # Extract the first word of "mt", so it can be a program name with args.
                   7892: set dummy mt; ac_word=$2
1.150     moko     7893: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7894: $as_echo_n "checking for $ac_word... " >&6; }
                   7895: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7896:   $as_echo_n "(cached) " >&6
1.128     moko     7897: else
                   7898:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7899:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7900: else
                   7901: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7902: for as_dir in $PATH
                   7903: do
                   7904:   IFS=$as_save_IFS
                   7905:   test -z "$as_dir" && as_dir=.
1.150     moko     7906:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7907:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7908:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7909:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7910:     break 2
                   7911:   fi
                   7912: done
1.150     moko     7913:   done
                   7914: IFS=$as_save_IFS
1.128     moko     7915: 
                   7916: fi
                   7917: fi
                   7918: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7919: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7921: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7922: else
1.150     moko     7923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7924: $as_echo "no" >&6; }
1.128     moko     7925: fi
                   7926: 
1.150     moko     7927:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7928:     MANIFEST_TOOL=":"
                   7929:   else
                   7930:     case $cross_compiling:$ac_tool_warned in
                   7931: yes:)
                   7932: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7933: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7934: ac_tool_warned=yes ;;
                   7935: esac
                   7936:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7937:   fi
1.128     moko     7938: else
                   7939:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7940: fi
                   7941: 
                   7942: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7944: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7945: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7946:   $as_echo_n "(cached) " >&6
1.128     moko     7947: else
                   7948:   lt_cv_path_mainfest_tool=no
                   7949:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7950:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7951:   cat conftest.err >&5
                   7952:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7953:     lt_cv_path_mainfest_tool=yes
                   7954:   fi
                   7955:   rm -f conftest*
                   7956: fi
1.150     moko     7957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7958: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7959: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7960:   MANIFEST_TOOL=:
                   7961: fi
                   7962: 
                   7963: 
                   7964: 
                   7965: 
                   7966: 
                   7967: 
                   7968:   case $host_os in
                   7969:     rhapsody* | darwin*)
                   7970:     if test -n "$ac_tool_prefix"; then
                   7971:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7972: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7973: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7974: $as_echo_n "checking for $ac_word... " >&6; }
                   7975: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7976:   $as_echo_n "(cached) " >&6
1.128     moko     7977: else
                   7978:   if test -n "$DSYMUTIL"; then
                   7979:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7980: else
                   7981: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7982: for as_dir in $PATH
                   7983: do
                   7984:   IFS=$as_save_IFS
                   7985:   test -z "$as_dir" && as_dir=.
1.150     moko     7986:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7987:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7988:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7989:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7990:     break 2
                   7991:   fi
                   7992: done
1.150     moko     7993:   done
                   7994: IFS=$as_save_IFS
1.128     moko     7995: 
                   7996: fi
                   7997: fi
                   7998: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7999: if test -n "$DSYMUTIL"; then
1.150     moko     8000:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   8001: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     8002: else
1.150     moko     8003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8004: $as_echo "no" >&6; }
1.128     moko     8005: fi
                   8006: 
1.150     moko     8007: 
1.128     moko     8008: fi
                   8009: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   8010:   ac_ct_DSYMUTIL=$DSYMUTIL
                   8011:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   8012: set dummy dsymutil; ac_word=$2
1.150     moko     8013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8014: $as_echo_n "checking for $ac_word... " >&6; }
                   8015: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   8016:   $as_echo_n "(cached) " >&6
1.128     moko     8017: else
                   8018:   if test -n "$ac_ct_DSYMUTIL"; then
                   8019:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   8020: else
                   8021: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8022: for as_dir in $PATH
                   8023: do
                   8024:   IFS=$as_save_IFS
                   8025:   test -z "$as_dir" && as_dir=.
1.150     moko     8026:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8027:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8028:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     8029:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8030:     break 2
                   8031:   fi
                   8032: done
1.150     moko     8033:   done
                   8034: IFS=$as_save_IFS
1.128     moko     8035: 
                   8036: fi
                   8037: fi
                   8038: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   8039: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     8040:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   8041: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     8042: else
1.150     moko     8043:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8044: $as_echo "no" >&6; }
1.128     moko     8045: fi
                   8046: 
1.150     moko     8047:   if test "x$ac_ct_DSYMUTIL" = x; then
                   8048:     DSYMUTIL=":"
                   8049:   else
                   8050:     case $cross_compiling:$ac_tool_warned in
                   8051: yes:)
                   8052: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8053: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8054: ac_tool_warned=yes ;;
                   8055: esac
                   8056:     DSYMUTIL=$ac_ct_DSYMUTIL
                   8057:   fi
1.128     moko     8058: else
                   8059:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   8060: fi
                   8061: 
                   8062:     if test -n "$ac_tool_prefix"; then
                   8063:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   8064: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     8065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8066: $as_echo_n "checking for $ac_word... " >&6; }
                   8067: if ${ac_cv_prog_NMEDIT+:} false; then :
                   8068:   $as_echo_n "(cached) " >&6
1.128     moko     8069: else
                   8070:   if test -n "$NMEDIT"; then
                   8071:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   8072: else
                   8073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8074: for as_dir in $PATH
                   8075: do
                   8076:   IFS=$as_save_IFS
                   8077:   test -z "$as_dir" && as_dir=.
1.150     moko     8078:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8079:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8080:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     8081:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8082:     break 2
                   8083:   fi
                   8084: done
1.150     moko     8085:   done
                   8086: IFS=$as_save_IFS
1.128     moko     8087: 
                   8088: fi
                   8089: fi
                   8090: NMEDIT=$ac_cv_prog_NMEDIT
                   8091: if test -n "$NMEDIT"; then
1.150     moko     8092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   8093: $as_echo "$NMEDIT" >&6; }
1.128     moko     8094: else
1.150     moko     8095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8096: $as_echo "no" >&6; }
1.128     moko     8097: fi
                   8098: 
1.150     moko     8099: 
1.128     moko     8100: fi
                   8101: if test -z "$ac_cv_prog_NMEDIT"; then
                   8102:   ac_ct_NMEDIT=$NMEDIT
                   8103:   # Extract the first word of "nmedit", so it can be a program name with args.
                   8104: set dummy nmedit; ac_word=$2
1.150     moko     8105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8106: $as_echo_n "checking for $ac_word... " >&6; }
                   8107: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   8108:   $as_echo_n "(cached) " >&6
1.128     moko     8109: else
                   8110:   if test -n "$ac_ct_NMEDIT"; then
                   8111:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   8112: else
                   8113: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8114: for as_dir in $PATH
                   8115: do
                   8116:   IFS=$as_save_IFS
                   8117:   test -z "$as_dir" && as_dir=.
1.150     moko     8118:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8119:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8120:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     8121:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8122:     break 2
                   8123:   fi
                   8124: done
1.150     moko     8125:   done
                   8126: IFS=$as_save_IFS
1.128     moko     8127: 
                   8128: fi
                   8129: fi
                   8130: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   8131: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     8132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   8133: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     8134: else
1.150     moko     8135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8136: $as_echo "no" >&6; }
1.128     moko     8137: fi
                   8138: 
1.150     moko     8139:   if test "x$ac_ct_NMEDIT" = x; then
                   8140:     NMEDIT=":"
                   8141:   else
                   8142:     case $cross_compiling:$ac_tool_warned in
                   8143: yes:)
                   8144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8145: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8146: ac_tool_warned=yes ;;
                   8147: esac
                   8148:     NMEDIT=$ac_ct_NMEDIT
                   8149:   fi
1.128     moko     8150: else
                   8151:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8152: fi
                   8153: 
                   8154:     if test -n "$ac_tool_prefix"; then
                   8155:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8156: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     8157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8158: $as_echo_n "checking for $ac_word... " >&6; }
                   8159: if ${ac_cv_prog_LIPO+:} false; then :
                   8160:   $as_echo_n "(cached) " >&6
1.128     moko     8161: else
                   8162:   if test -n "$LIPO"; then
                   8163:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8164: else
                   8165: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8166: for as_dir in $PATH
                   8167: do
                   8168:   IFS=$as_save_IFS
                   8169:   test -z "$as_dir" && as_dir=.
1.150     moko     8170:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8171:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8172:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     8173:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8174:     break 2
                   8175:   fi
                   8176: done
1.150     moko     8177:   done
                   8178: IFS=$as_save_IFS
1.128     moko     8179: 
                   8180: fi
                   8181: fi
                   8182: LIPO=$ac_cv_prog_LIPO
                   8183: if test -n "$LIPO"; then
1.150     moko     8184:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   8185: $as_echo "$LIPO" >&6; }
1.128     moko     8186: else
1.150     moko     8187:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8188: $as_echo "no" >&6; }
1.128     moko     8189: fi
                   8190: 
1.150     moko     8191: 
1.128     moko     8192: fi
                   8193: if test -z "$ac_cv_prog_LIPO"; then
                   8194:   ac_ct_LIPO=$LIPO
                   8195:   # Extract the first word of "lipo", so it can be a program name with args.
                   8196: set dummy lipo; ac_word=$2
1.150     moko     8197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8198: $as_echo_n "checking for $ac_word... " >&6; }
                   8199: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   8200:   $as_echo_n "(cached) " >&6
1.128     moko     8201: else
                   8202:   if test -n "$ac_ct_LIPO"; then
                   8203:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8204: else
                   8205: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8206: for as_dir in $PATH
                   8207: do
                   8208:   IFS=$as_save_IFS
                   8209:   test -z "$as_dir" && as_dir=.
1.150     moko     8210:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8211:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8212:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8213:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8214:     break 2
                   8215:   fi
                   8216: done
1.150     moko     8217:   done
                   8218: IFS=$as_save_IFS
1.128     moko     8219: 
                   8220: fi
                   8221: fi
                   8222: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8223: if test -n "$ac_ct_LIPO"; then
1.150     moko     8224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8225: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8226: else
1.150     moko     8227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8228: $as_echo "no" >&6; }
1.128     moko     8229: fi
                   8230: 
1.150     moko     8231:   if test "x$ac_ct_LIPO" = x; then
                   8232:     LIPO=":"
                   8233:   else
                   8234:     case $cross_compiling:$ac_tool_warned in
                   8235: yes:)
                   8236: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8237: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8238: ac_tool_warned=yes ;;
                   8239: esac
                   8240:     LIPO=$ac_ct_LIPO
                   8241:   fi
1.128     moko     8242: else
                   8243:   LIPO="$ac_cv_prog_LIPO"
                   8244: fi
                   8245: 
                   8246:     if test -n "$ac_tool_prefix"; then
                   8247:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8248: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8250: $as_echo_n "checking for $ac_word... " >&6; }
                   8251: if ${ac_cv_prog_OTOOL+:} false; then :
                   8252:   $as_echo_n "(cached) " >&6
1.128     moko     8253: else
                   8254:   if test -n "$OTOOL"; then
                   8255:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8256: else
                   8257: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8258: for as_dir in $PATH
                   8259: do
                   8260:   IFS=$as_save_IFS
                   8261:   test -z "$as_dir" && as_dir=.
1.150     moko     8262:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8263:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8264:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8265:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8266:     break 2
                   8267:   fi
                   8268: done
1.150     moko     8269:   done
                   8270: IFS=$as_save_IFS
1.128     moko     8271: 
                   8272: fi
                   8273: fi
                   8274: OTOOL=$ac_cv_prog_OTOOL
                   8275: if test -n "$OTOOL"; then
1.150     moko     8276:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8277: $as_echo "$OTOOL" >&6; }
1.128     moko     8278: else
1.150     moko     8279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8280: $as_echo "no" >&6; }
1.128     moko     8281: fi
                   8282: 
1.150     moko     8283: 
1.128     moko     8284: fi
                   8285: if test -z "$ac_cv_prog_OTOOL"; then
                   8286:   ac_ct_OTOOL=$OTOOL
                   8287:   # Extract the first word of "otool", so it can be a program name with args.
                   8288: set dummy otool; ac_word=$2
1.150     moko     8289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8290: $as_echo_n "checking for $ac_word... " >&6; }
                   8291: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8292:   $as_echo_n "(cached) " >&6
1.128     moko     8293: else
                   8294:   if test -n "$ac_ct_OTOOL"; then
                   8295:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8296: else
                   8297: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8298: for as_dir in $PATH
                   8299: do
                   8300:   IFS=$as_save_IFS
                   8301:   test -z "$as_dir" && as_dir=.
1.150     moko     8302:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8303:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8304:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8305:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8306:     break 2
                   8307:   fi
                   8308: done
1.150     moko     8309:   done
                   8310: IFS=$as_save_IFS
1.128     moko     8311: 
                   8312: fi
                   8313: fi
                   8314: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8315: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8316:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8317: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8318: else
1.150     moko     8319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8320: $as_echo "no" >&6; }
1.128     moko     8321: fi
                   8322: 
1.150     moko     8323:   if test "x$ac_ct_OTOOL" = x; then
                   8324:     OTOOL=":"
                   8325:   else
                   8326:     case $cross_compiling:$ac_tool_warned in
                   8327: yes:)
                   8328: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8329: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8330: ac_tool_warned=yes ;;
                   8331: esac
                   8332:     OTOOL=$ac_ct_OTOOL
                   8333:   fi
1.128     moko     8334: else
                   8335:   OTOOL="$ac_cv_prog_OTOOL"
                   8336: fi
                   8337: 
                   8338:     if test -n "$ac_tool_prefix"; then
                   8339:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8340: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8342: $as_echo_n "checking for $ac_word... " >&6; }
                   8343: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8344:   $as_echo_n "(cached) " >&6
1.128     moko     8345: else
                   8346:   if test -n "$OTOOL64"; then
                   8347:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8348: else
                   8349: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8350: for as_dir in $PATH
                   8351: do
                   8352:   IFS=$as_save_IFS
                   8353:   test -z "$as_dir" && as_dir=.
1.150     moko     8354:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8355:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8356:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8357:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8358:     break 2
                   8359:   fi
                   8360: done
1.150     moko     8361:   done
                   8362: IFS=$as_save_IFS
1.128     moko     8363: 
                   8364: fi
                   8365: fi
                   8366: OTOOL64=$ac_cv_prog_OTOOL64
                   8367: if test -n "$OTOOL64"; then
1.150     moko     8368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8369: $as_echo "$OTOOL64" >&6; }
1.128     moko     8370: else
1.150     moko     8371:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8372: $as_echo "no" >&6; }
1.128     moko     8373: fi
                   8374: 
1.150     moko     8375: 
1.128     moko     8376: fi
                   8377: if test -z "$ac_cv_prog_OTOOL64"; then
                   8378:   ac_ct_OTOOL64=$OTOOL64
                   8379:   # Extract the first word of "otool64", so it can be a program name with args.
                   8380: set dummy otool64; ac_word=$2
1.150     moko     8381: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8382: $as_echo_n "checking for $ac_word... " >&6; }
                   8383: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8384:   $as_echo_n "(cached) " >&6
1.128     moko     8385: else
                   8386:   if test -n "$ac_ct_OTOOL64"; then
                   8387:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8388: else
                   8389: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8390: for as_dir in $PATH
                   8391: do
                   8392:   IFS=$as_save_IFS
                   8393:   test -z "$as_dir" && as_dir=.
1.150     moko     8394:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8395:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8396:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8397:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8398:     break 2
                   8399:   fi
                   8400: done
1.150     moko     8401:   done
                   8402: IFS=$as_save_IFS
1.128     moko     8403: 
                   8404: fi
                   8405: fi
                   8406: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8407: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8409: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8410: else
1.150     moko     8411:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8412: $as_echo "no" >&6; }
1.128     moko     8413: fi
                   8414: 
1.150     moko     8415:   if test "x$ac_ct_OTOOL64" = x; then
                   8416:     OTOOL64=":"
                   8417:   else
                   8418:     case $cross_compiling:$ac_tool_warned in
                   8419: yes:)
                   8420: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8421: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8422: ac_tool_warned=yes ;;
                   8423: esac
                   8424:     OTOOL64=$ac_ct_OTOOL64
                   8425:   fi
1.128     moko     8426: else
                   8427:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8428: fi
                   8429: 
                   8430: 
                   8431: 
                   8432: 
                   8433: 
                   8434: 
                   8435: 
                   8436: 
                   8437: 
                   8438: 
                   8439: 
                   8440: 
                   8441: 
                   8442: 
                   8443: 
                   8444: 
                   8445: 
                   8446: 
                   8447: 
                   8448: 
                   8449: 
                   8450: 
                   8451: 
                   8452: 
                   8453: 
                   8454: 
                   8455: 
1.150     moko     8456:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8457: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8458: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8459:   $as_echo_n "(cached) " >&6
1.128     moko     8460: else
                   8461:   lt_cv_apple_cc_single_mod=no
                   8462:       if test -z "${LT_MULTI_MODULE}"; then
                   8463:        # By default we will add the -single_module flag. You can override
                   8464:        # by either setting the environment variable LT_MULTI_MODULE
                   8465:        # non-empty at configure time, or by adding -multi_module to the
                   8466:        # link flags.
                   8467:        rm -rf libconftest.dylib*
                   8468:        echo "int foo(void){return 1;}" > conftest.c
                   8469:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8470: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8471:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8472:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8473:         _lt_result=$?
                   8474:        # If there is a non-empty error log, and "single_module"
                   8475:        # appears in it, assume the flag caused a linker warning
                   8476:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8477:          cat conftest.err >&5
                   8478:        # Otherwise, if the output was created with a 0 exit code from
                   8479:        # the compiler, it worked.
                   8480:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8481:          lt_cv_apple_cc_single_mod=yes
                   8482:        else
                   8483:          cat conftest.err >&5
                   8484:        fi
                   8485:        rm -rf libconftest.dylib*
                   8486:        rm -f conftest.*
                   8487:       fi
                   8488: fi
1.150     moko     8489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8490: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8491: 
1.150     moko     8492:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8493: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8494: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8495:   $as_echo_n "(cached) " >&6
1.128     moko     8496: else
                   8497:   lt_cv_ld_exported_symbols_list=no
                   8498:       save_LDFLAGS=$LDFLAGS
                   8499:       echo "_main" > conftest.sym
                   8500:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8501:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8502: /* end confdefs.h.  */
                   8503: 
                   8504: int
                   8505: main ()
                   8506: {
                   8507: 
                   8508:   ;
                   8509:   return 0;
                   8510: }
                   8511: _ACEOF
1.150     moko     8512: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8513:   lt_cv_ld_exported_symbols_list=yes
                   8514: else
1.150     moko     8515:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8516: fi
1.150     moko     8517: rm -f core conftest.err conftest.$ac_objext \
                   8518:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8519:        LDFLAGS="$save_LDFLAGS"
                   8520: 
                   8521: fi
1.150     moko     8522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8523: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8524: 
1.150     moko     8525:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8526: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8527: if ${lt_cv_ld_force_load+:} false; then :
                   8528:   $as_echo_n "(cached) " >&6
1.128     moko     8529: else
                   8530:   lt_cv_ld_force_load=no
                   8531:       cat > conftest.c << _LT_EOF
                   8532: int forced_loaded() { return 2;}
                   8533: _LT_EOF
                   8534:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8535:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8536:       echo "$AR cru libconftest.a conftest.o" >&5
                   8537:       $AR cru libconftest.a conftest.o 2>&5
                   8538:       echo "$RANLIB libconftest.a" >&5
                   8539:       $RANLIB libconftest.a 2>&5
                   8540:       cat > conftest.c << _LT_EOF
                   8541: int main() { return 0;}
                   8542: _LT_EOF
                   8543:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8544:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8545:       _lt_result=$?
                   8546:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8547:        cat conftest.err >&5
                   8548:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8549:        lt_cv_ld_force_load=yes
                   8550:       else
                   8551:        cat conftest.err >&5
                   8552:       fi
                   8553:         rm -f conftest.err libconftest.a conftest conftest.c
                   8554:         rm -rf conftest.dSYM
                   8555: 
                   8556: fi
1.150     moko     8557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8558: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8559:     case $host_os in
                   8560:     rhapsody* | darwin1.[012])
                   8561:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8562:     darwin1.*)
                   8563:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8564:     darwin*) # darwin 5.x on
                   8565:       # if running on 10.5 or later, the deployment target defaults
                   8566:       # to the OS version, if on x86, and 10.4, the deployment
                   8567:       # target defaults to 10.4. Don't you love it?
                   8568:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8569:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8570:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8571:        10.[012]*)
                   8572:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8573:        10.*)
                   8574:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8575:       esac
                   8576:     ;;
                   8577:   esac
                   8578:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8579:       _lt_dar_single_mod='$single_module'
                   8580:     fi
                   8581:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8582:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8583:     else
                   8584:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8585:     fi
                   8586:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8587:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8588:     else
                   8589:       _lt_dsymutil=
                   8590:     fi
                   8591:     ;;
                   8592:   esac
                   8593: 
                   8594: ac_ext=c
                   8595: ac_cpp='$CPP $CPPFLAGS'
                   8596: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8597: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8598: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8600: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8601: # On Suns, sometimes $CPP names a directory.
                   8602: if test -n "$CPP" && test -d "$CPP"; then
                   8603:   CPP=
                   8604: fi
                   8605: if test -z "$CPP"; then
1.150     moko     8606:   if ${ac_cv_prog_CPP+:} false; then :
                   8607:   $as_echo_n "(cached) " >&6
1.128     moko     8608: else
                   8609:       # Double quotes because CPP needs to be expanded
                   8610:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8611:     do
                   8612:       ac_preproc_ok=false
                   8613: for ac_c_preproc_warn_flag in '' yes
                   8614: do
                   8615:   # Use a header file that comes with gcc, so configuring glibc
                   8616:   # with a fresh cross-compiler works.
                   8617:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8618:   # <limits.h> exists even on freestanding compilers.
                   8619:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8620:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8621:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8622: /* end confdefs.h.  */
                   8623: #ifdef __STDC__
                   8624: # include <limits.h>
                   8625: #else
                   8626: # include <assert.h>
                   8627: #endif
                   8628:                     Syntax error
                   8629: _ACEOF
1.150     moko     8630: if ac_fn_c_try_cpp "$LINENO"; then :
                   8631: 
1.128     moko     8632: else
                   8633:   # Broken: fails on valid input.
                   8634: continue
                   8635: fi
1.150     moko     8636: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8637: 
1.150     moko     8638:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8639:   # can be detected and how.
1.150     moko     8640:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8641: /* end confdefs.h.  */
                   8642: #include <ac_nonexistent.h>
                   8643: _ACEOF
1.150     moko     8644: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8645:   # Broken: success on invalid input.
                   8646: continue
                   8647: else
                   8648:   # Passes both tests.
                   8649: ac_preproc_ok=:
                   8650: break
                   8651: fi
1.150     moko     8652: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8653: 
                   8654: done
                   8655: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8656: rm -f conftest.i conftest.err conftest.$ac_ext
                   8657: if $ac_preproc_ok; then :
1.128     moko     8658:   break
                   8659: fi
                   8660: 
                   8661:     done
                   8662:     ac_cv_prog_CPP=$CPP
                   8663: 
                   8664: fi
                   8665:   CPP=$ac_cv_prog_CPP
                   8666: else
                   8667:   ac_cv_prog_CPP=$CPP
                   8668: fi
1.150     moko     8669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8670: $as_echo "$CPP" >&6; }
1.128     moko     8671: ac_preproc_ok=false
                   8672: for ac_c_preproc_warn_flag in '' yes
                   8673: do
                   8674:   # Use a header file that comes with gcc, so configuring glibc
                   8675:   # with a fresh cross-compiler works.
                   8676:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8677:   # <limits.h> exists even on freestanding compilers.
                   8678:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8679:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8680:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8681: /* end confdefs.h.  */
                   8682: #ifdef __STDC__
                   8683: # include <limits.h>
                   8684: #else
                   8685: # include <assert.h>
                   8686: #endif
                   8687:                     Syntax error
                   8688: _ACEOF
1.150     moko     8689: if ac_fn_c_try_cpp "$LINENO"; then :
                   8690: 
1.128     moko     8691: else
                   8692:   # Broken: fails on valid input.
                   8693: continue
                   8694: fi
1.150     moko     8695: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8696: 
1.150     moko     8697:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8698:   # can be detected and how.
1.150     moko     8699:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8700: /* end confdefs.h.  */
                   8701: #include <ac_nonexistent.h>
                   8702: _ACEOF
1.150     moko     8703: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8704:   # Broken: success on invalid input.
                   8705: continue
                   8706: else
                   8707:   # Passes both tests.
                   8708: ac_preproc_ok=:
                   8709: break
                   8710: fi
1.150     moko     8711: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8712: 
                   8713: done
                   8714: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8715: rm -f conftest.i conftest.err conftest.$ac_ext
                   8716: if $ac_preproc_ok; then :
                   8717: 
1.128     moko     8718: else
1.150     moko     8719:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8720: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8721: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8722: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8723: fi
                   8724: 
                   8725: ac_ext=c
                   8726: ac_cpp='$CPP $CPPFLAGS'
                   8727: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8728: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8729: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8730: 
                   8731: 
1.150     moko     8732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8733: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8734: if ${ac_cv_header_stdc+:} false; then :
                   8735:   $as_echo_n "(cached) " >&6
1.128     moko     8736: else
1.150     moko     8737:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8738: /* end confdefs.h.  */
                   8739: #include <stdlib.h>
                   8740: #include <stdarg.h>
                   8741: #include <string.h>
                   8742: #include <float.h>
                   8743: 
                   8744: int
                   8745: main ()
                   8746: {
                   8747: 
                   8748:   ;
                   8749:   return 0;
                   8750: }
                   8751: _ACEOF
1.150     moko     8752: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8753:   ac_cv_header_stdc=yes
                   8754: else
1.150     moko     8755:   ac_cv_header_stdc=no
1.128     moko     8756: fi
1.150     moko     8757: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8758: 
                   8759: if test $ac_cv_header_stdc = yes; then
                   8760:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8761:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8762: /* end confdefs.h.  */
                   8763: #include <string.h>
                   8764: 
                   8765: _ACEOF
                   8766: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8767:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8768: 
1.128     moko     8769: else
                   8770:   ac_cv_header_stdc=no
                   8771: fi
                   8772: rm -f conftest*
                   8773: 
                   8774: fi
                   8775: 
                   8776: if test $ac_cv_header_stdc = yes; then
                   8777:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8778:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8779: /* end confdefs.h.  */
                   8780: #include <stdlib.h>
                   8781: 
                   8782: _ACEOF
                   8783: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8784:   $EGREP "free" >/dev/null 2>&1; then :
                   8785: 
1.128     moko     8786: else
                   8787:   ac_cv_header_stdc=no
                   8788: fi
                   8789: rm -f conftest*
                   8790: 
                   8791: fi
                   8792: 
                   8793: if test $ac_cv_header_stdc = yes; then
                   8794:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8795:   if test "$cross_compiling" = yes; then :
1.128     moko     8796:   :
                   8797: else
1.150     moko     8798:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8799: /* end confdefs.h.  */
                   8800: #include <ctype.h>
1.150     moko     8801: #include <stdlib.h>
1.128     moko     8802: #if ((' ' & 0x0FF) == 0x020)
                   8803: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8804: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8805: #else
                   8806: # define ISLOWER(c) \
                   8807:                   (('a' <= (c) && (c) <= 'i') \
                   8808:                     || ('j' <= (c) && (c) <= 'r') \
                   8809:                     || ('s' <= (c) && (c) <= 'z'))
                   8810: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8811: #endif
                   8812: 
                   8813: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8814: int
                   8815: main ()
                   8816: {
                   8817:   int i;
                   8818:   for (i = 0; i < 256; i++)
                   8819:     if (XOR (islower (i), ISLOWER (i))
                   8820:        || toupper (i) != TOUPPER (i))
1.150     moko     8821:       return 2;
                   8822:   return 0;
1.128     moko     8823: }
                   8824: _ACEOF
1.150     moko     8825: if ac_fn_c_try_run "$LINENO"; then :
                   8826: 
1.128     moko     8827: else
1.150     moko     8828:   ac_cv_header_stdc=no
1.128     moko     8829: fi
1.150     moko     8830: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8831:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8832: fi
1.150     moko     8833: 
1.128     moko     8834: fi
                   8835: fi
1.150     moko     8836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8837: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8838: if test $ac_cv_header_stdc = yes; then
                   8839: 
1.150     moko     8840: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8841: 
                   8842: fi
                   8843: 
                   8844: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8845: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8846:                  inttypes.h stdint.h unistd.h
                   8847: do :
                   8848:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8849: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8850: "
                   8851: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8852:   cat >>confdefs.h <<_ACEOF
                   8853: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8854: _ACEOF
1.128     moko     8855: 
1.150     moko     8856: fi
1.128     moko     8857: 
1.150     moko     8858: done
1.128     moko     8859: 
                   8860: 
1.150     moko     8861: for ac_header in dlfcn.h
                   8862: do :
                   8863:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8864: "
                   8865: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8866:   cat >>confdefs.h <<_ACEOF
                   8867: #define HAVE_DLFCN_H 1
                   8868: _ACEOF
1.128     moko     8869: 
1.150     moko     8870: fi
1.128     moko     8871: 
1.150     moko     8872: done
1.128     moko     8873: 
                   8874: 
                   8875: 
                   8876: 
1.150     moko     8877: func_stripname_cnf ()
                   8878: {
                   8879:   case ${2} in
                   8880:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8881:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8882:   esac
                   8883: } # func_stripname_cnf
1.128     moko     8884: 
                   8885: 
                   8886: 
                   8887: 
                   8888: 
                   8889: # Set options
                   8890: enable_dlopen=yes
                   8891: enable_win32_dll=yes
                   8892: 
                   8893: case $host in
                   8894: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8895:   if test -n "$ac_tool_prefix"; then
                   8896:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8897: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8899: $as_echo_n "checking for $ac_word... " >&6; }
                   8900: if ${ac_cv_prog_AS+:} false; then :
                   8901:   $as_echo_n "(cached) " >&6
1.128     moko     8902: else
                   8903:   if test -n "$AS"; then
                   8904:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8905: else
                   8906: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8907: for as_dir in $PATH
                   8908: do
                   8909:   IFS=$as_save_IFS
                   8910:   test -z "$as_dir" && as_dir=.
1.150     moko     8911:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8912:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8913:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8914:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8915:     break 2
                   8916:   fi
                   8917: done
1.150     moko     8918:   done
                   8919: IFS=$as_save_IFS
1.128     moko     8920: 
                   8921: fi
                   8922: fi
                   8923: AS=$ac_cv_prog_AS
                   8924: if test -n "$AS"; then
1.150     moko     8925:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8926: $as_echo "$AS" >&6; }
1.128     moko     8927: else
1.150     moko     8928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8929: $as_echo "no" >&6; }
1.128     moko     8930: fi
                   8931: 
1.150     moko     8932: 
1.128     moko     8933: fi
                   8934: if test -z "$ac_cv_prog_AS"; then
                   8935:   ac_ct_AS=$AS
                   8936:   # Extract the first word of "as", so it can be a program name with args.
                   8937: set dummy as; ac_word=$2
1.150     moko     8938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8939: $as_echo_n "checking for $ac_word... " >&6; }
                   8940: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8941:   $as_echo_n "(cached) " >&6
1.128     moko     8942: else
                   8943:   if test -n "$ac_ct_AS"; then
                   8944:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8945: else
                   8946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8947: for as_dir in $PATH
                   8948: do
                   8949:   IFS=$as_save_IFS
                   8950:   test -z "$as_dir" && as_dir=.
1.150     moko     8951:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8952:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8953:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8954:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8955:     break 2
                   8956:   fi
                   8957: done
1.150     moko     8958:   done
                   8959: IFS=$as_save_IFS
1.128     moko     8960: 
                   8961: fi
                   8962: fi
                   8963: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8964: if test -n "$ac_ct_AS"; then
1.150     moko     8965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8966: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8967: else
1.150     moko     8968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8969: $as_echo "no" >&6; }
1.128     moko     8970: fi
                   8971: 
1.150     moko     8972:   if test "x$ac_ct_AS" = x; then
                   8973:     AS="false"
                   8974:   else
                   8975:     case $cross_compiling:$ac_tool_warned in
                   8976: yes:)
                   8977: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8978: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8979: ac_tool_warned=yes ;;
                   8980: esac
                   8981:     AS=$ac_ct_AS
                   8982:   fi
1.128     moko     8983: else
                   8984:   AS="$ac_cv_prog_AS"
                   8985: fi
                   8986: 
                   8987:   if test -n "$ac_tool_prefix"; then
                   8988:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8989: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8991: $as_echo_n "checking for $ac_word... " >&6; }
                   8992: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8993:   $as_echo_n "(cached) " >&6
1.128     moko     8994: else
                   8995:   if test -n "$DLLTOOL"; then
                   8996:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8997: else
                   8998: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8999: for as_dir in $PATH
                   9000: do
                   9001:   IFS=$as_save_IFS
                   9002:   test -z "$as_dir" && as_dir=.
1.150     moko     9003:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9004:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9005:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     9006:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9007:     break 2
                   9008:   fi
                   9009: done
1.150     moko     9010:   done
                   9011: IFS=$as_save_IFS
1.128     moko     9012: 
                   9013: fi
                   9014: fi
                   9015: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9016: if test -n "$DLLTOOL"; then
1.150     moko     9017:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9018: $as_echo "$DLLTOOL" >&6; }
1.128     moko     9019: else
1.150     moko     9020:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9021: $as_echo "no" >&6; }
1.128     moko     9022: fi
                   9023: 
1.150     moko     9024: 
1.128     moko     9025: fi
                   9026: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9027:   ac_ct_DLLTOOL=$DLLTOOL
                   9028:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9029: set dummy dlltool; ac_word=$2
1.150     moko     9030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9031: $as_echo_n "checking for $ac_word... " >&6; }
                   9032: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9033:   $as_echo_n "(cached) " >&6
1.128     moko     9034: else
                   9035:   if test -n "$ac_ct_DLLTOOL"; then
                   9036:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9037: else
                   9038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9039: for as_dir in $PATH
                   9040: do
                   9041:   IFS=$as_save_IFS
                   9042:   test -z "$as_dir" && as_dir=.
1.150     moko     9043:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9044:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9045:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     9046:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9047:     break 2
                   9048:   fi
                   9049: done
1.150     moko     9050:   done
                   9051: IFS=$as_save_IFS
1.128     moko     9052: 
                   9053: fi
                   9054: fi
                   9055: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9056: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     9057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9058: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     9059: else
1.150     moko     9060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9061: $as_echo "no" >&6; }
1.128     moko     9062: fi
                   9063: 
1.150     moko     9064:   if test "x$ac_ct_DLLTOOL" = x; then
                   9065:     DLLTOOL="false"
                   9066:   else
                   9067:     case $cross_compiling:$ac_tool_warned in
                   9068: yes:)
                   9069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9070: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9071: ac_tool_warned=yes ;;
                   9072: esac
                   9073:     DLLTOOL=$ac_ct_DLLTOOL
                   9074:   fi
1.128     moko     9075: else
                   9076:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9077: fi
                   9078: 
                   9079:   if test -n "$ac_tool_prefix"; then
                   9080:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   9081: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     9082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9083: $as_echo_n "checking for $ac_word... " >&6; }
                   9084: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   9085:   $as_echo_n "(cached) " >&6
1.128     moko     9086: else
                   9087:   if test -n "$OBJDUMP"; then
                   9088:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   9089: else
                   9090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9091: for as_dir in $PATH
                   9092: do
                   9093:   IFS=$as_save_IFS
                   9094:   test -z "$as_dir" && as_dir=.
1.150     moko     9095:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9096:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9097:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     9098:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9099:     break 2
                   9100:   fi
                   9101: done
1.150     moko     9102:   done
                   9103: IFS=$as_save_IFS
1.128     moko     9104: 
                   9105: fi
                   9106: fi
                   9107: OBJDUMP=$ac_cv_prog_OBJDUMP
                   9108: if test -n "$OBJDUMP"; then
1.150     moko     9109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   9110: $as_echo "$OBJDUMP" >&6; }
1.128     moko     9111: else
1.150     moko     9112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9113: $as_echo "no" >&6; }
1.128     moko     9114: fi
                   9115: 
1.150     moko     9116: 
1.128     moko     9117: fi
                   9118: if test -z "$ac_cv_prog_OBJDUMP"; then
                   9119:   ac_ct_OBJDUMP=$OBJDUMP
                   9120:   # Extract the first word of "objdump", so it can be a program name with args.
                   9121: set dummy objdump; ac_word=$2
1.150     moko     9122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9123: $as_echo_n "checking for $ac_word... " >&6; }
                   9124: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   9125:   $as_echo_n "(cached) " >&6
1.128     moko     9126: else
                   9127:   if test -n "$ac_ct_OBJDUMP"; then
                   9128:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   9129: else
                   9130: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9131: for as_dir in $PATH
                   9132: do
                   9133:   IFS=$as_save_IFS
                   9134:   test -z "$as_dir" && as_dir=.
1.150     moko     9135:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9136:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9137:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     9138:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9139:     break 2
                   9140:   fi
                   9141: done
1.150     moko     9142:   done
                   9143: IFS=$as_save_IFS
1.128     moko     9144: 
                   9145: fi
                   9146: fi
                   9147: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   9148: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     9149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   9150: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     9151: else
1.150     moko     9152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9153: $as_echo "no" >&6; }
1.128     moko     9154: fi
                   9155: 
1.150     moko     9156:   if test "x$ac_ct_OBJDUMP" = x; then
                   9157:     OBJDUMP="false"
                   9158:   else
                   9159:     case $cross_compiling:$ac_tool_warned in
                   9160: yes:)
                   9161: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9162: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9163: ac_tool_warned=yes ;;
                   9164: esac
                   9165:     OBJDUMP=$ac_ct_OBJDUMP
                   9166:   fi
1.128     moko     9167: else
                   9168:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9169: fi
                   9170: 
                   9171:   ;;
                   9172: esac
                   9173: 
                   9174: test -z "$AS" && AS=as
                   9175: 
                   9176: 
                   9177: 
                   9178: 
                   9179: 
                   9180: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9181: 
                   9182: 
                   9183: 
                   9184: 
                   9185: 
                   9186: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9187: 
                   9188: 
                   9189: 
                   9190: 
                   9191: 
1.150     moko     9192: # Check whether --with-pic was given.
                   9193: if test "${with_pic+set}" = set; then :
                   9194:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     9195:     case $withval in
                   9196:     yes|no) pic_mode=$withval ;;
                   9197:     *)
                   9198:       pic_mode=default
                   9199:       # Look at the argument we got.  We use all the common list separators.
                   9200:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9201:       for lt_pkg in $withval; do
                   9202:        IFS="$lt_save_ifs"
                   9203:        if test "X$lt_pkg" = "X$lt_p"; then
                   9204:          pic_mode=yes
                   9205:        fi
                   9206:       done
                   9207:       IFS="$lt_save_ifs"
                   9208:       ;;
                   9209:     esac
                   9210: else
                   9211:   pic_mode=default
1.150     moko     9212: fi
                   9213: 
1.145     moko     9214: 
                   9215: test -z "$pic_mode" && pic_mode=no
                   9216: 
                   9217: 
                   9218: 
                   9219: 
                   9220: 
                   9221: 
1.128     moko     9222: 
                   9223: 
                   9224: 
                   9225: 
1.150     moko     9226:             # Check whether --enable-shared was given.
                   9227: if test "${enable_shared+set}" = set; then :
                   9228:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9229:     case $enableval in
                   9230:     yes) enable_shared=yes ;;
                   9231:     no) enable_shared=no ;;
                   9232:     *)
                   9233:       enable_shared=no
                   9234:       # Look at the argument we got.  We use all the common list separators.
                   9235:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9236:       for pkg in $enableval; do
                   9237:        IFS="$lt_save_ifs"
                   9238:        if test "X$pkg" = "X$p"; then
                   9239:          enable_shared=yes
                   9240:        fi
                   9241:       done
                   9242:       IFS="$lt_save_ifs"
                   9243:       ;;
                   9244:     esac
                   9245: else
                   9246:   enable_shared=yes
1.150     moko     9247: fi
                   9248: 
1.128     moko     9249: 
                   9250: 
                   9251: 
                   9252: 
                   9253: 
                   9254: 
                   9255: 
                   9256: 
1.150     moko     9257:   # Check whether --enable-static was given.
                   9258: if test "${enable_static+set}" = set; then :
                   9259:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9260:     case $enableval in
                   9261:     yes) enable_static=yes ;;
                   9262:     no) enable_static=no ;;
                   9263:     *)
                   9264:      enable_static=no
                   9265:       # Look at the argument we got.  We use all the common list separators.
                   9266:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9267:       for pkg in $enableval; do
                   9268:        IFS="$lt_save_ifs"
                   9269:        if test "X$pkg" = "X$p"; then
                   9270:          enable_static=yes
                   9271:        fi
                   9272:       done
                   9273:       IFS="$lt_save_ifs"
                   9274:       ;;
                   9275:     esac
                   9276: else
                   9277:   enable_static=yes
1.150     moko     9278: fi
                   9279: 
1.138     moko     9280: 
                   9281: 
                   9282: 
                   9283: 
                   9284: 
                   9285: 
                   9286: 
1.128     moko     9287: 
                   9288: 
1.150     moko     9289:   # Check whether --enable-fast-install was given.
                   9290: if test "${enable_fast_install+set}" = set; then :
                   9291:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9292:     case $enableval in
                   9293:     yes) enable_fast_install=yes ;;
                   9294:     no) enable_fast_install=no ;;
                   9295:     *)
                   9296:       enable_fast_install=no
                   9297:       # Look at the argument we got.  We use all the common list separators.
                   9298:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9299:       for pkg in $enableval; do
                   9300:        IFS="$lt_save_ifs"
                   9301:        if test "X$pkg" = "X$p"; then
                   9302:          enable_fast_install=yes
                   9303:        fi
                   9304:       done
                   9305:       IFS="$lt_save_ifs"
                   9306:       ;;
                   9307:     esac
                   9308: else
                   9309:   enable_fast_install=yes
1.150     moko     9310: fi
                   9311: 
1.128     moko     9312: 
                   9313: 
                   9314: 
                   9315: 
                   9316: 
                   9317: 
                   9318: 
                   9319: 
                   9320: 
                   9321: 
                   9322: # This can be used to rebuild libtool when needed
                   9323: LIBTOOL_DEPS="$ltmain"
                   9324: 
                   9325: # Always use our own libtool.
                   9326: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9327: 
                   9328: 
                   9329: 
                   9330: 
                   9331: 
                   9332: 
                   9333: 
                   9334: 
                   9335: 
                   9336: 
                   9337: 
                   9338: 
                   9339: 
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344: 
                   9345: 
                   9346: 
                   9347: 
                   9348: 
                   9349: 
                   9350: 
                   9351: 
                   9352: 
                   9353: 
                   9354: 
                   9355: 
                   9356: 
                   9357: test -z "$LN_S" && LN_S="ln -s"
                   9358: 
                   9359: 
                   9360: 
                   9361: 
                   9362: 
                   9363: 
                   9364: 
                   9365: 
                   9366: 
                   9367: 
                   9368: 
                   9369: 
                   9370: 
                   9371: 
                   9372: if test -n "${ZSH_VERSION+set}" ; then
                   9373:    setopt NO_GLOB_SUBST
                   9374: fi
                   9375: 
1.150     moko     9376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9377: $as_echo_n "checking for objdir... " >&6; }
                   9378: if ${lt_cv_objdir+:} false; then :
                   9379:   $as_echo_n "(cached) " >&6
1.128     moko     9380: else
                   9381:   rm -f .libs 2>/dev/null
                   9382: mkdir .libs 2>/dev/null
                   9383: if test -d .libs; then
                   9384:   lt_cv_objdir=.libs
                   9385: else
                   9386:   # MS-DOS does not allow filenames that begin with a dot.
                   9387:   lt_cv_objdir=_libs
                   9388: fi
                   9389: rmdir .libs 2>/dev/null
                   9390: fi
1.150     moko     9391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9392: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9393: objdir=$lt_cv_objdir
                   9394: 
                   9395: 
                   9396: 
                   9397: 
                   9398: 
                   9399: cat >>confdefs.h <<_ACEOF
                   9400: #define LT_OBJDIR "$lt_cv_objdir/"
                   9401: _ACEOF
                   9402: 
                   9403: 
                   9404: 
                   9405: 
                   9406: case $host_os in
                   9407: aix3*)
                   9408:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9409:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9410:   # vanish in a puff of smoke.
                   9411:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9412:     COLLECT_NAMES=
                   9413:     export COLLECT_NAMES
                   9414:   fi
                   9415:   ;;
                   9416: esac
                   9417: 
                   9418: # Global variables:
                   9419: ofile=libtool
                   9420: can_build_shared=yes
                   9421: 
                   9422: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9423: # which needs '.lib').
                   9424: libext=a
                   9425: 
                   9426: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9427: 
                   9428: old_CC="$CC"
                   9429: old_CFLAGS="$CFLAGS"
                   9430: 
                   9431: # Set sane defaults for various variables
                   9432: test -z "$CC" && CC=cc
                   9433: test -z "$LTCC" && LTCC=$CC
                   9434: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9435: test -z "$LD" && LD=ld
                   9436: test -z "$ac_objext" && ac_objext=o
                   9437: 
                   9438: for cc_temp in $compiler""; do
                   9439:   case $cc_temp in
                   9440:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9441:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9442:     \-*) ;;
                   9443:     *) break;;
                   9444:   esac
                   9445: done
                   9446: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9447: 
                   9448: 
                   9449: # Only perform the check for file, if the check method requires it
                   9450: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9451: case $deplibs_check_method in
                   9452: file_magic*)
                   9453:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9454:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9455: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9456: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9457:   $as_echo_n "(cached) " >&6
1.128     moko     9458: else
                   9459:   case $MAGIC_CMD in
                   9460: [\\/*] |  ?:[\\/]*)
                   9461:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9462:   ;;
                   9463: *)
                   9464:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9465:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9466:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9467:   for ac_dir in $ac_dummy; do
                   9468:     IFS="$lt_save_ifs"
                   9469:     test -z "$ac_dir" && ac_dir=.
                   9470:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9471:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9472:       if test -n "$file_magic_test_file"; then
                   9473:        case $deplibs_check_method in
                   9474:        "file_magic "*)
                   9475:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9476:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9477:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9478:            $EGREP "$file_magic_regex" > /dev/null; then
                   9479:            :
                   9480:          else
                   9481:            cat <<_LT_EOF 1>&2
                   9482: 
                   9483: *** Warning: the command libtool uses to detect shared libraries,
                   9484: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9485: *** The result is that libtool may fail to recognize shared libraries
                   9486: *** as such.  This will affect the creation of libtool libraries that
                   9487: *** depend on shared libraries, but programs linked with such libtool
                   9488: *** libraries will work regardless of this problem.  Nevertheless, you
                   9489: *** may want to report the problem to your system manager and/or to
                   9490: *** bug-libtool@gnu.org
                   9491: 
                   9492: _LT_EOF
                   9493:          fi ;;
                   9494:        esac
                   9495:       fi
                   9496:       break
                   9497:     fi
                   9498:   done
                   9499:   IFS="$lt_save_ifs"
                   9500:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9501:   ;;
                   9502: esac
                   9503: fi
                   9504: 
                   9505: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9506: if test -n "$MAGIC_CMD"; then
1.150     moko     9507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9508: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9509: else
1.150     moko     9510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9511: $as_echo "no" >&6; }
1.128     moko     9512: fi
                   9513: 
                   9514: 
                   9515: 
                   9516: 
                   9517: 
                   9518: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9519:   if test -n "$ac_tool_prefix"; then
1.150     moko     9520:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9521: $as_echo_n "checking for file... " >&6; }
                   9522: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9523:   $as_echo_n "(cached) " >&6
1.128     moko     9524: else
                   9525:   case $MAGIC_CMD in
                   9526: [\\/*] |  ?:[\\/]*)
                   9527:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9528:   ;;
                   9529: *)
                   9530:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9531:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9532:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9533:   for ac_dir in $ac_dummy; do
                   9534:     IFS="$lt_save_ifs"
                   9535:     test -z "$ac_dir" && ac_dir=.
                   9536:     if test -f $ac_dir/file; then
                   9537:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9538:       if test -n "$file_magic_test_file"; then
                   9539:        case $deplibs_check_method in
                   9540:        "file_magic "*)
                   9541:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9542:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9543:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9544:            $EGREP "$file_magic_regex" > /dev/null; then
                   9545:            :
                   9546:          else
                   9547:            cat <<_LT_EOF 1>&2
                   9548: 
                   9549: *** Warning: the command libtool uses to detect shared libraries,
                   9550: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9551: *** The result is that libtool may fail to recognize shared libraries
                   9552: *** as such.  This will affect the creation of libtool libraries that
                   9553: *** depend on shared libraries, but programs linked with such libtool
                   9554: *** libraries will work regardless of this problem.  Nevertheless, you
                   9555: *** may want to report the problem to your system manager and/or to
                   9556: *** bug-libtool@gnu.org
                   9557: 
                   9558: _LT_EOF
                   9559:          fi ;;
                   9560:        esac
                   9561:       fi
                   9562:       break
                   9563:     fi
                   9564:   done
                   9565:   IFS="$lt_save_ifs"
                   9566:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9567:   ;;
                   9568: esac
                   9569: fi
                   9570: 
                   9571: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9572: if test -n "$MAGIC_CMD"; then
1.150     moko     9573:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9574: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9575: else
1.150     moko     9576:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9577: $as_echo "no" >&6; }
1.128     moko     9578: fi
                   9579: 
                   9580: 
                   9581:   else
                   9582:     MAGIC_CMD=:
                   9583:   fi
                   9584: fi
                   9585: 
                   9586:   fi
                   9587:   ;;
                   9588: esac
                   9589: 
                   9590: # Use C for the default configuration in the libtool script
                   9591: 
                   9592: lt_save_CC="$CC"
                   9593: ac_ext=c
                   9594: ac_cpp='$CPP $CPPFLAGS'
                   9595: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9596: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9597: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9598: 
                   9599: 
                   9600: # Source file extension for C test sources.
                   9601: ac_ext=c
                   9602: 
                   9603: # Object file extension for compiled C test sources.
                   9604: objext=o
                   9605: objext=$objext
                   9606: 
                   9607: # Code to be used in simple compile tests
                   9608: lt_simple_compile_test_code="int some_variable = 0;"
                   9609: 
                   9610: # Code to be used in simple link tests
                   9611: lt_simple_link_test_code='int main(){return(0);}'
                   9612: 
                   9613: 
                   9614: 
                   9615: 
                   9616: 
                   9617: 
                   9618: 
                   9619: # If no C compiler was specified, use CC.
                   9620: LTCC=${LTCC-"$CC"}
                   9621: 
                   9622: # If no C compiler flags were specified, use CFLAGS.
                   9623: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9624: 
                   9625: # Allow CC to be a program name with arguments.
                   9626: compiler=$CC
                   9627: 
                   9628: # Save the default compiler, since it gets overwritten when the other
                   9629: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9630: compiler_DEFAULT=$CC
                   9631: 
                   9632: # save warnings/boilerplate of simple test code
                   9633: ac_outfile=conftest.$ac_objext
                   9634: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9635: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9636: _lt_compiler_boilerplate=`cat conftest.err`
                   9637: $RM conftest*
                   9638: 
                   9639: ac_outfile=conftest.$ac_objext
                   9640: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9641: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9642: _lt_linker_boilerplate=`cat conftest.err`
                   9643: $RM -r conftest*
                   9644: 
                   9645: 
                   9646: ## CAVEAT EMPTOR:
                   9647: ## There is no encapsulation within the following macros, do not change
                   9648: ## the running order or otherwise move them around unless you know exactly
                   9649: ## what you are doing...
                   9650: if test -n "$compiler"; then
                   9651: 
                   9652: lt_prog_compiler_no_builtin_flag=
                   9653: 
                   9654: if test "$GCC" = yes; then
                   9655:   case $cc_basename in
                   9656:   nvcc*)
                   9657:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9658:   *)
                   9659:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9660:   esac
                   9661: 
1.150     moko     9662:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9663: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9664: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9665:   $as_echo_n "(cached) " >&6
1.128     moko     9666: else
                   9667:   lt_cv_prog_compiler_rtti_exceptions=no
                   9668:    ac_outfile=conftest.$ac_objext
                   9669:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9670:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9671:    # Insert the option either (1) after the last *FLAGS variable, or
                   9672:    # (2) before a word containing "conftest.", or (3) at the end.
                   9673:    # Note that $ac_compile itself does not contain backslashes and begins
                   9674:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9675:    # The option is referenced via a variable to avoid confusing sed.
                   9676:    lt_compile=`echo "$ac_compile" | $SED \
                   9677:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9678:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9679:    -e 's:$: $lt_compiler_flag:'`
                   9680:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9681:    (eval "$lt_compile" 2>conftest.err)
                   9682:    ac_status=$?
                   9683:    cat conftest.err >&5
                   9684:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9685:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9686:      # The compiler can only warn and ignore the option if not recognized
                   9687:      # So say no if there are warnings other than the usual output.
                   9688:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9689:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9690:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9691:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9692:      fi
                   9693:    fi
                   9694:    $RM conftest*
                   9695: 
                   9696: fi
1.150     moko     9697: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9698: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9699: 
                   9700: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9701:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9702: else
                   9703:     :
                   9704: fi
                   9705: 
                   9706: fi
                   9707: 
                   9708: 
                   9709: 
                   9710: 
                   9711: 
                   9712: 
                   9713:   lt_prog_compiler_wl=
                   9714: lt_prog_compiler_pic=
                   9715: lt_prog_compiler_static=
                   9716: 
                   9717: 
                   9718:   if test "$GCC" = yes; then
                   9719:     lt_prog_compiler_wl='-Wl,'
                   9720:     lt_prog_compiler_static='-static'
                   9721: 
                   9722:     case $host_os in
                   9723:       aix*)
                   9724:       # All AIX code is PIC.
                   9725:       if test "$host_cpu" = ia64; then
                   9726:        # AIX 5 now supports IA64 processor
                   9727:        lt_prog_compiler_static='-Bstatic'
                   9728:       fi
                   9729:       ;;
                   9730: 
                   9731:     amigaos*)
                   9732:       case $host_cpu in
                   9733:       powerpc)
                   9734:             # see comment about AmigaOS4 .so support
                   9735:             lt_prog_compiler_pic='-fPIC'
                   9736:         ;;
                   9737:       m68k)
                   9738:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9739:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9740:             # like `-m68040'.
                   9741:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9742:         ;;
                   9743:       esac
                   9744:       ;;
                   9745: 
                   9746:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9747:       # PIC is the default for these OSes.
                   9748:       ;;
                   9749: 
                   9750:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9751:       # This hack is so that the source file can tell whether it is being
                   9752:       # built for inclusion in a dll (and should export symbols for example).
                   9753:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9754:       # (--disable-auto-import) libraries
                   9755:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9756:       ;;
                   9757: 
                   9758:     darwin* | rhapsody*)
                   9759:       # PIC is the default on this platform
                   9760:       # Common symbols not allowed in MH_DYLIB files
                   9761:       lt_prog_compiler_pic='-fno-common'
                   9762:       ;;
                   9763: 
                   9764:     haiku*)
                   9765:       # PIC is the default for Haiku.
                   9766:       # The "-static" flag exists, but is broken.
                   9767:       lt_prog_compiler_static=
                   9768:       ;;
                   9769: 
                   9770:     hpux*)
                   9771:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9772:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9773:       # sets the default TLS model and affects inlining.
                   9774:       case $host_cpu in
                   9775:       hppa*64*)
                   9776:        # +Z the default
                   9777:        ;;
                   9778:       *)
                   9779:        lt_prog_compiler_pic='-fPIC'
                   9780:        ;;
                   9781:       esac
                   9782:       ;;
                   9783: 
                   9784:     interix[3-9]*)
                   9785:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9786:       # Instead, we relocate shared libraries at runtime.
                   9787:       ;;
                   9788: 
                   9789:     msdosdjgpp*)
                   9790:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9791:       # on systems that don't support them.
                   9792:       lt_prog_compiler_can_build_shared=no
                   9793:       enable_shared=no
                   9794:       ;;
                   9795: 
                   9796:     *nto* | *qnx*)
                   9797:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9798:       # it will coredump.
                   9799:       lt_prog_compiler_pic='-fPIC -shared'
                   9800:       ;;
                   9801: 
                   9802:     sysv4*MP*)
                   9803:       if test -d /usr/nec; then
                   9804:        lt_prog_compiler_pic=-Kconform_pic
                   9805:       fi
                   9806:       ;;
                   9807: 
                   9808:     *)
                   9809:       lt_prog_compiler_pic='-fPIC'
                   9810:       ;;
                   9811:     esac
                   9812: 
                   9813:     case $cc_basename in
                   9814:     nvcc*) # Cuda Compiler Driver 2.2
                   9815:       lt_prog_compiler_wl='-Xlinker '
                   9816:       if test -n "$lt_prog_compiler_pic"; then
                   9817:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9818:       fi
                   9819:       ;;
                   9820:     esac
                   9821:   else
                   9822:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9823:     case $host_os in
                   9824:     aix*)
                   9825:       lt_prog_compiler_wl='-Wl,'
                   9826:       if test "$host_cpu" = ia64; then
                   9827:        # AIX 5 now supports IA64 processor
                   9828:        lt_prog_compiler_static='-Bstatic'
                   9829:       else
                   9830:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9831:       fi
                   9832:       ;;
                   9833: 
                   9834:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9835:       # This hack is so that the source file can tell whether it is being
                   9836:       # built for inclusion in a dll (and should export symbols for example).
                   9837:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9838:       ;;
                   9839: 
                   9840:     hpux9* | hpux10* | hpux11*)
                   9841:       lt_prog_compiler_wl='-Wl,'
                   9842:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9843:       # not for PA HP-UX.
                   9844:       case $host_cpu in
                   9845:       hppa*64*|ia64*)
                   9846:        # +Z the default
                   9847:        ;;
                   9848:       *)
                   9849:        lt_prog_compiler_pic='+Z'
                   9850:        ;;
                   9851:       esac
                   9852:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9853:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9854:       ;;
                   9855: 
                   9856:     irix5* | irix6* | nonstopux*)
                   9857:       lt_prog_compiler_wl='-Wl,'
                   9858:       # PIC (with -KPIC) is the default.
                   9859:       lt_prog_compiler_static='-non_shared'
                   9860:       ;;
                   9861: 
                   9862:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9863:       case $cc_basename in
                   9864:       # old Intel for x86_64 which still supported -KPIC.
                   9865:       ecc*)
                   9866:        lt_prog_compiler_wl='-Wl,'
                   9867:        lt_prog_compiler_pic='-KPIC'
                   9868:        lt_prog_compiler_static='-static'
                   9869:         ;;
                   9870:       # icc used to be incompatible with GCC.
                   9871:       # ICC 10 doesn't accept -KPIC any more.
                   9872:       icc* | ifort*)
                   9873:        lt_prog_compiler_wl='-Wl,'
                   9874:        lt_prog_compiler_pic='-fPIC'
                   9875:        lt_prog_compiler_static='-static'
                   9876:         ;;
                   9877:       # Lahey Fortran 8.1.
                   9878:       lf95*)
                   9879:        lt_prog_compiler_wl='-Wl,'
                   9880:        lt_prog_compiler_pic='--shared'
                   9881:        lt_prog_compiler_static='--static'
                   9882:        ;;
                   9883:       nagfor*)
                   9884:        # NAG Fortran compiler
                   9885:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9886:        lt_prog_compiler_pic='-PIC'
                   9887:        lt_prog_compiler_static='-Bstatic'
                   9888:        ;;
                   9889:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9890:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9891:        # which looks to be a dead project)
                   9892:        lt_prog_compiler_wl='-Wl,'
                   9893:        lt_prog_compiler_pic='-fpic'
                   9894:        lt_prog_compiler_static='-Bstatic'
                   9895:         ;;
                   9896:       ccc*)
                   9897:         lt_prog_compiler_wl='-Wl,'
                   9898:         # All Alpha code is PIC.
                   9899:         lt_prog_compiler_static='-non_shared'
                   9900:         ;;
                   9901:       xl* | bgxl* | bgf* | mpixl*)
                   9902:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9903:        lt_prog_compiler_wl='-Wl,'
                   9904:        lt_prog_compiler_pic='-qpic'
                   9905:        lt_prog_compiler_static='-qstaticlink'
                   9906:        ;;
                   9907:       *)
                   9908:        case `$CC -V 2>&1 | sed 5q` in
                   9909:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9910:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9911:          lt_prog_compiler_pic='-KPIC'
                   9912:          lt_prog_compiler_static='-Bstatic'
                   9913:          lt_prog_compiler_wl=''
                   9914:          ;;
                   9915:        *Sun\ F* | *Sun*Fortran*)
                   9916:          lt_prog_compiler_pic='-KPIC'
                   9917:          lt_prog_compiler_static='-Bstatic'
                   9918:          lt_prog_compiler_wl='-Qoption ld '
                   9919:          ;;
                   9920:        *Sun\ C*)
                   9921:          # Sun C 5.9
                   9922:          lt_prog_compiler_pic='-KPIC'
                   9923:          lt_prog_compiler_static='-Bstatic'
                   9924:          lt_prog_compiler_wl='-Wl,'
                   9925:          ;;
                   9926:         *Intel*\ [CF]*Compiler*)
                   9927:          lt_prog_compiler_wl='-Wl,'
                   9928:          lt_prog_compiler_pic='-fPIC'
                   9929:          lt_prog_compiler_static='-static'
                   9930:          ;;
                   9931:        *Portland\ Group*)
                   9932:          lt_prog_compiler_wl='-Wl,'
                   9933:          lt_prog_compiler_pic='-fpic'
                   9934:          lt_prog_compiler_static='-Bstatic'
                   9935:          ;;
                   9936:        esac
                   9937:        ;;
                   9938:       esac
                   9939:       ;;
                   9940: 
                   9941:     newsos6)
                   9942:       lt_prog_compiler_pic='-KPIC'
                   9943:       lt_prog_compiler_static='-Bstatic'
                   9944:       ;;
                   9945: 
                   9946:     *nto* | *qnx*)
                   9947:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9948:       # it will coredump.
                   9949:       lt_prog_compiler_pic='-fPIC -shared'
                   9950:       ;;
                   9951: 
                   9952:     osf3* | osf4* | osf5*)
                   9953:       lt_prog_compiler_wl='-Wl,'
                   9954:       # All OSF/1 code is PIC.
                   9955:       lt_prog_compiler_static='-non_shared'
                   9956:       ;;
                   9957: 
                   9958:     rdos*)
                   9959:       lt_prog_compiler_static='-non_shared'
                   9960:       ;;
                   9961: 
                   9962:     solaris*)
                   9963:       lt_prog_compiler_pic='-KPIC'
                   9964:       lt_prog_compiler_static='-Bstatic'
                   9965:       case $cc_basename in
                   9966:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9967:        lt_prog_compiler_wl='-Qoption ld ';;
                   9968:       *)
                   9969:        lt_prog_compiler_wl='-Wl,';;
                   9970:       esac
                   9971:       ;;
                   9972: 
                   9973:     sunos4*)
                   9974:       lt_prog_compiler_wl='-Qoption ld '
                   9975:       lt_prog_compiler_pic='-PIC'
                   9976:       lt_prog_compiler_static='-Bstatic'
                   9977:       ;;
                   9978: 
                   9979:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9980:       lt_prog_compiler_wl='-Wl,'
                   9981:       lt_prog_compiler_pic='-KPIC'
                   9982:       lt_prog_compiler_static='-Bstatic'
                   9983:       ;;
                   9984: 
                   9985:     sysv4*MP*)
                   9986:       if test -d /usr/nec ;then
                   9987:        lt_prog_compiler_pic='-Kconform_pic'
                   9988:        lt_prog_compiler_static='-Bstatic'
                   9989:       fi
                   9990:       ;;
                   9991: 
                   9992:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9993:       lt_prog_compiler_wl='-Wl,'
                   9994:       lt_prog_compiler_pic='-KPIC'
                   9995:       lt_prog_compiler_static='-Bstatic'
                   9996:       ;;
                   9997: 
                   9998:     unicos*)
                   9999:       lt_prog_compiler_wl='-Wl,'
                   10000:       lt_prog_compiler_can_build_shared=no
                   10001:       ;;
                   10002: 
                   10003:     uts4*)
                   10004:       lt_prog_compiler_pic='-pic'
                   10005:       lt_prog_compiler_static='-Bstatic'
                   10006:       ;;
                   10007: 
                   10008:     *)
                   10009:       lt_prog_compiler_can_build_shared=no
                   10010:       ;;
                   10011:     esac
                   10012:   fi
                   10013: 
                   10014: case $host_os in
                   10015:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10016:   *djgpp*)
                   10017:     lt_prog_compiler_pic=
                   10018:     ;;
                   10019:   *)
                   10020:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10021:     ;;
                   10022: esac
                   10023: 
1.150     moko     10024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10025: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10026: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10027:   $as_echo_n "(cached) " >&6
1.128     moko     10028: else
                   10029:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10030: fi
1.150     moko     10031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10032: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     10033: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10034: 
                   10035: #
                   10036: # Check to make sure the PIC flag actually works.
                   10037: #
                   10038: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     10039:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10040: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10041: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10042:   $as_echo_n "(cached) " >&6
1.128     moko     10043: else
                   10044:   lt_cv_prog_compiler_pic_works=no
                   10045:    ac_outfile=conftest.$ac_objext
                   10046:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10047:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10048:    # Insert the option either (1) after the last *FLAGS variable, or
                   10049:    # (2) before a word containing "conftest.", or (3) at the end.
                   10050:    # Note that $ac_compile itself does not contain backslashes and begins
                   10051:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10052:    # The option is referenced via a variable to avoid confusing sed.
                   10053:    lt_compile=`echo "$ac_compile" | $SED \
                   10054:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10055:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10056:    -e 's:$: $lt_compiler_flag:'`
                   10057:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10058:    (eval "$lt_compile" 2>conftest.err)
                   10059:    ac_status=$?
                   10060:    cat conftest.err >&5
                   10061:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10062:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10063:      # The compiler can only warn and ignore the option if not recognized
                   10064:      # So say no if there are warnings other than the usual output.
                   10065:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10066:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10067:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10068:        lt_cv_prog_compiler_pic_works=yes
                   10069:      fi
                   10070:    fi
                   10071:    $RM conftest*
                   10072: 
                   10073: fi
1.150     moko     10074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10075: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     10076: 
                   10077: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10078:     case $lt_prog_compiler_pic in
                   10079:      "" | " "*) ;;
                   10080:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10081:      esac
                   10082: else
                   10083:     lt_prog_compiler_pic=
                   10084:      lt_prog_compiler_can_build_shared=no
                   10085: fi
                   10086: 
                   10087: fi
                   10088: 
                   10089: 
                   10090: 
                   10091: 
                   10092: 
                   10093: 
                   10094: 
                   10095: 
                   10096: 
                   10097: 
                   10098: 
                   10099: #
                   10100: # Check to make sure the static flag actually works.
                   10101: #
                   10102: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     10103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10104: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10105: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10106:   $as_echo_n "(cached) " >&6
1.128     moko     10107: else
                   10108:   lt_cv_prog_compiler_static_works=no
                   10109:    save_LDFLAGS="$LDFLAGS"
                   10110:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10111:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10112:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10113:      # The linker can only warn and ignore the option if not recognized
                   10114:      # So say no if there are warnings
                   10115:      if test -s conftest.err; then
                   10116:        # Append any errors to the config.log.
                   10117:        cat conftest.err 1>&5
                   10118:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10119:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10120:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10121:          lt_cv_prog_compiler_static_works=yes
                   10122:        fi
                   10123:      else
                   10124:        lt_cv_prog_compiler_static_works=yes
                   10125:      fi
                   10126:    fi
                   10127:    $RM -r conftest*
                   10128:    LDFLAGS="$save_LDFLAGS"
                   10129: 
                   10130: fi
1.150     moko     10131: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10132: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     10133: 
                   10134: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10135:     :
                   10136: else
                   10137:     lt_prog_compiler_static=
                   10138: fi
                   10139: 
                   10140: 
                   10141: 
                   10142: 
                   10143: 
                   10144: 
                   10145: 
1.150     moko     10146:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10147: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10148: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10149:   $as_echo_n "(cached) " >&6
1.128     moko     10150: else
                   10151:   lt_cv_prog_compiler_c_o=no
                   10152:    $RM -r conftest 2>/dev/null
                   10153:    mkdir conftest
                   10154:    cd conftest
                   10155:    mkdir out
                   10156:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10157: 
                   10158:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10159:    # Insert the option either (1) after the last *FLAGS variable, or
                   10160:    # (2) before a word containing "conftest.", or (3) at the end.
                   10161:    # Note that $ac_compile itself does not contain backslashes and begins
                   10162:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10163:    lt_compile=`echo "$ac_compile" | $SED \
                   10164:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10165:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10166:    -e 's:$: $lt_compiler_flag:'`
                   10167:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10168:    (eval "$lt_compile" 2>out/conftest.err)
                   10169:    ac_status=$?
                   10170:    cat out/conftest.err >&5
                   10171:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10172:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10173:    then
                   10174:      # The compiler can only warn and ignore the option if not recognized
                   10175:      # So say no if there are warnings
                   10176:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10177:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10178:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10179:        lt_cv_prog_compiler_c_o=yes
                   10180:      fi
                   10181:    fi
                   10182:    chmod u+w . 2>&5
                   10183:    $RM conftest*
                   10184:    # SGI C++ compiler will create directory out/ii_files/ for
                   10185:    # template instantiation
                   10186:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10187:    $RM out/* && rmdir out
                   10188:    cd ..
                   10189:    $RM -r conftest
                   10190:    $RM conftest*
                   10191: 
                   10192: fi
1.150     moko     10193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10194: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10195: 
                   10196: 
                   10197: 
                   10198: 
                   10199: 
                   10200: 
1.150     moko     10201:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10202: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10203: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10204:   $as_echo_n "(cached) " >&6
1.128     moko     10205: else
                   10206:   lt_cv_prog_compiler_c_o=no
                   10207:    $RM -r conftest 2>/dev/null
                   10208:    mkdir conftest
                   10209:    cd conftest
                   10210:    mkdir out
                   10211:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10212: 
                   10213:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10214:    # Insert the option either (1) after the last *FLAGS variable, or
                   10215:    # (2) before a word containing "conftest.", or (3) at the end.
                   10216:    # Note that $ac_compile itself does not contain backslashes and begins
                   10217:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10218:    lt_compile=`echo "$ac_compile" | $SED \
                   10219:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10220:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10221:    -e 's:$: $lt_compiler_flag:'`
                   10222:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10223:    (eval "$lt_compile" 2>out/conftest.err)
                   10224:    ac_status=$?
                   10225:    cat out/conftest.err >&5
                   10226:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10227:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10228:    then
                   10229:      # The compiler can only warn and ignore the option if not recognized
                   10230:      # So say no if there are warnings
                   10231:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10232:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10233:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10234:        lt_cv_prog_compiler_c_o=yes
                   10235:      fi
                   10236:    fi
                   10237:    chmod u+w . 2>&5
                   10238:    $RM conftest*
                   10239:    # SGI C++ compiler will create directory out/ii_files/ for
                   10240:    # template instantiation
                   10241:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10242:    $RM out/* && rmdir out
                   10243:    cd ..
                   10244:    $RM -r conftest
                   10245:    $RM conftest*
                   10246: 
                   10247: fi
1.150     moko     10248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10249: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10250: 
                   10251: 
                   10252: 
                   10253: 
                   10254: hard_links="nottested"
                   10255: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10256:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10257:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10258: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10259:   hard_links=yes
                   10260:   $RM conftest*
                   10261:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10262:   touch conftest.a
                   10263:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10264:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10266: $as_echo "$hard_links" >&6; }
1.128     moko     10267:   if test "$hard_links" = no; then
1.150     moko     10268:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10269: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10270:     need_locks=warn
                   10271:   fi
                   10272: else
                   10273:   need_locks=no
                   10274: fi
                   10275: 
                   10276: 
                   10277: 
                   10278: 
                   10279: 
                   10280: 
1.150     moko     10281:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10282: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10283: 
                   10284:   runpath_var=
                   10285:   allow_undefined_flag=
                   10286:   always_export_symbols=no
                   10287:   archive_cmds=
                   10288:   archive_expsym_cmds=
                   10289:   compiler_needs_object=no
                   10290:   enable_shared_with_static_runtimes=no
                   10291:   export_dynamic_flag_spec=
                   10292:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10293:   hardcode_automatic=no
                   10294:   hardcode_direct=no
                   10295:   hardcode_direct_absolute=no
                   10296:   hardcode_libdir_flag_spec=
                   10297:   hardcode_libdir_separator=
                   10298:   hardcode_minus_L=no
                   10299:   hardcode_shlibpath_var=unsupported
                   10300:   inherit_rpath=no
                   10301:   link_all_deplibs=unknown
                   10302:   module_cmds=
                   10303:   module_expsym_cmds=
                   10304:   old_archive_from_new_cmds=
                   10305:   old_archive_from_expsyms_cmds=
                   10306:   thread_safe_flag_spec=
                   10307:   whole_archive_flag_spec=
                   10308:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10309:   # included in the symbol list
                   10310:   include_expsyms=
                   10311:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10312:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10313:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10314:   # as well as any symbol that contains `d'.
                   10315:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10316:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10317:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10318:   # the symbol is explicitly referenced.  Since portable code cannot
                   10319:   # rely on this symbol name, it's probably fine to never include it in
                   10320:   # preloaded symbol tables.
                   10321:   # Exclude shared library initialization/finalization symbols.
                   10322:   extract_expsyms_cmds=
                   10323: 
                   10324:   case $host_os in
                   10325:   cygwin* | mingw* | pw32* | cegcc*)
                   10326:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10327:     # When not using gcc, we currently assume that we are using
                   10328:     # Microsoft Visual C++.
                   10329:     if test "$GCC" != yes; then
                   10330:       with_gnu_ld=no
                   10331:     fi
                   10332:     ;;
                   10333:   interix*)
                   10334:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10335:     with_gnu_ld=yes
                   10336:     ;;
                   10337:   openbsd*)
                   10338:     with_gnu_ld=no
                   10339:     ;;
                   10340:   esac
                   10341: 
                   10342:   ld_shlibs=yes
                   10343: 
                   10344:   # On some targets, GNU ld is compatible enough with the native linker
                   10345:   # that we're better off using the native interface for both.
                   10346:   lt_use_gnu_ld_interface=no
                   10347:   if test "$with_gnu_ld" = yes; then
                   10348:     case $host_os in
                   10349:       aix*)
                   10350:        # The AIX port of GNU ld has always aspired to compatibility
                   10351:        # with the native linker.  However, as the warning in the GNU ld
                   10352:        # block says, versions before 2.19.5* couldn't really create working
                   10353:        # shared libraries, regardless of the interface used.
                   10354:        case `$LD -v 2>&1` in
                   10355:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10356:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10357:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10358:          *)
                   10359:            lt_use_gnu_ld_interface=yes
                   10360:            ;;
                   10361:        esac
                   10362:        ;;
                   10363:       *)
                   10364:        lt_use_gnu_ld_interface=yes
                   10365:        ;;
                   10366:     esac
                   10367:   fi
                   10368: 
                   10369:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10370:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10371:     wlarc='${wl}'
                   10372: 
                   10373:     # Set some defaults for GNU ld with shared library support. These
                   10374:     # are reset later if shared libraries are not supported. Putting them
                   10375:     # here allows them to be overridden if necessary.
                   10376:     runpath_var=LD_RUN_PATH
                   10377:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10378:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10379:     # ancient GNU ld didn't support --whole-archive et. al.
                   10380:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10381:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10382:     else
                   10383:       whole_archive_flag_spec=
                   10384:     fi
                   10385:     supports_anon_versioning=no
                   10386:     case `$LD -v 2>&1` in
                   10387:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10388:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10389:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10390:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10391:       *\ 2.11.*) ;; # other 2.11 versions
                   10392:       *) supports_anon_versioning=yes ;;
                   10393:     esac
                   10394: 
                   10395:     # See if GNU ld supports shared libraries.
                   10396:     case $host_os in
                   10397:     aix[3-9]*)
                   10398:       # On AIX/PPC, the GNU linker is very broken
                   10399:       if test "$host_cpu" != ia64; then
                   10400:        ld_shlibs=no
                   10401:        cat <<_LT_EOF 1>&2
                   10402: 
                   10403: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10404: *** to be unable to reliably create shared libraries on AIX.
                   10405: *** Therefore, libtool is disabling shared libraries support.  If you
                   10406: *** really care for shared libraries, you may want to install binutils
                   10407: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10408: *** You will then need to restart the configuration process.
                   10409: 
                   10410: _LT_EOF
                   10411:       fi
                   10412:       ;;
                   10413: 
                   10414:     amigaos*)
                   10415:       case $host_cpu in
                   10416:       powerpc)
                   10417:             # see comment about AmigaOS4 .so support
                   10418:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10419:             archive_expsym_cmds=''
                   10420:         ;;
                   10421:       m68k)
                   10422:             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)'
                   10423:             hardcode_libdir_flag_spec='-L$libdir'
                   10424:             hardcode_minus_L=yes
                   10425:         ;;
                   10426:       esac
                   10427:       ;;
                   10428: 
                   10429:     beos*)
                   10430:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10431:        allow_undefined_flag=unsupported
                   10432:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10433:        # support --undefined.  This deserves some investigation.  FIXME
                   10434:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10435:       else
                   10436:        ld_shlibs=no
                   10437:       fi
                   10438:       ;;
                   10439: 
                   10440:     cygwin* | mingw* | pw32* | cegcc*)
                   10441:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10442:       # as there is no search path for DLLs.
                   10443:       hardcode_libdir_flag_spec='-L$libdir'
                   10444:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10445:       allow_undefined_flag=unsupported
                   10446:       always_export_symbols=no
                   10447:       enable_shared_with_static_runtimes=yes
                   10448:       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'
                   10449:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10450: 
                   10451:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10452:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10453:        # If the export-symbols file already is a .def file (1st line
                   10454:        # is EXPORTS), use it as is; otherwise, prepend...
                   10455:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10456:          cp $export_symbols $output_objdir/$soname.def;
                   10457:        else
                   10458:          echo EXPORTS > $output_objdir/$soname.def;
                   10459:          cat $export_symbols >> $output_objdir/$soname.def;
                   10460:        fi~
                   10461:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10462:       else
                   10463:        ld_shlibs=no
                   10464:       fi
                   10465:       ;;
                   10466: 
                   10467:     haiku*)
                   10468:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10469:       link_all_deplibs=yes
                   10470:       ;;
                   10471: 
                   10472:     interix[3-9]*)
                   10473:       hardcode_direct=no
                   10474:       hardcode_shlibpath_var=no
                   10475:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10476:       export_dynamic_flag_spec='${wl}-E'
                   10477:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10478:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10479:       # default) and relocated if they conflict, which is a slow very memory
                   10480:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10481:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10482:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10483:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10484:       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'
                   10485:       ;;
                   10486: 
                   10487:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10488:       tmp_diet=no
                   10489:       if test "$host_os" = linux-dietlibc; then
                   10490:        case $cc_basename in
                   10491:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10492:        esac
                   10493:       fi
                   10494:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10495:         && test "$tmp_diet" = no
                   10496:       then
                   10497:        tmp_addflag=' $pic_flag'
                   10498:        tmp_sharedflag='-shared'
                   10499:        case $cc_basename,$host_cpu in
                   10500:         pgcc*)                         # Portland Group C compiler
                   10501:          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'
                   10502:          tmp_addflag=' $pic_flag'
                   10503:          ;;
                   10504:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10505:                                        # Portland Group f77 and f90 compilers
                   10506:          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'
                   10507:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10508:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10509:          tmp_addflag=' -i_dynamic' ;;
                   10510:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10511:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10512:        ifc* | ifort*)                  # Intel Fortran compiler
                   10513:          tmp_addflag=' -nofor_main' ;;
                   10514:        lf95*)                          # Lahey Fortran 8.1
                   10515:          whole_archive_flag_spec=
                   10516:          tmp_sharedflag='--shared' ;;
                   10517:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10518:          tmp_sharedflag='-qmkshrobj'
                   10519:          tmp_addflag= ;;
                   10520:        nvcc*)  # Cuda Compiler Driver 2.2
                   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:          compiler_needs_object=yes
                   10523:          ;;
                   10524:        esac
                   10525:        case `$CC -V 2>&1 | sed 5q` in
                   10526:        *Sun\ C*)                       # Sun C 5.9
                   10527:          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'
                   10528:          compiler_needs_object=yes
                   10529:          tmp_sharedflag='-G' ;;
                   10530:        *Sun\ F*)                       # Sun Fortran 8.3
                   10531:          tmp_sharedflag='-G' ;;
                   10532:        esac
                   10533:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10534: 
                   10535:         if test "x$supports_anon_versioning" = xyes; then
                   10536:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10537:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10538:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10539:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10540:         fi
                   10541: 
                   10542:        case $cc_basename in
                   10543:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10544:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10545:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10546:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10547:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10548:          if test "x$supports_anon_versioning" = xyes; then
                   10549:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10550:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10551:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10552:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10553:          fi
                   10554:          ;;
                   10555:        esac
                   10556:       else
                   10557:         ld_shlibs=no
                   10558:       fi
                   10559:       ;;
                   10560: 
                   10561:     netbsd*)
                   10562:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10563:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10564:        wlarc=
                   10565:       else
                   10566:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10567:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10568:       fi
                   10569:       ;;
                   10570: 
                   10571:     solaris*)
                   10572:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10573:        ld_shlibs=no
                   10574:        cat <<_LT_EOF 1>&2
                   10575: 
                   10576: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10577: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10578: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10579: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10580: *** your PATH or compiler configuration so that the native linker is
                   10581: *** used, and then restart.
                   10582: 
                   10583: _LT_EOF
                   10584:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10585:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10586:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10587:       else
                   10588:        ld_shlibs=no
                   10589:       fi
                   10590:       ;;
                   10591: 
                   10592:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10593:       case `$LD -v 2>&1` in
                   10594:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10595:        ld_shlibs=no
                   10596:        cat <<_LT_EOF 1>&2
                   10597: 
                   10598: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10599: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10600: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10601: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10602: *** your PATH or compiler configuration so that the native linker is
                   10603: *** used, and then restart.
                   10604: 
                   10605: _LT_EOF
                   10606:        ;;
                   10607:        *)
                   10608:          # For security reasons, it is highly recommended that you always
                   10609:          # use absolute paths for naming shared libraries, and exclude the
                   10610:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10611:          # requires that you compile everything twice, which is a pain.
                   10612:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10613:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10614:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10615:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10616:          else
                   10617:            ld_shlibs=no
                   10618:          fi
                   10619:        ;;
                   10620:       esac
                   10621:       ;;
                   10622: 
                   10623:     sunos4*)
                   10624:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10625:       wlarc=
                   10626:       hardcode_direct=yes
                   10627:       hardcode_shlibpath_var=no
                   10628:       ;;
                   10629: 
                   10630:     *)
                   10631:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10632:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10633:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10634:       else
                   10635:        ld_shlibs=no
                   10636:       fi
                   10637:       ;;
                   10638:     esac
                   10639: 
                   10640:     if test "$ld_shlibs" = no; then
                   10641:       runpath_var=
                   10642:       hardcode_libdir_flag_spec=
                   10643:       export_dynamic_flag_spec=
                   10644:       whole_archive_flag_spec=
                   10645:     fi
                   10646:   else
                   10647:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10648:     case $host_os in
                   10649:     aix3*)
                   10650:       allow_undefined_flag=unsupported
                   10651:       always_export_symbols=yes
                   10652:       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'
                   10653:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10654:       # are no directories specified by -L.
                   10655:       hardcode_minus_L=yes
                   10656:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10657:        # Neither direct hardcoding nor static linking is supported with a
                   10658:        # broken collect2.
                   10659:        hardcode_direct=unsupported
                   10660:       fi
                   10661:       ;;
                   10662: 
                   10663:     aix[4-9]*)
                   10664:       if test "$host_cpu" = ia64; then
                   10665:        # On IA64, the linker does run time linking by default, so we don't
                   10666:        # have to do anything special.
                   10667:        aix_use_runtimelinking=no
                   10668:        exp_sym_flag='-Bexport'
                   10669:        no_entry_flag=""
                   10670:       else
                   10671:        # If we're using GNU nm, then we don't want the "-C" option.
                   10672:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10673:        # Also, AIX nm treats weak defined symbols like other global
                   10674:        # defined symbols, whereas GNU nm marks them as "W".
                   10675:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10676:          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'
                   10677:        else
                   10678:          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'
                   10679:        fi
                   10680:        aix_use_runtimelinking=no
                   10681: 
                   10682:        # Test if we are trying to use run time linking or normal
                   10683:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10684:        # need to do runtime linking.
                   10685:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10686:          for ld_flag in $LDFLAGS; do
                   10687:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10688:            aix_use_runtimelinking=yes
                   10689:            break
                   10690:          fi
                   10691:          done
                   10692:          ;;
                   10693:        esac
                   10694: 
                   10695:        exp_sym_flag='-bexport'
                   10696:        no_entry_flag='-bnoentry'
                   10697:       fi
                   10698: 
                   10699:       # When large executables or shared objects are built, AIX ld can
                   10700:       # have problems creating the table of contents.  If linking a library
                   10701:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10702:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10703:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10704: 
                   10705:       archive_cmds=''
                   10706:       hardcode_direct=yes
                   10707:       hardcode_direct_absolute=yes
                   10708:       hardcode_libdir_separator=':'
                   10709:       link_all_deplibs=yes
                   10710:       file_list_spec='${wl}-f,'
                   10711: 
                   10712:       if test "$GCC" = yes; then
                   10713:        case $host_os in aix4.[012]|aix4.[012].*)
                   10714:        # We only want to do this on AIX 4.2 and lower, the check
                   10715:        # below for broken collect2 doesn't work under 4.3+
                   10716:          collect2name=`${CC} -print-prog-name=collect2`
                   10717:          if test -f "$collect2name" &&
                   10718:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10719:          then
                   10720:          # We have reworked collect2
                   10721:          :
                   10722:          else
                   10723:          # We have old collect2
                   10724:          hardcode_direct=unsupported
                   10725:          # It fails to find uninstalled libraries when the uninstalled
                   10726:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10727:          # to unsupported forces relinking
                   10728:          hardcode_minus_L=yes
                   10729:          hardcode_libdir_flag_spec='-L$libdir'
                   10730:          hardcode_libdir_separator=
                   10731:          fi
                   10732:          ;;
                   10733:        esac
                   10734:        shared_flag='-shared'
                   10735:        if test "$aix_use_runtimelinking" = yes; then
                   10736:          shared_flag="$shared_flag "'${wl}-G'
                   10737:        fi
                   10738:       else
                   10739:        # not using gcc
                   10740:        if test "$host_cpu" = ia64; then
                   10741:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10742:        # chokes on -Wl,-G. The following line is correct:
                   10743:          shared_flag='-G'
                   10744:        else
                   10745:          if test "$aix_use_runtimelinking" = yes; then
                   10746:            shared_flag='${wl}-G'
                   10747:          else
                   10748:            shared_flag='${wl}-bM:SRE'
                   10749:          fi
                   10750:        fi
                   10751:       fi
                   10752: 
                   10753:       export_dynamic_flag_spec='${wl}-bexpall'
                   10754:       # It seems that -bexpall does not export symbols beginning with
                   10755:       # underscore (_), so it is better to generate a list of symbols to export.
                   10756:       always_export_symbols=yes
                   10757:       if test "$aix_use_runtimelinking" = yes; then
                   10758:        # Warning - without using the other runtime loading flags (-brtl),
                   10759:        # -berok will link without error, but may produce a broken library.
                   10760:        allow_undefined_flag='-berok'
                   10761:         # Determine the default libpath from the value encoded in an
                   10762:         # empty executable.
                   10763:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10764:   aix_libpath=$lt_cv_aix_libpath
                   10765: else
1.150     moko     10766:   if ${lt_cv_aix_libpath_+:} false; then :
                   10767:   $as_echo_n "(cached) " >&6
1.128     moko     10768: else
1.150     moko     10769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10770: /* end confdefs.h.  */
                   10771: 
                   10772: int
                   10773: main ()
                   10774: {
                   10775: 
                   10776:   ;
                   10777:   return 0;
                   10778: }
                   10779: _ACEOF
1.150     moko     10780: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10781: 
                   10782:   lt_aix_libpath_sed='
                   10783:       /Import File Strings/,/^$/ {
                   10784:          /^0/ {
                   10785:              s/^0  *\([^ ]*\) *$/\1/
                   10786:              p
                   10787:          }
                   10788:       }'
                   10789:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10790:   # Check for a 64-bit object if we didn't find anything.
                   10791:   if test -z "$lt_cv_aix_libpath_"; then
                   10792:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10793:   fi
                   10794: fi
1.150     moko     10795: rm -f core conftest.err conftest.$ac_objext \
                   10796:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10797:   if test -z "$lt_cv_aix_libpath_"; then
                   10798:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10799:   fi
                   10800: 
                   10801: fi
                   10802: 
                   10803:   aix_libpath=$lt_cv_aix_libpath_
                   10804: fi
                   10805: 
                   10806:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10807:         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"
                   10808:       else
                   10809:        if test "$host_cpu" = ia64; then
                   10810:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10811:          allow_undefined_flag="-z nodefs"
                   10812:          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"
                   10813:        else
                   10814:         # Determine the default libpath from the value encoded in an
                   10815:         # empty executable.
                   10816:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10817:   aix_libpath=$lt_cv_aix_libpath
                   10818: else
1.150     moko     10819:   if ${lt_cv_aix_libpath_+:} false; then :
                   10820:   $as_echo_n "(cached) " >&6
1.128     moko     10821: else
1.150     moko     10822:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10823: /* end confdefs.h.  */
                   10824: 
                   10825: int
                   10826: main ()
                   10827: {
                   10828: 
                   10829:   ;
                   10830:   return 0;
                   10831: }
                   10832: _ACEOF
1.150     moko     10833: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10834: 
                   10835:   lt_aix_libpath_sed='
                   10836:       /Import File Strings/,/^$/ {
                   10837:          /^0/ {
                   10838:              s/^0  *\([^ ]*\) *$/\1/
                   10839:              p
                   10840:          }
                   10841:       }'
                   10842:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10843:   # Check for a 64-bit object if we didn't find anything.
                   10844:   if test -z "$lt_cv_aix_libpath_"; then
                   10845:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10846:   fi
                   10847: fi
1.150     moko     10848: rm -f core conftest.err conftest.$ac_objext \
                   10849:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10850:   if test -z "$lt_cv_aix_libpath_"; then
                   10851:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10852:   fi
                   10853: 
                   10854: fi
                   10855: 
                   10856:   aix_libpath=$lt_cv_aix_libpath_
                   10857: fi
                   10858: 
                   10859:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10860:          # Warning - without using the other run time loading flags,
                   10861:          # -berok will link without error, but may produce a broken library.
                   10862:          no_undefined_flag=' ${wl}-bernotok'
                   10863:          allow_undefined_flag=' ${wl}-berok'
                   10864:          if test "$with_gnu_ld" = yes; then
                   10865:            # We only use this code for GNU lds that support --whole-archive.
                   10866:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10867:          else
                   10868:            # Exported symbols can be pulled into shared objects from archives
                   10869:            whole_archive_flag_spec='$convenience'
                   10870:          fi
                   10871:          archive_cmds_need_lc=yes
                   10872:          # This is similar to how AIX traditionally builds its shared libraries.
                   10873:          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'
                   10874:        fi
                   10875:       fi
                   10876:       ;;
                   10877: 
                   10878:     amigaos*)
                   10879:       case $host_cpu in
                   10880:       powerpc)
                   10881:             # see comment about AmigaOS4 .so support
                   10882:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10883:             archive_expsym_cmds=''
                   10884:         ;;
                   10885:       m68k)
                   10886:             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)'
                   10887:             hardcode_libdir_flag_spec='-L$libdir'
                   10888:             hardcode_minus_L=yes
                   10889:         ;;
                   10890:       esac
                   10891:       ;;
                   10892: 
                   10893:     bsdi[45]*)
                   10894:       export_dynamic_flag_spec=-rdynamic
                   10895:       ;;
                   10896: 
                   10897:     cygwin* | mingw* | pw32* | cegcc*)
                   10898:       # When not using gcc, we currently assume that we are using
                   10899:       # Microsoft Visual C++.
                   10900:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10901:       # no search path for DLLs.
                   10902:       case $cc_basename in
                   10903:       cl*)
                   10904:        # Native MSVC
                   10905:        hardcode_libdir_flag_spec=' '
                   10906:        allow_undefined_flag=unsupported
                   10907:        always_export_symbols=yes
                   10908:        file_list_spec='@'
                   10909:        # Tell ltmain to make .lib files, not .a files.
                   10910:        libext=lib
                   10911:        # Tell ltmain to make .dll files, not .so files.
                   10912:        shrext_cmds=".dll"
                   10913:        # FIXME: Setting linknames here is a bad hack.
                   10914:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10915:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10916:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10917:          else
                   10918:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10919:          fi~
                   10920:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10921:          linknames='
                   10922:        # The linker will not automatically build a static lib if we build a DLL.
                   10923:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10924:        enable_shared_with_static_runtimes=yes
                   10925:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10926:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10927:        # Don't use ranlib
                   10928:        old_postinstall_cmds='chmod 644 $oldlib'
                   10929:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10930:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10931:          case $lt_outputfile in
                   10932:            *.exe|*.EXE) ;;
                   10933:            *)
                   10934:              lt_outputfile="$lt_outputfile.exe"
                   10935:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10936:              ;;
                   10937:          esac~
                   10938:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10939:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10940:            $RM "$lt_outputfile.manifest";
                   10941:          fi'
                   10942:        ;;
                   10943:       *)
                   10944:        # Assume MSVC wrapper
                   10945:        hardcode_libdir_flag_spec=' '
                   10946:        allow_undefined_flag=unsupported
                   10947:        # Tell ltmain to make .lib files, not .a files.
                   10948:        libext=lib
                   10949:        # Tell ltmain to make .dll files, not .so files.
                   10950:        shrext_cmds=".dll"
                   10951:        # FIXME: Setting linknames here is a bad hack.
                   10952:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10953:        # The linker will automatically build a .lib file if we build a DLL.
                   10954:        old_archive_from_new_cmds='true'
                   10955:        # FIXME: Should let the user specify the lib program.
                   10956:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10957:        enable_shared_with_static_runtimes=yes
                   10958:        ;;
                   10959:       esac
                   10960:       ;;
                   10961: 
                   10962:     darwin* | rhapsody*)
                   10963: 
                   10964: 
                   10965:   archive_cmds_need_lc=no
                   10966:   hardcode_direct=no
                   10967:   hardcode_automatic=yes
                   10968:   hardcode_shlibpath_var=unsupported
                   10969:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10970:     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\"`'
                   10971: 
                   10972:   else
                   10973:     whole_archive_flag_spec=''
                   10974:   fi
                   10975:   link_all_deplibs=yes
                   10976:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10977:   case $cc_basename in
                   10978:      ifort*) _lt_dar_can_shared=yes ;;
                   10979:      *) _lt_dar_can_shared=$GCC ;;
                   10980:   esac
                   10981:   if test "$_lt_dar_can_shared" = "yes"; then
                   10982:     output_verbose_link_cmd=func_echo_all
                   10983:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10984:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10985:     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}"
                   10986:     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}"
                   10987: 
                   10988:   else
                   10989:   ld_shlibs=no
                   10990:   fi
                   10991: 
                   10992:       ;;
                   10993: 
                   10994:     dgux*)
                   10995:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10996:       hardcode_libdir_flag_spec='-L$libdir'
                   10997:       hardcode_shlibpath_var=no
                   10998:       ;;
                   10999: 
                   11000:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11001:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11002:     # does not break anything, and helps significantly (at the cost of a little
                   11003:     # extra space).
                   11004:     freebsd2.2*)
                   11005:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11006:       hardcode_libdir_flag_spec='-R$libdir'
                   11007:       hardcode_direct=yes
                   11008:       hardcode_shlibpath_var=no
                   11009:       ;;
                   11010: 
                   11011:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11012:     freebsd2.*)
                   11013:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11014:       hardcode_direct=yes
                   11015:       hardcode_minus_L=yes
                   11016:       hardcode_shlibpath_var=no
                   11017:       ;;
                   11018: 
                   11019:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11020:     freebsd* | dragonfly*)
                   11021:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11022:       hardcode_libdir_flag_spec='-R$libdir'
                   11023:       hardcode_direct=yes
                   11024:       hardcode_shlibpath_var=no
                   11025:       ;;
                   11026: 
                   11027:     hpux9*)
                   11028:       if test "$GCC" = yes; then
                   11029:        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'
                   11030:       else
                   11031:        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'
                   11032:       fi
                   11033:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11034:       hardcode_libdir_separator=:
                   11035:       hardcode_direct=yes
                   11036: 
                   11037:       # hardcode_minus_L: Not really in the search PATH,
                   11038:       # but as the default location of the library.
                   11039:       hardcode_minus_L=yes
                   11040:       export_dynamic_flag_spec='${wl}-E'
                   11041:       ;;
                   11042: 
                   11043:     hpux10*)
                   11044:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11045:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11046:       else
                   11047:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11048:       fi
                   11049:       if test "$with_gnu_ld" = no; then
                   11050:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11051:        hardcode_libdir_separator=:
                   11052:        hardcode_direct=yes
                   11053:        hardcode_direct_absolute=yes
                   11054:        export_dynamic_flag_spec='${wl}-E'
                   11055:        # hardcode_minus_L: Not really in the search PATH,
                   11056:        # but as the default location of the library.
                   11057:        hardcode_minus_L=yes
                   11058:       fi
                   11059:       ;;
                   11060: 
                   11061:     hpux11*)
                   11062:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11063:        case $host_cpu in
                   11064:        hppa*64*)
                   11065:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11066:          ;;
                   11067:        ia64*)
                   11068:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11069:          ;;
                   11070:        *)
                   11071:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11072:          ;;
                   11073:        esac
                   11074:       else
                   11075:        case $host_cpu in
                   11076:        hppa*64*)
                   11077:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11078:          ;;
                   11079:        ia64*)
                   11080:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11081:          ;;
                   11082:        *)
                   11083: 
                   11084:          # Older versions of the 11.00 compiler do not understand -b yet
                   11085:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     11086:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11087: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11088: if ${lt_cv_prog_compiler__b+:} false; then :
                   11089:   $as_echo_n "(cached) " >&6
1.128     moko     11090: else
                   11091:   lt_cv_prog_compiler__b=no
                   11092:    save_LDFLAGS="$LDFLAGS"
                   11093:    LDFLAGS="$LDFLAGS -b"
                   11094:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11095:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11096:      # The linker can only warn and ignore the option if not recognized
                   11097:      # So say no if there are warnings
                   11098:      if test -s conftest.err; then
                   11099:        # Append any errors to the config.log.
                   11100:        cat conftest.err 1>&5
                   11101:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11102:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11103:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11104:          lt_cv_prog_compiler__b=yes
                   11105:        fi
                   11106:      else
                   11107:        lt_cv_prog_compiler__b=yes
                   11108:      fi
                   11109:    fi
                   11110:    $RM -r conftest*
                   11111:    LDFLAGS="$save_LDFLAGS"
                   11112: 
                   11113: fi
1.150     moko     11114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11115: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     11116: 
                   11117: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11118:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11119: else
                   11120:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11121: fi
                   11122: 
                   11123:          ;;
                   11124:        esac
                   11125:       fi
                   11126:       if test "$with_gnu_ld" = no; then
                   11127:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11128:        hardcode_libdir_separator=:
                   11129: 
                   11130:        case $host_cpu in
                   11131:        hppa*64*|ia64*)
                   11132:          hardcode_direct=no
                   11133:          hardcode_shlibpath_var=no
                   11134:          ;;
                   11135:        *)
                   11136:          hardcode_direct=yes
                   11137:          hardcode_direct_absolute=yes
                   11138:          export_dynamic_flag_spec='${wl}-E'
                   11139: 
                   11140:          # hardcode_minus_L: Not really in the search PATH,
                   11141:          # but as the default location of the library.
                   11142:          hardcode_minus_L=yes
                   11143:          ;;
                   11144:        esac
                   11145:       fi
                   11146:       ;;
                   11147: 
                   11148:     irix5* | irix6* | nonstopux*)
                   11149:       if test "$GCC" = yes; then
                   11150:        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'
                   11151:        # Try to use the -exported_symbol ld option, if it does not
                   11152:        # work, assume that -exports_file does not work either and
                   11153:        # implicitly export all symbols.
                   11154:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     11155:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11156: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11157: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11158:   $as_echo_n "(cached) " >&6
1.128     moko     11159: else
                   11160:   save_LDFLAGS="$LDFLAGS"
                   11161:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     11162:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11163: /* end confdefs.h.  */
                   11164: int foo (void) { return 0; }
                   11165: _ACEOF
1.150     moko     11166: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11167:   lt_cv_irix_exported_symbol=yes
                   11168: else
1.150     moko     11169:   lt_cv_irix_exported_symbol=no
1.128     moko     11170: fi
1.150     moko     11171: rm -f core conftest.err conftest.$ac_objext \
                   11172:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11173:            LDFLAGS="$save_LDFLAGS"
                   11174: fi
1.150     moko     11175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11176: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     11177:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11178:           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'
                   11179:        fi
                   11180:       else
                   11181:        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'
                   11182:        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'
                   11183:       fi
                   11184:       archive_cmds_need_lc='no'
                   11185:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11186:       hardcode_libdir_separator=:
                   11187:       inherit_rpath=yes
                   11188:       link_all_deplibs=yes
                   11189:       ;;
                   11190: 
                   11191:     netbsd*)
                   11192:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11193:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11194:       else
                   11195:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11196:       fi
                   11197:       hardcode_libdir_flag_spec='-R$libdir'
                   11198:       hardcode_direct=yes
                   11199:       hardcode_shlibpath_var=no
                   11200:       ;;
                   11201: 
                   11202:     newsos6)
                   11203:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11204:       hardcode_direct=yes
                   11205:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11206:       hardcode_libdir_separator=:
                   11207:       hardcode_shlibpath_var=no
                   11208:       ;;
                   11209: 
                   11210:     *nto* | *qnx*)
                   11211:       ;;
                   11212: 
                   11213:     openbsd*)
                   11214:       if test -f /usr/libexec/ld.so; then
                   11215:        hardcode_direct=yes
                   11216:        hardcode_shlibpath_var=no
                   11217:        hardcode_direct_absolute=yes
                   11218:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11219:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11220:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11221:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11222:          export_dynamic_flag_spec='${wl}-E'
                   11223:        else
                   11224:          case $host_os in
                   11225:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11226:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11227:             hardcode_libdir_flag_spec='-R$libdir'
                   11228:             ;;
                   11229:           *)
                   11230:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11231:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11232:             ;;
                   11233:          esac
                   11234:        fi
                   11235:       else
                   11236:        ld_shlibs=no
                   11237:       fi
                   11238:       ;;
                   11239: 
                   11240:     os2*)
                   11241:       hardcode_libdir_flag_spec='-L$libdir'
                   11242:       hardcode_minus_L=yes
                   11243:       allow_undefined_flag=unsupported
                   11244:       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'
                   11245:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11246:       ;;
                   11247: 
                   11248:     osf3*)
                   11249:       if test "$GCC" = yes; then
                   11250:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11251:        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'
                   11252:       else
                   11253:        allow_undefined_flag=' -expect_unresolved \*'
                   11254:        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'
                   11255:       fi
                   11256:       archive_cmds_need_lc='no'
                   11257:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11258:       hardcode_libdir_separator=:
                   11259:       ;;
                   11260: 
                   11261:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11262:       if test "$GCC" = yes; then
                   11263:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11264:        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'
                   11265:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11266:       else
                   11267:        allow_undefined_flag=' -expect_unresolved \*'
                   11268:        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'
                   11269:        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~
                   11270:        $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'
                   11271: 
                   11272:        # Both c and cxx compiler support -rpath directly
                   11273:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11274:       fi
                   11275:       archive_cmds_need_lc='no'
                   11276:       hardcode_libdir_separator=:
                   11277:       ;;
                   11278: 
                   11279:     solaris*)
                   11280:       no_undefined_flag=' -z defs'
                   11281:       if test "$GCC" = yes; then
                   11282:        wlarc='${wl}'
                   11283:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11284:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11285:          $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'
                   11286:       else
                   11287:        case `$CC -V 2>&1` in
                   11288:        *"Compilers 5.0"*)
                   11289:          wlarc=''
                   11290:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11291:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11292:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11293:          ;;
                   11294:        *)
                   11295:          wlarc='${wl}'
                   11296:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11297:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11298:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11299:          ;;
                   11300:        esac
                   11301:       fi
                   11302:       hardcode_libdir_flag_spec='-R$libdir'
                   11303:       hardcode_shlibpath_var=no
                   11304:       case $host_os in
                   11305:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11306:       *)
                   11307:        # The compiler driver will combine and reorder linker options,
                   11308:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11309:        # but is careful enough not to reorder.
                   11310:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11311:        if test "$GCC" = yes; then
                   11312:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11313:        else
                   11314:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11315:        fi
                   11316:        ;;
                   11317:       esac
                   11318:       link_all_deplibs=yes
                   11319:       ;;
                   11320: 
                   11321:     sunos4*)
                   11322:       if test "x$host_vendor" = xsequent; then
                   11323:        # Use $CC to link under sequent, because it throws in some extra .o
                   11324:        # files that make .init and .fini sections work.
                   11325:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11326:       else
                   11327:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11328:       fi
                   11329:       hardcode_libdir_flag_spec='-L$libdir'
                   11330:       hardcode_direct=yes
                   11331:       hardcode_minus_L=yes
                   11332:       hardcode_shlibpath_var=no
                   11333:       ;;
                   11334: 
                   11335:     sysv4)
                   11336:       case $host_vendor in
                   11337:        sni)
                   11338:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11339:          hardcode_direct=yes # is this really true???
                   11340:        ;;
                   11341:        siemens)
                   11342:          ## LD is ld it makes a PLAMLIB
                   11343:          ## CC just makes a GrossModule.
                   11344:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11345:          reload_cmds='$CC -r -o $output$reload_objs'
                   11346:          hardcode_direct=no
                   11347:         ;;
                   11348:        motorola)
                   11349:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11350:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11351:        ;;
                   11352:       esac
                   11353:       runpath_var='LD_RUN_PATH'
                   11354:       hardcode_shlibpath_var=no
                   11355:       ;;
                   11356: 
                   11357:     sysv4.3*)
                   11358:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11359:       hardcode_shlibpath_var=no
                   11360:       export_dynamic_flag_spec='-Bexport'
                   11361:       ;;
                   11362: 
                   11363:     sysv4*MP*)
                   11364:       if test -d /usr/nec; then
                   11365:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11366:        hardcode_shlibpath_var=no
                   11367:        runpath_var=LD_RUN_PATH
                   11368:        hardcode_runpath_var=yes
                   11369:        ld_shlibs=yes
                   11370:       fi
                   11371:       ;;
                   11372: 
                   11373:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11374:       no_undefined_flag='${wl}-z,text'
                   11375:       archive_cmds_need_lc=no
                   11376:       hardcode_shlibpath_var=no
                   11377:       runpath_var='LD_RUN_PATH'
                   11378: 
                   11379:       if test "$GCC" = yes; then
                   11380:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11381:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11382:       else
                   11383:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11384:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11385:       fi
                   11386:       ;;
                   11387: 
                   11388:     sysv5* | sco3.2v5* | sco5v6*)
                   11389:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11390:       # link with -lc, and that would cause any symbols used from libc to
                   11391:       # always be unresolved, which means just about no library would
                   11392:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11393:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11394:       # as -z defs.
                   11395:       no_undefined_flag='${wl}-z,text'
                   11396:       allow_undefined_flag='${wl}-z,nodefs'
                   11397:       archive_cmds_need_lc=no
                   11398:       hardcode_shlibpath_var=no
                   11399:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11400:       hardcode_libdir_separator=':'
                   11401:       link_all_deplibs=yes
                   11402:       export_dynamic_flag_spec='${wl}-Bexport'
                   11403:       runpath_var='LD_RUN_PATH'
                   11404: 
                   11405:       if test "$GCC" = yes; then
                   11406:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11407:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11408:       else
                   11409:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11410:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11411:       fi
                   11412:       ;;
                   11413: 
                   11414:     uts4*)
                   11415:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11416:       hardcode_libdir_flag_spec='-L$libdir'
                   11417:       hardcode_shlibpath_var=no
                   11418:       ;;
                   11419: 
                   11420:     *)
                   11421:       ld_shlibs=no
                   11422:       ;;
                   11423:     esac
                   11424: 
                   11425:     if test x$host_vendor = xsni; then
                   11426:       case $host in
                   11427:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11428:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11429:        ;;
                   11430:       esac
                   11431:     fi
                   11432:   fi
                   11433: 
1.150     moko     11434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11435: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11436: test "$ld_shlibs" = no && can_build_shared=no
                   11437: 
                   11438: with_gnu_ld=$with_gnu_ld
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450: 
                   11451: 
                   11452: 
                   11453: 
                   11454: #
                   11455: # Do we need to explicitly link libc?
                   11456: #
                   11457: case "x$archive_cmds_need_lc" in
                   11458: x|xyes)
                   11459:   # Assume -lc should be added
                   11460:   archive_cmds_need_lc=yes
                   11461: 
                   11462:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11463:     case $archive_cmds in
                   11464:     *'~'*)
                   11465:       # FIXME: we may have to deal with multi-command sequences.
                   11466:       ;;
                   11467:     '$CC '*)
                   11468:       # Test whether the compiler implicitly links with -lc since on some
                   11469:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11470:       # to ld, don't add -lc before -lgcc.
1.150     moko     11471:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11472: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11473: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11474:   $as_echo_n "(cached) " >&6
1.128     moko     11475: else
                   11476:   $RM conftest*
                   11477:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11478: 
1.150     moko     11479:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11480:   (eval $ac_compile) 2>&5
                   11481:   ac_status=$?
1.150     moko     11482:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11483:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11484:          soname=conftest
                   11485:          lib=conftest
                   11486:          libobjs=conftest.$ac_objext
                   11487:          deplibs=
                   11488:          wl=$lt_prog_compiler_wl
                   11489:          pic_flag=$lt_prog_compiler_pic
                   11490:          compiler_flags=-v
                   11491:          linker_flags=-v
                   11492:          verstring=
                   11493:          output_objdir=.
                   11494:          libname=conftest
                   11495:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11496:          allow_undefined_flag=
1.150     moko     11497:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11498:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11499:   ac_status=$?
1.150     moko     11500:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11501:   test $ac_status = 0; }
1.128     moko     11502:          then
                   11503:            lt_cv_archive_cmds_need_lc=no
                   11504:          else
                   11505:            lt_cv_archive_cmds_need_lc=yes
                   11506:          fi
                   11507:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11508:        else
                   11509:          cat conftest.err 1>&5
                   11510:        fi
                   11511:        $RM conftest*
                   11512: 
                   11513: fi
1.150     moko     11514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11515: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11516:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11517:       ;;
                   11518:     esac
                   11519:   fi
                   11520:   ;;
                   11521: esac
                   11522: 
                   11523: 
                   11524: 
                   11525: 
                   11526: 
                   11527: 
                   11528: 
                   11529: 
                   11530: 
                   11531: 
                   11532: 
                   11533: 
                   11534: 
                   11535: 
                   11536: 
                   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: 
1.150     moko     11674:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11675: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11676: 
                   11677: if test "$GCC" = yes; then
                   11678:   case $host_os in
                   11679:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11680:     *) lt_awk_arg="/^libraries:/" ;;
                   11681:   esac
                   11682:   case $host_os in
                   11683:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11684:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11685:   esac
                   11686:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11687:   case $lt_search_path_spec in
                   11688:   *\;*)
                   11689:     # if the path contains ";" then we assume it to be the separator
                   11690:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11691:     # assumed that no part of a normal pathname contains ";" but that should
                   11692:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11693:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11694:     ;;
                   11695:   *)
                   11696:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11697:     ;;
                   11698:   esac
                   11699:   # Ok, now we have the path, separated by spaces, we can step through it
                   11700:   # and add multilib dir if necessary.
                   11701:   lt_tmp_lt_search_path_spec=
                   11702:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11703:   for lt_sys_path in $lt_search_path_spec; do
                   11704:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11705:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11706:     else
                   11707:       test -d "$lt_sys_path" && \
                   11708:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11709:     fi
                   11710:   done
                   11711:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11712: BEGIN {RS=" "; FS="/|\n";} {
                   11713:   lt_foo="";
                   11714:   lt_count=0;
                   11715:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11716:     if ($lt_i != "" && $lt_i != ".") {
                   11717:       if ($lt_i == "..") {
                   11718:         lt_count++;
                   11719:       } else {
                   11720:         if (lt_count == 0) {
                   11721:           lt_foo="/" $lt_i lt_foo;
                   11722:         } else {
                   11723:           lt_count--;
                   11724:         }
                   11725:       }
                   11726:     }
                   11727:   }
                   11728:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11729:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11730: }'`
                   11731:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11732:   # for these hosts.
                   11733:   case $host_os in
                   11734:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11735:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11736:   esac
                   11737:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11738: else
                   11739:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11740: fi
                   11741: library_names_spec=
                   11742: libname_spec='lib$name'
                   11743: soname_spec=
                   11744: shrext_cmds=".so"
                   11745: postinstall_cmds=
                   11746: postuninstall_cmds=
                   11747: finish_cmds=
                   11748: finish_eval=
                   11749: shlibpath_var=
                   11750: shlibpath_overrides_runpath=unknown
                   11751: version_type=none
                   11752: dynamic_linker="$host_os ld.so"
                   11753: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11754: need_lib_prefix=unknown
                   11755: hardcode_into_libs=no
                   11756: 
                   11757: # when you set need_version to no, make sure it does not cause -set_version
                   11758: # flags to be left without arguments
                   11759: need_version=unknown
                   11760: 
                   11761: case $host_os in
                   11762: aix3*)
                   11763:   version_type=linux # correct to gnu/linux during the next big refactor
                   11764:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11765:   shlibpath_var=LIBPATH
                   11766: 
                   11767:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11768:   soname_spec='${libname}${release}${shared_ext}$major'
                   11769:   ;;
                   11770: 
                   11771: aix[4-9]*)
                   11772:   version_type=linux # correct to gnu/linux during the next big refactor
                   11773:   need_lib_prefix=no
                   11774:   need_version=no
                   11775:   hardcode_into_libs=yes
                   11776:   if test "$host_cpu" = ia64; then
                   11777:     # AIX 5 supports IA64
                   11778:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11779:     shlibpath_var=LD_LIBRARY_PATH
                   11780:   else
                   11781:     # With GCC up to 2.95.x, collect2 would create an import file
                   11782:     # for dependence libraries.  The import file would start with
                   11783:     # the line `#! .'.  This would cause the generated library to
                   11784:     # depend on `.', always an invalid library.  This was fixed in
                   11785:     # development snapshots of GCC prior to 3.0.
                   11786:     case $host_os in
                   11787:       aix4 | aix4.[01] | aix4.[01].*)
                   11788:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11789:           echo ' yes '
                   11790:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11791:        :
                   11792:       else
                   11793:        can_build_shared=no
                   11794:       fi
                   11795:       ;;
                   11796:     esac
                   11797:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11798:     # soname into executable. Probably we can add versioning support to
                   11799:     # collect2, so additional links can be useful in future.
                   11800:     if test "$aix_use_runtimelinking" = yes; then
                   11801:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11802:       # instead of lib<name>.a to let people know that these are not
                   11803:       # typical AIX shared libraries.
                   11804:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11805:     else
                   11806:       # We preserve .a as extension for shared libraries through AIX4.2
                   11807:       # and later when we are not doing run time linking.
                   11808:       library_names_spec='${libname}${release}.a $libname.a'
                   11809:       soname_spec='${libname}${release}${shared_ext}$major'
                   11810:     fi
                   11811:     shlibpath_var=LIBPATH
                   11812:   fi
                   11813:   ;;
                   11814: 
                   11815: amigaos*)
                   11816:   case $host_cpu in
                   11817:   powerpc)
                   11818:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11819:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11820:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11821:     ;;
                   11822:   m68k)
                   11823:     library_names_spec='$libname.ixlibrary $libname.a'
                   11824:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11825:     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'
                   11826:     ;;
                   11827:   esac
                   11828:   ;;
                   11829: 
                   11830: beos*)
                   11831:   library_names_spec='${libname}${shared_ext}'
                   11832:   dynamic_linker="$host_os ld.so"
                   11833:   shlibpath_var=LIBRARY_PATH
                   11834:   ;;
                   11835: 
                   11836: bsdi[45]*)
                   11837:   version_type=linux # correct to gnu/linux during the next big refactor
                   11838:   need_version=no
                   11839:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11840:   soname_spec='${libname}${release}${shared_ext}$major'
                   11841:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11842:   shlibpath_var=LD_LIBRARY_PATH
                   11843:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11844:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11845:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11846:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11847:   # libtool to hard-code these into programs
                   11848:   ;;
                   11849: 
                   11850: cygwin* | mingw* | pw32* | cegcc*)
                   11851:   version_type=windows
                   11852:   shrext_cmds=".dll"
                   11853:   need_version=no
                   11854:   need_lib_prefix=no
                   11855: 
                   11856:   case $GCC,$cc_basename in
                   11857:   yes,*)
                   11858:     # gcc
                   11859:     library_names_spec='$libname.dll.a'
                   11860:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11861:     postinstall_cmds='base_file=`basename \${file}`~
                   11862:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11863:       dldir=$destdir/`dirname \$dlpath`~
                   11864:       test -d \$dldir || mkdir -p \$dldir~
                   11865:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11866:       chmod a+x \$dldir/$dlname~
                   11867:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11868:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11869:       fi'
                   11870:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11871:       dlpath=$dir/\$dldll~
                   11872:        $RM \$dlpath'
                   11873:     shlibpath_overrides_runpath=yes
                   11874: 
                   11875:     case $host_os in
                   11876:     cygwin*)
                   11877:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11878:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11879: 
                   11880:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11881:       ;;
                   11882:     mingw* | cegcc*)
                   11883:       # MinGW DLLs use traditional 'lib' prefix
                   11884:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11885:       ;;
                   11886:     pw32*)
                   11887:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11888:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11889:       ;;
                   11890:     esac
                   11891:     dynamic_linker='Win32 ld.exe'
                   11892:     ;;
                   11893: 
                   11894:   *,cl*)
                   11895:     # Native MSVC
                   11896:     libname_spec='$name'
                   11897:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11898:     library_names_spec='${libname}.dll.lib'
                   11899: 
                   11900:     case $build_os in
                   11901:     mingw*)
                   11902:       sys_lib_search_path_spec=
                   11903:       lt_save_ifs=$IFS
                   11904:       IFS=';'
                   11905:       for lt_path in $LIB
                   11906:       do
                   11907:         IFS=$lt_save_ifs
                   11908:         # Let DOS variable expansion print the short 8.3 style file name.
                   11909:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11910:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11911:       done
                   11912:       IFS=$lt_save_ifs
                   11913:       # Convert to MSYS style.
                   11914:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11915:       ;;
                   11916:     cygwin*)
                   11917:       # Convert to unix form, then to dos form, then back to unix form
                   11918:       # but this time dos style (no spaces!) so that the unix form looks
                   11919:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11920:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11921:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11922:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11923:       ;;
                   11924:     *)
                   11925:       sys_lib_search_path_spec="$LIB"
                   11926:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11927:         # It is most probably a Windows format PATH.
                   11928:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11929:       else
                   11930:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11931:       fi
                   11932:       # FIXME: find the short name or the path components, as spaces are
                   11933:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11934:       ;;
                   11935:     esac
                   11936: 
                   11937:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11938:     postinstall_cmds='base_file=`basename \${file}`~
                   11939:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11940:       dldir=$destdir/`dirname \$dlpath`~
                   11941:       test -d \$dldir || mkdir -p \$dldir~
                   11942:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11943:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11944:       dlpath=$dir/\$dldll~
                   11945:        $RM \$dlpath'
                   11946:     shlibpath_overrides_runpath=yes
                   11947:     dynamic_linker='Win32 link.exe'
                   11948:     ;;
                   11949: 
                   11950:   *)
                   11951:     # Assume MSVC wrapper
                   11952:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11953:     dynamic_linker='Win32 ld.exe'
                   11954:     ;;
                   11955:   esac
                   11956:   # FIXME: first we should search . and the directory the executable is in
                   11957:   shlibpath_var=PATH
                   11958:   ;;
                   11959: 
                   11960: darwin* | rhapsody*)
                   11961:   dynamic_linker="$host_os dyld"
                   11962:   version_type=darwin
                   11963:   need_lib_prefix=no
                   11964:   need_version=no
                   11965:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11966:   soname_spec='${libname}${release}${major}$shared_ext'
                   11967:   shlibpath_overrides_runpath=yes
                   11968:   shlibpath_var=DYLD_LIBRARY_PATH
                   11969:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11970: 
                   11971:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11972:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11973:   ;;
                   11974: 
                   11975: dgux*)
                   11976:   version_type=linux # correct to gnu/linux during the next big refactor
                   11977:   need_lib_prefix=no
                   11978:   need_version=no
                   11979:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11980:   soname_spec='${libname}${release}${shared_ext}$major'
                   11981:   shlibpath_var=LD_LIBRARY_PATH
                   11982:   ;;
                   11983: 
                   11984: freebsd* | dragonfly*)
                   11985:   # DragonFly does not have aout.  When/if they implement a new
                   11986:   # versioning mechanism, adjust this.
                   11987:   if test -x /usr/bin/objformat; then
                   11988:     objformat=`/usr/bin/objformat`
                   11989:   else
                   11990:     case $host_os in
                   11991:     freebsd[23].*) objformat=aout ;;
                   11992:     *) objformat=elf ;;
                   11993:     esac
                   11994:   fi
                   11995:   version_type=freebsd-$objformat
                   11996:   case $version_type in
                   11997:     freebsd-elf*)
                   11998:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11999:       need_version=no
                   12000:       need_lib_prefix=no
                   12001:       ;;
                   12002:     freebsd-*)
                   12003:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12004:       need_version=yes
                   12005:       ;;
                   12006:   esac
                   12007:   shlibpath_var=LD_LIBRARY_PATH
                   12008:   case $host_os in
                   12009:   freebsd2.*)
                   12010:     shlibpath_overrides_runpath=yes
                   12011:     ;;
                   12012:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12013:     shlibpath_overrides_runpath=yes
                   12014:     hardcode_into_libs=yes
                   12015:     ;;
                   12016:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12017:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12018:     shlibpath_overrides_runpath=no
                   12019:     hardcode_into_libs=yes
                   12020:     ;;
                   12021:   *) # from 4.6 on, and DragonFly
                   12022:     shlibpath_overrides_runpath=yes
                   12023:     hardcode_into_libs=yes
                   12024:     ;;
                   12025:   esac
                   12026:   ;;
                   12027: 
                   12028: gnu*)
                   12029:   version_type=linux # correct to gnu/linux during the next big refactor
                   12030:   need_lib_prefix=no
                   12031:   need_version=no
                   12032:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12033:   soname_spec='${libname}${release}${shared_ext}$major'
                   12034:   shlibpath_var=LD_LIBRARY_PATH
                   12035:   shlibpath_overrides_runpath=no
                   12036:   hardcode_into_libs=yes
                   12037:   ;;
                   12038: 
                   12039: haiku*)
                   12040:   version_type=linux # correct to gnu/linux during the next big refactor
                   12041:   need_lib_prefix=no
                   12042:   need_version=no
                   12043:   dynamic_linker="$host_os runtime_loader"
                   12044:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12045:   soname_spec='${libname}${release}${shared_ext}$major'
                   12046:   shlibpath_var=LIBRARY_PATH
                   12047:   shlibpath_overrides_runpath=yes
                   12048:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12049:   hardcode_into_libs=yes
                   12050:   ;;
                   12051: 
                   12052: hpux9* | hpux10* | hpux11*)
                   12053:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12054:   # link against other versions.
                   12055:   version_type=sunos
                   12056:   need_lib_prefix=no
                   12057:   need_version=no
                   12058:   case $host_cpu in
                   12059:   ia64*)
                   12060:     shrext_cmds='.so'
                   12061:     hardcode_into_libs=yes
                   12062:     dynamic_linker="$host_os dld.so"
                   12063:     shlibpath_var=LD_LIBRARY_PATH
                   12064:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12065:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12066:     soname_spec='${libname}${release}${shared_ext}$major'
                   12067:     if test "X$HPUX_IA64_MODE" = X32; then
                   12068:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12069:     else
                   12070:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12071:     fi
                   12072:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12073:     ;;
                   12074:   hppa*64*)
                   12075:     shrext_cmds='.sl'
                   12076:     hardcode_into_libs=yes
                   12077:     dynamic_linker="$host_os dld.sl"
                   12078:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12083:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12084:     ;;
                   12085:   *)
                   12086:     shrext_cmds='.sl'
                   12087:     dynamic_linker="$host_os dld.sl"
                   12088:     shlibpath_var=SHLIB_PATH
                   12089:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12090:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12091:     soname_spec='${libname}${release}${shared_ext}$major'
                   12092:     ;;
                   12093:   esac
                   12094:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12095:   postinstall_cmds='chmod 555 $lib'
                   12096:   # or fails outright, so override atomically:
                   12097:   install_override_mode=555
                   12098:   ;;
                   12099: 
                   12100: interix[3-9]*)
                   12101:   version_type=linux # correct to gnu/linux during the next big refactor
                   12102:   need_lib_prefix=no
                   12103:   need_version=no
                   12104:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12105:   soname_spec='${libname}${release}${shared_ext}$major'
                   12106:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12107:   shlibpath_var=LD_LIBRARY_PATH
                   12108:   shlibpath_overrides_runpath=no
                   12109:   hardcode_into_libs=yes
                   12110:   ;;
                   12111: 
                   12112: irix5* | irix6* | nonstopux*)
                   12113:   case $host_os in
                   12114:     nonstopux*) version_type=nonstopux ;;
                   12115:     *)
                   12116:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   12117:                version_type=linux # correct to gnu/linux during the next big refactor
                   12118:        else
                   12119:                version_type=irix
                   12120:        fi ;;
                   12121:   esac
                   12122:   need_lib_prefix=no
                   12123:   need_version=no
                   12124:   soname_spec='${libname}${release}${shared_ext}$major'
                   12125:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12126:   case $host_os in
                   12127:   irix5* | nonstopux*)
                   12128:     libsuff= shlibsuff=
                   12129:     ;;
                   12130:   *)
                   12131:     case $LD in # libtool.m4 will add one of these switches to LD
                   12132:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12133:       libsuff= shlibsuff= libmagic=32-bit;;
                   12134:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12135:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12136:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12137:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12138:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12139:     esac
                   12140:     ;;
                   12141:   esac
                   12142:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12143:   shlibpath_overrides_runpath=no
                   12144:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12145:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12146:   hardcode_into_libs=yes
                   12147:   ;;
                   12148: 
                   12149: # No shared lib support for Linux oldld, aout, or coff.
                   12150: linux*oldld* | linux*aout* | linux*coff*)
                   12151:   dynamic_linker=no
                   12152:   ;;
                   12153: 
                   12154: # This must be glibc/ELF.
                   12155: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12156:   version_type=linux # correct to gnu/linux during the next big refactor
                   12157:   need_lib_prefix=no
                   12158:   need_version=no
                   12159:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12160:   soname_spec='${libname}${release}${shared_ext}$major'
                   12161:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12162:   shlibpath_var=LD_LIBRARY_PATH
                   12163:   shlibpath_overrides_runpath=no
                   12164: 
                   12165:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     12166:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12167:   $as_echo_n "(cached) " >&6
1.128     moko     12168: else
                   12169:   lt_cv_shlibpath_overrides_runpath=no
                   12170:     save_LDFLAGS=$LDFLAGS
                   12171:     save_libdir=$libdir
                   12172:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12173:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     12174:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12175: /* end confdefs.h.  */
                   12176: 
                   12177: int
                   12178: main ()
                   12179: {
                   12180: 
                   12181:   ;
                   12182:   return 0;
                   12183: }
                   12184: _ACEOF
1.150     moko     12185: if ac_fn_c_try_link "$LINENO"; then :
                   12186:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     12187:   lt_cv_shlibpath_overrides_runpath=yes
                   12188: fi
                   12189: fi
1.150     moko     12190: rm -f core conftest.err conftest.$ac_objext \
                   12191:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12192:     LDFLAGS=$save_LDFLAGS
                   12193:     libdir=$save_libdir
                   12194: 
                   12195: fi
                   12196: 
                   12197:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12198: 
                   12199:   # This implies no fast_install, which is unacceptable.
                   12200:   # Some rework will be needed to allow for fast_install
                   12201:   # before this can be enabled.
                   12202:   hardcode_into_libs=yes
                   12203: 
                   12204:   # Append ld.so.conf contents to the search path
                   12205:   if test -f /etc/ld.so.conf; then
                   12206:     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' ' '`
                   12207:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12208:   fi
                   12209: 
                   12210:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12211:   # powerpc, because MkLinux only supported shared libraries with the
                   12212:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12213:   # most powerpc-linux boxes support dynamic linking these days and
                   12214:   # people can always --disable-shared, the test was removed, and we
                   12215:   # assume the GNU/Linux dynamic linker is in use.
                   12216:   dynamic_linker='GNU/Linux ld.so'
                   12217:   ;;
                   12218: 
                   12219: netbsd*)
                   12220:   version_type=sunos
                   12221:   need_lib_prefix=no
                   12222:   need_version=no
                   12223:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12224:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12225:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12226:     dynamic_linker='NetBSD (a.out) ld.so'
                   12227:   else
                   12228:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12229:     soname_spec='${libname}${release}${shared_ext}$major'
                   12230:     dynamic_linker='NetBSD ld.elf_so'
                   12231:   fi
                   12232:   shlibpath_var=LD_LIBRARY_PATH
                   12233:   shlibpath_overrides_runpath=yes
                   12234:   hardcode_into_libs=yes
                   12235:   ;;
                   12236: 
                   12237: newsos6)
                   12238:   version_type=linux # correct to gnu/linux during the next big refactor
                   12239:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12240:   shlibpath_var=LD_LIBRARY_PATH
                   12241:   shlibpath_overrides_runpath=yes
                   12242:   ;;
                   12243: 
                   12244: *nto* | *qnx*)
                   12245:   version_type=qnx
                   12246:   need_lib_prefix=no
                   12247:   need_version=no
                   12248:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12249:   soname_spec='${libname}${release}${shared_ext}$major'
                   12250:   shlibpath_var=LD_LIBRARY_PATH
                   12251:   shlibpath_overrides_runpath=no
                   12252:   hardcode_into_libs=yes
                   12253:   dynamic_linker='ldqnx.so'
                   12254:   ;;
                   12255: 
                   12256: openbsd*)
                   12257:   version_type=sunos
                   12258:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12259:   need_lib_prefix=no
                   12260:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12261:   case $host_os in
                   12262:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12263:     *)                         need_version=no  ;;
                   12264:   esac
                   12265:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12266:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12267:   shlibpath_var=LD_LIBRARY_PATH
                   12268:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12269:     case $host_os in
                   12270:       openbsd2.[89] | openbsd2.[89].*)
                   12271:        shlibpath_overrides_runpath=no
                   12272:        ;;
                   12273:       *)
                   12274:        shlibpath_overrides_runpath=yes
                   12275:        ;;
                   12276:       esac
                   12277:   else
                   12278:     shlibpath_overrides_runpath=yes
                   12279:   fi
                   12280:   ;;
                   12281: 
                   12282: os2*)
                   12283:   libname_spec='$name'
                   12284:   shrext_cmds=".dll"
                   12285:   need_lib_prefix=no
                   12286:   library_names_spec='$libname${shared_ext} $libname.a'
                   12287:   dynamic_linker='OS/2 ld.exe'
                   12288:   shlibpath_var=LIBPATH
                   12289:   ;;
                   12290: 
                   12291: osf3* | osf4* | osf5*)
                   12292:   version_type=osf
                   12293:   need_lib_prefix=no
                   12294:   need_version=no
                   12295:   soname_spec='${libname}${release}${shared_ext}$major'
                   12296:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12297:   shlibpath_var=LD_LIBRARY_PATH
                   12298:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12299:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12300:   ;;
                   12301: 
                   12302: rdos*)
                   12303:   dynamic_linker=no
                   12304:   ;;
                   12305: 
                   12306: solaris*)
                   12307:   version_type=linux # correct to gnu/linux during the next big refactor
                   12308:   need_lib_prefix=no
                   12309:   need_version=no
                   12310:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12311:   soname_spec='${libname}${release}${shared_ext}$major'
                   12312:   shlibpath_var=LD_LIBRARY_PATH
                   12313:   shlibpath_overrides_runpath=yes
                   12314:   hardcode_into_libs=yes
                   12315:   # ldd complains unless libraries are executable
                   12316:   postinstall_cmds='chmod +x $lib'
                   12317:   ;;
                   12318: 
                   12319: sunos4*)
                   12320:   version_type=sunos
                   12321:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12322:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12323:   shlibpath_var=LD_LIBRARY_PATH
                   12324:   shlibpath_overrides_runpath=yes
                   12325:   if test "$with_gnu_ld" = yes; then
                   12326:     need_lib_prefix=no
                   12327:   fi
                   12328:   need_version=yes
                   12329:   ;;
                   12330: 
                   12331: sysv4 | sysv4.3*)
                   12332:   version_type=linux # correct to gnu/linux during the next big refactor
                   12333:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12334:   soname_spec='${libname}${release}${shared_ext}$major'
                   12335:   shlibpath_var=LD_LIBRARY_PATH
                   12336:   case $host_vendor in
                   12337:     sni)
                   12338:       shlibpath_overrides_runpath=no
                   12339:       need_lib_prefix=no
                   12340:       runpath_var=LD_RUN_PATH
                   12341:       ;;
                   12342:     siemens)
                   12343:       need_lib_prefix=no
                   12344:       ;;
                   12345:     motorola)
                   12346:       need_lib_prefix=no
                   12347:       need_version=no
                   12348:       shlibpath_overrides_runpath=no
                   12349:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12350:       ;;
                   12351:   esac
                   12352:   ;;
                   12353: 
                   12354: sysv4*MP*)
                   12355:   if test -d /usr/nec ;then
                   12356:     version_type=linux # correct to gnu/linux during the next big refactor
                   12357:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12358:     soname_spec='$libname${shared_ext}.$major'
                   12359:     shlibpath_var=LD_LIBRARY_PATH
                   12360:   fi
                   12361:   ;;
                   12362: 
                   12363: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12364:   version_type=freebsd-elf
                   12365:   need_lib_prefix=no
                   12366:   need_version=no
                   12367:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12368:   soname_spec='${libname}${release}${shared_ext}$major'
                   12369:   shlibpath_var=LD_LIBRARY_PATH
                   12370:   shlibpath_overrides_runpath=yes
                   12371:   hardcode_into_libs=yes
                   12372:   if test "$with_gnu_ld" = yes; then
                   12373:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12374:   else
                   12375:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12376:     case $host_os in
                   12377:       sco3.2v5*)
                   12378:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12379:        ;;
                   12380:     esac
                   12381:   fi
                   12382:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12383:   ;;
                   12384: 
                   12385: tpf*)
                   12386:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12387:   version_type=linux # correct to gnu/linux during the next big refactor
                   12388:   need_lib_prefix=no
                   12389:   need_version=no
                   12390:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12391:   shlibpath_var=LD_LIBRARY_PATH
                   12392:   shlibpath_overrides_runpath=no
                   12393:   hardcode_into_libs=yes
                   12394:   ;;
                   12395: 
                   12396: uts4*)
                   12397:   version_type=linux # correct to gnu/linux during the next big refactor
                   12398:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12399:   soname_spec='${libname}${release}${shared_ext}$major'
                   12400:   shlibpath_var=LD_LIBRARY_PATH
                   12401:   ;;
                   12402: 
                   12403: *)
                   12404:   dynamic_linker=no
                   12405:   ;;
                   12406: esac
1.150     moko     12407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12408: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12409: test "$dynamic_linker" = no && can_build_shared=no
                   12410: 
                   12411: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12412: if test "$GCC" = yes; then
                   12413:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12414: fi
                   12415: 
                   12416: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12417:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12418: fi
                   12419: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12420:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12421: fi
                   12422: 
                   12423: 
                   12424: 
                   12425: 
                   12426: 
                   12427: 
                   12428: 
                   12429: 
                   12430: 
                   12431: 
                   12432: 
                   12433: 
                   12434: 
                   12435: 
                   12436: 
                   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: 
1.150     moko     12514:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12515: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12516: hardcode_action=
                   12517: if test -n "$hardcode_libdir_flag_spec" ||
                   12518:    test -n "$runpath_var" ||
                   12519:    test "X$hardcode_automatic" = "Xyes" ; then
                   12520: 
                   12521:   # We can hardcode non-existent directories.
                   12522:   if test "$hardcode_direct" != no &&
                   12523:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12524:      # have to relink, otherwise we might link with an installed library
                   12525:      # when we should be linking with a yet-to-be-installed one
                   12526:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12527:      test "$hardcode_minus_L" != no; then
                   12528:     # Linking always hardcodes the temporary library directory.
                   12529:     hardcode_action=relink
                   12530:   else
                   12531:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12532:     hardcode_action=immediate
                   12533:   fi
                   12534: else
                   12535:   # We cannot hardcode anything, or else we can only hardcode existing
                   12536:   # directories.
                   12537:   hardcode_action=unsupported
                   12538: fi
1.150     moko     12539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12540: $as_echo "$hardcode_action" >&6; }
1.128     moko     12541: 
                   12542: if test "$hardcode_action" = relink ||
                   12543:    test "$inherit_rpath" = yes; then
                   12544:   # Fast installation is not supported
                   12545:   enable_fast_install=no
                   12546: elif test "$shlibpath_overrides_runpath" = yes ||
                   12547:      test "$enable_shared" = no; then
                   12548:   # Fast installation is not necessary
                   12549:   enable_fast_install=needless
                   12550: fi
                   12551: 
                   12552: 
                   12553: 
                   12554: 
                   12555: 
                   12556: 
                   12557:   if test "x$enable_dlopen" != xyes; then
                   12558:   enable_dlopen=unknown
                   12559:   enable_dlopen_self=unknown
                   12560:   enable_dlopen_self_static=unknown
                   12561: else
                   12562:   lt_cv_dlopen=no
                   12563:   lt_cv_dlopen_libs=
                   12564: 
                   12565:   case $host_os in
                   12566:   beos*)
                   12567:     lt_cv_dlopen="load_add_on"
                   12568:     lt_cv_dlopen_libs=
                   12569:     lt_cv_dlopen_self=yes
                   12570:     ;;
                   12571: 
                   12572:   mingw* | pw32* | cegcc*)
                   12573:     lt_cv_dlopen="LoadLibrary"
                   12574:     lt_cv_dlopen_libs=
                   12575:     ;;
                   12576: 
                   12577:   cygwin*)
                   12578:     lt_cv_dlopen="dlopen"
                   12579:     lt_cv_dlopen_libs=
                   12580:     ;;
                   12581: 
                   12582:   darwin*)
                   12583:   # if libdl is installed we need to link against it
1.150     moko     12584:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12585: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12586: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12587:   $as_echo_n "(cached) " >&6
1.128     moko     12588: else
                   12589:   ac_check_lib_save_LIBS=$LIBS
                   12590: LIBS="-ldl  $LIBS"
1.150     moko     12591: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12592: /* end confdefs.h.  */
                   12593: 
1.150     moko     12594: /* Override any GCC internal prototype to avoid an error.
                   12595:    Use char because int might match the return type of a GCC
                   12596:    builtin and then its argument prototype would still apply.  */
1.128     moko     12597: #ifdef __cplusplus
                   12598: extern "C"
                   12599: #endif
                   12600: char dlopen ();
                   12601: int
                   12602: main ()
                   12603: {
1.150     moko     12604: return dlopen ();
1.128     moko     12605:   ;
                   12606:   return 0;
                   12607: }
                   12608: _ACEOF
1.150     moko     12609: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12610:   ac_cv_lib_dl_dlopen=yes
                   12611: else
1.150     moko     12612:   ac_cv_lib_dl_dlopen=no
1.128     moko     12613: fi
1.150     moko     12614: rm -f core conftest.err conftest.$ac_objext \
                   12615:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12616: LIBS=$ac_check_lib_save_LIBS
                   12617: fi
1.150     moko     12618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12619: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12620: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12621:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12622: else
                   12623: 
                   12624:     lt_cv_dlopen="dyld"
                   12625:     lt_cv_dlopen_libs=
                   12626:     lt_cv_dlopen_self=yes
                   12627: 
                   12628: fi
                   12629: 
                   12630:     ;;
                   12631: 
                   12632:   *)
1.150     moko     12633:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12634: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12635:   lt_cv_dlopen="shl_load"
                   12636: else
1.150     moko     12637:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12638: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12639: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12640:   $as_echo_n "(cached) " >&6
1.128     moko     12641: else
                   12642:   ac_check_lib_save_LIBS=$LIBS
                   12643: LIBS="-ldld  $LIBS"
1.150     moko     12644: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12645: /* end confdefs.h.  */
                   12646: 
1.150     moko     12647: /* Override any GCC internal prototype to avoid an error.
                   12648:    Use char because int might match the return type of a GCC
                   12649:    builtin and then its argument prototype would still apply.  */
1.128     moko     12650: #ifdef __cplusplus
                   12651: extern "C"
                   12652: #endif
                   12653: char shl_load ();
                   12654: int
                   12655: main ()
                   12656: {
1.150     moko     12657: return shl_load ();
1.128     moko     12658:   ;
                   12659:   return 0;
                   12660: }
                   12661: _ACEOF
1.150     moko     12662: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12663:   ac_cv_lib_dld_shl_load=yes
                   12664: else
1.150     moko     12665:   ac_cv_lib_dld_shl_load=no
1.128     moko     12666: fi
1.150     moko     12667: rm -f core conftest.err conftest.$ac_objext \
                   12668:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12669: LIBS=$ac_check_lib_save_LIBS
                   12670: fi
1.150     moko     12671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12672: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12673: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12674:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12675: else
1.150     moko     12676:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12677: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12678:   lt_cv_dlopen="dlopen"
                   12679: else
1.150     moko     12680:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12681: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12682: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12683:   $as_echo_n "(cached) " >&6
1.128     moko     12684: else
                   12685:   ac_check_lib_save_LIBS=$LIBS
                   12686: LIBS="-ldl  $LIBS"
1.150     moko     12687: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12688: /* end confdefs.h.  */
                   12689: 
1.150     moko     12690: /* Override any GCC internal prototype to avoid an error.
                   12691:    Use char because int might match the return type of a GCC
                   12692:    builtin and then its argument prototype would still apply.  */
1.128     moko     12693: #ifdef __cplusplus
                   12694: extern "C"
                   12695: #endif
                   12696: char dlopen ();
                   12697: int
                   12698: main ()
                   12699: {
1.150     moko     12700: return dlopen ();
1.128     moko     12701:   ;
                   12702:   return 0;
                   12703: }
                   12704: _ACEOF
1.150     moko     12705: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12706:   ac_cv_lib_dl_dlopen=yes
                   12707: else
1.150     moko     12708:   ac_cv_lib_dl_dlopen=no
1.128     moko     12709: fi
1.150     moko     12710: rm -f core conftest.err conftest.$ac_objext \
                   12711:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12712: LIBS=$ac_check_lib_save_LIBS
                   12713: fi
1.150     moko     12714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12715: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12716: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12717:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12718: else
1.150     moko     12719:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12720: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12721: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12722:   $as_echo_n "(cached) " >&6
1.128     moko     12723: else
                   12724:   ac_check_lib_save_LIBS=$LIBS
                   12725: LIBS="-lsvld  $LIBS"
1.150     moko     12726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12727: /* end confdefs.h.  */
                   12728: 
1.150     moko     12729: /* Override any GCC internal prototype to avoid an error.
                   12730:    Use char because int might match the return type of a GCC
                   12731:    builtin and then its argument prototype would still apply.  */
1.128     moko     12732: #ifdef __cplusplus
                   12733: extern "C"
                   12734: #endif
                   12735: char dlopen ();
                   12736: int
                   12737: main ()
                   12738: {
1.150     moko     12739: return dlopen ();
1.128     moko     12740:   ;
                   12741:   return 0;
                   12742: }
                   12743: _ACEOF
1.150     moko     12744: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12745:   ac_cv_lib_svld_dlopen=yes
                   12746: else
1.150     moko     12747:   ac_cv_lib_svld_dlopen=no
1.128     moko     12748: fi
1.150     moko     12749: rm -f core conftest.err conftest.$ac_objext \
                   12750:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12751: LIBS=$ac_check_lib_save_LIBS
                   12752: fi
1.150     moko     12753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12754: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12755: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12756:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12757: else
1.150     moko     12758:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12759: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12760: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12761:   $as_echo_n "(cached) " >&6
1.128     moko     12762: else
                   12763:   ac_check_lib_save_LIBS=$LIBS
                   12764: LIBS="-ldld  $LIBS"
1.150     moko     12765: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12766: /* end confdefs.h.  */
                   12767: 
1.150     moko     12768: /* Override any GCC internal prototype to avoid an error.
                   12769:    Use char because int might match the return type of a GCC
                   12770:    builtin and then its argument prototype would still apply.  */
1.128     moko     12771: #ifdef __cplusplus
                   12772: extern "C"
                   12773: #endif
                   12774: char dld_link ();
                   12775: int
                   12776: main ()
                   12777: {
1.150     moko     12778: return dld_link ();
1.128     moko     12779:   ;
                   12780:   return 0;
                   12781: }
                   12782: _ACEOF
1.150     moko     12783: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12784:   ac_cv_lib_dld_dld_link=yes
                   12785: else
1.150     moko     12786:   ac_cv_lib_dld_dld_link=no
                   12787: fi
                   12788: rm -f core conftest.err conftest.$ac_objext \
                   12789:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12790: LIBS=$ac_check_lib_save_LIBS
                   12791: fi
1.150     moko     12792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12793: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12794: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12795:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12796: fi
                   12797: 
                   12798: 
                   12799: fi
                   12800: 
                   12801: 
                   12802: fi
                   12803: 
                   12804: 
                   12805: fi
                   12806: 
                   12807: 
                   12808: fi
                   12809: 
                   12810: 
                   12811: fi
                   12812: 
                   12813:     ;;
                   12814:   esac
                   12815: 
                   12816:   if test "x$lt_cv_dlopen" != xno; then
                   12817:     enable_dlopen=yes
                   12818:   else
                   12819:     enable_dlopen=no
                   12820:   fi
                   12821: 
                   12822:   case $lt_cv_dlopen in
                   12823:   dlopen)
                   12824:     save_CPPFLAGS="$CPPFLAGS"
                   12825:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12826: 
                   12827:     save_LDFLAGS="$LDFLAGS"
                   12828:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12829: 
                   12830:     save_LIBS="$LIBS"
                   12831:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12832: 
1.150     moko     12833:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12834: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12835: if ${lt_cv_dlopen_self+:} false; then :
                   12836:   $as_echo_n "(cached) " >&6
1.128     moko     12837: else
                   12838:          if test "$cross_compiling" = yes; then :
                   12839:   lt_cv_dlopen_self=cross
                   12840: else
                   12841:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12842:   lt_status=$lt_dlunknown
                   12843:   cat > conftest.$ac_ext <<_LT_EOF
                   12844: #line $LINENO "configure"
                   12845: #include "confdefs.h"
                   12846: 
                   12847: #if HAVE_DLFCN_H
                   12848: #include <dlfcn.h>
                   12849: #endif
                   12850: 
                   12851: #include <stdio.h>
                   12852: 
                   12853: #ifdef RTLD_GLOBAL
                   12854: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12855: #else
                   12856: #  ifdef DL_GLOBAL
                   12857: #    define LT_DLGLOBAL                DL_GLOBAL
                   12858: #  else
                   12859: #    define LT_DLGLOBAL                0
                   12860: #  endif
                   12861: #endif
                   12862: 
                   12863: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12864:    find out it does not work in some platform. */
                   12865: #ifndef LT_DLLAZY_OR_NOW
                   12866: #  ifdef RTLD_LAZY
                   12867: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12868: #  else
                   12869: #    ifdef DL_LAZY
                   12870: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12871: #    else
                   12872: #      ifdef RTLD_NOW
                   12873: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12874: #      else
                   12875: #        ifdef DL_NOW
                   12876: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12877: #        else
                   12878: #          define LT_DLLAZY_OR_NOW     0
                   12879: #        endif
                   12880: #      endif
                   12881: #    endif
                   12882: #  endif
                   12883: #endif
                   12884: 
                   12885: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12886:    correspondingly for the symbols needed.  */
                   12887: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12888: int fnord () __attribute__((visibility("default")));
                   12889: #endif
                   12890: 
                   12891: int fnord () { return 42; }
                   12892: int main ()
                   12893: {
                   12894:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12895:   int status = $lt_dlunknown;
                   12896: 
                   12897:   if (self)
                   12898:     {
                   12899:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12900:       else
                   12901:         {
                   12902:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12903:           else puts (dlerror ());
                   12904:        }
                   12905:       /* dlclose (self); */
                   12906:     }
                   12907:   else
                   12908:     puts (dlerror ());
                   12909: 
                   12910:   return status;
                   12911: }
                   12912: _LT_EOF
1.150     moko     12913:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12914:   (eval $ac_link) 2>&5
                   12915:   ac_status=$?
1.150     moko     12916:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12917:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12918:     (./conftest; exit; ) >&5 2>/dev/null
                   12919:     lt_status=$?
                   12920:     case x$lt_status in
                   12921:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12922:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12923:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12924:     esac
                   12925:   else :
                   12926:     # compilation failed
                   12927:     lt_cv_dlopen_self=no
                   12928:   fi
                   12929: fi
                   12930: rm -fr conftest*
                   12931: 
                   12932: 
                   12933: fi
1.150     moko     12934: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12935: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12936: 
                   12937:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12938:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12939:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12940: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12941: if ${lt_cv_dlopen_self_static+:} false; then :
                   12942:   $as_echo_n "(cached) " >&6
1.128     moko     12943: else
                   12944:          if test "$cross_compiling" = yes; then :
                   12945:   lt_cv_dlopen_self_static=cross
                   12946: else
                   12947:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12948:   lt_status=$lt_dlunknown
                   12949:   cat > conftest.$ac_ext <<_LT_EOF
                   12950: #line $LINENO "configure"
                   12951: #include "confdefs.h"
                   12952: 
                   12953: #if HAVE_DLFCN_H
                   12954: #include <dlfcn.h>
                   12955: #endif
                   12956: 
                   12957: #include <stdio.h>
                   12958: 
                   12959: #ifdef RTLD_GLOBAL
                   12960: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12961: #else
                   12962: #  ifdef DL_GLOBAL
                   12963: #    define LT_DLGLOBAL                DL_GLOBAL
                   12964: #  else
                   12965: #    define LT_DLGLOBAL                0
                   12966: #  endif
                   12967: #endif
                   12968: 
                   12969: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12970:    find out it does not work in some platform. */
                   12971: #ifndef LT_DLLAZY_OR_NOW
                   12972: #  ifdef RTLD_LAZY
                   12973: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12974: #  else
                   12975: #    ifdef DL_LAZY
                   12976: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12977: #    else
                   12978: #      ifdef RTLD_NOW
                   12979: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12980: #      else
                   12981: #        ifdef DL_NOW
                   12982: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12983: #        else
                   12984: #          define LT_DLLAZY_OR_NOW     0
                   12985: #        endif
                   12986: #      endif
                   12987: #    endif
                   12988: #  endif
                   12989: #endif
                   12990: 
                   12991: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12992:    correspondingly for the symbols needed.  */
                   12993: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12994: int fnord () __attribute__((visibility("default")));
                   12995: #endif
                   12996: 
                   12997: int fnord () { return 42; }
                   12998: int main ()
                   12999: {
                   13000:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13001:   int status = $lt_dlunknown;
                   13002: 
                   13003:   if (self)
                   13004:     {
                   13005:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13006:       else
                   13007:         {
                   13008:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13009:           else puts (dlerror ());
                   13010:        }
                   13011:       /* dlclose (self); */
                   13012:     }
                   13013:   else
                   13014:     puts (dlerror ());
                   13015: 
                   13016:   return status;
                   13017: }
                   13018: _LT_EOF
1.150     moko     13019:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13020:   (eval $ac_link) 2>&5
                   13021:   ac_status=$?
1.150     moko     13022:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13023:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13024:     (./conftest; exit; ) >&5 2>/dev/null
                   13025:     lt_status=$?
                   13026:     case x$lt_status in
                   13027:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13028:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13029:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13030:     esac
                   13031:   else :
                   13032:     # compilation failed
                   13033:     lt_cv_dlopen_self_static=no
                   13034:   fi
                   13035: fi
                   13036: rm -fr conftest*
                   13037: 
                   13038: 
                   13039: fi
1.150     moko     13040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13041: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     13042:     fi
                   13043: 
                   13044:     CPPFLAGS="$save_CPPFLAGS"
                   13045:     LDFLAGS="$save_LDFLAGS"
                   13046:     LIBS="$save_LIBS"
                   13047:     ;;
                   13048:   esac
                   13049: 
                   13050:   case $lt_cv_dlopen_self in
                   13051:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13052:   *) enable_dlopen_self=unknown ;;
                   13053:   esac
                   13054: 
                   13055:   case $lt_cv_dlopen_self_static in
                   13056:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13057:   *) enable_dlopen_self_static=unknown ;;
                   13058:   esac
                   13059: fi
                   13060: 
                   13061: 
                   13062: 
                   13063: 
                   13064: 
                   13065: 
                   13066: 
                   13067: 
                   13068: 
                   13069: 
                   13070: 
                   13071: 
                   13072: 
                   13073: 
                   13074: 
                   13075: 
                   13076: 
                   13077: striplib=
                   13078: old_striplib=
1.150     moko     13079: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13080: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     13081: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13082:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13083:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     13084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13085: $as_echo "yes" >&6; }
1.128     moko     13086: else
                   13087: # FIXME - insert some real tests, host_os isn't really good enough
                   13088:   case $host_os in
                   13089:   darwin*)
                   13090:     if test -n "$STRIP" ; then
                   13091:       striplib="$STRIP -x"
                   13092:       old_striplib="$STRIP -S"
1.150     moko     13093:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13094: $as_echo "yes" >&6; }
1.128     moko     13095:     else
1.150     moko     13096:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13097: $as_echo "no" >&6; }
1.128     moko     13098:     fi
                   13099:     ;;
                   13100:   *)
1.150     moko     13101:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13102: $as_echo "no" >&6; }
1.128     moko     13103:     ;;
                   13104:   esac
                   13105: fi
                   13106: 
                   13107: 
                   13108: 
                   13109: 
                   13110: 
                   13111: 
                   13112: 
                   13113: 
                   13114: 
                   13115: 
                   13116: 
                   13117: 
                   13118:   # Report which library types will actually be built
1.150     moko     13119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13120: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13122: $as_echo "$can_build_shared" >&6; }
1.128     moko     13123: 
1.150     moko     13124:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13125: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     13126:   test "$can_build_shared" = "no" && enable_shared=no
                   13127: 
                   13128:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13129:   # are all built from PIC.
                   13130:   case $host_os in
                   13131:   aix3*)
                   13132:     test "$enable_shared" = yes && enable_static=no
                   13133:     if test -n "$RANLIB"; then
                   13134:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13135:       postinstall_cmds='$RANLIB $lib'
                   13136:     fi
                   13137:     ;;
                   13138: 
                   13139:   aix[4-9]*)
                   13140:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13141:       test "$enable_shared" = yes && enable_static=no
                   13142:     fi
                   13143:     ;;
                   13144:   esac
1.150     moko     13145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13146: $as_echo "$enable_shared" >&6; }
1.128     moko     13147: 
1.150     moko     13148:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13149: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     13150:   # Make sure either enable_shared or enable_static is yes.
                   13151:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     13152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13153: $as_echo "$enable_static" >&6; }
1.128     moko     13154: 
                   13155: 
                   13156: 
                   13157: 
                   13158: fi
                   13159: ac_ext=c
                   13160: ac_cpp='$CPP $CPPFLAGS'
                   13161: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13162: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13163: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13164: 
                   13165: CC="$lt_save_CC"
                   13166: 
                   13167:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13168:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13169:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     13170:   ac_ext=cpp
1.128     moko     13171: ac_cpp='$CXXCPP $CPPFLAGS'
                   13172: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13173: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13174: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     13175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13176: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     13177: if test -z "$CXXCPP"; then
1.150     moko     13178:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13179:   $as_echo_n "(cached) " >&6
1.128     moko     13180: else
                   13181:       # Double quotes because CXXCPP needs to be expanded
                   13182:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13183:     do
                   13184:       ac_preproc_ok=false
                   13185: for ac_cxx_preproc_warn_flag in '' yes
                   13186: do
                   13187:   # Use a header file that comes with gcc, so configuring glibc
                   13188:   # with a fresh cross-compiler works.
                   13189:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13190:   # <limits.h> exists even on freestanding compilers.
                   13191:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13192:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13193:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13194: /* end confdefs.h.  */
                   13195: #ifdef __STDC__
                   13196: # include <limits.h>
                   13197: #else
                   13198: # include <assert.h>
                   13199: #endif
                   13200:                     Syntax error
                   13201: _ACEOF
1.150     moko     13202: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13203: 
1.128     moko     13204: else
                   13205:   # Broken: fails on valid input.
                   13206: continue
                   13207: fi
1.150     moko     13208: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13209: 
1.150     moko     13210:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13211:   # can be detected and how.
1.150     moko     13212:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13213: /* end confdefs.h.  */
                   13214: #include <ac_nonexistent.h>
                   13215: _ACEOF
1.150     moko     13216: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13217:   # Broken: success on invalid input.
                   13218: continue
                   13219: else
                   13220:   # Passes both tests.
                   13221: ac_preproc_ok=:
                   13222: break
                   13223: fi
1.150     moko     13224: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13225: 
                   13226: done
                   13227: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13228: rm -f conftest.i conftest.err conftest.$ac_ext
                   13229: if $ac_preproc_ok; then :
1.128     moko     13230:   break
                   13231: fi
                   13232: 
                   13233:     done
                   13234:     ac_cv_prog_CXXCPP=$CXXCPP
                   13235: 
                   13236: fi
                   13237:   CXXCPP=$ac_cv_prog_CXXCPP
                   13238: else
                   13239:   ac_cv_prog_CXXCPP=$CXXCPP
                   13240: fi
1.150     moko     13241: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13242: $as_echo "$CXXCPP" >&6; }
1.128     moko     13243: ac_preproc_ok=false
                   13244: for ac_cxx_preproc_warn_flag in '' yes
                   13245: do
                   13246:   # Use a header file that comes with gcc, so configuring glibc
                   13247:   # with a fresh cross-compiler works.
                   13248:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13249:   # <limits.h> exists even on freestanding compilers.
                   13250:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13251:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13252:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13253: /* end confdefs.h.  */
                   13254: #ifdef __STDC__
                   13255: # include <limits.h>
                   13256: #else
                   13257: # include <assert.h>
                   13258: #endif
                   13259:                     Syntax error
                   13260: _ACEOF
1.150     moko     13261: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13262: 
1.128     moko     13263: else
                   13264:   # Broken: fails on valid input.
                   13265: continue
                   13266: fi
1.150     moko     13267: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13268: 
1.150     moko     13269:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13270:   # can be detected and how.
1.150     moko     13271:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13272: /* end confdefs.h.  */
                   13273: #include <ac_nonexistent.h>
                   13274: _ACEOF
1.150     moko     13275: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13276:   # Broken: success on invalid input.
                   13277: continue
                   13278: else
                   13279:   # Passes both tests.
                   13280: ac_preproc_ok=:
                   13281: break
                   13282: fi
1.150     moko     13283: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13284: 
                   13285: done
                   13286: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13287: rm -f conftest.i conftest.err conftest.$ac_ext
                   13288: if $ac_preproc_ok; then :
                   13289: 
1.128     moko     13290: else
1.150     moko     13291:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13292: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13293: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13294: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13295: fi
                   13296: 
                   13297: ac_ext=c
                   13298: ac_cpp='$CPP $CPPFLAGS'
                   13299: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13300: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13301: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13302: 
                   13303: else
                   13304:   _lt_caught_CXX_error=yes
                   13305: fi
                   13306: 
1.150     moko     13307: ac_ext=cpp
1.128     moko     13308: ac_cpp='$CXXCPP $CPPFLAGS'
                   13309: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13310: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13311: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13312: 
                   13313: archive_cmds_need_lc_CXX=no
                   13314: allow_undefined_flag_CXX=
                   13315: always_export_symbols_CXX=no
                   13316: archive_expsym_cmds_CXX=
                   13317: compiler_needs_object_CXX=no
                   13318: export_dynamic_flag_spec_CXX=
                   13319: hardcode_direct_CXX=no
                   13320: hardcode_direct_absolute_CXX=no
                   13321: hardcode_libdir_flag_spec_CXX=
                   13322: hardcode_libdir_separator_CXX=
                   13323: hardcode_minus_L_CXX=no
                   13324: hardcode_shlibpath_var_CXX=unsupported
                   13325: hardcode_automatic_CXX=no
                   13326: inherit_rpath_CXX=no
                   13327: module_cmds_CXX=
                   13328: module_expsym_cmds_CXX=
                   13329: link_all_deplibs_CXX=unknown
                   13330: old_archive_cmds_CXX=$old_archive_cmds
                   13331: reload_flag_CXX=$reload_flag
                   13332: reload_cmds_CXX=$reload_cmds
                   13333: no_undefined_flag_CXX=
                   13334: whole_archive_flag_spec_CXX=
                   13335: enable_shared_with_static_runtimes_CXX=no
                   13336: 
                   13337: # Source file extension for C++ test sources.
                   13338: ac_ext=cpp
                   13339: 
                   13340: # Object file extension for compiled C++ test sources.
                   13341: objext=o
                   13342: objext_CXX=$objext
                   13343: 
                   13344: # No sense in running all these tests if we already determined that
                   13345: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13346: # are currently assumed to apply to all compilers on this platform,
                   13347: # and will be corrupted by setting them based on a non-working compiler.
                   13348: if test "$_lt_caught_CXX_error" != yes; then
                   13349:   # Code to be used in simple compile tests
                   13350:   lt_simple_compile_test_code="int some_variable = 0;"
                   13351: 
                   13352:   # Code to be used in simple link tests
                   13353:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13354: 
                   13355:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13356: 
                   13357: 
                   13358: 
                   13359: 
                   13360: 
                   13361: 
                   13362: # If no C compiler was specified, use CC.
                   13363: LTCC=${LTCC-"$CC"}
                   13364: 
                   13365: # If no C compiler flags were specified, use CFLAGS.
                   13366: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13367: 
                   13368: # Allow CC to be a program name with arguments.
                   13369: compiler=$CC
                   13370: 
                   13371: 
                   13372:   # save warnings/boilerplate of simple test code
                   13373:   ac_outfile=conftest.$ac_objext
                   13374: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13375: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13376: _lt_compiler_boilerplate=`cat conftest.err`
                   13377: $RM conftest*
                   13378: 
                   13379:   ac_outfile=conftest.$ac_objext
                   13380: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13381: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13382: _lt_linker_boilerplate=`cat conftest.err`
                   13383: $RM -r conftest*
                   13384: 
                   13385: 
                   13386:   # Allow CC to be a program name with arguments.
                   13387:   lt_save_CC=$CC
                   13388:   lt_save_CFLAGS=$CFLAGS
                   13389:   lt_save_LD=$LD
                   13390:   lt_save_GCC=$GCC
                   13391:   GCC=$GXX
                   13392:   lt_save_with_gnu_ld=$with_gnu_ld
                   13393:   lt_save_path_LD=$lt_cv_path_LD
                   13394:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13395:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13396:   else
                   13397:     $as_unset lt_cv_prog_gnu_ld
                   13398:   fi
                   13399:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13400:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13401:   else
                   13402:     $as_unset lt_cv_path_LD
                   13403:   fi
                   13404:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13405:   CC=${CXX-"c++"}
                   13406:   CFLAGS=$CXXFLAGS
                   13407:   compiler=$CC
                   13408:   compiler_CXX=$CC
                   13409:   for cc_temp in $compiler""; do
                   13410:   case $cc_temp in
                   13411:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13412:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13413:     \-*) ;;
                   13414:     *) break;;
                   13415:   esac
                   13416: done
                   13417: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13418: 
                   13419: 
                   13420:   if test -n "$compiler"; then
                   13421:     # We don't want -fno-exception when compiling C++ code, so set the
                   13422:     # no_builtin_flag separately
                   13423:     if test "$GXX" = yes; then
                   13424:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13425:     else
                   13426:       lt_prog_compiler_no_builtin_flag_CXX=
                   13427:     fi
                   13428: 
                   13429:     if test "$GXX" = yes; then
                   13430:       # Set up default GNU C++ configuration
                   13431: 
                   13432: 
                   13433: 
1.150     moko     13434: # Check whether --with-gnu-ld was given.
                   13435: if test "${with_gnu_ld+set}" = set; then :
                   13436:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13437: else
                   13438:   with_gnu_ld=no
1.150     moko     13439: fi
                   13440: 
1.128     moko     13441: ac_prog=ld
                   13442: if test "$GCC" = yes; then
                   13443:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13444:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13445: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13446:   case $host in
                   13447:   *-*-mingw*)
                   13448:     # gcc leaves a trailing carriage return which upsets mingw
                   13449:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13450:   *)
                   13451:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13452:   esac
                   13453:   case $ac_prog in
                   13454:     # Accept absolute paths.
                   13455:     [\\/]* | ?:[\\/]*)
                   13456:       re_direlt='/[^/][^/]*/\.\./'
                   13457:       # Canonicalize the pathname of ld
                   13458:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13459:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13460:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13461:       done
                   13462:       test -z "$LD" && LD="$ac_prog"
                   13463:       ;;
                   13464:   "")
                   13465:     # If it fails, then pretend we aren't using GCC.
                   13466:     ac_prog=ld
                   13467:     ;;
                   13468:   *)
                   13469:     # If it is relative, then search for the first ld in PATH.
                   13470:     with_gnu_ld=unknown
                   13471:     ;;
                   13472:   esac
                   13473: elif test "$with_gnu_ld" = yes; then
1.150     moko     13474:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13475: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13476: else
1.150     moko     13477:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13478: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13479: fi
1.150     moko     13480: if ${lt_cv_path_LD+:} false; then :
                   13481:   $as_echo_n "(cached) " >&6
1.128     moko     13482: else
                   13483:   if test -z "$LD"; then
                   13484:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13485:   for ac_dir in $PATH; do
                   13486:     IFS="$lt_save_ifs"
                   13487:     test -z "$ac_dir" && ac_dir=.
                   13488:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13489:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13490:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13491:       # but apparently some variants of GNU ld only accept -v.
                   13492:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13493:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13494:       *GNU* | *'with BFD'*)
                   13495:        test "$with_gnu_ld" != no && break
                   13496:        ;;
                   13497:       *)
                   13498:        test "$with_gnu_ld" != yes && break
                   13499:        ;;
                   13500:       esac
                   13501:     fi
                   13502:   done
                   13503:   IFS="$lt_save_ifs"
                   13504: else
                   13505:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13506: fi
                   13507: fi
                   13508: 
                   13509: LD="$lt_cv_path_LD"
                   13510: if test -n "$LD"; then
1.150     moko     13511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13512: $as_echo "$LD" >&6; }
1.128     moko     13513: else
1.150     moko     13514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13515: $as_echo "no" >&6; }
1.128     moko     13516: fi
1.150     moko     13517: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13518: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13519: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13520: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13521:   $as_echo_n "(cached) " >&6
1.128     moko     13522: else
                   13523:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13524: case `$LD -v 2>&1 </dev/null` in
                   13525: *GNU* | *'with BFD'*)
                   13526:   lt_cv_prog_gnu_ld=yes
                   13527:   ;;
                   13528: *)
                   13529:   lt_cv_prog_gnu_ld=no
                   13530:   ;;
                   13531: esac
                   13532: fi
1.150     moko     13533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13534: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13535: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13536: 
                   13537: 
                   13538: 
                   13539: 
                   13540: 
                   13541: 
                   13542: 
                   13543:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13544:       # archiving commands below assume that GNU ld is being used.
                   13545:       if test "$with_gnu_ld" = yes; then
                   13546:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13547:         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'
                   13548: 
                   13549:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13550:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13551: 
                   13552:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13553:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13554:         #     investigate it a little bit more. (MM)
                   13555:         wlarc='${wl}'
                   13556: 
                   13557:         # ancient GNU ld didn't support --whole-archive et. al.
                   13558:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13559:          $GREP 'no-whole-archive' > /dev/null; then
                   13560:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13561:         else
                   13562:           whole_archive_flag_spec_CXX=
                   13563:         fi
                   13564:       else
                   13565:         with_gnu_ld=no
                   13566:         wlarc=
                   13567: 
                   13568:         # A generic and very simple default shared library creation
                   13569:         # command for GNU C++ for the case where it uses the native
                   13570:         # linker, instead of GNU ld.  If possible, this setting should
                   13571:         # overridden to take advantage of the native linker features on
                   13572:         # the platform it is being used on.
                   13573:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13574:       fi
                   13575: 
                   13576:       # Commands to make compiler produce verbose output that lists
                   13577:       # what "hidden" libraries, object files and flags are used when
                   13578:       # linking a shared library.
                   13579:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13580: 
                   13581:     else
                   13582:       GXX=no
                   13583:       with_gnu_ld=no
                   13584:       wlarc=
                   13585:     fi
                   13586: 
                   13587:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13588:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13589: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13590:     ld_shlibs_CXX=yes
                   13591:     case $host_os in
                   13592:       aix3*)
                   13593:         # FIXME: insert proper C++ library support
                   13594:         ld_shlibs_CXX=no
                   13595:         ;;
                   13596:       aix[4-9]*)
                   13597:         if test "$host_cpu" = ia64; then
                   13598:           # On IA64, the linker does run time linking by default, so we don't
                   13599:           # have to do anything special.
                   13600:           aix_use_runtimelinking=no
                   13601:           exp_sym_flag='-Bexport'
                   13602:           no_entry_flag=""
                   13603:         else
                   13604:           aix_use_runtimelinking=no
                   13605: 
                   13606:           # Test if we are trying to use run time linking or normal
                   13607:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13608:           # need to do runtime linking.
                   13609:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13610:            for ld_flag in $LDFLAGS; do
                   13611:              case $ld_flag in
                   13612:              *-brtl*)
                   13613:                aix_use_runtimelinking=yes
                   13614:                break
                   13615:                ;;
                   13616:              esac
                   13617:            done
                   13618:            ;;
                   13619:           esac
                   13620: 
                   13621:           exp_sym_flag='-bexport'
                   13622:           no_entry_flag='-bnoentry'
                   13623:         fi
                   13624: 
                   13625:         # When large executables or shared objects are built, AIX ld can
                   13626:         # have problems creating the table of contents.  If linking a library
                   13627:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13628:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13629:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13630: 
                   13631:         archive_cmds_CXX=''
                   13632:         hardcode_direct_CXX=yes
                   13633:         hardcode_direct_absolute_CXX=yes
                   13634:         hardcode_libdir_separator_CXX=':'
                   13635:         link_all_deplibs_CXX=yes
                   13636:         file_list_spec_CXX='${wl}-f,'
                   13637: 
                   13638:         if test "$GXX" = yes; then
                   13639:           case $host_os in aix4.[012]|aix4.[012].*)
                   13640:           # We only want to do this on AIX 4.2 and lower, the check
                   13641:           # below for broken collect2 doesn't work under 4.3+
                   13642:          collect2name=`${CC} -print-prog-name=collect2`
                   13643:          if test -f "$collect2name" &&
                   13644:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13645:          then
                   13646:            # We have reworked collect2
                   13647:            :
                   13648:          else
                   13649:            # We have old collect2
                   13650:            hardcode_direct_CXX=unsupported
                   13651:            # It fails to find uninstalled libraries when the uninstalled
                   13652:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13653:            # to unsupported forces relinking
                   13654:            hardcode_minus_L_CXX=yes
                   13655:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13656:            hardcode_libdir_separator_CXX=
                   13657:          fi
                   13658:           esac
                   13659:           shared_flag='-shared'
                   13660:          if test "$aix_use_runtimelinking" = yes; then
                   13661:            shared_flag="$shared_flag "'${wl}-G'
                   13662:          fi
                   13663:         else
                   13664:           # not using gcc
                   13665:           if test "$host_cpu" = ia64; then
                   13666:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13667:          # chokes on -Wl,-G. The following line is correct:
                   13668:          shared_flag='-G'
                   13669:           else
                   13670:            if test "$aix_use_runtimelinking" = yes; then
                   13671:              shared_flag='${wl}-G'
                   13672:            else
                   13673:              shared_flag='${wl}-bM:SRE'
                   13674:            fi
                   13675:           fi
                   13676:         fi
                   13677: 
                   13678:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13679:         # It seems that -bexpall does not export symbols beginning with
                   13680:         # underscore (_), so it is better to generate a list of symbols to
                   13681:        # export.
                   13682:         always_export_symbols_CXX=yes
                   13683:         if test "$aix_use_runtimelinking" = yes; then
                   13684:           # Warning - without using the other runtime loading flags (-brtl),
                   13685:           # -berok will link without error, but may produce a broken library.
                   13686:           allow_undefined_flag_CXX='-berok'
                   13687:           # Determine the default libpath from the value encoded in an empty
                   13688:           # executable.
                   13689:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13690:   aix_libpath=$lt_cv_aix_libpath
                   13691: else
1.150     moko     13692:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13693:   $as_echo_n "(cached) " >&6
1.128     moko     13694: else
1.150     moko     13695:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13696: /* end confdefs.h.  */
                   13697: 
                   13698: int
                   13699: main ()
                   13700: {
                   13701: 
                   13702:   ;
                   13703:   return 0;
                   13704: }
                   13705: _ACEOF
1.150     moko     13706: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13707: 
                   13708:   lt_aix_libpath_sed='
                   13709:       /Import File Strings/,/^$/ {
                   13710:          /^0/ {
                   13711:              s/^0  *\([^ ]*\) *$/\1/
                   13712:              p
                   13713:          }
                   13714:       }'
                   13715:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13716:   # Check for a 64-bit object if we didn't find anything.
                   13717:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13718:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13719:   fi
                   13720: fi
1.150     moko     13721: rm -f core conftest.err conftest.$ac_objext \
                   13722:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13723:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13724:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13725:   fi
                   13726: 
                   13727: fi
                   13728: 
                   13729:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13730: fi
                   13731: 
                   13732:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13733: 
                   13734:           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"
                   13735:         else
                   13736:           if test "$host_cpu" = ia64; then
                   13737:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13738:            allow_undefined_flag_CXX="-z nodefs"
                   13739:            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"
                   13740:           else
                   13741:            # Determine the default libpath from the value encoded in an
                   13742:            # empty executable.
                   13743:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13744:   aix_libpath=$lt_cv_aix_libpath
                   13745: else
1.150     moko     13746:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13747:   $as_echo_n "(cached) " >&6
1.128     moko     13748: else
1.150     moko     13749:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13750: /* end confdefs.h.  */
                   13751: 
                   13752: int
                   13753: main ()
                   13754: {
                   13755: 
                   13756:   ;
                   13757:   return 0;
                   13758: }
                   13759: _ACEOF
1.150     moko     13760: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13761: 
                   13762:   lt_aix_libpath_sed='
                   13763:       /Import File Strings/,/^$/ {
                   13764:          /^0/ {
                   13765:              s/^0  *\([^ ]*\) *$/\1/
                   13766:              p
                   13767:          }
                   13768:       }'
                   13769:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13770:   # Check for a 64-bit object if we didn't find anything.
                   13771:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13772:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13773:   fi
                   13774: fi
1.150     moko     13775: rm -f core conftest.err conftest.$ac_objext \
                   13776:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13777:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13778:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13779:   fi
                   13780: 
                   13781: fi
                   13782: 
                   13783:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13784: fi
                   13785: 
                   13786:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13787:            # Warning - without using the other run time loading flags,
                   13788:            # -berok will link without error, but may produce a broken library.
                   13789:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13790:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13791:            if test "$with_gnu_ld" = yes; then
                   13792:              # We only use this code for GNU lds that support --whole-archive.
                   13793:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13794:            else
                   13795:              # Exported symbols can be pulled into shared objects from archives
                   13796:              whole_archive_flag_spec_CXX='$convenience'
                   13797:            fi
                   13798:            archive_cmds_need_lc_CXX=yes
                   13799:            # This is similar to how AIX traditionally builds its shared
                   13800:            # libraries.
                   13801:            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'
                   13802:           fi
                   13803:         fi
                   13804:         ;;
                   13805: 
                   13806:       beos*)
                   13807:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13808:          allow_undefined_flag_CXX=unsupported
                   13809:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13810:          # support --undefined.  This deserves some investigation.  FIXME
                   13811:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13812:        else
                   13813:          ld_shlibs_CXX=no
                   13814:        fi
                   13815:        ;;
                   13816: 
                   13817:       chorus*)
                   13818:         case $cc_basename in
                   13819:           *)
                   13820:          # FIXME: insert proper C++ library support
                   13821:          ld_shlibs_CXX=no
                   13822:          ;;
                   13823:         esac
                   13824:         ;;
                   13825: 
                   13826:       cygwin* | mingw* | pw32* | cegcc*)
                   13827:        case $GXX,$cc_basename in
                   13828:        ,cl* | no,cl*)
                   13829:          # Native MSVC
                   13830:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13831:          # no search path for DLLs.
                   13832:          hardcode_libdir_flag_spec_CXX=' '
                   13833:          allow_undefined_flag_CXX=unsupported
                   13834:          always_export_symbols_CXX=yes
                   13835:          file_list_spec_CXX='@'
                   13836:          # Tell ltmain to make .lib files, not .a files.
                   13837:          libext=lib
                   13838:          # Tell ltmain to make .dll files, not .so files.
                   13839:          shrext_cmds=".dll"
                   13840:          # FIXME: Setting linknames here is a bad hack.
                   13841:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13842:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13843:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13844:            else
                   13845:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13846:            fi~
                   13847:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13848:            linknames='
                   13849:          # The linker will not automatically build a static lib if we build a DLL.
                   13850:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13851:          enable_shared_with_static_runtimes_CXX=yes
                   13852:          # Don't use ranlib
                   13853:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13854:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13855:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13856:            case $lt_outputfile in
                   13857:              *.exe|*.EXE) ;;
                   13858:              *)
                   13859:                lt_outputfile="$lt_outputfile.exe"
                   13860:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13861:                ;;
                   13862:            esac~
                   13863:            func_to_tool_file "$lt_outputfile"~
                   13864:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13865:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13866:              $RM "$lt_outputfile.manifest";
                   13867:            fi'
                   13868:          ;;
                   13869:        *)
                   13870:          # g++
                   13871:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13872:          # as there is no search path for DLLs.
                   13873:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13874:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13875:          allow_undefined_flag_CXX=unsupported
                   13876:          always_export_symbols_CXX=no
                   13877:          enable_shared_with_static_runtimes_CXX=yes
                   13878: 
                   13879:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13880:            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'
                   13881:            # If the export-symbols file already is a .def file (1st line
                   13882:            # is EXPORTS), use it as is; otherwise, prepend...
                   13883:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13884:              cp $export_symbols $output_objdir/$soname.def;
                   13885:            else
                   13886:              echo EXPORTS > $output_objdir/$soname.def;
                   13887:              cat $export_symbols >> $output_objdir/$soname.def;
                   13888:            fi~
                   13889:            $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'
                   13890:          else
                   13891:            ld_shlibs_CXX=no
                   13892:          fi
                   13893:          ;;
                   13894:        esac
                   13895:        ;;
                   13896:       darwin* | rhapsody*)
                   13897: 
                   13898: 
                   13899:   archive_cmds_need_lc_CXX=no
                   13900:   hardcode_direct_CXX=no
                   13901:   hardcode_automatic_CXX=yes
                   13902:   hardcode_shlibpath_var_CXX=unsupported
                   13903:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13904:     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\"`'
                   13905: 
                   13906:   else
                   13907:     whole_archive_flag_spec_CXX=''
                   13908:   fi
                   13909:   link_all_deplibs_CXX=yes
                   13910:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13911:   case $cc_basename in
                   13912:      ifort*) _lt_dar_can_shared=yes ;;
                   13913:      *) _lt_dar_can_shared=$GCC ;;
                   13914:   esac
                   13915:   if test "$_lt_dar_can_shared" = "yes"; then
                   13916:     output_verbose_link_cmd=func_echo_all
                   13917:     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}"
                   13918:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13919:     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}"
                   13920:     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}"
                   13921:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13922:       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}"
                   13923:       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}"
                   13924:     fi
                   13925: 
                   13926:   else
                   13927:   ld_shlibs_CXX=no
                   13928:   fi
                   13929: 
                   13930:        ;;
                   13931: 
                   13932:       dgux*)
                   13933:         case $cc_basename in
                   13934:           ec++*)
                   13935:            # FIXME: insert proper C++ library support
                   13936:            ld_shlibs_CXX=no
                   13937:            ;;
                   13938:           ghcx*)
                   13939:            # Green Hills C++ Compiler
                   13940:            # FIXME: insert proper C++ library support
                   13941:            ld_shlibs_CXX=no
                   13942:            ;;
                   13943:           *)
                   13944:            # FIXME: insert proper C++ library support
                   13945:            ld_shlibs_CXX=no
                   13946:            ;;
                   13947:         esac
                   13948:         ;;
                   13949: 
                   13950:       freebsd2.*)
                   13951:         # C++ shared libraries reported to be fairly broken before
                   13952:        # switch to ELF
                   13953:         ld_shlibs_CXX=no
                   13954:         ;;
                   13955: 
                   13956:       freebsd-elf*)
                   13957:         archive_cmds_need_lc_CXX=no
                   13958:         ;;
                   13959: 
                   13960:       freebsd* | dragonfly*)
                   13961:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13962:         # conventions
                   13963:         ld_shlibs_CXX=yes
                   13964:         ;;
                   13965: 
                   13966:       gnu*)
                   13967:         ;;
                   13968: 
                   13969:       haiku*)
                   13970:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13971:         link_all_deplibs_CXX=yes
                   13972:         ;;
                   13973: 
                   13974:       hpux9*)
                   13975:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13976:         hardcode_libdir_separator_CXX=:
                   13977:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13978:         hardcode_direct_CXX=yes
                   13979:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13980:                                             # but as the default
                   13981:                                             # location of the library.
                   13982: 
                   13983:         case $cc_basename in
                   13984:           CC*)
                   13985:             # FIXME: insert proper C++ library support
                   13986:             ld_shlibs_CXX=no
                   13987:             ;;
                   13988:           aCC*)
                   13989:             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'
                   13990:             # Commands to make compiler produce verbose output that lists
                   13991:             # what "hidden" libraries, object files and flags are used when
                   13992:             # linking a shared library.
                   13993:             #
                   13994:             # There doesn't appear to be a way to prevent this compiler from
                   13995:             # explicitly linking system object files so we need to strip them
                   13996:             # from the output so that they don't get included in the library
                   13997:             # dependencies.
                   13998:             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"'
                   13999:             ;;
                   14000:           *)
                   14001:             if test "$GXX" = yes; then
                   14002:               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'
                   14003:             else
                   14004:               # FIXME: insert proper C++ library support
                   14005:               ld_shlibs_CXX=no
                   14006:             fi
                   14007:             ;;
                   14008:         esac
                   14009:         ;;
                   14010: 
                   14011:       hpux10*|hpux11*)
                   14012:         if test $with_gnu_ld = no; then
                   14013:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14014:          hardcode_libdir_separator_CXX=:
                   14015: 
                   14016:           case $host_cpu in
                   14017:             hppa*64*|ia64*)
                   14018:               ;;
                   14019:             *)
                   14020:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14021:               ;;
                   14022:           esac
                   14023:         fi
                   14024:         case $host_cpu in
                   14025:           hppa*64*|ia64*)
                   14026:             hardcode_direct_CXX=no
                   14027:             hardcode_shlibpath_var_CXX=no
                   14028:             ;;
                   14029:           *)
                   14030:             hardcode_direct_CXX=yes
                   14031:             hardcode_direct_absolute_CXX=yes
                   14032:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14033:                                                 # but as the default
                   14034:                                                 # location of the library.
                   14035:             ;;
                   14036:         esac
                   14037: 
                   14038:         case $cc_basename in
                   14039:           CC*)
                   14040:            # FIXME: insert proper C++ library support
                   14041:            ld_shlibs_CXX=no
                   14042:            ;;
                   14043:           aCC*)
                   14044:            case $host_cpu in
                   14045:              hppa*64*)
                   14046:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14047:                ;;
                   14048:              ia64*)
                   14049:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14050:                ;;
                   14051:              *)
                   14052:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14053:                ;;
                   14054:            esac
                   14055:            # Commands to make compiler produce verbose output that lists
                   14056:            # what "hidden" libraries, object files and flags are used when
                   14057:            # linking a shared library.
                   14058:            #
                   14059:            # There doesn't appear to be a way to prevent this compiler from
                   14060:            # explicitly linking system object files so we need to strip them
                   14061:            # from the output so that they don't get included in the library
                   14062:            # dependencies.
                   14063:            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"'
                   14064:            ;;
                   14065:           *)
                   14066:            if test "$GXX" = yes; then
                   14067:              if test $with_gnu_ld = no; then
                   14068:                case $host_cpu in
                   14069:                  hppa*64*)
                   14070:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14071:                    ;;
                   14072:                  ia64*)
                   14073:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14074:                    ;;
                   14075:                  *)
                   14076:                    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'
                   14077:                    ;;
                   14078:                esac
                   14079:              fi
                   14080:            else
                   14081:              # FIXME: insert proper C++ library support
                   14082:              ld_shlibs_CXX=no
                   14083:            fi
                   14084:            ;;
                   14085:         esac
                   14086:         ;;
                   14087: 
                   14088:       interix[3-9]*)
                   14089:        hardcode_direct_CXX=no
                   14090:        hardcode_shlibpath_var_CXX=no
                   14091:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14092:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14093:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14094:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14095:        # default) and relocated if they conflict, which is a slow very memory
                   14096:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14097:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14098:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14099:        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'
                   14100:        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'
                   14101:        ;;
                   14102:       irix5* | irix6*)
                   14103:         case $cc_basename in
                   14104:           CC*)
                   14105:            # SGI C++
                   14106:            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'
                   14107: 
                   14108:            # Archives containing C++ object files must be created using
                   14109:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14110:            # necessary to make sure instantiated templates are included
                   14111:            # in the archive.
                   14112:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14113:            ;;
                   14114:           *)
                   14115:            if test "$GXX" = yes; then
                   14116:              if test "$with_gnu_ld" = no; then
                   14117:                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'
                   14118:              else
                   14119:                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'
                   14120:              fi
                   14121:            fi
                   14122:            link_all_deplibs_CXX=yes
                   14123:            ;;
                   14124:         esac
                   14125:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14126:         hardcode_libdir_separator_CXX=:
                   14127:         inherit_rpath_CXX=yes
                   14128:         ;;
                   14129: 
                   14130:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14131:         case $cc_basename in
                   14132:           KCC*)
                   14133:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14134: 
                   14135:            # KCC will only create a shared library if the output file
                   14136:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14137:            # to its proper name (with version) after linking.
                   14138:            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'
                   14139:            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'
                   14140:            # Commands to make compiler produce verbose output that lists
                   14141:            # what "hidden" libraries, object files and flags are used when
                   14142:            # linking a shared library.
                   14143:            #
                   14144:            # There doesn't appear to be a way to prevent this compiler from
                   14145:            # explicitly linking system object files so we need to strip them
                   14146:            # from the output so that they don't get included in the library
                   14147:            # dependencies.
                   14148:            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"'
                   14149: 
                   14150:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14151:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14152: 
                   14153:            # Archives containing C++ object files must be created using
                   14154:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14155:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14156:            ;;
                   14157:          icpc* | ecpc* )
                   14158:            # Intel C++
                   14159:            with_gnu_ld=yes
                   14160:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14161:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14162:            # earlier do not add the objects themselves.
                   14163:            case `$CC -V 2>&1` in
                   14164:              *"Version 7."*)
                   14165:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14166:                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'
                   14167:                ;;
                   14168:              *)  # Version 8.0 or newer
                   14169:                tmp_idyn=
                   14170:                case $host_cpu in
                   14171:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14172:                esac
                   14173:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14174:                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'
                   14175:                ;;
                   14176:            esac
                   14177:            archive_cmds_need_lc_CXX=no
                   14178:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14179:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14180:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14181:            ;;
                   14182:           pgCC* | pgcpp*)
                   14183:             # Portland Group C++ compiler
                   14184:            case `$CC -V` in
                   14185:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14186:              prelink_cmds_CXX='tpldir=Template.dir~
                   14187:                rm -rf $tpldir~
                   14188:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14189:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14190:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14191:                rm -rf $tpldir~
                   14192:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14193:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14194:                $RANLIB $oldlib'
                   14195:              archive_cmds_CXX='tpldir=Template.dir~
                   14196:                rm -rf $tpldir~
                   14197:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14198:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14199:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14200:                rm -rf $tpldir~
                   14201:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14202:                $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'
                   14203:              ;;
                   14204:            *) # Version 6 and above use weak symbols
                   14205:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14206:              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'
                   14207:              ;;
                   14208:            esac
                   14209: 
                   14210:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14211:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14212:            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'
                   14213:             ;;
                   14214:          cxx*)
                   14215:            # Compaq C++
                   14216:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14217:            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'
                   14218: 
                   14219:            runpath_var=LD_RUN_PATH
                   14220:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14221:            hardcode_libdir_separator_CXX=:
                   14222: 
                   14223:            # Commands to make compiler produce verbose output that lists
                   14224:            # what "hidden" libraries, object files and flags are used when
                   14225:            # linking a shared library.
                   14226:            #
                   14227:            # There doesn't appear to be a way to prevent this compiler from
                   14228:            # explicitly linking system object files so we need to strip them
                   14229:            # from the output so that they don't get included in the library
                   14230:            # dependencies.
                   14231:            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'
                   14232:            ;;
                   14233:          xl* | mpixl* | bgxl*)
                   14234:            # IBM XL 8.0 on PPC, with GNU ld
                   14235:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14236:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14237:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14238:            if test "x$supports_anon_versioning" = xyes; then
                   14239:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14240:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14241:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14242:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14243:            fi
                   14244:            ;;
                   14245:          *)
                   14246:            case `$CC -V 2>&1 | sed 5q` in
                   14247:            *Sun\ C*)
                   14248:              # Sun C++ 5.9
                   14249:              no_undefined_flag_CXX=' -zdefs'
                   14250:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14251:              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'
                   14252:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14253:              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'
                   14254:              compiler_needs_object_CXX=yes
                   14255: 
                   14256:              # Not sure whether something based on
                   14257:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14258:              # would be better.
                   14259:              output_verbose_link_cmd='func_echo_all'
                   14260: 
                   14261:              # Archives containing C++ object files must be created using
                   14262:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14263:              # necessary to make sure instantiated templates are included
                   14264:              # in the archive.
                   14265:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14266:              ;;
                   14267:            esac
                   14268:            ;;
                   14269:        esac
                   14270:        ;;
                   14271: 
                   14272:       lynxos*)
                   14273:         # FIXME: insert proper C++ library support
                   14274:        ld_shlibs_CXX=no
                   14275:        ;;
                   14276: 
                   14277:       m88k*)
                   14278:         # FIXME: insert proper C++ library support
                   14279:         ld_shlibs_CXX=no
                   14280:        ;;
                   14281: 
                   14282:       mvs*)
                   14283:         case $cc_basename in
                   14284:           cxx*)
                   14285:            # FIXME: insert proper C++ library support
                   14286:            ld_shlibs_CXX=no
                   14287:            ;;
                   14288:          *)
                   14289:            # FIXME: insert proper C++ library support
                   14290:            ld_shlibs_CXX=no
                   14291:            ;;
                   14292:        esac
                   14293:        ;;
                   14294: 
                   14295:       netbsd*)
                   14296:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14297:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14298:          wlarc=
                   14299:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14300:          hardcode_direct_CXX=yes
                   14301:          hardcode_shlibpath_var_CXX=no
                   14302:        fi
                   14303:        # Workaround some broken pre-1.5 toolchains
                   14304:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14305:        ;;
                   14306: 
                   14307:       *nto* | *qnx*)
                   14308:         ld_shlibs_CXX=yes
                   14309:        ;;
                   14310: 
                   14311:       openbsd2*)
                   14312:         # C++ shared libraries are fairly broken
                   14313:        ld_shlibs_CXX=no
                   14314:        ;;
                   14315: 
                   14316:       openbsd*)
                   14317:        if test -f /usr/libexec/ld.so; then
                   14318:          hardcode_direct_CXX=yes
                   14319:          hardcode_shlibpath_var_CXX=no
                   14320:          hardcode_direct_absolute_CXX=yes
                   14321:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14322:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14323:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14324:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14325:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14326:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14327:          fi
                   14328:          output_verbose_link_cmd=func_echo_all
                   14329:        else
                   14330:          ld_shlibs_CXX=no
                   14331:        fi
                   14332:        ;;
                   14333: 
                   14334:       osf3* | osf4* | osf5*)
                   14335:         case $cc_basename in
                   14336:           KCC*)
                   14337:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14338: 
                   14339:            # KCC will only create a shared library if the output file
                   14340:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14341:            # to its proper name (with version) after linking.
                   14342:            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'
                   14343: 
                   14344:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14345:            hardcode_libdir_separator_CXX=:
                   14346: 
                   14347:            # Archives containing C++ object files must be created using
                   14348:            # the KAI C++ compiler.
                   14349:            case $host in
                   14350:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14351:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14352:            esac
                   14353:            ;;
                   14354:           RCC*)
                   14355:            # Rational C++ 2.4.1
                   14356:            # FIXME: insert proper C++ library support
                   14357:            ld_shlibs_CXX=no
                   14358:            ;;
                   14359:           cxx*)
                   14360:            case $host in
                   14361:              osf3*)
                   14362:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14363:                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'
                   14364:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14365:                ;;
                   14366:              *)
                   14367:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14368:                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'
                   14369:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14370:                  echo "-hidden">> $lib.exp~
                   14371:                  $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~
                   14372:                  $RM $lib.exp'
                   14373:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14374:                ;;
                   14375:            esac
                   14376: 
                   14377:            hardcode_libdir_separator_CXX=:
                   14378: 
                   14379:            # Commands to make compiler produce verbose output that lists
                   14380:            # what "hidden" libraries, object files and flags are used when
                   14381:            # linking a shared library.
                   14382:            #
                   14383:            # There doesn't appear to be a way to prevent this compiler from
                   14384:            # explicitly linking system object files so we need to strip them
                   14385:            # from the output so that they don't get included in the library
                   14386:            # dependencies.
                   14387:            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"'
                   14388:            ;;
                   14389:          *)
                   14390:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14391:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14392:              case $host in
                   14393:                osf3*)
                   14394:                  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'
                   14395:                  ;;
                   14396:                *)
                   14397:                  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'
                   14398:                  ;;
                   14399:              esac
                   14400: 
                   14401:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14402:              hardcode_libdir_separator_CXX=:
                   14403: 
                   14404:              # Commands to make compiler produce verbose output that lists
                   14405:              # what "hidden" libraries, object files and flags are used when
                   14406:              # linking a shared library.
                   14407:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14408: 
                   14409:            else
                   14410:              # FIXME: insert proper C++ library support
                   14411:              ld_shlibs_CXX=no
                   14412:            fi
                   14413:            ;;
                   14414:         esac
                   14415:         ;;
                   14416: 
                   14417:       psos*)
                   14418:         # FIXME: insert proper C++ library support
                   14419:         ld_shlibs_CXX=no
                   14420:         ;;
                   14421: 
                   14422:       sunos4*)
                   14423:         case $cc_basename in
                   14424:           CC*)
                   14425:            # Sun C++ 4.x
                   14426:            # FIXME: insert proper C++ library support
                   14427:            ld_shlibs_CXX=no
                   14428:            ;;
                   14429:           lcc*)
                   14430:            # Lucid
                   14431:            # FIXME: insert proper C++ library support
                   14432:            ld_shlibs_CXX=no
                   14433:            ;;
                   14434:           *)
                   14435:            # FIXME: insert proper C++ library support
                   14436:            ld_shlibs_CXX=no
                   14437:            ;;
                   14438:         esac
                   14439:         ;;
                   14440: 
                   14441:       solaris*)
                   14442:         case $cc_basename in
                   14443:           CC* | sunCC*)
                   14444:            # Sun C++ 4.2, 5.x and Centerline C++
                   14445:             archive_cmds_need_lc_CXX=yes
                   14446:            no_undefined_flag_CXX=' -zdefs'
                   14447:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14448:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14449:              $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'
                   14450: 
                   14451:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14452:            hardcode_shlibpath_var_CXX=no
                   14453:            case $host_os in
                   14454:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14455:              *)
                   14456:                # The compiler driver will combine and reorder linker options,
                   14457:                # but understands `-z linker_flag'.
                   14458:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14459:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14460:                ;;
                   14461:            esac
                   14462:            link_all_deplibs_CXX=yes
                   14463: 
                   14464:            output_verbose_link_cmd='func_echo_all'
                   14465: 
                   14466:            # Archives containing C++ object files must be created using
                   14467:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14468:            # necessary to make sure instantiated templates are included
                   14469:            # in the archive.
                   14470:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14471:            ;;
                   14472:           gcx*)
                   14473:            # Green Hills C++ Compiler
                   14474:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14475: 
                   14476:            # The C++ compiler must be used to create the archive.
                   14477:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14478:            ;;
                   14479:           *)
                   14480:            # GNU C++ compiler with Solaris linker
                   14481:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14482:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14483:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14484:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14485:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14486:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14487: 
                   14488:                # Commands to make compiler produce verbose output that lists
                   14489:                # what "hidden" libraries, object files and flags are used when
                   14490:                # linking a shared library.
                   14491:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14492:              else
                   14493:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14494:                # platform.
                   14495:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14496:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14497:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14498: 
                   14499:                # Commands to make compiler produce verbose output that lists
                   14500:                # what "hidden" libraries, object files and flags are used when
                   14501:                # linking a shared library.
                   14502:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14503:              fi
                   14504: 
                   14505:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14506:              case $host_os in
                   14507:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14508:                *)
                   14509:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14510:                  ;;
                   14511:              esac
                   14512:            fi
                   14513:            ;;
                   14514:         esac
                   14515:         ;;
                   14516: 
                   14517:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14518:       no_undefined_flag_CXX='${wl}-z,text'
                   14519:       archive_cmds_need_lc_CXX=no
                   14520:       hardcode_shlibpath_var_CXX=no
                   14521:       runpath_var='LD_RUN_PATH'
                   14522: 
                   14523:       case $cc_basename in
                   14524:         CC*)
                   14525:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14526:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14527:          ;;
                   14528:        *)
                   14529:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14530:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14531:          ;;
                   14532:       esac
                   14533:       ;;
                   14534: 
                   14535:       sysv5* | sco3.2v5* | sco5v6*)
                   14536:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14537:        # link with -lc, and that would cause any symbols used from libc to
                   14538:        # always be unresolved, which means just about no library would
                   14539:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14540:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14541:        # as -z defs.
                   14542:        no_undefined_flag_CXX='${wl}-z,text'
                   14543:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14544:        archive_cmds_need_lc_CXX=no
                   14545:        hardcode_shlibpath_var_CXX=no
                   14546:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14547:        hardcode_libdir_separator_CXX=':'
                   14548:        link_all_deplibs_CXX=yes
                   14549:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14550:        runpath_var='LD_RUN_PATH'
                   14551: 
                   14552:        case $cc_basename in
                   14553:           CC*)
                   14554:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14555:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14556:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14557:              '"$old_archive_cmds_CXX"
                   14558:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14559:              '"$reload_cmds_CXX"
                   14560:            ;;
                   14561:          *)
                   14562:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14563:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14564:            ;;
                   14565:        esac
                   14566:       ;;
                   14567: 
                   14568:       tandem*)
                   14569:         case $cc_basename in
                   14570:           NCC*)
                   14571:            # NonStop-UX NCC 3.20
                   14572:            # FIXME: insert proper C++ library support
                   14573:            ld_shlibs_CXX=no
                   14574:            ;;
                   14575:           *)
                   14576:            # FIXME: insert proper C++ library support
                   14577:            ld_shlibs_CXX=no
                   14578:            ;;
                   14579:         esac
                   14580:         ;;
                   14581: 
                   14582:       vxworks*)
                   14583:         # FIXME: insert proper C++ library support
                   14584:         ld_shlibs_CXX=no
                   14585:         ;;
                   14586: 
                   14587:       *)
                   14588:         # FIXME: insert proper C++ library support
                   14589:         ld_shlibs_CXX=no
                   14590:         ;;
                   14591:     esac
                   14592: 
1.150     moko     14593:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14594: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14595:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14596: 
                   14597:     GCC_CXX="$GXX"
                   14598:     LD_CXX="$LD"
                   14599: 
                   14600:     ## CAVEAT EMPTOR:
                   14601:     ## There is no encapsulation within the following macros, do not change
                   14602:     ## the running order or otherwise move them around unless you know exactly
                   14603:     ## what you are doing...
                   14604:     # Dependencies to place before and after the object being linked:
                   14605: predep_objects_CXX=
                   14606: postdep_objects_CXX=
                   14607: predeps_CXX=
                   14608: postdeps_CXX=
                   14609: compiler_lib_search_path_CXX=
                   14610: 
                   14611: cat > conftest.$ac_ext <<_LT_EOF
                   14612: class Foo
                   14613: {
                   14614: public:
                   14615:   Foo (void) { a = 0; }
                   14616: private:
                   14617:   int a;
                   14618: };
                   14619: _LT_EOF
                   14620: 
                   14621: 
                   14622: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14623: case "$CC $CFLAGS " in #(
                   14624: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14625: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14626: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14627: esac
                   14628: 
1.150     moko     14629: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14630:   (eval $ac_compile) 2>&5
                   14631:   ac_status=$?
1.150     moko     14632:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14633:   test $ac_status = 0; }; then
1.128     moko     14634:   # Parse the compiler output and extract the necessary
                   14635:   # objects, libraries and library flags.
                   14636: 
                   14637:   # Sentinel used to keep track of whether or not we are before
                   14638:   # the conftest object file.
                   14639:   pre_test_object_deps_done=no
                   14640: 
                   14641:   for p in `eval "$output_verbose_link_cmd"`; do
                   14642:     case ${prev}${p} in
                   14643: 
                   14644:     -L* | -R* | -l*)
                   14645:        # Some compilers place space between "-{L,R}" and the path.
                   14646:        # Remove the space.
                   14647:        if test $p = "-L" ||
                   14648:           test $p = "-R"; then
                   14649:         prev=$p
                   14650:         continue
                   14651:        fi
                   14652: 
                   14653:        # Expand the sysroot to ease extracting the directories later.
                   14654:        if test -z "$prev"; then
                   14655:          case $p in
                   14656:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14657:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14658:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14659:          esac
                   14660:        fi
                   14661:        case $p in
                   14662:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14663:        esac
                   14664:        if test "$pre_test_object_deps_done" = no; then
                   14665:         case ${prev} in
                   14666:         -L | -R)
                   14667:           # Internal compiler library paths should come after those
                   14668:           # provided the user.  The postdeps already come after the
                   14669:           # user supplied libs so there is no need to process them.
                   14670:           if test -z "$compiler_lib_search_path_CXX"; then
                   14671:             compiler_lib_search_path_CXX="${prev}${p}"
                   14672:           else
                   14673:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14674:           fi
                   14675:           ;;
                   14676:         # The "-l" case would never come before the object being
                   14677:         # linked, so don't bother handling this case.
                   14678:         esac
                   14679:        else
                   14680:         if test -z "$postdeps_CXX"; then
                   14681:           postdeps_CXX="${prev}${p}"
                   14682:         else
                   14683:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14684:         fi
                   14685:        fi
                   14686:        prev=
                   14687:        ;;
                   14688: 
                   14689:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14690:     *.$objext)
                   14691:        # This assumes that the test object file only shows up
                   14692:        # once in the compiler output.
                   14693:        if test "$p" = "conftest.$objext"; then
                   14694:         pre_test_object_deps_done=yes
                   14695:         continue
                   14696:        fi
                   14697: 
                   14698:        if test "$pre_test_object_deps_done" = no; then
                   14699:         if test -z "$predep_objects_CXX"; then
                   14700:           predep_objects_CXX="$p"
                   14701:         else
                   14702:           predep_objects_CXX="$predep_objects_CXX $p"
                   14703:         fi
                   14704:        else
                   14705:         if test -z "$postdep_objects_CXX"; then
                   14706:           postdep_objects_CXX="$p"
                   14707:         else
                   14708:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14709:         fi
                   14710:        fi
                   14711:        ;;
                   14712: 
                   14713:     *) ;; # Ignore the rest.
                   14714: 
                   14715:     esac
                   14716:   done
                   14717: 
                   14718:   # Clean up.
                   14719:   rm -f a.out a.exe
                   14720: else
                   14721:   echo "libtool.m4: error: problem compiling CXX test program"
                   14722: fi
                   14723: 
                   14724: $RM -f confest.$objext
                   14725: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14726: 
                   14727: # PORTME: override above test on systems where it is broken
                   14728: case $host_os in
                   14729: interix[3-9]*)
                   14730:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14731:   # hack all around it, let's just trust "g++" to DTRT.
                   14732:   predep_objects_CXX=
                   14733:   postdep_objects_CXX=
                   14734:   postdeps_CXX=
                   14735:   ;;
                   14736: 
                   14737: linux*)
                   14738:   case `$CC -V 2>&1 | sed 5q` in
                   14739:   *Sun\ C*)
                   14740:     # Sun C++ 5.9
                   14741: 
                   14742:     # The more standards-conforming stlport4 library is
                   14743:     # incompatible with the Cstd library. Avoid specifying
                   14744:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14745:     # -library=stlport4 depends on it.
                   14746:     case " $CXX $CXXFLAGS " in
                   14747:     *" -library=stlport4 "*)
                   14748:       solaris_use_stlport4=yes
                   14749:       ;;
                   14750:     esac
                   14751: 
                   14752:     if test "$solaris_use_stlport4" != yes; then
                   14753:       postdeps_CXX='-library=Cstd -library=Crun'
                   14754:     fi
                   14755:     ;;
                   14756:   esac
                   14757:   ;;
                   14758: 
                   14759: solaris*)
                   14760:   case $cc_basename in
                   14761:   CC* | sunCC*)
                   14762:     # The more standards-conforming stlport4 library is
                   14763:     # incompatible with the Cstd library. Avoid specifying
                   14764:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14765:     # -library=stlport4 depends on it.
                   14766:     case " $CXX $CXXFLAGS " in
                   14767:     *" -library=stlport4 "*)
                   14768:       solaris_use_stlport4=yes
                   14769:       ;;
                   14770:     esac
                   14771: 
                   14772:     # Adding this requires a known-good setup of shared libraries for
                   14773:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14774:     # archive will be linked into the output, leading to subtle bugs.
                   14775:     if test "$solaris_use_stlport4" != yes; then
                   14776:       postdeps_CXX='-library=Cstd -library=Crun'
                   14777:     fi
                   14778:     ;;
                   14779:   esac
                   14780:   ;;
                   14781: esac
                   14782: 
                   14783: 
                   14784: case " $postdeps_CXX " in
                   14785: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14786: esac
                   14787:  compiler_lib_search_dirs_CXX=
                   14788: if test -n "${compiler_lib_search_path_CXX}"; then
                   14789:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14790: fi
                   14791: 
                   14792: 
                   14793: 
                   14794: 
                   14795: 
                   14796: 
                   14797: 
                   14798: 
                   14799: 
                   14800: 
                   14801: 
                   14802: 
                   14803: 
                   14804: 
                   14805: 
                   14806: 
                   14807: 
                   14808: 
                   14809: 
                   14810: 
                   14811: 
                   14812: 
                   14813: 
                   14814: 
                   14815: 
                   14816: 
                   14817: 
                   14818: 
                   14819: 
                   14820: 
                   14821: 
                   14822:     lt_prog_compiler_wl_CXX=
                   14823: lt_prog_compiler_pic_CXX=
                   14824: lt_prog_compiler_static_CXX=
                   14825: 
                   14826: 
                   14827:   # C++ specific cases for pic, static, wl, etc.
                   14828:   if test "$GXX" = yes; then
                   14829:     lt_prog_compiler_wl_CXX='-Wl,'
                   14830:     lt_prog_compiler_static_CXX='-static'
                   14831: 
                   14832:     case $host_os in
                   14833:     aix*)
                   14834:       # All AIX code is PIC.
                   14835:       if test "$host_cpu" = ia64; then
                   14836:        # AIX 5 now supports IA64 processor
                   14837:        lt_prog_compiler_static_CXX='-Bstatic'
                   14838:       fi
                   14839:       ;;
                   14840: 
                   14841:     amigaos*)
                   14842:       case $host_cpu in
                   14843:       powerpc)
                   14844:             # see comment about AmigaOS4 .so support
                   14845:             lt_prog_compiler_pic_CXX='-fPIC'
                   14846:         ;;
                   14847:       m68k)
                   14848:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14849:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14850:             # like `-m68040'.
                   14851:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14852:         ;;
                   14853:       esac
                   14854:       ;;
                   14855: 
                   14856:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14857:       # PIC is the default for these OSes.
                   14858:       ;;
                   14859:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14860:       # This hack is so that the source file can tell whether it is being
                   14861:       # built for inclusion in a dll (and should export symbols for example).
                   14862:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14863:       # (--disable-auto-import) libraries
                   14864:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14865:       ;;
                   14866:     darwin* | rhapsody*)
                   14867:       # PIC is the default on this platform
                   14868:       # Common symbols not allowed in MH_DYLIB files
                   14869:       lt_prog_compiler_pic_CXX='-fno-common'
                   14870:       ;;
                   14871:     *djgpp*)
                   14872:       # DJGPP does not support shared libraries at all
                   14873:       lt_prog_compiler_pic_CXX=
                   14874:       ;;
                   14875:     haiku*)
                   14876:       # PIC is the default for Haiku.
                   14877:       # The "-static" flag exists, but is broken.
                   14878:       lt_prog_compiler_static_CXX=
                   14879:       ;;
                   14880:     interix[3-9]*)
                   14881:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14882:       # Instead, we relocate shared libraries at runtime.
                   14883:       ;;
                   14884:     sysv4*MP*)
                   14885:       if test -d /usr/nec; then
                   14886:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14887:       fi
                   14888:       ;;
                   14889:     hpux*)
                   14890:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14891:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14892:       # sets the default TLS model and affects inlining.
                   14893:       case $host_cpu in
                   14894:       hppa*64*)
                   14895:        ;;
                   14896:       *)
                   14897:        lt_prog_compiler_pic_CXX='-fPIC'
                   14898:        ;;
                   14899:       esac
                   14900:       ;;
                   14901:     *qnx* | *nto*)
                   14902:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14903:       # it will coredump.
                   14904:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14905:       ;;
                   14906:     *)
                   14907:       lt_prog_compiler_pic_CXX='-fPIC'
                   14908:       ;;
                   14909:     esac
                   14910:   else
                   14911:     case $host_os in
                   14912:       aix[4-9]*)
                   14913:        # All AIX code is PIC.
                   14914:        if test "$host_cpu" = ia64; then
                   14915:          # AIX 5 now supports IA64 processor
                   14916:          lt_prog_compiler_static_CXX='-Bstatic'
                   14917:        else
                   14918:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14919:        fi
                   14920:        ;;
                   14921:       chorus*)
                   14922:        case $cc_basename in
                   14923:        cxch68*)
                   14924:          # Green Hills C++ Compiler
                   14925:          # _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"
                   14926:          ;;
                   14927:        esac
                   14928:        ;;
                   14929:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14930:        # This hack is so that the source file can tell whether it is being
                   14931:        # built for inclusion in a dll (and should export symbols for example).
                   14932:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14933:        ;;
                   14934:       dgux*)
                   14935:        case $cc_basename in
                   14936:          ec++*)
                   14937:            lt_prog_compiler_pic_CXX='-KPIC'
                   14938:            ;;
                   14939:          ghcx*)
                   14940:            # Green Hills C++ Compiler
                   14941:            lt_prog_compiler_pic_CXX='-pic'
                   14942:            ;;
                   14943:          *)
                   14944:            ;;
                   14945:        esac
                   14946:        ;;
                   14947:       freebsd* | dragonfly*)
                   14948:        # FreeBSD uses GNU C++
                   14949:        ;;
                   14950:       hpux9* | hpux10* | hpux11*)
                   14951:        case $cc_basename in
                   14952:          CC*)
                   14953:            lt_prog_compiler_wl_CXX='-Wl,'
                   14954:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14955:            if test "$host_cpu" != ia64; then
                   14956:              lt_prog_compiler_pic_CXX='+Z'
                   14957:            fi
                   14958:            ;;
                   14959:          aCC*)
                   14960:            lt_prog_compiler_wl_CXX='-Wl,'
                   14961:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14962:            case $host_cpu in
                   14963:            hppa*64*|ia64*)
                   14964:              # +Z the default
                   14965:              ;;
                   14966:            *)
                   14967:              lt_prog_compiler_pic_CXX='+Z'
                   14968:              ;;
                   14969:            esac
                   14970:            ;;
                   14971:          *)
                   14972:            ;;
                   14973:        esac
                   14974:        ;;
                   14975:       interix*)
                   14976:        # This is c89, which is MS Visual C++ (no shared libs)
                   14977:        # Anyone wants to do a port?
                   14978:        ;;
                   14979:       irix5* | irix6* | nonstopux*)
                   14980:        case $cc_basename in
                   14981:          CC*)
                   14982:            lt_prog_compiler_wl_CXX='-Wl,'
                   14983:            lt_prog_compiler_static_CXX='-non_shared'
                   14984:            # CC pic flag -KPIC is the default.
                   14985:            ;;
                   14986:          *)
                   14987:            ;;
                   14988:        esac
                   14989:        ;;
                   14990:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14991:        case $cc_basename in
                   14992:          KCC*)
                   14993:            # KAI C++ Compiler
                   14994:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14995:            lt_prog_compiler_pic_CXX='-fPIC'
                   14996:            ;;
                   14997:          ecpc* )
                   14998:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14999:            lt_prog_compiler_wl_CXX='-Wl,'
                   15000:            lt_prog_compiler_pic_CXX='-KPIC'
                   15001:            lt_prog_compiler_static_CXX='-static'
                   15002:            ;;
                   15003:          icpc* )
                   15004:            # Intel C++, used to be incompatible with GCC.
                   15005:            # ICC 10 doesn't accept -KPIC any more.
                   15006:            lt_prog_compiler_wl_CXX='-Wl,'
                   15007:            lt_prog_compiler_pic_CXX='-fPIC'
                   15008:            lt_prog_compiler_static_CXX='-static'
                   15009:            ;;
                   15010:          pgCC* | pgcpp*)
                   15011:            # Portland Group C++ compiler
                   15012:            lt_prog_compiler_wl_CXX='-Wl,'
                   15013:            lt_prog_compiler_pic_CXX='-fpic'
                   15014:            lt_prog_compiler_static_CXX='-Bstatic'
                   15015:            ;;
                   15016:          cxx*)
                   15017:            # Compaq C++
                   15018:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15019:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15020:            lt_prog_compiler_pic_CXX=
                   15021:            lt_prog_compiler_static_CXX='-non_shared'
                   15022:            ;;
                   15023:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15024:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15025:            lt_prog_compiler_wl_CXX='-Wl,'
                   15026:            lt_prog_compiler_pic_CXX='-qpic'
                   15027:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15028:            ;;
                   15029:          *)
                   15030:            case `$CC -V 2>&1 | sed 5q` in
                   15031:            *Sun\ C*)
                   15032:              # Sun C++ 5.9
                   15033:              lt_prog_compiler_pic_CXX='-KPIC'
                   15034:              lt_prog_compiler_static_CXX='-Bstatic'
                   15035:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15036:              ;;
                   15037:            esac
                   15038:            ;;
                   15039:        esac
                   15040:        ;;
                   15041:       lynxos*)
                   15042:        ;;
                   15043:       m88k*)
                   15044:        ;;
                   15045:       mvs*)
                   15046:        case $cc_basename in
                   15047:          cxx*)
                   15048:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15049:            ;;
                   15050:          *)
                   15051:            ;;
                   15052:        esac
                   15053:        ;;
                   15054:       netbsd*)
                   15055:        ;;
                   15056:       *qnx* | *nto*)
                   15057:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15058:         # it will coredump.
                   15059:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15060:         ;;
                   15061:       osf3* | osf4* | osf5*)
                   15062:        case $cc_basename in
                   15063:          KCC*)
                   15064:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15065:            ;;
                   15066:          RCC*)
                   15067:            # Rational C++ 2.4.1
                   15068:            lt_prog_compiler_pic_CXX='-pic'
                   15069:            ;;
                   15070:          cxx*)
                   15071:            # Digital/Compaq C++
                   15072:            lt_prog_compiler_wl_CXX='-Wl,'
                   15073:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15074:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15075:            lt_prog_compiler_pic_CXX=
                   15076:            lt_prog_compiler_static_CXX='-non_shared'
                   15077:            ;;
                   15078:          *)
                   15079:            ;;
                   15080:        esac
                   15081:        ;;
                   15082:       psos*)
                   15083:        ;;
                   15084:       solaris*)
                   15085:        case $cc_basename in
                   15086:          CC* | sunCC*)
                   15087:            # Sun C++ 4.2, 5.x and Centerline C++
                   15088:            lt_prog_compiler_pic_CXX='-KPIC'
                   15089:            lt_prog_compiler_static_CXX='-Bstatic'
                   15090:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15091:            ;;
                   15092:          gcx*)
                   15093:            # Green Hills C++ Compiler
                   15094:            lt_prog_compiler_pic_CXX='-PIC'
                   15095:            ;;
                   15096:          *)
                   15097:            ;;
                   15098:        esac
                   15099:        ;;
                   15100:       sunos4*)
                   15101:        case $cc_basename in
                   15102:          CC*)
                   15103:            # Sun C++ 4.x
                   15104:            lt_prog_compiler_pic_CXX='-pic'
                   15105:            lt_prog_compiler_static_CXX='-Bstatic'
                   15106:            ;;
                   15107:          lcc*)
                   15108:            # Lucid
                   15109:            lt_prog_compiler_pic_CXX='-pic'
                   15110:            ;;
                   15111:          *)
                   15112:            ;;
                   15113:        esac
                   15114:        ;;
                   15115:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15116:        case $cc_basename in
                   15117:          CC*)
                   15118:            lt_prog_compiler_wl_CXX='-Wl,'
                   15119:            lt_prog_compiler_pic_CXX='-KPIC'
                   15120:            lt_prog_compiler_static_CXX='-Bstatic'
                   15121:            ;;
                   15122:        esac
                   15123:        ;;
                   15124:       tandem*)
                   15125:        case $cc_basename in
                   15126:          NCC*)
                   15127:            # NonStop-UX NCC 3.20
                   15128:            lt_prog_compiler_pic_CXX='-KPIC'
                   15129:            ;;
                   15130:          *)
                   15131:            ;;
                   15132:        esac
                   15133:        ;;
                   15134:       vxworks*)
                   15135:        ;;
                   15136:       *)
                   15137:        lt_prog_compiler_can_build_shared_CXX=no
                   15138:        ;;
                   15139:     esac
                   15140:   fi
                   15141: 
                   15142: case $host_os in
                   15143:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15144:   *djgpp*)
                   15145:     lt_prog_compiler_pic_CXX=
                   15146:     ;;
                   15147:   *)
                   15148:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15149:     ;;
                   15150: esac
                   15151: 
1.150     moko     15152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15153: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15154: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15155:   $as_echo_n "(cached) " >&6
1.128     moko     15156: else
                   15157:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15158: fi
1.150     moko     15159: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15160: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     15161: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15162: 
                   15163: #
                   15164: # Check to make sure the PIC flag actually works.
                   15165: #
                   15166: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     15167:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15168: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15169: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15170:   $as_echo_n "(cached) " >&6
1.128     moko     15171: else
                   15172:   lt_cv_prog_compiler_pic_works_CXX=no
                   15173:    ac_outfile=conftest.$ac_objext
                   15174:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15175:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15176:    # Insert the option either (1) after the last *FLAGS variable, or
                   15177:    # (2) before a word containing "conftest.", or (3) at the end.
                   15178:    # Note that $ac_compile itself does not contain backslashes and begins
                   15179:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15180:    # The option is referenced via a variable to avoid confusing sed.
                   15181:    lt_compile=`echo "$ac_compile" | $SED \
                   15182:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15183:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15184:    -e 's:$: $lt_compiler_flag:'`
                   15185:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15186:    (eval "$lt_compile" 2>conftest.err)
                   15187:    ac_status=$?
                   15188:    cat conftest.err >&5
                   15189:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15190:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15191:      # The compiler can only warn and ignore the option if not recognized
                   15192:      # So say no if there are warnings other than the usual output.
                   15193:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15194:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15195:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15196:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15197:      fi
                   15198:    fi
                   15199:    $RM conftest*
                   15200: 
                   15201: fi
1.150     moko     15202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15203: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     15204: 
                   15205: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15206:     case $lt_prog_compiler_pic_CXX in
                   15207:      "" | " "*) ;;
                   15208:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15209:      esac
                   15210: else
                   15211:     lt_prog_compiler_pic_CXX=
                   15212:      lt_prog_compiler_can_build_shared_CXX=no
                   15213: fi
                   15214: 
                   15215: fi
                   15216: 
                   15217: 
                   15218: 
                   15219: 
                   15220: 
                   15221: #
                   15222: # Check to make sure the static flag actually works.
                   15223: #
                   15224: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15226: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15227: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15228:   $as_echo_n "(cached) " >&6
1.128     moko     15229: else
                   15230:   lt_cv_prog_compiler_static_works_CXX=no
                   15231:    save_LDFLAGS="$LDFLAGS"
                   15232:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15233:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15234:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15235:      # The linker can only warn and ignore the option if not recognized
                   15236:      # So say no if there are warnings
                   15237:      if test -s conftest.err; then
                   15238:        # Append any errors to the config.log.
                   15239:        cat conftest.err 1>&5
                   15240:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15241:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15242:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15243:          lt_cv_prog_compiler_static_works_CXX=yes
                   15244:        fi
                   15245:      else
                   15246:        lt_cv_prog_compiler_static_works_CXX=yes
                   15247:      fi
                   15248:    fi
                   15249:    $RM -r conftest*
                   15250:    LDFLAGS="$save_LDFLAGS"
                   15251: 
                   15252: fi
1.150     moko     15253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15254: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15255: 
                   15256: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15257:     :
                   15258: else
                   15259:     lt_prog_compiler_static_CXX=
                   15260: fi
                   15261: 
                   15262: 
                   15263: 
                   15264: 
1.150     moko     15265:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15266: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15267: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15268:   $as_echo_n "(cached) " >&6
1.128     moko     15269: else
                   15270:   lt_cv_prog_compiler_c_o_CXX=no
                   15271:    $RM -r conftest 2>/dev/null
                   15272:    mkdir conftest
                   15273:    cd conftest
                   15274:    mkdir out
                   15275:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15276: 
                   15277:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15278:    # Insert the option either (1) after the last *FLAGS variable, or
                   15279:    # (2) before a word containing "conftest.", or (3) at the end.
                   15280:    # Note that $ac_compile itself does not contain backslashes and begins
                   15281:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15282:    lt_compile=`echo "$ac_compile" | $SED \
                   15283:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15284:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15285:    -e 's:$: $lt_compiler_flag:'`
                   15286:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15287:    (eval "$lt_compile" 2>out/conftest.err)
                   15288:    ac_status=$?
                   15289:    cat out/conftest.err >&5
                   15290:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15291:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15292:    then
                   15293:      # The compiler can only warn and ignore the option if not recognized
                   15294:      # So say no if there are warnings
                   15295:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15296:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15297:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15298:        lt_cv_prog_compiler_c_o_CXX=yes
                   15299:      fi
                   15300:    fi
                   15301:    chmod u+w . 2>&5
                   15302:    $RM conftest*
                   15303:    # SGI C++ compiler will create directory out/ii_files/ for
                   15304:    # template instantiation
                   15305:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15306:    $RM out/* && rmdir out
                   15307:    cd ..
                   15308:    $RM -r conftest
                   15309:    $RM conftest*
                   15310: 
                   15311: fi
1.150     moko     15312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15313: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15314: 
                   15315: 
                   15316: 
1.150     moko     15317:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15318: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15319: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15320:   $as_echo_n "(cached) " >&6
1.128     moko     15321: else
                   15322:   lt_cv_prog_compiler_c_o_CXX=no
                   15323:    $RM -r conftest 2>/dev/null
                   15324:    mkdir conftest
                   15325:    cd conftest
                   15326:    mkdir out
                   15327:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15328: 
                   15329:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15330:    # Insert the option either (1) after the last *FLAGS variable, or
                   15331:    # (2) before a word containing "conftest.", or (3) at the end.
                   15332:    # Note that $ac_compile itself does not contain backslashes and begins
                   15333:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15334:    lt_compile=`echo "$ac_compile" | $SED \
                   15335:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15336:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15337:    -e 's:$: $lt_compiler_flag:'`
                   15338:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15339:    (eval "$lt_compile" 2>out/conftest.err)
                   15340:    ac_status=$?
                   15341:    cat out/conftest.err >&5
                   15342:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15343:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15344:    then
                   15345:      # The compiler can only warn and ignore the option if not recognized
                   15346:      # So say no if there are warnings
                   15347:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15348:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15349:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15350:        lt_cv_prog_compiler_c_o_CXX=yes
                   15351:      fi
                   15352:    fi
                   15353:    chmod u+w . 2>&5
                   15354:    $RM conftest*
                   15355:    # SGI C++ compiler will create directory out/ii_files/ for
                   15356:    # template instantiation
                   15357:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15358:    $RM out/* && rmdir out
                   15359:    cd ..
                   15360:    $RM -r conftest
                   15361:    $RM conftest*
                   15362: 
                   15363: fi
1.150     moko     15364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15365: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15366: 
                   15367: 
                   15368: 
                   15369: 
                   15370: hard_links="nottested"
                   15371: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15372:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15373:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15374: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15375:   hard_links=yes
                   15376:   $RM conftest*
                   15377:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15378:   touch conftest.a
                   15379:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15380:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15382: $as_echo "$hard_links" >&6; }
1.128     moko     15383:   if test "$hard_links" = no; then
1.150     moko     15384:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15385: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15386:     need_locks=warn
                   15387:   fi
                   15388: else
                   15389:   need_locks=no
                   15390: fi
                   15391: 
                   15392: 
                   15393: 
1.150     moko     15394:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15395: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15396: 
                   15397:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15398:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15399:   case $host_os in
                   15400:   aix[4-9]*)
                   15401:     # If we're using GNU nm, then we don't want the "-C" option.
                   15402:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15403:     # Also, AIX nm treats weak defined symbols like other global defined
                   15404:     # symbols, whereas GNU nm marks them as "W".
                   15405:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15406:       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'
                   15407:     else
                   15408:       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'
                   15409:     fi
                   15410:     ;;
                   15411:   pw32*)
                   15412:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15413:     ;;
                   15414:   cygwin* | mingw* | cegcc*)
                   15415:     case $cc_basename in
                   15416:     cl*)
                   15417:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15418:       ;;
                   15419:     *)
                   15420:       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'
                   15421:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15422:       ;;
                   15423:     esac
                   15424:     ;;
                   15425:   *)
                   15426:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15427:     ;;
                   15428:   esac
                   15429: 
1.150     moko     15430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15431: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15432: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15433: 
                   15434: with_gnu_ld_CXX=$with_gnu_ld
                   15435: 
                   15436: 
                   15437: 
                   15438: 
                   15439: 
                   15440: 
                   15441: #
                   15442: # Do we need to explicitly link libc?
                   15443: #
                   15444: case "x$archive_cmds_need_lc_CXX" in
                   15445: x|xyes)
                   15446:   # Assume -lc should be added
                   15447:   archive_cmds_need_lc_CXX=yes
                   15448: 
                   15449:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15450:     case $archive_cmds_CXX in
                   15451:     *'~'*)
                   15452:       # FIXME: we may have to deal with multi-command sequences.
                   15453:       ;;
                   15454:     '$CC '*)
                   15455:       # Test whether the compiler implicitly links with -lc since on some
                   15456:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15457:       # to ld, don't add -lc before -lgcc.
1.150     moko     15458:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15459: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15460: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15461:   $as_echo_n "(cached) " >&6
1.128     moko     15462: else
                   15463:   $RM conftest*
                   15464:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15465: 
1.150     moko     15466:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15467:   (eval $ac_compile) 2>&5
                   15468:   ac_status=$?
1.150     moko     15469:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15470:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15471:          soname=conftest
                   15472:          lib=conftest
                   15473:          libobjs=conftest.$ac_objext
                   15474:          deplibs=
                   15475:          wl=$lt_prog_compiler_wl_CXX
                   15476:          pic_flag=$lt_prog_compiler_pic_CXX
                   15477:          compiler_flags=-v
                   15478:          linker_flags=-v
                   15479:          verstring=
                   15480:          output_objdir=.
                   15481:          libname=conftest
                   15482:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15483:          allow_undefined_flag_CXX=
1.150     moko     15484:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15485:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15486:   ac_status=$?
1.150     moko     15487:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15488:   test $ac_status = 0; }
1.128     moko     15489:          then
                   15490:            lt_cv_archive_cmds_need_lc_CXX=no
                   15491:          else
                   15492:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15493:          fi
                   15494:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15495:        else
                   15496:          cat conftest.err 1>&5
                   15497:        fi
                   15498:        $RM conftest*
                   15499: 
                   15500: fi
1.150     moko     15501: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15502: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15503:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15504:       ;;
                   15505:     esac
                   15506:   fi
                   15507:   ;;
                   15508: esac
                   15509: 
                   15510: 
                   15511: 
                   15512: 
                   15513: 
                   15514: 
                   15515: 
                   15516: 
                   15517: 
                   15518: 
                   15519: 
                   15520: 
                   15521: 
                   15522: 
                   15523: 
                   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: 
1.150     moko     15571:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15572: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15573: 
                   15574: library_names_spec=
                   15575: libname_spec='lib$name'
                   15576: soname_spec=
                   15577: shrext_cmds=".so"
                   15578: postinstall_cmds=
                   15579: postuninstall_cmds=
                   15580: finish_cmds=
                   15581: finish_eval=
                   15582: shlibpath_var=
                   15583: shlibpath_overrides_runpath=unknown
                   15584: version_type=none
                   15585: dynamic_linker="$host_os ld.so"
                   15586: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15587: need_lib_prefix=unknown
                   15588: hardcode_into_libs=no
                   15589: 
                   15590: # when you set need_version to no, make sure it does not cause -set_version
                   15591: # flags to be left without arguments
                   15592: need_version=unknown
                   15593: 
                   15594: case $host_os in
                   15595: aix3*)
                   15596:   version_type=linux # correct to gnu/linux during the next big refactor
                   15597:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15598:   shlibpath_var=LIBPATH
                   15599: 
                   15600:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15601:   soname_spec='${libname}${release}${shared_ext}$major'
                   15602:   ;;
                   15603: 
                   15604: aix[4-9]*)
                   15605:   version_type=linux # correct to gnu/linux during the next big refactor
                   15606:   need_lib_prefix=no
                   15607:   need_version=no
                   15608:   hardcode_into_libs=yes
                   15609:   if test "$host_cpu" = ia64; then
                   15610:     # AIX 5 supports IA64
                   15611:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15612:     shlibpath_var=LD_LIBRARY_PATH
                   15613:   else
                   15614:     # With GCC up to 2.95.x, collect2 would create an import file
                   15615:     # for dependence libraries.  The import file would start with
                   15616:     # the line `#! .'.  This would cause the generated library to
                   15617:     # depend on `.', always an invalid library.  This was fixed in
                   15618:     # development snapshots of GCC prior to 3.0.
                   15619:     case $host_os in
                   15620:       aix4 | aix4.[01] | aix4.[01].*)
                   15621:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15622:           echo ' yes '
                   15623:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15624:        :
                   15625:       else
                   15626:        can_build_shared=no
                   15627:       fi
                   15628:       ;;
                   15629:     esac
                   15630:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15631:     # soname into executable. Probably we can add versioning support to
                   15632:     # collect2, so additional links can be useful in future.
                   15633:     if test "$aix_use_runtimelinking" = yes; then
                   15634:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15635:       # instead of lib<name>.a to let people know that these are not
                   15636:       # typical AIX shared libraries.
                   15637:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15638:     else
                   15639:       # We preserve .a as extension for shared libraries through AIX4.2
                   15640:       # and later when we are not doing run time linking.
                   15641:       library_names_spec='${libname}${release}.a $libname.a'
                   15642:       soname_spec='${libname}${release}${shared_ext}$major'
                   15643:     fi
                   15644:     shlibpath_var=LIBPATH
                   15645:   fi
                   15646:   ;;
                   15647: 
                   15648: amigaos*)
                   15649:   case $host_cpu in
                   15650:   powerpc)
                   15651:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15652:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15653:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15654:     ;;
                   15655:   m68k)
                   15656:     library_names_spec='$libname.ixlibrary $libname.a'
                   15657:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15658:     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'
                   15659:     ;;
                   15660:   esac
                   15661:   ;;
                   15662: 
                   15663: beos*)
                   15664:   library_names_spec='${libname}${shared_ext}'
                   15665:   dynamic_linker="$host_os ld.so"
                   15666:   shlibpath_var=LIBRARY_PATH
                   15667:   ;;
                   15668: 
                   15669: bsdi[45]*)
                   15670:   version_type=linux # correct to gnu/linux during the next big refactor
                   15671:   need_version=no
                   15672:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15673:   soname_spec='${libname}${release}${shared_ext}$major'
                   15674:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15675:   shlibpath_var=LD_LIBRARY_PATH
                   15676:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15677:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15678:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15679:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15680:   # libtool to hard-code these into programs
                   15681:   ;;
                   15682: 
                   15683: cygwin* | mingw* | pw32* | cegcc*)
                   15684:   version_type=windows
                   15685:   shrext_cmds=".dll"
                   15686:   need_version=no
                   15687:   need_lib_prefix=no
                   15688: 
                   15689:   case $GCC,$cc_basename in
                   15690:   yes,*)
                   15691:     # gcc
                   15692:     library_names_spec='$libname.dll.a'
                   15693:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15694:     postinstall_cmds='base_file=`basename \${file}`~
                   15695:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15696:       dldir=$destdir/`dirname \$dlpath`~
                   15697:       test -d \$dldir || mkdir -p \$dldir~
                   15698:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15699:       chmod a+x \$dldir/$dlname~
                   15700:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15701:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15702:       fi'
                   15703:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15704:       dlpath=$dir/\$dldll~
                   15705:        $RM \$dlpath'
                   15706:     shlibpath_overrides_runpath=yes
                   15707: 
                   15708:     case $host_os in
                   15709:     cygwin*)
                   15710:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15711:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15712: 
                   15713:       ;;
                   15714:     mingw* | cegcc*)
                   15715:       # MinGW DLLs use traditional 'lib' prefix
                   15716:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15717:       ;;
                   15718:     pw32*)
                   15719:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15720:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15721:       ;;
                   15722:     esac
                   15723:     dynamic_linker='Win32 ld.exe'
                   15724:     ;;
                   15725: 
                   15726:   *,cl*)
                   15727:     # Native MSVC
                   15728:     libname_spec='$name'
                   15729:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15730:     library_names_spec='${libname}.dll.lib'
                   15731: 
                   15732:     case $build_os in
                   15733:     mingw*)
                   15734:       sys_lib_search_path_spec=
                   15735:       lt_save_ifs=$IFS
                   15736:       IFS=';'
                   15737:       for lt_path in $LIB
                   15738:       do
                   15739:         IFS=$lt_save_ifs
                   15740:         # Let DOS variable expansion print the short 8.3 style file name.
                   15741:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15742:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15743:       done
                   15744:       IFS=$lt_save_ifs
                   15745:       # Convert to MSYS style.
                   15746:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15747:       ;;
                   15748:     cygwin*)
                   15749:       # Convert to unix form, then to dos form, then back to unix form
                   15750:       # but this time dos style (no spaces!) so that the unix form looks
                   15751:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15752:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15753:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15754:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15755:       ;;
                   15756:     *)
                   15757:       sys_lib_search_path_spec="$LIB"
                   15758:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15759:         # It is most probably a Windows format PATH.
                   15760:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15761:       else
                   15762:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15763:       fi
                   15764:       # FIXME: find the short name or the path components, as spaces are
                   15765:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15766:       ;;
                   15767:     esac
                   15768: 
                   15769:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15770:     postinstall_cmds='base_file=`basename \${file}`~
                   15771:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15772:       dldir=$destdir/`dirname \$dlpath`~
                   15773:       test -d \$dldir || mkdir -p \$dldir~
                   15774:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15775:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15776:       dlpath=$dir/\$dldll~
                   15777:        $RM \$dlpath'
                   15778:     shlibpath_overrides_runpath=yes
                   15779:     dynamic_linker='Win32 link.exe'
                   15780:     ;;
                   15781: 
                   15782:   *)
                   15783:     # Assume MSVC wrapper
                   15784:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15785:     dynamic_linker='Win32 ld.exe'
                   15786:     ;;
                   15787:   esac
                   15788:   # FIXME: first we should search . and the directory the executable is in
                   15789:   shlibpath_var=PATH
                   15790:   ;;
                   15791: 
                   15792: darwin* | rhapsody*)
                   15793:   dynamic_linker="$host_os dyld"
                   15794:   version_type=darwin
                   15795:   need_lib_prefix=no
                   15796:   need_version=no
                   15797:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15798:   soname_spec='${libname}${release}${major}$shared_ext'
                   15799:   shlibpath_overrides_runpath=yes
                   15800:   shlibpath_var=DYLD_LIBRARY_PATH
                   15801:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15802: 
                   15803:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15804:   ;;
                   15805: 
                   15806: dgux*)
                   15807:   version_type=linux # correct to gnu/linux during the next big refactor
                   15808:   need_lib_prefix=no
                   15809:   need_version=no
                   15810:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15811:   soname_spec='${libname}${release}${shared_ext}$major'
                   15812:   shlibpath_var=LD_LIBRARY_PATH
                   15813:   ;;
                   15814: 
                   15815: freebsd* | dragonfly*)
                   15816:   # DragonFly does not have aout.  When/if they implement a new
                   15817:   # versioning mechanism, adjust this.
                   15818:   if test -x /usr/bin/objformat; then
                   15819:     objformat=`/usr/bin/objformat`
                   15820:   else
                   15821:     case $host_os in
                   15822:     freebsd[23].*) objformat=aout ;;
                   15823:     *) objformat=elf ;;
                   15824:     esac
                   15825:   fi
                   15826:   version_type=freebsd-$objformat
                   15827:   case $version_type in
                   15828:     freebsd-elf*)
                   15829:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15830:       need_version=no
                   15831:       need_lib_prefix=no
                   15832:       ;;
                   15833:     freebsd-*)
                   15834:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15835:       need_version=yes
                   15836:       ;;
                   15837:   esac
                   15838:   shlibpath_var=LD_LIBRARY_PATH
                   15839:   case $host_os in
                   15840:   freebsd2.*)
                   15841:     shlibpath_overrides_runpath=yes
                   15842:     ;;
                   15843:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15844:     shlibpath_overrides_runpath=yes
                   15845:     hardcode_into_libs=yes
                   15846:     ;;
                   15847:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15848:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15849:     shlibpath_overrides_runpath=no
                   15850:     hardcode_into_libs=yes
                   15851:     ;;
                   15852:   *) # from 4.6 on, and DragonFly
                   15853:     shlibpath_overrides_runpath=yes
                   15854:     hardcode_into_libs=yes
                   15855:     ;;
                   15856:   esac
                   15857:   ;;
                   15858: 
                   15859: gnu*)
                   15860:   version_type=linux # correct to gnu/linux during the next big refactor
                   15861:   need_lib_prefix=no
                   15862:   need_version=no
                   15863:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15864:   soname_spec='${libname}${release}${shared_ext}$major'
                   15865:   shlibpath_var=LD_LIBRARY_PATH
                   15866:   shlibpath_overrides_runpath=no
                   15867:   hardcode_into_libs=yes
                   15868:   ;;
                   15869: 
                   15870: haiku*)
                   15871:   version_type=linux # correct to gnu/linux during the next big refactor
                   15872:   need_lib_prefix=no
                   15873:   need_version=no
                   15874:   dynamic_linker="$host_os runtime_loader"
                   15875:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15876:   soname_spec='${libname}${release}${shared_ext}$major'
                   15877:   shlibpath_var=LIBRARY_PATH
                   15878:   shlibpath_overrides_runpath=yes
                   15879:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15880:   hardcode_into_libs=yes
                   15881:   ;;
                   15882: 
                   15883: hpux9* | hpux10* | hpux11*)
                   15884:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15885:   # link against other versions.
                   15886:   version_type=sunos
                   15887:   need_lib_prefix=no
                   15888:   need_version=no
                   15889:   case $host_cpu in
                   15890:   ia64*)
                   15891:     shrext_cmds='.so'
                   15892:     hardcode_into_libs=yes
                   15893:     dynamic_linker="$host_os dld.so"
                   15894:     shlibpath_var=LD_LIBRARY_PATH
                   15895:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15896:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15897:     soname_spec='${libname}${release}${shared_ext}$major'
                   15898:     if test "X$HPUX_IA64_MODE" = X32; then
                   15899:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15900:     else
                   15901:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15902:     fi
                   15903:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15904:     ;;
                   15905:   hppa*64*)
                   15906:     shrext_cmds='.sl'
                   15907:     hardcode_into_libs=yes
                   15908:     dynamic_linker="$host_os dld.sl"
                   15909:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15914:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15915:     ;;
                   15916:   *)
                   15917:     shrext_cmds='.sl'
                   15918:     dynamic_linker="$host_os dld.sl"
                   15919:     shlibpath_var=SHLIB_PATH
                   15920:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15921:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15922:     soname_spec='${libname}${release}${shared_ext}$major'
                   15923:     ;;
                   15924:   esac
                   15925:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15926:   postinstall_cmds='chmod 555 $lib'
                   15927:   # or fails outright, so override atomically:
                   15928:   install_override_mode=555
                   15929:   ;;
                   15930: 
                   15931: interix[3-9]*)
                   15932:   version_type=linux # correct to gnu/linux during the next big refactor
                   15933:   need_lib_prefix=no
                   15934:   need_version=no
                   15935:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15936:   soname_spec='${libname}${release}${shared_ext}$major'
                   15937:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15938:   shlibpath_var=LD_LIBRARY_PATH
                   15939:   shlibpath_overrides_runpath=no
                   15940:   hardcode_into_libs=yes
                   15941:   ;;
                   15942: 
                   15943: irix5* | irix6* | nonstopux*)
                   15944:   case $host_os in
                   15945:     nonstopux*) version_type=nonstopux ;;
                   15946:     *)
                   15947:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15948:                version_type=linux # correct to gnu/linux during the next big refactor
                   15949:        else
                   15950:                version_type=irix
                   15951:        fi ;;
                   15952:   esac
                   15953:   need_lib_prefix=no
                   15954:   need_version=no
                   15955:   soname_spec='${libname}${release}${shared_ext}$major'
                   15956:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15957:   case $host_os in
                   15958:   irix5* | nonstopux*)
                   15959:     libsuff= shlibsuff=
                   15960:     ;;
                   15961:   *)
                   15962:     case $LD in # libtool.m4 will add one of these switches to LD
                   15963:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15964:       libsuff= shlibsuff= libmagic=32-bit;;
                   15965:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15966:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15967:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15968:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15969:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15970:     esac
                   15971:     ;;
                   15972:   esac
                   15973:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15974:   shlibpath_overrides_runpath=no
                   15975:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15976:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15977:   hardcode_into_libs=yes
                   15978:   ;;
                   15979: 
                   15980: # No shared lib support for Linux oldld, aout, or coff.
                   15981: linux*oldld* | linux*aout* | linux*coff*)
                   15982:   dynamic_linker=no
                   15983:   ;;
                   15984: 
                   15985: # This must be glibc/ELF.
                   15986: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15987:   version_type=linux # correct to gnu/linux during the next big refactor
                   15988:   need_lib_prefix=no
                   15989:   need_version=no
                   15990:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15991:   soname_spec='${libname}${release}${shared_ext}$major'
                   15992:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15993:   shlibpath_var=LD_LIBRARY_PATH
                   15994:   shlibpath_overrides_runpath=no
                   15995: 
                   15996:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15997:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15998:   $as_echo_n "(cached) " >&6
1.128     moko     15999: else
                   16000:   lt_cv_shlibpath_overrides_runpath=no
                   16001:     save_LDFLAGS=$LDFLAGS
                   16002:     save_libdir=$libdir
                   16003:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16004:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     16005:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16006: /* end confdefs.h.  */
                   16007: 
                   16008: int
                   16009: main ()
                   16010: {
                   16011: 
                   16012:   ;
                   16013:   return 0;
                   16014: }
                   16015: _ACEOF
1.150     moko     16016: if ac_fn_cxx_try_link "$LINENO"; then :
                   16017:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     16018:   lt_cv_shlibpath_overrides_runpath=yes
                   16019: fi
                   16020: fi
1.150     moko     16021: rm -f core conftest.err conftest.$ac_objext \
                   16022:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16023:     LDFLAGS=$save_LDFLAGS
                   16024:     libdir=$save_libdir
                   16025: 
                   16026: fi
                   16027: 
                   16028:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16029: 
                   16030:   # This implies no fast_install, which is unacceptable.
                   16031:   # Some rework will be needed to allow for fast_install
                   16032:   # before this can be enabled.
                   16033:   hardcode_into_libs=yes
                   16034: 
                   16035:   # Append ld.so.conf contents to the search path
                   16036:   if test -f /etc/ld.so.conf; then
                   16037:     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' ' '`
                   16038:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16039:   fi
                   16040: 
                   16041:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16042:   # powerpc, because MkLinux only supported shared libraries with the
                   16043:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16044:   # most powerpc-linux boxes support dynamic linking these days and
                   16045:   # people can always --disable-shared, the test was removed, and we
                   16046:   # assume the GNU/Linux dynamic linker is in use.
                   16047:   dynamic_linker='GNU/Linux ld.so'
                   16048:   ;;
                   16049: 
                   16050: netbsd*)
                   16051:   version_type=sunos
                   16052:   need_lib_prefix=no
                   16053:   need_version=no
                   16054:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16055:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16056:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16057:     dynamic_linker='NetBSD (a.out) ld.so'
                   16058:   else
                   16059:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16060:     soname_spec='${libname}${release}${shared_ext}$major'
                   16061:     dynamic_linker='NetBSD ld.elf_so'
                   16062:   fi
                   16063:   shlibpath_var=LD_LIBRARY_PATH
                   16064:   shlibpath_overrides_runpath=yes
                   16065:   hardcode_into_libs=yes
                   16066:   ;;
                   16067: 
                   16068: newsos6)
                   16069:   version_type=linux # correct to gnu/linux during the next big refactor
                   16070:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16071:   shlibpath_var=LD_LIBRARY_PATH
                   16072:   shlibpath_overrides_runpath=yes
                   16073:   ;;
                   16074: 
                   16075: *nto* | *qnx*)
                   16076:   version_type=qnx
                   16077:   need_lib_prefix=no
                   16078:   need_version=no
                   16079:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16080:   soname_spec='${libname}${release}${shared_ext}$major'
                   16081:   shlibpath_var=LD_LIBRARY_PATH
                   16082:   shlibpath_overrides_runpath=no
                   16083:   hardcode_into_libs=yes
                   16084:   dynamic_linker='ldqnx.so'
                   16085:   ;;
                   16086: 
                   16087: openbsd*)
                   16088:   version_type=sunos
                   16089:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16090:   need_lib_prefix=no
                   16091:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16092:   case $host_os in
                   16093:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16094:     *)                         need_version=no  ;;
                   16095:   esac
                   16096:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16097:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16098:   shlibpath_var=LD_LIBRARY_PATH
                   16099:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16100:     case $host_os in
                   16101:       openbsd2.[89] | openbsd2.[89].*)
                   16102:        shlibpath_overrides_runpath=no
                   16103:        ;;
                   16104:       *)
                   16105:        shlibpath_overrides_runpath=yes
                   16106:        ;;
                   16107:       esac
                   16108:   else
                   16109:     shlibpath_overrides_runpath=yes
                   16110:   fi
                   16111:   ;;
                   16112: 
                   16113: os2*)
                   16114:   libname_spec='$name'
                   16115:   shrext_cmds=".dll"
                   16116:   need_lib_prefix=no
                   16117:   library_names_spec='$libname${shared_ext} $libname.a'
                   16118:   dynamic_linker='OS/2 ld.exe'
                   16119:   shlibpath_var=LIBPATH
                   16120:   ;;
                   16121: 
                   16122: osf3* | osf4* | osf5*)
                   16123:   version_type=osf
                   16124:   need_lib_prefix=no
                   16125:   need_version=no
                   16126:   soname_spec='${libname}${release}${shared_ext}$major'
                   16127:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16128:   shlibpath_var=LD_LIBRARY_PATH
                   16129:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16130:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16131:   ;;
                   16132: 
                   16133: rdos*)
                   16134:   dynamic_linker=no
                   16135:   ;;
                   16136: 
                   16137: solaris*)
                   16138:   version_type=linux # correct to gnu/linux during the next big refactor
                   16139:   need_lib_prefix=no
                   16140:   need_version=no
                   16141:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16142:   soname_spec='${libname}${release}${shared_ext}$major'
                   16143:   shlibpath_var=LD_LIBRARY_PATH
                   16144:   shlibpath_overrides_runpath=yes
                   16145:   hardcode_into_libs=yes
                   16146:   # ldd complains unless libraries are executable
                   16147:   postinstall_cmds='chmod +x $lib'
                   16148:   ;;
                   16149: 
                   16150: sunos4*)
                   16151:   version_type=sunos
                   16152:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16153:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16154:   shlibpath_var=LD_LIBRARY_PATH
                   16155:   shlibpath_overrides_runpath=yes
                   16156:   if test "$with_gnu_ld" = yes; then
                   16157:     need_lib_prefix=no
                   16158:   fi
                   16159:   need_version=yes
                   16160:   ;;
                   16161: 
                   16162: sysv4 | sysv4.3*)
                   16163:   version_type=linux # correct to gnu/linux during the next big refactor
                   16164:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16165:   soname_spec='${libname}${release}${shared_ext}$major'
                   16166:   shlibpath_var=LD_LIBRARY_PATH
                   16167:   case $host_vendor in
                   16168:     sni)
                   16169:       shlibpath_overrides_runpath=no
                   16170:       need_lib_prefix=no
                   16171:       runpath_var=LD_RUN_PATH
                   16172:       ;;
                   16173:     siemens)
                   16174:       need_lib_prefix=no
                   16175:       ;;
                   16176:     motorola)
                   16177:       need_lib_prefix=no
                   16178:       need_version=no
                   16179:       shlibpath_overrides_runpath=no
                   16180:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16181:       ;;
                   16182:   esac
                   16183:   ;;
                   16184: 
                   16185: sysv4*MP*)
                   16186:   if test -d /usr/nec ;then
                   16187:     version_type=linux # correct to gnu/linux during the next big refactor
                   16188:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16189:     soname_spec='$libname${shared_ext}.$major'
                   16190:     shlibpath_var=LD_LIBRARY_PATH
                   16191:   fi
                   16192:   ;;
                   16193: 
                   16194: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16195:   version_type=freebsd-elf
                   16196:   need_lib_prefix=no
                   16197:   need_version=no
                   16198:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16199:   soname_spec='${libname}${release}${shared_ext}$major'
                   16200:   shlibpath_var=LD_LIBRARY_PATH
                   16201:   shlibpath_overrides_runpath=yes
                   16202:   hardcode_into_libs=yes
                   16203:   if test "$with_gnu_ld" = yes; then
                   16204:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16205:   else
                   16206:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16207:     case $host_os in
                   16208:       sco3.2v5*)
                   16209:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16210:        ;;
                   16211:     esac
                   16212:   fi
                   16213:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16214:   ;;
                   16215: 
                   16216: tpf*)
                   16217:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16218:   version_type=linux # correct to gnu/linux during the next big refactor
                   16219:   need_lib_prefix=no
                   16220:   need_version=no
                   16221:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16222:   shlibpath_var=LD_LIBRARY_PATH
                   16223:   shlibpath_overrides_runpath=no
                   16224:   hardcode_into_libs=yes
                   16225:   ;;
                   16226: 
                   16227: uts4*)
                   16228:   version_type=linux # correct to gnu/linux during the next big refactor
                   16229:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16230:   soname_spec='${libname}${release}${shared_ext}$major'
                   16231:   shlibpath_var=LD_LIBRARY_PATH
                   16232:   ;;
                   16233: 
                   16234: *)
                   16235:   dynamic_linker=no
                   16236:   ;;
                   16237: esac
1.150     moko     16238: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16239: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16240: test "$dynamic_linker" = no && can_build_shared=no
                   16241: 
                   16242: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16243: if test "$GCC" = yes; then
                   16244:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16245: fi
                   16246: 
                   16247: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16248:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16249: fi
                   16250: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16251:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16252: fi
                   16253: 
                   16254: 
                   16255: 
                   16256: 
                   16257: 
                   16258: 
                   16259: 
                   16260: 
                   16261: 
                   16262: 
                   16263: 
                   16264: 
                   16265: 
                   16266: 
                   16267: 
                   16268: 
                   16269: 
                   16270: 
                   16271: 
                   16272: 
                   16273: 
                   16274: 
                   16275: 
                   16276: 
                   16277: 
                   16278: 
                   16279: 
                   16280: 
                   16281: 
                   16282: 
                   16283: 
                   16284: 
                   16285: 
                   16286: 
                   16287: 
                   16288: 
                   16289: 
                   16290: 
1.150     moko     16291:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16292: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16293: hardcode_action_CXX=
                   16294: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16295:    test -n "$runpath_var_CXX" ||
                   16296:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16297: 
                   16298:   # We can hardcode non-existent directories.
                   16299:   if test "$hardcode_direct_CXX" != no &&
                   16300:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16301:      # have to relink, otherwise we might link with an installed library
                   16302:      # when we should be linking with a yet-to-be-installed one
                   16303:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16304:      test "$hardcode_minus_L_CXX" != no; then
                   16305:     # Linking always hardcodes the temporary library directory.
                   16306:     hardcode_action_CXX=relink
                   16307:   else
                   16308:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16309:     hardcode_action_CXX=immediate
                   16310:   fi
                   16311: else
                   16312:   # We cannot hardcode anything, or else we can only hardcode existing
                   16313:   # directories.
                   16314:   hardcode_action_CXX=unsupported
                   16315: fi
1.150     moko     16316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16317: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16318: 
                   16319: if test "$hardcode_action_CXX" = relink ||
                   16320:    test "$inherit_rpath_CXX" = yes; then
                   16321:   # Fast installation is not supported
                   16322:   enable_fast_install=no
                   16323: elif test "$shlibpath_overrides_runpath" = yes ||
                   16324:      test "$enable_shared" = no; then
                   16325:   # Fast installation is not necessary
                   16326:   enable_fast_install=needless
                   16327: fi
                   16328: 
                   16329: 
                   16330: 
                   16331: 
                   16332: 
                   16333: 
                   16334: 
                   16335:   fi # test -n "$compiler"
                   16336: 
                   16337:   CC=$lt_save_CC
                   16338:   CFLAGS=$lt_save_CFLAGS
                   16339:   LDCXX=$LD
                   16340:   LD=$lt_save_LD
                   16341:   GCC=$lt_save_GCC
                   16342:   with_gnu_ld=$lt_save_with_gnu_ld
                   16343:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16344:   lt_cv_path_LD=$lt_save_path_LD
                   16345:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16346:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16347: fi # test "$_lt_caught_CXX_error" != yes
                   16348: 
                   16349: ac_ext=c
                   16350: ac_cpp='$CPP $CPPFLAGS'
                   16351: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16352: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16353: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16354: 
                   16355: 
                   16356: 
                   16357: 
                   16358: 
                   16359: 
                   16360: 
                   16361: 
                   16362: 
                   16363: 
                   16364: 
                   16365: 
                   16366: 
                   16367: 
                   16368: 
1.150     moko     16369:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16370: 
                   16371: 
                   16372: 
                   16373: 
                   16374: # Only expand once:
                   16375: 
                   16376: 
1.150     moko     16377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16378: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16379: if ${libltdl_cv_shlibext+:} false; then :
                   16380:   $as_echo_n "(cached) " >&6
1.128     moko     16381: else
                   16382: 
                   16383: module=yes
                   16384: eval libltdl_cv_shlibext=$shrext_cmds
                   16385: module=no
                   16386: eval libltdl_cv_shrext=$shrext_cmds
                   16387: 
                   16388: fi
1.150     moko     16389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16390: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16391: if test -n "$libltdl_cv_shlibext"; then
                   16392: 
                   16393: cat >>confdefs.h <<_ACEOF
                   16394: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16395: _ACEOF
                   16396: 
                   16397: fi
                   16398: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16399: 
                   16400: cat >>confdefs.h <<_ACEOF
                   16401: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16402: _ACEOF
                   16403: 
                   16404: fi
                   16405: 
1.150     moko     16406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16407: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16408: if ${lt_cv_module_path_var+:} false; then :
                   16409:   $as_echo_n "(cached) " >&6
1.128     moko     16410: else
                   16411:   lt_cv_module_path_var="$shlibpath_var"
                   16412: fi
1.150     moko     16413: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16414: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16415: if test -n "$lt_cv_module_path_var"; then
                   16416: 
                   16417: cat >>confdefs.h <<_ACEOF
                   16418: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16419: _ACEOF
                   16420: 
                   16421: fi
                   16422: 
1.150     moko     16423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16424: $as_echo_n "checking for the default library search path... " >&6; }
                   16425: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16426:   $as_echo_n "(cached) " >&6
1.128     moko     16427: else
                   16428:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16429: fi
1.150     moko     16430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16431: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16432: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16433:   sys_dlsearch_path=
                   16434:   for dir in $lt_cv_sys_dlsearch_path; do
                   16435:     if test -z "$sys_dlsearch_path"; then
                   16436:       sys_dlsearch_path="$dir"
                   16437:     else
                   16438:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16439:     fi
                   16440:   done
                   16441: 
                   16442: cat >>confdefs.h <<_ACEOF
                   16443: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16444: _ACEOF
                   16445: 
                   16446: fi
                   16447: 
                   16448: 
                   16449: LT_DLLOADERS=
                   16450: 
                   16451: 
                   16452: ac_ext=c
                   16453: ac_cpp='$CPP $CPPFLAGS'
                   16454: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16455: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16456: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16457: 
                   16458: 
                   16459: LIBADD_DLOPEN=
1.150     moko     16460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16461: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16462: if ${ac_cv_search_dlopen+:} false; then :
                   16463:   $as_echo_n "(cached) " >&6
1.128     moko     16464: else
                   16465:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16466: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16467: /* end confdefs.h.  */
                   16468: 
1.150     moko     16469: /* Override any GCC internal prototype to avoid an error.
                   16470:    Use char because int might match the return type of a GCC
                   16471:    builtin and then its argument prototype would still apply.  */
1.128     moko     16472: #ifdef __cplusplus
                   16473: extern "C"
                   16474: #endif
                   16475: char dlopen ();
                   16476: int
                   16477: main ()
                   16478: {
1.150     moko     16479: return dlopen ();
1.128     moko     16480:   ;
                   16481:   return 0;
                   16482: }
                   16483: _ACEOF
1.150     moko     16484: for ac_lib in '' dl; do
                   16485:   if test -z "$ac_lib"; then
                   16486:     ac_res="none required"
                   16487:   else
                   16488:     ac_res=-l$ac_lib
                   16489:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16490:   fi
                   16491:   if ac_fn_c_try_link "$LINENO"; then :
                   16492:   ac_cv_search_dlopen=$ac_res
                   16493: fi
                   16494: rm -f core conftest.err conftest.$ac_objext \
                   16495:     conftest$ac_exeext
                   16496:   if ${ac_cv_search_dlopen+:} false; then :
                   16497:   break
1.128     moko     16498: fi
1.150     moko     16499: done
                   16500: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16501: 
                   16502: else
1.150     moko     16503:   ac_cv_search_dlopen=no
1.128     moko     16504: fi
1.150     moko     16505: rm conftest.$ac_ext
1.128     moko     16506: LIBS=$ac_func_search_save_LIBS
                   16507: fi
1.150     moko     16508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16509: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16510: ac_res=$ac_cv_search_dlopen
                   16511: if test "$ac_res" != no; then :
                   16512:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16513: 
1.150     moko     16514: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16515: 
                   16516:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16517:          LIBADD_DLOPEN="-ldl"
                   16518:        fi
                   16519:        libltdl_cv_lib_dl_dlopen="yes"
                   16520:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16521: else
1.150     moko     16522:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16523: /* end confdefs.h.  */
                   16524: #if HAVE_DLFCN_H
                   16525: #  include <dlfcn.h>
                   16526: #endif
                   16527: 
                   16528: int
                   16529: main ()
                   16530: {
                   16531: dlopen(0, 0);
                   16532:   ;
                   16533:   return 0;
                   16534: }
                   16535: _ACEOF
1.150     moko     16536: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16537: 
1.150     moko     16538: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16539: 
                   16540:            libltdl_cv_func_dlopen="yes"
                   16541:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16542: else
1.150     moko     16543:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16544: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16545: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16546:   $as_echo_n "(cached) " >&6
1.128     moko     16547: else
                   16548:   ac_check_lib_save_LIBS=$LIBS
                   16549: LIBS="-lsvld  $LIBS"
1.150     moko     16550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16551: /* end confdefs.h.  */
                   16552: 
1.150     moko     16553: /* Override any GCC internal prototype to avoid an error.
                   16554:    Use char because int might match the return type of a GCC
                   16555:    builtin and then its argument prototype would still apply.  */
1.128     moko     16556: #ifdef __cplusplus
                   16557: extern "C"
                   16558: #endif
                   16559: char dlopen ();
                   16560: int
                   16561: main ()
                   16562: {
1.150     moko     16563: return dlopen ();
1.128     moko     16564:   ;
                   16565:   return 0;
                   16566: }
                   16567: _ACEOF
1.150     moko     16568: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16569:   ac_cv_lib_svld_dlopen=yes
                   16570: else
1.150     moko     16571:   ac_cv_lib_svld_dlopen=no
1.128     moko     16572: fi
1.150     moko     16573: rm -f core conftest.err conftest.$ac_objext \
                   16574:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16575: LIBS=$ac_check_lib_save_LIBS
                   16576: fi
1.150     moko     16577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16578: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16579: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16580: 
1.150     moko     16581: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16582: 
                   16583:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16584:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16585: fi
                   16586: 
                   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: fi
                   16591: 
                   16592: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16593: then
                   16594:   lt_save_LIBS="$LIBS"
                   16595:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16596:   for ac_func in dlerror
                   16597: do :
                   16598:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16599: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16600:   cat >>confdefs.h <<_ACEOF
1.150     moko     16601: #define HAVE_DLERROR 1
1.128     moko     16602: _ACEOF
                   16603: 
                   16604: fi
                   16605: done
                   16606: 
                   16607:   LIBS="$lt_save_LIBS"
                   16608: fi
                   16609: 
                   16610: 
                   16611: LIBADD_SHL_LOAD=
1.150     moko     16612: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16613: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16614: 
1.150     moko     16615: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16616: 
                   16617:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16618: else
1.150     moko     16619:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16620: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16621: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16622:   $as_echo_n "(cached) " >&6
1.66      paf      16623: else
                   16624:   ac_check_lib_save_LIBS=$LIBS
                   16625: LIBS="-ldld  $LIBS"
1.150     moko     16626: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16627: /* end confdefs.h.  */
1.10      paf      16628: 
1.150     moko     16629: /* Override any GCC internal prototype to avoid an error.
                   16630:    Use char because int might match the return type of a GCC
                   16631:    builtin and then its argument prototype would still apply.  */
1.66      paf      16632: #ifdef __cplusplus
                   16633: extern "C"
                   16634: #endif
                   16635: char shl_load ();
                   16636: int
                   16637: main ()
                   16638: {
1.150     moko     16639: return shl_load ();
1.66      paf      16640:   ;
                   16641:   return 0;
                   16642: }
                   16643: _ACEOF
1.150     moko     16644: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16645:   ac_cv_lib_dld_shl_load=yes
                   16646: else
1.150     moko     16647:   ac_cv_lib_dld_shl_load=no
1.66      paf      16648: fi
1.150     moko     16649: rm -f core conftest.err conftest.$ac_objext \
                   16650:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16651: LIBS=$ac_check_lib_save_LIBS
                   16652: fi
1.150     moko     16653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16654: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16655: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16656: 
1.150     moko     16657: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16658: 
1.128     moko     16659:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16660:            LIBADD_SHL_LOAD="-ldld"
                   16661: fi
                   16662: 
                   16663: fi
                   16664: 
                   16665: 
                   16666: 
                   16667: case $host_os in
                   16668: darwin[1567].*)
                   16669: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16670:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16671: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16672: 
                   16673: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16674: 
1.150     moko     16675:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16676: fi
1.128     moko     16677: 
1.150     moko     16678:   ;;
                   16679: beos*)
1.128     moko     16680:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16681:   ;;
                   16682: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16683:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16684: "
                   16685: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16686:   ac_have_decl=1
1.128     moko     16687: else
1.150     moko     16688:   ac_have_decl=0
1.128     moko     16689: fi
                   16690: 
                   16691: cat >>confdefs.h <<_ACEOF
1.150     moko     16692: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16693: _ACEOF
                   16694: 
                   16695:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16696:   ;;
                   16697: esac
                   16698: 
1.150     moko     16699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16700: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16701: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16702:   $as_echo_n "(cached) " >&6
1.66      paf      16703: else
                   16704:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16705: LIBS="-ldld  $LIBS"
1.150     moko     16706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16707: /* end confdefs.h.  */
1.62      paf      16708: 
1.150     moko     16709: /* Override any GCC internal prototype to avoid an error.
                   16710:    Use char because int might match the return type of a GCC
                   16711:    builtin and then its argument prototype would still apply.  */
1.66      paf      16712: #ifdef __cplusplus
                   16713: extern "C"
                   16714: #endif
1.128     moko     16715: char dld_link ();
1.66      paf      16716: int
                   16717: main ()
                   16718: {
1.150     moko     16719: return dld_link ();
1.66      paf      16720:   ;
                   16721:   return 0;
                   16722: }
                   16723: _ACEOF
1.150     moko     16724: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16725:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16726: else
1.150     moko     16727:   ac_cv_lib_dld_dld_link=no
1.128     moko     16728: fi
1.150     moko     16729: rm -f core conftest.err conftest.$ac_objext \
                   16730:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16731: LIBS=$ac_check_lib_save_LIBS
                   16732: fi
1.150     moko     16733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16734: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16735: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16736: 
1.150     moko     16737: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16738: 
                   16739:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16740: fi
                   16741: 
                   16742: 
                   16743: 
                   16744: 
                   16745: LT_DLPREOPEN=
                   16746: if test -n "$LT_DLLOADERS"
                   16747: then
                   16748:   for lt_loader in $LT_DLLOADERS; do
                   16749:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16750:   done
                   16751: 
1.150     moko     16752: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16753: 
                   16754: fi
                   16755: 
                   16756: 
                   16757: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16758: 
                   16759: 
                   16760: ac_ext=c
                   16761: ac_cpp='$CPP $CPPFLAGS'
                   16762: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16763: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16764: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16765: 
                   16766: 
1.150     moko     16767: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16768: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16769: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16770:   $as_echo_n "(cached) " >&6
1.128     moko     16771: else
                   16772:   lt_cv_sys_symbol_underscore=no
                   16773:   cat > conftest.$ac_ext <<_LT_EOF
                   16774: void nm_test_func(){}
                   16775: int main(){nm_test_func;return 0;}
                   16776: _LT_EOF
1.150     moko     16777:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16778:   (eval $ac_compile) 2>&5
                   16779:   ac_status=$?
1.150     moko     16780:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16781:   test $ac_status = 0; }; then
1.128     moko     16782:     # Now try to grab the symbols.
                   16783:     ac_nlist=conftest.nm
1.150     moko     16784:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16785:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16786:   ac_status=$?
1.150     moko     16787:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16788:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16789:       # See whether the symbols have a leading underscore.
                   16790:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16791:         lt_cv_sys_symbol_underscore=yes
                   16792:       else
                   16793:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16794:          :
                   16795:         else
                   16796:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16797:         fi
                   16798:       fi
                   16799:     else
                   16800:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16801:     fi
                   16802:   else
                   16803:     echo "configure: failed program was:" >&5
                   16804:     cat conftest.c >&5
                   16805:   fi
                   16806:   rm -rf conftest*
1.29      paf      16807: 
1.66      paf      16808: fi
1.150     moko     16809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16810: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16811:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16812: 
1.62      paf      16813: 
1.128     moko     16814: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16815:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16816:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16817:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16818: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16819: if ${libltdl_cv_need_uscore+:} false; then :
                   16820:   $as_echo_n "(cached) " >&6
1.66      paf      16821: else
1.128     moko     16822:   libltdl_cv_need_uscore=unknown
                   16823:           save_LIBS="$LIBS"
                   16824:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16825:          if test "$cross_compiling" = yes; then :
                   16826:   libltdl_cv_need_uscore=cross
                   16827: else
                   16828:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16829:   lt_status=$lt_dlunknown
                   16830:   cat > conftest.$ac_ext <<_LT_EOF
                   16831: #line $LINENO "configure"
                   16832: #include "confdefs.h"
                   16833: 
1.66      paf      16834: #if HAVE_DLFCN_H
1.128     moko     16835: #include <dlfcn.h>
                   16836: #endif
                   16837: 
                   16838: #include <stdio.h>
                   16839: 
                   16840: #ifdef RTLD_GLOBAL
                   16841: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16842: #else
                   16843: #  ifdef DL_GLOBAL
                   16844: #    define LT_DLGLOBAL                DL_GLOBAL
                   16845: #  else
                   16846: #    define LT_DLGLOBAL                0
                   16847: #  endif
                   16848: #endif
                   16849: 
                   16850: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16851:    find out it does not work in some platform. */
                   16852: #ifndef LT_DLLAZY_OR_NOW
                   16853: #  ifdef RTLD_LAZY
                   16854: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16855: #  else
                   16856: #    ifdef DL_LAZY
                   16857: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16858: #    else
                   16859: #      ifdef RTLD_NOW
                   16860: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16861: #      else
                   16862: #        ifdef DL_NOW
                   16863: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16864: #        else
                   16865: #          define LT_DLLAZY_OR_NOW     0
                   16866: #        endif
                   16867: #      endif
                   16868: #    endif
                   16869: #  endif
                   16870: #endif
                   16871: 
                   16872: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16873:    correspondingly for the symbols needed.  */
                   16874: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16875: int fnord () __attribute__((visibility("default")));
1.66      paf      16876: #endif
1.62      paf      16877: 
1.128     moko     16878: int fnord () { return 42; }
                   16879: int main ()
1.66      paf      16880: {
1.128     moko     16881:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16882:   int status = $lt_dlunknown;
                   16883: 
                   16884:   if (self)
                   16885:     {
                   16886:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16887:       else
                   16888:         {
                   16889:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16890:           else puts (dlerror ());
                   16891:        }
                   16892:       /* dlclose (self); */
                   16893:     }
                   16894:   else
                   16895:     puts (dlerror ());
                   16896: 
                   16897:   return status;
1.66      paf      16898: }
1.128     moko     16899: _LT_EOF
1.150     moko     16900:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16901:   (eval $ac_link) 2>&5
1.66      paf      16902:   ac_status=$?
1.150     moko     16903:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16904:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16905:     (./conftest; exit; ) >&5 2>/dev/null
                   16906:     lt_status=$?
                   16907:     case x$lt_status in
                   16908:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16909:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16910:       x$lt_dlunknown|x*)  ;;
                   16911:     esac
                   16912:   else :
                   16913:     # compilation failed
                   16914: 
                   16915:   fi
                   16916: fi
                   16917: rm -fr conftest*
                   16918: 
                   16919:          LIBS="$save_LIBS"
                   16920: 
                   16921: fi
1.150     moko     16922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16923: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16924:   fi
                   16925: fi
                   16926: 
                   16927: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16928: 
1.150     moko     16929: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16930: 
1.128     moko     16931: fi
                   16932: 
1.150     moko     16933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16934: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16935: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16936:   $as_echo_n "(cached) " >&6
1.66      paf      16937: else
1.128     moko     16938:   # PORTME does your system automatically load deplibs for dlopen?
                   16939:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16940:   # For now, we just catch OSes we know something about -- in the
                   16941:   # future, we'll try test this programmatically.
                   16942:   lt_cv_sys_dlopen_deplibs=unknown
                   16943:   case $host_os in
                   16944:   aix3*|aix4.1.*|aix4.2.*)
                   16945:     # Unknown whether this is true for these versions of AIX, but
                   16946:     # we want this `case' here to explicitly catch those versions.
                   16947:     lt_cv_sys_dlopen_deplibs=unknown
                   16948:     ;;
                   16949:   aix[4-9]*)
                   16950:     lt_cv_sys_dlopen_deplibs=yes
                   16951:     ;;
                   16952:   amigaos*)
                   16953:     case $host_cpu in
                   16954:     powerpc)
                   16955:       lt_cv_sys_dlopen_deplibs=no
                   16956:       ;;
                   16957:     esac
                   16958:     ;;
                   16959:   darwin*)
                   16960:     # Assuming the user has installed a libdl from somewhere, this is true
                   16961:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16962:     lt_cv_sys_dlopen_deplibs=yes
                   16963:     ;;
                   16964:   freebsd* | dragonfly*)
                   16965:     lt_cv_sys_dlopen_deplibs=yes
                   16966:     ;;
                   16967:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16968:     # GNU and its variants, using gnu ld.so (Glibc)
                   16969:     lt_cv_sys_dlopen_deplibs=yes
                   16970:     ;;
                   16971:   hpux10*|hpux11*)
                   16972:     lt_cv_sys_dlopen_deplibs=yes
                   16973:     ;;
                   16974:   interix*)
                   16975:     lt_cv_sys_dlopen_deplibs=yes
                   16976:     ;;
                   16977:   irix[12345]*|irix6.[01]*)
                   16978:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16979:     # know how it worked for any of those versions.
                   16980:     lt_cv_sys_dlopen_deplibs=unknown
                   16981:     ;;
                   16982:   irix*)
                   16983:     # The case above catches anything before 6.2, and it's known that
                   16984:     # at 6.2 and later dlopen does load deplibs.
                   16985:     lt_cv_sys_dlopen_deplibs=yes
                   16986:     ;;
                   16987:   netbsd*)
                   16988:     lt_cv_sys_dlopen_deplibs=yes
                   16989:     ;;
                   16990:   openbsd*)
                   16991:     lt_cv_sys_dlopen_deplibs=yes
                   16992:     ;;
                   16993:   osf[1234]*)
                   16994:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16995:     # it did *not* use an RPATH in a shared library to find objects the
                   16996:     # library depends on, so we explicitly say `no'.
                   16997:     lt_cv_sys_dlopen_deplibs=no
                   16998:     ;;
                   16999:   osf5.0|osf5.0a|osf5.1)
                   17000:     # dlopen *does* load deplibs and with the right loader patch applied
                   17001:     # it even uses RPATH in a shared library to search for shared objects
                   17002:     # that the library depends on, but there's no easy way to know if that
                   17003:     # patch is installed.  Since this is the case, all we can really
                   17004:     # say is unknown -- it depends on the patch being installed.  If
                   17005:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17006:     lt_cv_sys_dlopen_deplibs=unknown
                   17007:     ;;
                   17008:   osf*)
                   17009:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17010:     # the comments above for what we know about them.
                   17011:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17012:     # is used to find them so we can finally say `yes'.
                   17013:     lt_cv_sys_dlopen_deplibs=yes
                   17014:     ;;
                   17015:   qnx*)
                   17016:     lt_cv_sys_dlopen_deplibs=yes
                   17017:     ;;
                   17018:   solaris*)
                   17019:     lt_cv_sys_dlopen_deplibs=yes
                   17020:     ;;
                   17021:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17022:     libltdl_cv_sys_dlopen_deplibs=yes
                   17023:     ;;
                   17024:   esac
                   17025: 
                   17026: fi
1.150     moko     17027: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17028: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     17029: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17030: 
1.150     moko     17031: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     17032: 
                   17033: fi
                   17034: 
                   17035: :
                   17036: 
                   17037: for ac_header in argz.h
1.150     moko     17038: do :
                   17039:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   17040: "
                   17041: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     17042:   cat >>confdefs.h <<_ACEOF
1.150     moko     17043: #define HAVE_ARGZ_H 1
1.128     moko     17044: _ACEOF
                   17045: 
1.66      paf      17046: fi
1.62      paf      17047: 
1.128     moko     17048: done
                   17049: 
1.29      paf      17050: 
1.150     moko     17051: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     17052: #  include <argz.h>
                   17053: #endif
1.150     moko     17054: "
                   17055: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      17056: 
1.128     moko     17057: cat >>confdefs.h <<_ACEOF
                   17058: #define HAVE_ERROR_T 1
1.62      paf      17059: _ACEOF
1.16      paf      17060: 
                   17061: 
1.128     moko     17062: else
1.16      paf      17063: 
1.150     moko     17064: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      17065: 
1.12      paf      17066: 
1.150     moko     17067: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      17068: 
1.66      paf      17069: fi
1.12      paf      17070: 
1.128     moko     17071: 
                   17072: ARGZ_H=
                   17073: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17074:        argz_next argz_stringify
1.150     moko     17075: do :
                   17076:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17077: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17078: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17079:   cat >>confdefs.h <<_ACEOF
1.150     moko     17080: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17081: _ACEOF
                   17082: 
                   17083: else
                   17084:   ARGZ_H=argz.h;
                   17085: 
                   17086:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17087: 
                   17088: fi
                   17089: done
                   17090: 
                   17091: 
1.150     moko     17092: if test -z "$ARGZ_H"; then :
                   17093:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   17094: $as_echo_n "checking if argz actually works... " >&6; }
                   17095: if ${lt_cv_sys_argz_works+:} false; then :
                   17096:   $as_echo_n "(cached) " >&6
1.128     moko     17097: else
                   17098:   case $host_os in #(
                   17099:         *cygwin*)
                   17100:           lt_cv_sys_argz_works=no
                   17101:           if test "$cross_compiling" != no; then
                   17102:             lt_cv_sys_argz_works="guessing no"
                   17103:           else
                   17104:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17105:             save_IFS=$IFS
                   17106:             IFS=-.
                   17107:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17108:             IFS=$save_IFS
                   17109:             lt_os_major=${2-0}
                   17110:             lt_os_minor=${3-0}
                   17111:             lt_os_micro=${4-0}
                   17112:             if test "$lt_os_major" -gt 1 \
                   17113:                || { test "$lt_os_major" -eq 1 \
                   17114:                  && { test "$lt_os_minor" -gt 5 \
                   17115:                    || { test "$lt_os_minor" -eq 5 \
                   17116:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17117:               lt_cv_sys_argz_works=yes
                   17118:             fi
                   17119:           fi
                   17120:           ;; #(
                   17121:         *) lt_cv_sys_argz_works=yes ;;
                   17122:         esac
                   17123: fi
1.150     moko     17124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   17125: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   17126:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     17127: 
1.150     moko     17128: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     17129: 
1.62      paf      17130: else
1.128     moko     17131:   ARGZ_H=argz.h
                   17132: 
                   17133: 
                   17134:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17135: 
                   17136: fi
1.62      paf      17137: fi
1.128     moko     17138: 
                   17139: 
                   17140: 
1.150     moko     17141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17142: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   17143: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   17144:   $as_echo_n "(cached) " >&6
1.128     moko     17145: else
                   17146:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17147:     libltdl_cv_preloaded_symbols=yes
                   17148:   else
                   17149:     libltdl_cv_preloaded_symbols=no
                   17150:   fi
                   17151: 
1.62      paf      17152: fi
1.150     moko     17153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   17154: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     17155: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17156: 
1.150     moko     17157: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      17158: 
                   17159: fi
                   17160: 
1.150     moko     17161: 
                   17162: 
1.128     moko     17163: # Set options
                   17164: 
                   17165: 
                   17166: 
                   17167: 
                   17168: 
                   17169: 
                   17170: 
                   17171: 
                   17172: 
                   17173: 
1.66      paf      17174: 
                   17175: 
1.150     moko     17176: # Check whether --with-included_ltdl was given.
                   17177: if test "${with_included_ltdl+set}" = set; then :
                   17178:   withval=$with_included_ltdl;
                   17179: fi
1.64      paf      17180: 
                   17181: 
1.128     moko     17182: if test "x$with_included_ltdl" != xyes; then
                   17183:   # We are not being forced to use the included libltdl sources, so
                   17184:   # decide whether there is a useful installed version we can use.
1.150     moko     17185:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     17186: 
1.150     moko     17187: "
                   17188: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   17189:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     17190:            #include <ltdl.h>
1.150     moko     17191: "
                   17192: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   17193:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   17194: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   17195: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   17196:   $as_echo_n "(cached) " >&6
1.79      paf      17197: else
1.128     moko     17198:   ac_check_lib_save_LIBS=$LIBS
                   17199: LIBS="-lltdl  $LIBS"
1.150     moko     17200: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      17201: /* end confdefs.h.  */
1.128     moko     17202: 
1.150     moko     17203: /* Override any GCC internal prototype to avoid an error.
                   17204:    Use char because int might match the return type of a GCC
                   17205:    builtin and then its argument prototype would still apply.  */
1.128     moko     17206: #ifdef __cplusplus
                   17207: extern "C"
                   17208: #endif
                   17209: char lt_dladvise_preload ();
1.79      paf      17210: int
                   17211: main ()
                   17212: {
1.150     moko     17213: return lt_dladvise_preload ();
1.79      paf      17214:   ;
                   17215:   return 0;
                   17216: }
                   17217: _ACEOF
1.150     moko     17218: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17219:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17220: else
1.150     moko     17221:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17222: fi
1.150     moko     17223: rm -f core conftest.err conftest.$ac_objext \
                   17224:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17225: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17226: fi
1.150     moko     17227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17228: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17229: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17230:   with_included_ltdl=no
1.79      paf      17231: else
1.128     moko     17232:   with_included_ltdl=yes
                   17233: fi
                   17234: 
1.79      paf      17235: else
1.128     moko     17236:   with_included_ltdl=yes
                   17237: fi
1.79      paf      17238: 
1.128     moko     17239: else
                   17240:   with_included_ltdl=yes
1.79      paf      17241: fi
1.128     moko     17242: 
                   17243: 
1.79      paf      17244: fi
1.128     moko     17245: 
                   17246: 
                   17247: 
                   17248: 
1.150     moko     17249: # Check whether --with-ltdl_include was given.
                   17250: if test "${with_ltdl_include+set}" = set; then :
                   17251:   withval=$with_ltdl_include;
                   17252: fi
1.128     moko     17253: 
                   17254: 
                   17255: if test -n "$with_ltdl_include"; then
                   17256:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17257:   else
1.150     moko     17258:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17259:   fi
                   17260: else
                   17261:   with_ltdl_include=no
1.79      paf      17262: fi
1.128     moko     17263: 
                   17264: 
1.150     moko     17265: # Check whether --with-ltdl_lib was given.
                   17266: if test "${with_ltdl_lib+set}" = set; then :
                   17267:   withval=$with_ltdl_lib;
                   17268: fi
1.128     moko     17269: 
                   17270: 
                   17271: if test -n "$with_ltdl_lib"; then
                   17272:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17273:   else
1.150     moko     17274:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17275:   fi
                   17276: else
                   17277:   with_ltdl_lib=no
1.79      paf      17278: fi
                   17279: 
1.128     moko     17280: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17281:   ,yes,no,no,)
                   17282:        case $enable_ltdl_convenience in
1.150     moko     17283:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17284:   "") enable_ltdl_convenience=yes
                   17285:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17286: esac
1.150     moko     17287: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17288: LTDLDEPS=$LIBLTDL
                   17289: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17290: 
                   17291: 
                   17292: 
                   17293: 
                   17294: 
                   17295: # For backwards non-gettext consistent compatibility...
                   17296: INCLTDL="$LTDLINCL"
                   17297: 
1.79      paf      17298: 
1.128     moko     17299:        ;;
                   17300:   ,no,no,no,)
                   17301:        # If the included ltdl is not to be used, then use the
                   17302:        # preinstalled libltdl we found.
1.79      paf      17303: 
1.150     moko     17304: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17305: 
1.128     moko     17306:        LIBLTDL=-lltdl
                   17307:        LTDLDEPS=
                   17308:        LTDLINCL=
                   17309:        ;;
                   17310:   ,no*,no,*)
1.150     moko     17311:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17312:        ;;
                   17313:   *)   with_included_ltdl=no
                   17314:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17315:        LTDLDEPS=
                   17316:        LTDLINCL="-I$with_ltdl_include"
                   17317:        ;;
                   17318: esac
                   17319: INCLTDL="$LTDLINCL"
                   17320: 
                   17321: # Report our decision...
1.150     moko     17322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17323: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17325: $as_echo "$LTDLINCL" >&6; }
                   17326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17327: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17329: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17330: 
                   17331: 
                   17332: 
1.150     moko     17333: # Check whether --enable-ltdl-install was given.
                   17334: if test "${enable_ltdl_install+set}" = set; then :
                   17335:   enableval=$enable_ltdl_install;
                   17336: fi
1.128     moko     17337: 
                   17338: 
                   17339: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17340:   *yes*) ;;
                   17341:   *) enable_ltdl_convenience=yes ;;
                   17342: esac
                   17343: 
1.150     moko     17344:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17345:   INSTALL_LTDL_TRUE=
                   17346:   INSTALL_LTDL_FALSE='#'
                   17347: else
                   17348:   INSTALL_LTDL_TRUE='#'
                   17349:   INSTALL_LTDL_FALSE=
                   17350: fi
                   17351: 
1.150     moko     17352:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17353:   CONVENIENCE_LTDL_TRUE=
                   17354:   CONVENIENCE_LTDL_FALSE='#'
                   17355: else
                   17356:   CONVENIENCE_LTDL_TRUE='#'
                   17357:   CONVENIENCE_LTDL_FALSE=
                   17358: fi
                   17359: 
                   17360: 
                   17361: 
1.150     moko     17362:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17363: 
                   17364: 
                   17365: 
                   17366: 
                   17367: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17368: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17369: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17370: # definitions required by ltdl.c.
                   17371: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17372: 
                   17373: 
                   17374: 
1.150     moko     17375: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17376: do :
                   17377:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17378: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17379: "
                   17380: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17381:   cat >>confdefs.h <<_ACEOF
                   17382: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17383: _ACEOF
1.128     moko     17384: 
1.150     moko     17385: fi
1.128     moko     17386: 
1.150     moko     17387: done
1.128     moko     17388: 
                   17389: 
1.150     moko     17390: for ac_func in closedir opendir readdir
                   17391: do :
                   17392:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17393: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17394: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17395:   cat >>confdefs.h <<_ACEOF
                   17396: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17397: _ACEOF
1.66      paf      17398: 
                   17399: else
1.64      paf      17400: 
1.66      paf      17401: 
1.128     moko     17402:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17403: 
1.66      paf      17404: fi
1.128     moko     17405: done
                   17406: 
                   17407: for ac_func in strlcat strlcpy
1.150     moko     17408: do :
                   17409:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17410: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17411: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17412:   cat >>confdefs.h <<_ACEOF
1.150     moko     17413: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17414: _ACEOF
                   17415: 
                   17416: else
                   17417: 
                   17418: 
                   17419:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17420: 
1.62      paf      17421: fi
1.128     moko     17422: done
                   17423: 
                   17424: 
1.64      paf      17425: 
1.128     moko     17426: cat >>confdefs.h <<_ACEOF
                   17427: #define LT_LIBEXT "$libext"
1.62      paf      17428: _ACEOF
1.64      paf      17429: 
1.128     moko     17430: 
                   17431: name=
                   17432: eval "lt_libprefix=\"$libname_spec\""
                   17433: 
                   17434: cat >>confdefs.h <<_ACEOF
                   17435: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17436: _ACEOF
1.128     moko     17437: 
                   17438: 
                   17439: name=ltdl
                   17440: eval "LTDLOPEN=\"$libname_spec\""
                   17441: 
                   17442: 
                   17443: 
                   17444: 
                   17445: 
                   17446: 
                   17447: 
                   17448: 
                   17449: # Only expand once:
                   17450: 
                   17451: 
                   17452: 
                   17453: 
1.150     moko     17454:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17455: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17456: if ${ac_cv_c_bigendian+:} false; then :
                   17457:   $as_echo_n "(cached) " >&6
                   17458: else
                   17459:   ac_cv_c_bigendian=unknown
                   17460:     # See if we're dealing with a universal compiler.
                   17461:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17462: /* end confdefs.h.  */
                   17463: #ifndef __APPLE_CC__
                   17464:               not a universal capable compiler
                   17465:             #endif
                   17466:             typedef int dummy;
                   17467: 
                   17468: _ACEOF
                   17469: if ac_fn_c_try_compile "$LINENO"; then :
                   17470: 
                   17471:        # Check for potential -arch flags.  It is not universal unless
                   17472:        # there are at least two -arch flags with different values.
                   17473:        ac_arch=
                   17474:        ac_prev=
                   17475:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17476:         if test -n "$ac_prev"; then
                   17477:           case $ac_word in
                   17478:             i?86 | x86_64 | ppc | ppc64)
                   17479:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17480:                 ac_arch=$ac_word
                   17481:               else
                   17482:                 ac_cv_c_bigendian=universal
                   17483:                 break
                   17484:               fi
                   17485:               ;;
                   17486:           esac
                   17487:           ac_prev=
                   17488:         elif test "x$ac_word" = "x-arch"; then
                   17489:           ac_prev=arch
                   17490:         fi
                   17491:        done
                   17492: fi
                   17493: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17494:     if test $ac_cv_c_bigendian = unknown; then
                   17495:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17496:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17497: /* end confdefs.h.  */
1.128     moko     17498: #include <sys/types.h>
1.150     moko     17499:             #include <sys/param.h>
1.128     moko     17500: 
                   17501: int
                   17502: main ()
                   17503: {
1.150     moko     17504: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17505:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17506:                     && LITTLE_ENDIAN)
                   17507:              bogus endian macros
                   17508:             #endif
1.64      paf      17509: 
1.128     moko     17510:   ;
                   17511:   return 0;
                   17512: }
1.66      paf      17513: _ACEOF
1.150     moko     17514: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17515:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17516:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17517: /* end confdefs.h.  */
1.128     moko     17518: #include <sys/types.h>
1.150     moko     17519:                #include <sys/param.h>
1.64      paf      17520: 
                   17521: int
                   17522: main ()
1.128     moko     17523: {
                   17524: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17525:                 not big endian
                   17526:                #endif
1.128     moko     17527: 
                   17528:   ;
                   17529:   return 0;
1.64      paf      17530: }
                   17531: _ACEOF
1.150     moko     17532: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17533:   ac_cv_c_bigendian=yes
1.64      paf      17534: else
1.150     moko     17535:   ac_cv_c_bigendian=no
                   17536: fi
                   17537: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17538: fi
                   17539: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17540:     fi
                   17541:     if test $ac_cv_c_bigendian = unknown; then
                   17542:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17543:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17544: /* end confdefs.h.  */
                   17545: #include <limits.h>
1.64      paf      17546: 
1.150     moko     17547: int
                   17548: main ()
                   17549: {
                   17550: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17551:              bogus endian macros
                   17552:             #endif
1.66      paf      17553: 
1.150     moko     17554:   ;
                   17555:   return 0;
                   17556: }
1.62      paf      17557: _ACEOF
1.150     moko     17558: if ac_fn_c_try_compile "$LINENO"; then :
                   17559:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17560:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17561: /* end confdefs.h.  */
1.150     moko     17562: #include <limits.h>
                   17563: 
1.128     moko     17564: int
                   17565: main ()
                   17566: {
1.150     moko     17567: #ifndef _BIG_ENDIAN
                   17568:                 not big endian
                   17569:                #endif
                   17570: 
1.128     moko     17571:   ;
                   17572:   return 0;
                   17573: }
1.62      paf      17574: _ACEOF
1.150     moko     17575: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17576:   ac_cv_c_bigendian=yes
1.150     moko     17577: else
                   17578:   ac_cv_c_bigendian=no
1.128     moko     17579: fi
1.150     moko     17580: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17581: fi
1.150     moko     17582: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17583:     fi
                   17584:     if test $ac_cv_c_bigendian = unknown; then
                   17585:       # Compile a test program.
                   17586:       if test "$cross_compiling" = yes; then :
                   17587:   # Try to guess by grepping values from an object file.
                   17588:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17589: /* end confdefs.h.  */
                   17590: short int ascii_mm[] =
                   17591:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17592:                short int ascii_ii[] =
                   17593:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17594:                int use_ascii (int i) {
                   17595:                  return ascii_mm[i] + ascii_ii[i];
                   17596:                }
                   17597:                short int ebcdic_ii[] =
                   17598:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17599:                short int ebcdic_mm[] =
                   17600:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17601:                int use_ebcdic (int i) {
                   17602:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17603:                }
                   17604:                extern int foo;
1.62      paf      17605: 
1.150     moko     17606: int
                   17607: main ()
                   17608: {
                   17609: return use_ascii (foo) == use_ebcdic (foo);
                   17610:   ;
                   17611:   return 0;
                   17612: }
                   17613: _ACEOF
                   17614: if ac_fn_c_try_compile "$LINENO"; then :
                   17615:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17616:              ac_cv_c_bigendian=yes
                   17617:            fi
                   17618:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17619:              if test "$ac_cv_c_bigendian" = unknown; then
                   17620:                ac_cv_c_bigendian=no
                   17621:              else
                   17622:                # finding both strings is unlikely to happen, but who knows?
                   17623:                ac_cv_c_bigendian=unknown
                   17624:              fi
                   17625:            fi
1.128     moko     17626: fi
1.150     moko     17627: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17628: else
1.150     moko     17629:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17630: /* end confdefs.h.  */
1.150     moko     17631: $ac_includes_default
1.128     moko     17632: int
                   17633: main ()
                   17634: {
1.150     moko     17635: 
                   17636:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17637:             union
                   17638:             {
                   17639:               long int l;
                   17640:               char c[sizeof (long int)];
                   17641:             } u;
                   17642:             u.l = 1;
                   17643:             return u.c[sizeof (long int) - 1] == 1;
                   17644: 
                   17645:   ;
                   17646:   return 0;
1.128     moko     17647: }
                   17648: _ACEOF
1.150     moko     17649: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17650:   ac_cv_c_bigendian=no
                   17651: else
1.150     moko     17652:   ac_cv_c_bigendian=yes
1.128     moko     17653: fi
1.150     moko     17654: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17655:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17656: fi
1.150     moko     17657: 
                   17658:     fi
1.66      paf      17659: fi
1.150     moko     17660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17661: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17662:  case $ac_cv_c_bigendian in #(
                   17663:    yes)
                   17664: 
                   17665: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17666: 
                   17667: ;; #(
                   17668:    no)
1.128     moko     17669: 
1.150     moko     17670: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17671: 
1.150     moko     17672:  ;; #(
                   17673:    universal)
1.128     moko     17674: 
1.150     moko     17675: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17676: 
1.150     moko     17677:      ;; #(
                   17678:    *)
                   17679:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17680:  ;;
1.150     moko     17681:  esac
1.66      paf      17682: 
                   17683: 
1.150     moko     17684: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17685: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17686: 
1.66      paf      17687: else
1.1       paf      17688: 
1.66      paf      17689: cat >>confdefs.h <<_ACEOF
1.150     moko     17690: #define size_t unsigned int
1.66      paf      17691: _ACEOF
1.62      paf      17692: 
                   17693: fi
1.66      paf      17694: 
1.156     moko     17695: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17696: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17697: 
                   17698: else
                   17699: 
                   17700: cat >>confdefs.h <<_ACEOF
                   17701: #define ssize_t int
                   17702: _ACEOF
                   17703: 
                   17704: fi
                   17705: 
1.159     moko     17706: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17707: case $ac_cv_c_uint8_t in #(
                   17708:   no|yes) ;; #(
                   17709:   *)
                   17710: 
                   17711: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17712: 
                   17713: 
                   17714: cat >>confdefs.h <<_ACEOF
                   17715: #define uint8_t $ac_cv_c_uint8_t
                   17716: _ACEOF
                   17717: ;;
                   17718:   esac
                   17719: 
1.165     moko     17720: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17721: case $ac_cv_c_uint16_t in #(
                   17722:   no|yes) ;; #(
                   17723:   *)
                   17724: 
                   17725: 
                   17726: cat >>confdefs.h <<_ACEOF
                   17727: #define uint16_t $ac_cv_c_uint16_t
                   17728: _ACEOF
                   17729: ;;
                   17730:   esac
                   17731: 
1.156     moko     17732: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17733: case $ac_cv_c_uint32_t in #(
                   17734:   no|yes) ;; #(
                   17735:   *)
                   17736: 
                   17737: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17738: 
                   17739: 
                   17740: cat >>confdefs.h <<_ACEOF
                   17741: #define uint32_t $ac_cv_c_uint32_t
                   17742: _ACEOF
                   17743: ;;
                   17744:   esac
1.128     moko     17745: 
1.159     moko     17746: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17747: case $ac_cv_c_uint64_t in #(
                   17748:   no|yes) ;; #(
                   17749:   *)
                   17750: 
                   17751: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17752: 
                   17753: 
                   17754: cat >>confdefs.h <<_ACEOF
                   17755: #define uint64_t $ac_cv_c_uint64_t
                   17756: _ACEOF
                   17757: ;;
                   17758:   esac
                   17759: 
                   17760: 
1.161     moko     17761: ac_header_dirent=no
                   17762: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17763:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17765: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17766: if eval \${$as_ac_Header+:} false; then :
                   17767:   $as_echo_n "(cached) " >&6
                   17768: else
                   17769:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17770: /* end confdefs.h.  */
                   17771: #include <sys/types.h>
                   17772: #include <$ac_hdr>
                   17773: 
                   17774: int
                   17775: main ()
                   17776: {
                   17777: if ((DIR *) 0)
                   17778: return 0;
                   17779:   ;
                   17780:   return 0;
                   17781: }
                   17782: _ACEOF
                   17783: if ac_fn_c_try_compile "$LINENO"; then :
                   17784:   eval "$as_ac_Header=yes"
                   17785: else
                   17786:   eval "$as_ac_Header=no"
                   17787: fi
                   17788: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17789: fi
                   17790: eval ac_res=\$$as_ac_Header
                   17791:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17792: $as_echo "$ac_res" >&6; }
                   17793: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17794:   cat >>confdefs.h <<_ACEOF
                   17795: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17796: _ACEOF
                   17797: 
                   17798: ac_header_dirent=$ac_hdr; break
                   17799: fi
                   17800: 
                   17801: done
                   17802: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17803: if test $ac_header_dirent = dirent.h; then
                   17804:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17805: $as_echo_n "checking for library containing opendir... " >&6; }
                   17806: if ${ac_cv_search_opendir+:} false; then :
                   17807:   $as_echo_n "(cached) " >&6
                   17808: else
                   17809:   ac_func_search_save_LIBS=$LIBS
                   17810: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17811: /* end confdefs.h.  */
                   17812: 
                   17813: /* Override any GCC internal prototype to avoid an error.
                   17814:    Use char because int might match the return type of a GCC
                   17815:    builtin and then its argument prototype would still apply.  */
                   17816: #ifdef __cplusplus
                   17817: extern "C"
                   17818: #endif
                   17819: char opendir ();
                   17820: int
                   17821: main ()
                   17822: {
                   17823: return opendir ();
                   17824:   ;
                   17825:   return 0;
                   17826: }
                   17827: _ACEOF
                   17828: for ac_lib in '' dir; do
                   17829:   if test -z "$ac_lib"; then
                   17830:     ac_res="none required"
                   17831:   else
                   17832:     ac_res=-l$ac_lib
                   17833:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17834:   fi
                   17835:   if ac_fn_c_try_link "$LINENO"; then :
                   17836:   ac_cv_search_opendir=$ac_res
                   17837: fi
                   17838: rm -f core conftest.err conftest.$ac_objext \
                   17839:     conftest$ac_exeext
                   17840:   if ${ac_cv_search_opendir+:} false; then :
                   17841:   break
                   17842: fi
                   17843: done
                   17844: if ${ac_cv_search_opendir+:} false; then :
                   17845: 
                   17846: else
                   17847:   ac_cv_search_opendir=no
                   17848: fi
                   17849: rm conftest.$ac_ext
                   17850: LIBS=$ac_func_search_save_LIBS
                   17851: fi
                   17852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17853: $as_echo "$ac_cv_search_opendir" >&6; }
                   17854: ac_res=$ac_cv_search_opendir
                   17855: if test "$ac_res" != no; then :
                   17856:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17857: 
                   17858: fi
                   17859: 
                   17860: else
                   17861:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17862: $as_echo_n "checking for library containing opendir... " >&6; }
                   17863: if ${ac_cv_search_opendir+:} false; then :
                   17864:   $as_echo_n "(cached) " >&6
                   17865: else
                   17866:   ac_func_search_save_LIBS=$LIBS
                   17867: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17868: /* end confdefs.h.  */
                   17869: 
                   17870: /* Override any GCC internal prototype to avoid an error.
                   17871:    Use char because int might match the return type of a GCC
                   17872:    builtin and then its argument prototype would still apply.  */
                   17873: #ifdef __cplusplus
                   17874: extern "C"
                   17875: #endif
                   17876: char opendir ();
                   17877: int
                   17878: main ()
                   17879: {
                   17880: return opendir ();
                   17881:   ;
                   17882:   return 0;
                   17883: }
                   17884: _ACEOF
                   17885: for ac_lib in '' x; do
                   17886:   if test -z "$ac_lib"; then
                   17887:     ac_res="none required"
                   17888:   else
                   17889:     ac_res=-l$ac_lib
                   17890:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17891:   fi
                   17892:   if ac_fn_c_try_link "$LINENO"; then :
                   17893:   ac_cv_search_opendir=$ac_res
                   17894: fi
                   17895: rm -f core conftest.err conftest.$ac_objext \
                   17896:     conftest$ac_exeext
                   17897:   if ${ac_cv_search_opendir+:} false; then :
                   17898:   break
                   17899: fi
                   17900: done
                   17901: if ${ac_cv_search_opendir+:} false; then :
                   17902: 
                   17903: else
                   17904:   ac_cv_search_opendir=no
                   17905: fi
                   17906: rm conftest.$ac_ext
                   17907: LIBS=$ac_func_search_save_LIBS
                   17908: fi
                   17909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17910: $as_echo "$ac_cv_search_opendir" >&6; }
                   17911: ac_res=$ac_cv_search_opendir
                   17912: if test "$ac_res" != no; then :
                   17913:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17914: 
                   17915: fi
                   17916: 
                   17917: fi
                   17918: 
                   17919: 
                   17920: 
                   17921:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   17922: #include <sys/types.h>
                   17923: #ifdef HAVE_DIRENT_H
                   17924: # include <dirent.h>
                   17925: #else
                   17926: # define dirent direct
                   17927: # ifdef HAVE_SYS_NDIR_H
                   17928: #  include <sys/ndir.h>
                   17929: # endif
                   17930: # ifdef HAVE_SYS_DIR_H
                   17931: #  include <sys/dir.h>
                   17932: # endif
                   17933: # ifdef HAVE_NDIR_H
                   17934: #  include <ndir.h>
                   17935: # endif
                   17936: #endif
                   17937: 
                   17938: "
                   17939: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   17940: 
                   17941: cat >>confdefs.h <<_ACEOF
                   17942: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   17943: _ACEOF
                   17944: 
                   17945: 
                   17946: fi
                   17947: 
                   17948: 
1.159     moko     17949: 
1.171     moko     17950: # Check whether --enable-largefile was given.
                   17951: if test "${enable_largefile+set}" = set; then :
                   17952:   enableval=$enable_largefile;
                   17953: fi
                   17954: 
                   17955: if test "$enable_largefile" != no; then
                   17956: 
                   17957:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   17958: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   17959: if ${ac_cv_sys_largefile_CC+:} false; then :
                   17960:   $as_echo_n "(cached) " >&6
                   17961: else
                   17962:   ac_cv_sys_largefile_CC=no
                   17963:      if test "$GCC" != yes; then
                   17964:        ac_save_CC=$CC
                   17965:        while :; do
                   17966:         # IRIX 6.2 and later do not support large files by default,
                   17967:         # so use the C compiler's -n32 option if that helps.
                   17968:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17969: /* end confdefs.h.  */
                   17970: #include <sys/types.h>
                   17971:  /* Check that off_t can represent 2**63 - 1 correctly.
                   17972:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   17973:     since some C++ compilers masquerading as C compilers
                   17974:     incorrectly reject 9223372036854775807.  */
1.191     moko     17975: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     17976:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   17977:                       && LARGE_OFF_T % 2147483647 == 1)
                   17978:                      ? 1 : -1];
                   17979: int
                   17980: main ()
                   17981: {
                   17982: 
                   17983:   ;
                   17984:   return 0;
                   17985: }
                   17986: _ACEOF
                   17987:         if ac_fn_c_try_compile "$LINENO"; then :
                   17988:   break
                   17989: fi
                   17990: rm -f core conftest.err conftest.$ac_objext
                   17991:         CC="$CC -n32"
                   17992:         if ac_fn_c_try_compile "$LINENO"; then :
                   17993:   ac_cv_sys_largefile_CC=' -n32'; break
                   17994: fi
                   17995: rm -f core conftest.err conftest.$ac_objext
                   17996:         break
                   17997:        done
                   17998:        CC=$ac_save_CC
                   17999:        rm -f conftest.$ac_ext
                   18000:     fi
                   18001: fi
                   18002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   18003: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   18004:   if test "$ac_cv_sys_largefile_CC" != no; then
                   18005:     CC=$CC$ac_cv_sys_largefile_CC
                   18006:   fi
                   18007: 
                   18008:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   18009: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   18010: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   18011:   $as_echo_n "(cached) " >&6
                   18012: else
                   18013:   while :; do
                   18014:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18015: /* end confdefs.h.  */
                   18016: #include <sys/types.h>
                   18017:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18018:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18019:     since some C++ compilers masquerading as C compilers
                   18020:     incorrectly reject 9223372036854775807.  */
1.191     moko     18021: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18022:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18023:                       && LARGE_OFF_T % 2147483647 == 1)
                   18024:                      ? 1 : -1];
                   18025: int
                   18026: main ()
                   18027: {
                   18028: 
                   18029:   ;
                   18030:   return 0;
                   18031: }
                   18032: _ACEOF
                   18033: if ac_fn_c_try_compile "$LINENO"; then :
                   18034:   ac_cv_sys_file_offset_bits=no; break
                   18035: fi
                   18036: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18037:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18038: /* end confdefs.h.  */
                   18039: #define _FILE_OFFSET_BITS 64
                   18040: #include <sys/types.h>
                   18041:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18042:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18043:     since some C++ compilers masquerading as C compilers
                   18044:     incorrectly reject 9223372036854775807.  */
1.191     moko     18045: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18046:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18047:                       && LARGE_OFF_T % 2147483647 == 1)
                   18048:                      ? 1 : -1];
                   18049: int
                   18050: main ()
                   18051: {
                   18052: 
                   18053:   ;
                   18054:   return 0;
                   18055: }
                   18056: _ACEOF
                   18057: if ac_fn_c_try_compile "$LINENO"; then :
                   18058:   ac_cv_sys_file_offset_bits=64; break
                   18059: fi
                   18060: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18061:   ac_cv_sys_file_offset_bits=unknown
                   18062:   break
                   18063: done
                   18064: fi
                   18065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   18066: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   18067: case $ac_cv_sys_file_offset_bits in #(
                   18068:   no | unknown) ;;
                   18069:   *)
                   18070: cat >>confdefs.h <<_ACEOF
                   18071: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   18072: _ACEOF
                   18073: ;;
                   18074: esac
                   18075: rm -rf conftest*
                   18076:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   18077:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   18078: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   18079: if ${ac_cv_sys_large_files+:} false; then :
                   18080:   $as_echo_n "(cached) " >&6
                   18081: else
                   18082:   while :; do
                   18083:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18084: /* end confdefs.h.  */
                   18085: #include <sys/types.h>
                   18086:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18087:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18088:     since some C++ compilers masquerading as C compilers
                   18089:     incorrectly reject 9223372036854775807.  */
1.191     moko     18090: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18091:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18092:                       && LARGE_OFF_T % 2147483647 == 1)
                   18093:                      ? 1 : -1];
                   18094: int
                   18095: main ()
                   18096: {
                   18097: 
                   18098:   ;
                   18099:   return 0;
                   18100: }
                   18101: _ACEOF
                   18102: if ac_fn_c_try_compile "$LINENO"; then :
                   18103:   ac_cv_sys_large_files=no; break
                   18104: fi
                   18105: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18106:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18107: /* end confdefs.h.  */
                   18108: #define _LARGE_FILES 1
                   18109: #include <sys/types.h>
                   18110:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18111:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18112:     since some C++ compilers masquerading as C compilers
                   18113:     incorrectly reject 9223372036854775807.  */
1.191     moko     18114: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18115:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18116:                       && LARGE_OFF_T % 2147483647 == 1)
                   18117:                      ? 1 : -1];
                   18118: int
                   18119: main ()
                   18120: {
                   18121: 
                   18122:   ;
                   18123:   return 0;
                   18124: }
                   18125: _ACEOF
                   18126: if ac_fn_c_try_compile "$LINENO"; then :
                   18127:   ac_cv_sys_large_files=1; break
                   18128: fi
                   18129: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18130:   ac_cv_sys_large_files=unknown
                   18131:   break
                   18132: done
                   18133: fi
                   18134: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   18135: $as_echo "$ac_cv_sys_large_files" >&6; }
                   18136: case $ac_cv_sys_large_files in #(
                   18137:   no | unknown) ;;
                   18138:   *)
                   18139: cat >>confdefs.h <<_ACEOF
                   18140: #define _LARGE_FILES $ac_cv_sys_large_files
                   18141: _ACEOF
                   18142: ;;
                   18143: esac
                   18144: rm -rf conftest*
                   18145:   fi
                   18146: 
                   18147: 
                   18148: fi
                   18149: 
                   18150: 
1.159     moko     18151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   18152: $as_echo_n "checking for ANSI C header files... " >&6; }
                   18153: if ${ac_cv_header_stdc+:} false; then :
                   18154:   $as_echo_n "(cached) " >&6
                   18155: else
                   18156:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18157: /* end confdefs.h.  */
                   18158: #include <stdlib.h>
                   18159: #include <stdarg.h>
                   18160: #include <string.h>
                   18161: #include <float.h>
                   18162: 
                   18163: int
                   18164: main ()
                   18165: {
                   18166: 
                   18167:   ;
                   18168:   return 0;
                   18169: }
                   18170: _ACEOF
                   18171: if ac_fn_c_try_compile "$LINENO"; then :
                   18172:   ac_cv_header_stdc=yes
                   18173: else
                   18174:   ac_cv_header_stdc=no
                   18175: fi
                   18176: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18177: 
                   18178: if test $ac_cv_header_stdc = yes; then
                   18179:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   18180:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18181: /* end confdefs.h.  */
                   18182: #include <string.h>
                   18183: 
                   18184: _ACEOF
                   18185: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18186:   $EGREP "memchr" >/dev/null 2>&1; then :
                   18187: 
                   18188: else
                   18189:   ac_cv_header_stdc=no
                   18190: fi
                   18191: rm -f conftest*
                   18192: 
                   18193: fi
                   18194: 
                   18195: if test $ac_cv_header_stdc = yes; then
                   18196:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   18197:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18198: /* end confdefs.h.  */
                   18199: #include <stdlib.h>
                   18200: 
                   18201: _ACEOF
                   18202: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   18203:   $EGREP "free" >/dev/null 2>&1; then :
                   18204: 
                   18205: else
                   18206:   ac_cv_header_stdc=no
                   18207: fi
                   18208: rm -f conftest*
                   18209: 
                   18210: fi
                   18211: 
                   18212: if test $ac_cv_header_stdc = yes; then
                   18213:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   18214:   if test "$cross_compiling" = yes; then :
                   18215:   :
                   18216: else
                   18217:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18218: /* end confdefs.h.  */
                   18219: #include <ctype.h>
                   18220: #include <stdlib.h>
                   18221: #if ((' ' & 0x0FF) == 0x020)
                   18222: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   18223: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   18224: #else
                   18225: # define ISLOWER(c) \
                   18226:                   (('a' <= (c) && (c) <= 'i') \
                   18227:                     || ('j' <= (c) && (c) <= 'r') \
                   18228:                     || ('s' <= (c) && (c) <= 'z'))
                   18229: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   18230: #endif
                   18231: 
                   18232: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   18233: int
                   18234: main ()
                   18235: {
                   18236:   int i;
                   18237:   for (i = 0; i < 256; i++)
                   18238:     if (XOR (islower (i), ISLOWER (i))
                   18239:        || toupper (i) != TOUPPER (i))
                   18240:       return 2;
                   18241:   return 0;
                   18242: }
                   18243: _ACEOF
                   18244: if ac_fn_c_try_run "$LINENO"; then :
                   18245: 
                   18246: else
                   18247:   ac_cv_header_stdc=no
                   18248: fi
                   18249: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18250:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18251: fi
                   18252: 
                   18253: fi
                   18254: fi
                   18255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   18256: $as_echo "$ac_cv_header_stdc" >&6; }
                   18257: if test $ac_cv_header_stdc = yes; then
                   18258: 
                   18259: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   18260: 
                   18261: fi
1.128     moko     18262: 
1.150     moko     18263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   18264: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   18265: if ${ac_cv_header_time+:} false; then :
                   18266:   $as_echo_n "(cached) " >&6
1.62      paf      18267: else
1.150     moko     18268:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18269: /* end confdefs.h.  */
1.66      paf      18270: #include <sys/types.h>
                   18271: #include <sys/time.h>
                   18272: #include <time.h>
1.62      paf      18273: 
                   18274: int
                   18275: main ()
                   18276: {
1.66      paf      18277: if ((struct tm *) 0)
                   18278: return 0;
1.62      paf      18279:   ;
                   18280:   return 0;
                   18281: }
                   18282: _ACEOF
1.150     moko     18283: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      18284:   ac_cv_header_time=yes
1.1       paf      18285: else
1.150     moko     18286:   ac_cv_header_time=no
1.1       paf      18287: fi
1.150     moko     18288: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      18289: fi
1.150     moko     18290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   18291: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      18292: if test $ac_cv_header_time = yes; then
1.1       paf      18293: 
1.150     moko     18294: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      18295: 
1.1       paf      18296: fi
1.66      paf      18297: 
1.1       paf      18298: 
1.159     moko     18299: 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
                   18300: do :
                   18301:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18302: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18303: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18304:   cat >>confdefs.h <<_ACEOF
                   18305: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18306: _ACEOF
                   18307: 
                   18308: fi
1.150     moko     18309: 
1.159     moko     18310: done
                   18311: 
                   18312: for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h
                   18313: do :
                   18314:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18315: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18316: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18317:   cat >>confdefs.h <<_ACEOF
                   18318: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18319: _ACEOF
                   18320: 
                   18321: fi
                   18322: 
                   18323: done
                   18324: 
1.164     moko     18325: 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     18326: do :
                   18327:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18328: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18329: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18330:   cat >>confdefs.h <<_ACEOF
                   18331: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18332: _ACEOF
                   18333: 
                   18334: fi
                   18335: 
                   18336: done
                   18337: 
1.163     moko     18338: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18339: do :
                   18340:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18341: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18342: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18343:   cat >>confdefs.h <<_ACEOF
1.150     moko     18344: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18345: _ACEOF
                   18346: 
                   18347: fi
                   18348: 
1.66      paf      18349: done
1.62      paf      18350: 
                   18351: 
                   18352: 
1.66      paf      18353: case "$host" in
1.107     misha    18354:   *-freebsd4*)
                   18355: 
1.150     moko     18356: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18357: 
                   18358:   ;;
1.195     moko     18359:   *-freebsd1*)
                   18360: 
                   18361: $as_echo "#define FREEBSD1X /**/" >>confdefs.h
                   18362: 
                   18363:   ;;
1.66      paf      18364:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18365:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18366: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18367: if ${ac_cv_lib_xnet_main+:} false; then :
                   18368:   $as_echo_n "(cached) " >&6
1.62      paf      18369: else
1.66      paf      18370:   ac_check_lib_save_LIBS=$LIBS
                   18371: LIBS="-lxnet  $LIBS"
1.150     moko     18372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18373: /* end confdefs.h.  */
                   18374: 
1.66      paf      18375: 
                   18376: int
                   18377: main ()
                   18378: {
1.150     moko     18379: return main ();
1.66      paf      18380:   ;
                   18381:   return 0;
                   18382: }
1.62      paf      18383: _ACEOF
1.150     moko     18384: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18385:   ac_cv_lib_xnet_main=yes
1.62      paf      18386: else
1.150     moko     18387:   ac_cv_lib_xnet_main=no
1.62      paf      18388: fi
1.150     moko     18389: rm -f core conftest.err conftest.$ac_objext \
                   18390:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18391: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18392: fi
1.150     moko     18393: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18394: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18395: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18396:   cat >>confdefs.h <<_ACEOF
1.66      paf      18397: #define HAVE_LIBXNET 1
1.62      paf      18398: _ACEOF
1.1       paf      18399: 
1.66      paf      18400:   LIBS="-lxnet $LIBS"
                   18401: 
1.1       paf      18402: fi
                   18403: 
1.66      paf      18404:   ;;
                   18405:   *-sunos5* | *-solaris2*)
1.150     moko     18406:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18407: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18408: if ${ac_cv_lib_socket_main+:} false; then :
                   18409:   $as_echo_n "(cached) " >&6
1.62      paf      18410: else
1.66      paf      18411:   ac_check_lib_save_LIBS=$LIBS
                   18412: LIBS="-lsocket  $LIBS"
1.150     moko     18413: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18414: /* end confdefs.h.  */
1.66      paf      18415: 
                   18416: 
1.62      paf      18417: int
                   18418: main ()
                   18419: {
1.150     moko     18420: return main ();
1.62      paf      18421:   ;
                   18422:   return 0;
                   18423: }
                   18424: _ACEOF
1.150     moko     18425: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18426:   ac_cv_lib_socket_main=yes
1.1       paf      18427: else
1.150     moko     18428:   ac_cv_lib_socket_main=no
1.1       paf      18429: fi
1.150     moko     18430: rm -f core conftest.err conftest.$ac_objext \
                   18431:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18432: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18433: fi
1.150     moko     18434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18435: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18436: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18437:   cat >>confdefs.h <<_ACEOF
                   18438: #define HAVE_LIBSOCKET 1
                   18439: _ACEOF
1.1       paf      18440: 
1.66      paf      18441:   LIBS="-lsocket $LIBS"
1.1       paf      18442: 
                   18443: fi
                   18444: 
1.150     moko     18445:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18446: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18447: if ${ac_cv_lib_nsl_main+:} false; then :
                   18448:   $as_echo_n "(cached) " >&6
1.62      paf      18449: else
1.66      paf      18450:   ac_check_lib_save_LIBS=$LIBS
                   18451: LIBS="-lnsl  $LIBS"
1.150     moko     18452: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18453: /* end confdefs.h.  */
1.66      paf      18454: 
                   18455: 
1.62      paf      18456: int
                   18457: main ()
                   18458: {
1.150     moko     18459: return main ();
1.62      paf      18460:   ;
                   18461:   return 0;
                   18462: }
                   18463: _ACEOF
1.150     moko     18464: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18465:   ac_cv_lib_nsl_main=yes
1.30      paf      18466: else
1.150     moko     18467:   ac_cv_lib_nsl_main=no
1.30      paf      18468: fi
1.150     moko     18469: rm -f core conftest.err conftest.$ac_objext \
                   18470:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18471: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18472: fi
1.150     moko     18473: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18474: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18475: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18476:   cat >>confdefs.h <<_ACEOF
                   18477: #define HAVE_LIBNSL 1
                   18478: _ACEOF
1.30      paf      18479: 
1.66      paf      18480:   LIBS="-lnsl $LIBS"
1.30      paf      18481: 
                   18482: fi
                   18483: 
1.66      paf      18484:   ;;
                   18485:   *-nec-sysv4*)
1.150     moko     18486:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18487: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18488: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18489:   $as_echo_n "(cached) " >&6
1.62      paf      18490: else
1.66      paf      18491:   ac_check_lib_save_LIBS=$LIBS
                   18492: LIBS="-lnsl  $LIBS"
1.150     moko     18493: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18494: /* end confdefs.h.  */
1.66      paf      18495: 
1.150     moko     18496: /* Override any GCC internal prototype to avoid an error.
                   18497:    Use char because int might match the return type of a GCC
                   18498:    builtin and then its argument prototype would still apply.  */
1.66      paf      18499: #ifdef __cplusplus
                   18500: extern "C"
                   18501: #endif
                   18502: char gethostbyname ();
1.62      paf      18503: int
                   18504: main ()
                   18505: {
1.150     moko     18506: return gethostbyname ();
1.62      paf      18507:   ;
                   18508:   return 0;
                   18509: }
                   18510: _ACEOF
1.150     moko     18511: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18512:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18513: else
1.150     moko     18514:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18515: fi
1.150     moko     18516: rm -f core conftest.err conftest.$ac_objext \
                   18517:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18518: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18519: fi
1.150     moko     18520: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18521: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18522: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18523:   cat >>confdefs.h <<_ACEOF
                   18524: #define HAVE_LIBNSL 1
                   18525: _ACEOF
1.30      paf      18526: 
1.66      paf      18527:   LIBS="-lnsl $LIBS"
1.30      paf      18528: 
                   18529: fi
                   18530: 
1.150     moko     18531:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18532: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18533: if ${ac_cv_lib_socket_socket+:} false; then :
                   18534:   $as_echo_n "(cached) " >&6
1.8       paf      18535: else
1.66      paf      18536:   ac_check_lib_save_LIBS=$LIBS
                   18537: LIBS="-lsocket  $LIBS"
1.150     moko     18538: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18539: /* end confdefs.h.  */
                   18540: 
1.150     moko     18541: /* Override any GCC internal prototype to avoid an error.
                   18542:    Use char because int might match the return type of a GCC
                   18543:    builtin and then its argument prototype would still apply.  */
1.66      paf      18544: #ifdef __cplusplus
                   18545: extern "C"
                   18546: #endif
                   18547: char socket ();
1.62      paf      18548: int
                   18549: main ()
                   18550: {
1.150     moko     18551: return socket ();
1.62      paf      18552:   ;
                   18553:   return 0;
                   18554: }
                   18555: _ACEOF
1.150     moko     18556: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18557:   ac_cv_lib_socket_socket=yes
1.8       paf      18558: else
1.150     moko     18559:   ac_cv_lib_socket_socket=no
1.8       paf      18560: fi
1.150     moko     18561: rm -f core conftest.err conftest.$ac_objext \
                   18562:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18563: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18564: fi
1.150     moko     18565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18566: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18567: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18568:   cat >>confdefs.h <<_ACEOF
1.128     moko     18569: #define HAVE_LIBSOCKET 1
1.66      paf      18570: _ACEOF
                   18571: 
1.128     moko     18572:   LIBS="-lsocket $LIBS"
1.66      paf      18573: 
1.62      paf      18574: fi
                   18575: 
1.66      paf      18576:   ;;
1.128     moko     18577:   *-cygwin*)
                   18578: 
1.150     moko     18579: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18580: 
1.66      paf      18581:   ;;
                   18582: esac
1.1       paf      18583: 
1.150     moko     18584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18585: $as_echo_n "checking for sin in -lm... " >&6; }
                   18586: if ${ac_cv_lib_m_sin+:} false; then :
                   18587:   $as_echo_n "(cached) " >&6
1.1       paf      18588: else
1.62      paf      18589:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18590: LIBS="-lm  $LIBS"
1.150     moko     18591: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18592: /* end confdefs.h.  */
                   18593: 
1.150     moko     18594: /* Override any GCC internal prototype to avoid an error.
                   18595:    Use char because int might match the return type of a GCC
                   18596:    builtin and then its argument prototype would still apply.  */
1.66      paf      18597: #ifdef __cplusplus
                   18598: extern "C"
                   18599: #endif
                   18600: char sin ();
1.62      paf      18601: int
                   18602: main ()
                   18603: {
1.150     moko     18604: return sin ();
1.62      paf      18605:   ;
                   18606:   return 0;
                   18607: }
                   18608: _ACEOF
1.150     moko     18609: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18610:   ac_cv_lib_m_sin=yes
1.62      paf      18611: else
1.150     moko     18612:   ac_cv_lib_m_sin=no
1.62      paf      18613: fi
1.150     moko     18614: rm -f core conftest.err conftest.$ac_objext \
                   18615:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18616: LIBS=$ac_check_lib_save_LIBS
                   18617: fi
1.150     moko     18618: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18619: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18620: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18621:   cat >>confdefs.h <<_ACEOF
1.66      paf      18622: #define HAVE_LIBM 1
1.62      paf      18623: _ACEOF
1.1       paf      18624: 
1.66      paf      18625:   LIBS="-lm $LIBS"
1.1       paf      18626: 
                   18627: fi
                   18628: 
1.150     moko     18629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18630: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18631: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18632:   $as_echo_n "(cached) " >&6
1.1       paf      18633: else
1.62      paf      18634:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18635: LIBS="-lcrypt  $LIBS"
1.150     moko     18636: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18637: /* end confdefs.h.  */
                   18638: 
1.150     moko     18639: /* Override any GCC internal prototype to avoid an error.
                   18640:    Use char because int might match the return type of a GCC
                   18641:    builtin and then its argument prototype would still apply.  */
1.66      paf      18642: #ifdef __cplusplus
                   18643: extern "C"
                   18644: #endif
                   18645: char crypt ();
1.62      paf      18646: int
                   18647: main ()
                   18648: {
1.150     moko     18649: return crypt ();
1.62      paf      18650:   ;
                   18651:   return 0;
                   18652: }
                   18653: _ACEOF
1.150     moko     18654: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18655:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18656: else
1.150     moko     18657:   ac_cv_lib_crypt_crypt=no
1.62      paf      18658: fi
1.150     moko     18659: rm -f core conftest.err conftest.$ac_objext \
                   18660:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18661: LIBS=$ac_check_lib_save_LIBS
                   18662: fi
1.150     moko     18663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18664: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18665: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18666:   cat >>confdefs.h <<_ACEOF
1.66      paf      18667: #define HAVE_LIBCRYPT 1
1.62      paf      18668: _ACEOF
1.1       paf      18669: 
1.66      paf      18670:   LIBS="-lcrypt $LIBS"
                   18671: 
                   18672: fi
                   18673: 
                   18674: 
                   18675: 
1.159     moko     18676: for ac_func in flock _locking fcntl lockf ftruncate fchmod
                   18677: do :
                   18678:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18679: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18680: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18681:   cat >>confdefs.h <<_ACEOF
                   18682: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18683: _ACEOF
                   18684: 
                   18685: fi
                   18686: done
1.66      paf      18687: 
1.159     moko     18688: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv
1.150     moko     18689: do :
                   18690:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18691: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18692: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18693:   cat >>confdefs.h <<_ACEOF
1.150     moko     18694: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18695: _ACEOF
1.1       paf      18696: 
1.66      paf      18697: fi
                   18698: done
                   18699: 
1.1       paf      18700: 
                   18701: 
1.159     moko     18702: 
1.67      paf      18703: pa_func=sigsetjmp
1.150     moko     18704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18705: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   18706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18707: /* end confdefs.h.  */
                   18708: 
                   18709: #ifdef HAVE_SETJMP_H
                   18710: #      include <setjmp.h>
                   18711: #endif
                   18712: 
                   18713: int
                   18714: main ()
                   18715: {
                   18716: 
                   18717:         $pa_func(0,0);
                   18718: 
                   18719:   ;
                   18720:   return 0;
                   18721: }
                   18722: _ACEOF
1.150     moko     18723: if ac_fn_c_try_compile "$LINENO"; then :
                   18724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18725: $as_echo "yes" >&6; }
1.67      paf      18726: cat >>confdefs.h <<_ACEOF
1.150     moko     18727: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18728: _ACEOF
                   18729: 
                   18730: 
                   18731: else
1.150     moko     18732:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18733: $as_echo "no" >&6; }
1.67      paf      18734: 
                   18735: fi
1.150     moko     18736: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18737: 
                   18738: 
                   18739: 
1.159     moko     18740: 
1.150     moko     18741: ac_ext=cpp
1.67      paf      18742: ac_cpp='$CXXCPP $CPPFLAGS'
                   18743: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18744: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18745: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18746: 
                   18747: 
                   18748: 
1.188     moko     18749: for pa_func in trunc round sign isfinite
1.67      paf      18750: do
                   18751: 
1.150     moko     18752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18753: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   18754: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18755: /* end confdefs.h.  */
                   18756: 
                   18757: #ifdef HAVE_MATH_H
                   18758: #       include <math.h>
                   18759: #endif
                   18760: 
                   18761: int
                   18762: main ()
                   18763: {
                   18764: 
                   18765:         double result=$pa_func(1.6);
                   18766: 
                   18767:   ;
                   18768:   return 0;
                   18769: }
                   18770: _ACEOF
1.150     moko     18771: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18772:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18773: $as_echo "yes" >&6; }
1.67      paf      18774: cat >>confdefs.h <<_ACEOF
1.150     moko     18775: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18776: _ACEOF
1.66      paf      18777: 
1.62      paf      18778: else
1.150     moko     18779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18780: $as_echo "no" >&6; }
1.62      paf      18781: 
                   18782: fi
1.150     moko     18783: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18784: 
                   18785: done
                   18786: 
                   18787: ac_ext=c
                   18788: ac_cpp='$CPP $CPPFLAGS'
                   18789: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18790: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18791: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18792: 
                   18793: 
                   18794: 
                   18795: for ac_func in qsort
                   18796: do :
                   18797:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18798: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18799:   cat >>confdefs.h <<_ACEOF
1.150     moko     18800: #define HAVE_QSORT 1
1.62      paf      18801: _ACEOF
1.1       paf      18802: 
1.66      paf      18803: else
1.150     moko     18804:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18805: fi
1.66      paf      18806: done
1.1       paf      18807: 
                   18808: 
1.62      paf      18809: 
1.159     moko     18810: 
1.177     moko     18811: ac_ext=cpp
                   18812: ac_cpp='$CXXCPP $CPPFLAGS'
                   18813: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18814: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18815: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18816: 
1.150     moko     18817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18818: $as_echo_n "checking for timezone variable... " >&6; }
                   18819: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18820: /* end confdefs.h.  */
1.66      paf      18821: #include <time.h>
1.62      paf      18822: int
                   18823: main ()
                   18824: {
1.177     moko     18825: int test=timezone;
1.62      paf      18826:   ;
                   18827:   return 0;
                   18828: }
                   18829: _ACEOF
1.177     moko     18830: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18831:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18832:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18833: $as_echo "yes" >&6; }
1.62      paf      18834: else
1.150     moko     18835:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18836: $as_echo "no" >&6; }
1.62      paf      18837: fi
1.150     moko     18838: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.177     moko     18839: ac_ext=c
                   18840: ac_cpp='$CPP $CPPFLAGS'
                   18841: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18842: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18843: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18844: 
1.1       paf      18845: 
1.176     moko     18846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18847: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.150     moko     18848: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18849: /* end confdefs.h.  */
1.66      paf      18850: #include <time.h>
1.62      paf      18851: int
                   18852: main ()
                   18853: {
1.176     moko     18854: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18855:   ;
                   18856:   return 0;
                   18857: }
                   18858: _ACEOF
1.150     moko     18859: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18860:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18861:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18862: $as_echo "yes" >&6; }
1.62      paf      18863: else
1.150     moko     18864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18865: $as_echo "no" >&6; }
1.62      paf      18866: fi
1.150     moko     18867: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18868: 
1.176     moko     18869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18870: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.150     moko     18871: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18872: /* end confdefs.h.  */
1.66      paf      18873: #include <time.h>
1.62      paf      18874: int
                   18875: main ()
                   18876: {
1.176     moko     18877: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18878:   ;
                   18879:   return 0;
                   18880: }
                   18881: _ACEOF
1.150     moko     18882: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18883:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18884:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18885: $as_echo "yes" >&6; }
1.62      paf      18886: else
1.150     moko     18887:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18888: $as_echo "no" >&6; }
1.62      paf      18889: fi
1.150     moko     18890: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18891: 
1.206   ! moko     18892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
        !          18893: $as_echo_n "checking for gettid... " >&6; }
        !          18894: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18895: /* end confdefs.h.  */
        !          18896: 
        !          18897: #include <sys/types.h>
        !          18898: #include <sys/syscall.h>
        !          18899: 
        !          18900: int
        !          18901: main ()
        !          18902: {
        !          18903: uint tid=syscall(__NR_gettid);
        !          18904:   ;
        !          18905:   return 0;
        !          18906: }
        !          18907: _ACEOF
        !          18908: if ac_fn_c_try_compile "$LINENO"; then :
        !          18909:   $as_echo "#define HAVE_GETTID 1" >>confdefs.h
        !          18910:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          18911: $as_echo "yes" >&6; }
        !          18912: else
        !          18913:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          18914: $as_echo "no" >&6; }
        !          18915: fi
        !          18916: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          18917: 
1.176     moko     18918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   18919: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   18920: if test "$cross_compiling" = yes; then :
                   18921:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18922: $as_echo "no" >&6; }
                   18923: else
                   18924:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18925: /* end confdefs.h.  */
1.176     moko     18926: 
                   18927: #include <string.h>
1.66      paf      18928: #include <time.h>
1.176     moko     18929: 
                   18930: int main() {
                   18931:        struct tm tmL,tmH;
                   18932:        memset(&tmL, 0, sizeof(tmL));
                   18933:        memset(&tmH, 0, sizeof(tmH));
                   18934:        tmL.tm_year=-1900;
                   18935:        tmL.tm_mon=-1;
                   18936:        tmH.tm_year=9999-1900;
                   18937:        tmH.tm_mon=12-1;
                   18938:        tmH.tm_mday=31;
                   18939:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      18940: }
1.176     moko     18941: 
1.62      paf      18942: _ACEOF
1.176     moko     18943: if ac_fn_c_try_run "$LINENO"; then :
                   18944:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     18945:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18946: $as_echo "yes" >&6; }
1.62      paf      18947: else
1.150     moko     18948:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18949: $as_echo "no" >&6; }
1.62      paf      18950: fi
1.176     moko     18951: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18952:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18953: fi
1.31      paf      18954: 
1.1       paf      18955: 
                   18956: 
                   18957: 
1.62      paf      18958: 
                   18959: 
                   18960: 
1.206   ! moko     18961: 
1.150     moko     18962: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18963: 
                   18964: 
1.200     moko     18965: 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      18966: 
                   18967: cat >confcache <<\_ACEOF
1.1       paf      18968: # This file is a shell script that caches the results of configure
                   18969: # tests run on this system so they can be shared between configure
1.62      paf      18970: # scripts and configure runs, see configure's option --config-cache.
                   18971: # It is not useful on other systems.  If it contains results you don't
                   18972: # want to keep, you may remove or edit it.
1.1       paf      18973: #
1.62      paf      18974: # config.status only pays attention to the cache file if you give it
                   18975: # the --recheck option to rerun configure.
1.1       paf      18976: #
1.62      paf      18977: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18978: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18979: # following values.
                   18980: 
                   18981: _ACEOF
                   18982: 
1.1       paf      18983: # The following way of writing the cache mishandles newlines in values,
                   18984: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18985: # So, we kill variables containing newlines.
1.1       paf      18986: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18987: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18988: (
                   18989:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18990:     eval ac_val=\$$ac_var
                   18991:     case $ac_val in #(
                   18992:     *${as_nl}*)
                   18993:       case $ac_var in #(
                   18994:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18995: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18996:       esac
                   18997:       case $ac_var in #(
                   18998:       _ | IFS | as_nl) ;; #(
                   18999:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   19000:       *) { eval $ac_var=; unset $ac_var;} ;;
                   19001:       esac ;;
                   19002:     esac
                   19003:   done
                   19004: 
1.62      paf      19005:   (set) 2>&1 |
1.150     moko     19006:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   19007:     *${as_nl}ac_space=\ *)
                   19008:       # `set' does not quote correctly, so add quotes: double-quote
                   19009:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      19010:       sed -n \
1.86      paf      19011:        "s/'/'\\\\''/g;
                   19012:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     19013:       ;; #(
1.62      paf      19014:     *)
                   19015:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     19016:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      19017:       ;;
1.150     moko     19018:     esac |
                   19019:     sort
                   19020: ) |
1.62      paf      19021:   sed '
1.150     moko     19022:      /^ac_cv_env_/b end
1.62      paf      19023:      t clear
1.150     moko     19024:      :clear
1.62      paf      19025:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19026:      t end
1.150     moko     19027:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19028:      :end' >>confcache
                   19029: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19030:   if test -w "$cache_file"; then
                   19031:     if test "x$cache_file" != "x/dev/null"; then
                   19032:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19033: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19034:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19035:        cat confcache >"$cache_file"
                   19036:       else
                   19037:         case $cache_file in #(
                   19038:         */* | ?:*)
                   19039:          mv -f confcache "$cache_file"$$ &&
                   19040:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19041:         *)
                   19042:          mv -f confcache "$cache_file" ;;
                   19043:        esac
                   19044:       fi
                   19045:     fi
1.1       paf      19046:   else
1.150     moko     19047:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19048: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      19049:   fi
                   19050: fi
                   19051: rm -f confcache
                   19052: 
                   19053: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19054: # Let make expand exec_prefix.
                   19055: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19056: 
1.62      paf      19057: DEFS=-DHAVE_CONFIG_H
                   19058: 
                   19059: ac_libobjs=
                   19060: ac_ltlibobjs=
                   19061: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19062:   # 1. Remove the extension, and $U if already installed.
1.150     moko     19063:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19064:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19065:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19066:   #    will be set to the directory where LIBOBJS objects are built.
                   19067:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19068:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      19069: done
                   19070: LIBOBJS=$ac_libobjs
                   19071: 
                   19072: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      19073: 
                   19074: 
1.187     moko     19075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19076: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19077:    if test -n "$am_sleep_pid"; then
                   19078:      # Hide warnings about reused PIDs.
                   19079:      wait $am_sleep_pid 2>/dev/null
                   19080:    fi
                   19081:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19082: $as_echo "done" >&6; }
1.150     moko     19083:  if test -n "$EXEEXT"; then
                   19084:   am__EXEEXT_TRUE=
                   19085:   am__EXEEXT_FALSE='#'
                   19086: else
                   19087:   am__EXEEXT_TRUE='#'
                   19088:   am__EXEEXT_FALSE=
                   19089: fi
                   19090: 
1.62      paf      19091: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     19092:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19093: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19094: fi
1.66      paf      19095: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     19096:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19097: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19098: fi
1.66      paf      19099: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     19100:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19101: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19102: fi
1.122     moko     19103: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     19104:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   19105: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19106: fi
1.128     moko     19107: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     19108:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   19109: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19110: fi
                   19111: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     19112:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   19113: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19114: fi
1.150     moko     19115: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     19116: 
                   19117:     _ltdl_libobjs=
                   19118:     _ltdl_ltlibobjs=
                   19119:     if test -n "$_LT_LIBOBJS"; then
                   19120:       # Remove the extension.
                   19121:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   19122:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   19123:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   19124:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   19125:       done
                   19126:     fi
                   19127:     ltdl_LIBOBJS=$_ltdl_libobjs
                   19128: 
                   19129:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   19130: 
                   19131: 
1.62      paf      19132: 
1.150     moko     19133: 
                   19134: : "${CONFIG_STATUS=./config.status}"
                   19135: ac_write_fail=0
1.62      paf      19136: ac_clean_files_save=$ac_clean_files
                   19137: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     19138: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19139: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19140: as_write_fail=0
                   19141: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      19142: #! $SHELL
                   19143: # Generated by $as_me.
                   19144: # Run this file to recreate the current configuration.
                   19145: # Compiler output produced by configure, useful for debugging
                   19146: # configure, is in config.log if it exists.
                   19147: 
                   19148: debug=false
                   19149: ac_cs_recheck=false
                   19150: ac_cs_silent=false
1.150     moko     19151: 
1.62      paf      19152: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     19153: export SHELL
                   19154: _ASEOF
                   19155: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19156: ## -------------------- ##
                   19157: ## M4sh Initialization. ##
                   19158: ## -------------------- ##
1.62      paf      19159: 
1.150     moko     19160: # Be more Bourne compatible
                   19161: DUALCASE=1; export DUALCASE # for MKS sh
                   19162: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      19163:   emulate sh
                   19164:   NULLCMD=:
1.150     moko     19165:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      19166:   # is contrary to our usage.  Disable this feature.
                   19167:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     19168:   setopt NO_GLOB_SUBST
                   19169: else
                   19170:   case `(set -o) 2>/dev/null` in #(
                   19171:   *posix*) :
                   19172:     set -o posix ;; #(
                   19173:   *) :
                   19174:      ;;
                   19175: esac
                   19176: fi
                   19177: 
                   19178: 
                   19179: as_nl='
                   19180: '
                   19181: export as_nl
                   19182: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19183: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19184: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19185: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19186: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19187: # but without wasting forks for bash or zsh.
                   19188: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19189:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19190:   as_echo='print -r --'
                   19191:   as_echo_n='print -rn --'
                   19192: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19193:   as_echo='printf %s\n'
                   19194:   as_echo_n='printf %s'
                   19195: else
                   19196:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19197:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19198:     as_echo_n='/usr/ucb/echo -n'
                   19199:   else
                   19200:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19201:     as_echo_n_body='eval
                   19202:       arg=$1;
                   19203:       case $arg in #(
                   19204:       *"$as_nl"*)
                   19205:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19206:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19207:       esac;
                   19208:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19209:     '
                   19210:     export as_echo_n_body
                   19211:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19212:   fi
                   19213:   export as_echo_body
                   19214:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      19215: fi
                   19216: 
1.150     moko     19217: # The user is always right.
                   19218: if test "${PATH_SEPARATOR+set}" != set; then
                   19219:   PATH_SEPARATOR=:
                   19220:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19221:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19222:       PATH_SEPARATOR=';'
                   19223:   }
1.62      paf      19224: fi
                   19225: 
                   19226: 
1.150     moko     19227: # IFS
                   19228: # We need space, tab and new line, in precisely that order.  Quoting is
                   19229: # there to prevent editors from complaining about space-tab.
                   19230: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19231: # splitting by setting IFS to empty value.)
                   19232: IFS=" ""       $as_nl"
                   19233: 
                   19234: # Find who we are.  Look in the path if we contain no directory separator.
                   19235: as_myself=
                   19236: case $0 in #((
                   19237:   *[\\/]* ) as_myself=$0 ;;
                   19238:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19239: for as_dir in $PATH
                   19240: do
                   19241:   IFS=$as_save_IFS
                   19242:   test -z "$as_dir" && as_dir=.
                   19243:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19244:   done
                   19245: IFS=$as_save_IFS
                   19246: 
                   19247:      ;;
                   19248: esac
                   19249: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19250: # in which case we are not to be found in the path.
                   19251: if test "x$as_myself" = x; then
                   19252:   as_myself=$0
                   19253: fi
                   19254: if test ! -f "$as_myself"; then
                   19255:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19256:   exit 1
                   19257: fi
                   19258: 
                   19259: # Unset variables that we do not need and which cause bugs (e.g. in
                   19260: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19261: # suppresses any "Segmentation fault" message there.  '((' could
                   19262: # trigger a bug in pdksh 5.2.14.
                   19263: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19264: do eval test x\${$as_var+set} = xset \
                   19265:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19266: done
1.62      paf      19267: PS1='$ '
                   19268: PS2='> '
                   19269: PS4='+ '
                   19270: 
                   19271: # NLS nuisances.
1.150     moko     19272: LC_ALL=C
                   19273: export LC_ALL
                   19274: LANGUAGE=C
                   19275: export LANGUAGE
                   19276: 
                   19277: # CDPATH.
                   19278: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19279: 
                   19280: 
                   19281: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19282: # ----------------------------------------
                   19283: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19284: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19285: # script with STATUS, using 1 if that was 0.
                   19286: as_fn_error ()
                   19287: {
                   19288:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19289:   if test "$4"; then
                   19290:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19291:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19292:   fi
                   19293:   $as_echo "$as_me: error: $2" >&2
                   19294:   as_fn_exit $as_status
                   19295: } # as_fn_error
                   19296: 
                   19297: 
                   19298: # as_fn_set_status STATUS
                   19299: # -----------------------
                   19300: # Set $? to STATUS, without forking.
                   19301: as_fn_set_status ()
                   19302: {
                   19303:   return $1
                   19304: } # as_fn_set_status
                   19305: 
                   19306: # as_fn_exit STATUS
                   19307: # -----------------
                   19308: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19309: as_fn_exit ()
                   19310: {
                   19311:   set +e
                   19312:   as_fn_set_status $1
                   19313:   exit $1
                   19314: } # as_fn_exit
                   19315: 
                   19316: # as_fn_unset VAR
                   19317: # ---------------
                   19318: # Portably unset VAR.
                   19319: as_fn_unset ()
                   19320: {
                   19321:   { eval $1=; unset $1;}
                   19322: }
                   19323: as_unset=as_fn_unset
                   19324: # as_fn_append VAR VALUE
                   19325: # ----------------------
                   19326: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19327: # advantage of any shell optimizations that allow amortized linear growth over
                   19328: # repeated appends, instead of the typical quadratic growth present in naive
                   19329: # implementations.
                   19330: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19331:   eval 'as_fn_append ()
                   19332:   {
                   19333:     eval $1+=\$2
                   19334:   }'
                   19335: else
                   19336:   as_fn_append ()
                   19337:   {
                   19338:     eval $1=\$$1\$2
                   19339:   }
                   19340: fi # as_fn_append
                   19341: 
                   19342: # as_fn_arith ARG...
                   19343: # ------------------
                   19344: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19345: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19346: # must be portable across $(()) and expr.
                   19347: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19348:   eval 'as_fn_arith ()
                   19349:   {
                   19350:     as_val=$(( $* ))
                   19351:   }'
                   19352: else
                   19353:   as_fn_arith ()
                   19354:   {
                   19355:     as_val=`expr "$@" || test $? -eq 1`
                   19356:   }
                   19357: fi # as_fn_arith
                   19358: 
1.1       paf      19359: 
1.150     moko     19360: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19361:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19362:   as_expr=expr
                   19363: else
                   19364:   as_expr=false
                   19365: fi
                   19366: 
1.150     moko     19367: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19368:   as_basename=basename
                   19369: else
                   19370:   as_basename=false
                   19371: fi
                   19372: 
1.150     moko     19373: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19374:   as_dirname=dirname
                   19375: else
                   19376:   as_dirname=false
                   19377: fi
1.62      paf      19378: 
1.150     moko     19379: as_me=`$as_basename -- "$0" ||
1.62      paf      19380: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19381:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19382:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19383: $as_echo X/"$0" |
                   19384:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19385:            s//\1/
                   19386:            q
                   19387:          }
                   19388:          /^X\/\(\/\/\)$/{
                   19389:            s//\1/
                   19390:            q
                   19391:          }
                   19392:          /^X\/\(\/\).*/{
                   19393:            s//\1/
                   19394:            q
                   19395:          }
                   19396:          s/.*/./; q'`
1.62      paf      19397: 
                   19398: # Avoid depending upon Character Ranges.
                   19399: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19400: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19401: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19402: as_cr_digits='0123456789'
                   19403: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19404: 
1.150     moko     19405: ECHO_C= ECHO_N= ECHO_T=
                   19406: case `echo -n x` in #(((((
                   19407: -n*)
                   19408:   case `echo 'xy\c'` in
                   19409:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19410:   xy)  ECHO_C='\c';;
                   19411:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19412:        ECHO_T='        ';;
                   19413:   esac;;
                   19414: *)
                   19415:   ECHO_N='-n';;
1.62      paf      19416: esac
                   19417: 
1.150     moko     19418: rm -f conf$$ conf$$.exe conf$$.file
                   19419: if test -d conf$$.dir; then
                   19420:   rm -f conf$$.dir/conf$$.file
1.62      paf      19421: else
1.150     moko     19422:   rm -f conf$$.dir
                   19423:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19424: fi
1.150     moko     19425: if (echo >conf$$.file) 2>/dev/null; then
                   19426:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19427:     as_ln_s='ln -s'
                   19428:     # ... but there are two gotchas:
                   19429:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19430:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19431:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19432:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19433:       as_ln_s='cp -pR'
1.150     moko     19434:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19435:     as_ln_s=ln
                   19436:   else
1.166     moko     19437:     as_ln_s='cp -pR'
1.62      paf      19438:   fi
                   19439: else
1.166     moko     19440:   as_ln_s='cp -pR'
1.62      paf      19441: fi
1.150     moko     19442: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19443: rmdir conf$$.dir 2>/dev/null
                   19444: 
                   19445: 
                   19446: # as_fn_mkdir_p
                   19447: # -------------
                   19448: # Create "$as_dir" as a directory, including parents if necessary.
                   19449: as_fn_mkdir_p ()
                   19450: {
                   19451: 
                   19452:   case $as_dir in #(
                   19453:   -*) as_dir=./$as_dir;;
                   19454:   esac
                   19455:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19456:     as_dirs=
                   19457:     while :; do
                   19458:       case $as_dir in #(
                   19459:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19460:       *) as_qdir=$as_dir;;
                   19461:       esac
                   19462:       as_dirs="'$as_qdir' $as_dirs"
                   19463:       as_dir=`$as_dirname -- "$as_dir" ||
                   19464: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19465:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19466:         X"$as_dir" : 'X\(//\)$' \| \
                   19467:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19468: $as_echo X"$as_dir" |
                   19469:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19470:            s//\1/
                   19471:            q
                   19472:          }
                   19473:          /^X\(\/\/\)[^/].*/{
                   19474:            s//\1/
                   19475:            q
                   19476:          }
                   19477:          /^X\(\/\/\)$/{
                   19478:            s//\1/
                   19479:            q
                   19480:          }
                   19481:          /^X\(\/\).*/{
                   19482:            s//\1/
                   19483:            q
                   19484:          }
                   19485:          s/.*/./; q'`
                   19486:       test -d "$as_dir" && break
                   19487:     done
                   19488:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19489:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19490: 
1.62      paf      19491: 
1.150     moko     19492: } # as_fn_mkdir_p
1.62      paf      19493: if mkdir -p . 2>/dev/null; then
1.150     moko     19494:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19495: else
1.86      paf      19496:   test -d ./-p && rmdir ./-p
1.62      paf      19497:   as_mkdir_p=false
                   19498: fi
                   19499: 
1.166     moko     19500: 
                   19501: # as_fn_executable_p FILE
                   19502: # -----------------------
                   19503: # Test if FILE is an executable regular file.
                   19504: as_fn_executable_p ()
                   19505: {
                   19506:   test -f "$1" && test -x "$1"
                   19507: } # as_fn_executable_p
                   19508: as_test_x='test -x'
                   19509: as_executable_p=as_fn_executable_p
1.62      paf      19510: 
                   19511: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19512: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19513: 
                   19514: # Sed expression to map a string onto a valid variable name.
1.86      paf      19515: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19516: 
                   19517: 
                   19518: exec 6>&1
1.150     moko     19519: ## ----------------------------------- ##
                   19520: ## Main body of $CONFIG_STATUS script. ##
                   19521: ## ----------------------------------- ##
                   19522: _ASEOF
                   19523: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19524: 
1.150     moko     19525: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19526: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19527: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19528: # values after options handling.
                   19529: ac_log="
1.186     moko     19530: This file was extended by parser $as_me 3.4.6b, which was
1.166     moko     19531: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19532: 
                   19533:   CONFIG_FILES    = $CONFIG_FILES
                   19534:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19535:   CONFIG_LINKS    = $CONFIG_LINKS
                   19536:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19537:   $ $0 $@
                   19538: 
1.150     moko     19539: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19540: "
                   19541: 
1.62      paf      19542: _ACEOF
                   19543: 
1.150     moko     19544: case $ac_config_files in *"
                   19545: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19546: esac
1.62      paf      19547: 
1.150     moko     19548: case $ac_config_headers in *"
                   19549: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19550: esac
1.62      paf      19551: 
                   19552: 
1.150     moko     19553: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19554: # Files that config.status was made for.
                   19555: config_files="$ac_config_files"
                   19556: config_headers="$ac_config_headers"
                   19557: config_commands="$ac_config_commands"
1.62      paf      19558: 
1.150     moko     19559: _ACEOF
1.62      paf      19560: 
1.150     moko     19561: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19562: ac_cs_usage="\
1.150     moko     19563: \`$as_me' instantiates files and other configuration actions
                   19564: from templates according to the current configuration.  Unless the files
                   19565: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19566: 
1.150     moko     19567: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19568: 
                   19569:   -h, --help       print this help, then exit
1.150     moko     19570:   -V, --version    print version number and configuration settings, then exit
                   19571:       --config     print configuration, then exit
                   19572:   -q, --quiet, --silent
                   19573:                    do not print progress messages
1.62      paf      19574:   -d, --debug      don't remove temporary files
                   19575:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19576:       --file=FILE[:TEMPLATE]
                   19577:                    instantiate the configuration file FILE
                   19578:       --header=FILE[:TEMPLATE]
                   19579:                    instantiate the configuration header FILE
1.62      paf      19580: 
                   19581: Configuration files:
                   19582: $config_files
                   19583: 
                   19584: Configuration headers:
                   19585: $config_headers
                   19586: 
                   19587: Configuration commands:
                   19588: $config_commands
                   19589: 
1.150     moko     19590: Report bugs to the package provider."
                   19591: 
1.62      paf      19592: _ACEOF
1.150     moko     19593: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19594: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19595: ac_cs_version="\\
1.186     moko     19596: parser config.status 3.4.6b
1.166     moko     19597: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19598:   with options \\"\$ac_cs_config\\"
1.62      paf      19599: 
1.166     moko     19600: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19601: This config.status script is free software; the Free Software Foundation
                   19602: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19603: 
                   19604: ac_pwd='$ac_pwd'
                   19605: srcdir='$srcdir'
                   19606: INSTALL='$INSTALL'
                   19607: MKDIR_P='$MKDIR_P'
                   19608: AWK='$AWK'
                   19609: test -n "\$AWK" || AWK=awk
1.62      paf      19610: _ACEOF
                   19611: 
1.150     moko     19612: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19613: # The default lists apply if the user does not specify any file.
1.62      paf      19614: ac_need_defaults=:
                   19615: while test $# != 0
                   19616: do
                   19617:   case $1 in
1.150     moko     19618:   --*=?*)
                   19619:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19620:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19621:     ac_shift=:
                   19622:     ;;
1.150     moko     19623:   --*=)
                   19624:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19625:     ac_optarg=
                   19626:     ac_shift=:
                   19627:     ;;
                   19628:   *)
1.62      paf      19629:     ac_option=$1
                   19630:     ac_optarg=$2
                   19631:     ac_shift=shift
                   19632:     ;;
                   19633:   esac
                   19634: 
                   19635:   case $ac_option in
                   19636:   # Handling of the options.
                   19637:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19638:     ac_cs_recheck=: ;;
1.150     moko     19639:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19640:     $as_echo "$ac_cs_version"; exit ;;
                   19641:   --config | --confi | --conf | --con | --co | --c )
                   19642:     $as_echo "$ac_cs_config"; exit ;;
                   19643:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19644:     debug=: ;;
                   19645:   --file | --fil | --fi | --f )
                   19646:     $ac_shift
1.150     moko     19647:     case $ac_optarg in
                   19648:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19649:     '') as_fn_error $? "missing file argument" ;;
                   19650:     esac
                   19651:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19652:     ac_need_defaults=false;;
                   19653:   --header | --heade | --head | --hea )
                   19654:     $ac_shift
1.150     moko     19655:     case $ac_optarg in
                   19656:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19657:     esac
                   19658:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19659:     ac_need_defaults=false;;
1.150     moko     19660:   --he | --h)
                   19661:     # Conflict between --help and --header
                   19662:     as_fn_error $? "ambiguous option: \`$1'
                   19663: Try \`$0 --help' for more information.";;
                   19664:   --help | --hel | -h )
                   19665:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19666:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19667:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19668:     ac_cs_silent=: ;;
                   19669: 
                   19670:   # This is an error.
1.150     moko     19671:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19672: Try \`$0 --help' for more information." ;;
1.62      paf      19673: 
1.150     moko     19674:   *) as_fn_append ac_config_targets " $1"
                   19675:      ac_need_defaults=false ;;
1.62      paf      19676: 
                   19677:   esac
                   19678:   shift
                   19679: done
                   19680: 
                   19681: ac_configure_extra_args=
                   19682: 
                   19683: if $ac_cs_silent; then
                   19684:   exec 6>/dev/null
1.150     moko     19685:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19686: fi
                   19687: 
                   19688: _ACEOF
                   19689: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19690: if \$ac_cs_recheck; then
1.166     moko     19691:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19692:   shift
                   19693:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19694:   CONFIG_SHELL='$SHELL'
                   19695:   export CONFIG_SHELL
                   19696:   exec "\$@"
                   19697: fi
                   19698: 
                   19699: _ACEOF
                   19700: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19701: exec 5>>config.log
                   19702: {
                   19703:   echo
                   19704:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19705: ## Running $as_me. ##
                   19706: _ASBOX
                   19707:   $as_echo "$ac_log"
                   19708: } >&5
1.62      paf      19709: 
                   19710: _ACEOF
1.150     moko     19711: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19712: #
1.150     moko     19713: # INIT-COMMANDS
1.1       paf      19714: #
1.199     moko     19715: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      19716: 
1.128     moko     19717: 
                   19718: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19719: # if CDPATH is set.
                   19720: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19721: 
                   19722: sed_quote_subst='$sed_quote_subst'
                   19723: double_quote_subst='$double_quote_subst'
                   19724: delay_variable_subst='$delay_variable_subst'
                   19725: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19726: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19727: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19728: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19729: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19730: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19731: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19732: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19733: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19734: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19735: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19736: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19737: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19738: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19739: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19740: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19741: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19742: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19743: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19744: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19745: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19746: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19747: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19748: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19749: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19750: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19751: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19752: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19753: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19754: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19755: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19756: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19757: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19758: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19759: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19760: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19761: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19762: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19763: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19764: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19765: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19766: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19767: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19768: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19769: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19770: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19771: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19772: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19773: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19774: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19775: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19776: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19777: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19778: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19779: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19780: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19781: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19782: 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"`'
                   19783: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19784: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19785: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19786: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19787: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19788: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19789: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19790: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19791: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19792: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19793: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19794: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19795: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19796: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19797: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19798: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19799: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19800: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19801: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19802: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19803: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19804: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19805: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19806: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19807: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19808: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19809: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19810: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19811: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19812: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19813: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19814: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19815: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19816: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19817: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19818: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19819: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19820: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19821: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19822: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19823: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19824: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19825: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19826: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19827: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19828: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19829: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19830: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19831: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19832: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19833: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19834: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19835: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19836: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19837: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19838: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19839: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19840: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19841: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19842: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19843: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19844: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19845: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19846: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19847: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19848: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19849: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19850: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19851: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19852: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19853: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19854: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19855: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19856: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19857: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19858: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19859: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19860: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19861: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19862: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19863: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19864: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19865: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19866: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19867: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19868: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19869: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19870: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19871: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19872: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19873: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19874: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19875: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19876: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19877: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19878: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19879: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19880: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19881: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19882: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19883: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19884: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19885: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19886: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19887: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19888: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19889: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19890: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19891: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19892: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19893: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19894: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19895: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19896: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19897: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19898: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19899: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19900: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19901: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19902: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19903: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19904: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19905: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19906: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19907: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19908: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19909: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19910: 
                   19911: LTCC='$LTCC'
                   19912: LTCFLAGS='$LTCFLAGS'
                   19913: compiler='$compiler_DEFAULT'
                   19914: 
                   19915: # A function that is used when there is no print builtin or printf.
                   19916: func_fallback_echo ()
                   19917: {
                   19918:   eval 'cat <<_LTECHO_EOF
                   19919: \$1
                   19920: _LTECHO_EOF'
                   19921: }
                   19922: 
                   19923: # Quote evaled strings.
                   19924: for var in AS \
                   19925: DLLTOOL \
                   19926: OBJDUMP \
                   19927: SHELL \
                   19928: ECHO \
                   19929: PATH_SEPARATOR \
                   19930: SED \
                   19931: GREP \
                   19932: EGREP \
                   19933: FGREP \
                   19934: LD \
                   19935: NM \
                   19936: LN_S \
                   19937: lt_SP2NL \
                   19938: lt_NL2SP \
                   19939: reload_flag \
                   19940: deplibs_check_method \
                   19941: file_magic_cmd \
                   19942: file_magic_glob \
                   19943: want_nocaseglob \
                   19944: sharedlib_from_linklib_cmd \
                   19945: AR \
                   19946: AR_FLAGS \
                   19947: archiver_list_spec \
                   19948: STRIP \
                   19949: RANLIB \
                   19950: CC \
                   19951: CFLAGS \
                   19952: compiler \
                   19953: lt_cv_sys_global_symbol_pipe \
                   19954: lt_cv_sys_global_symbol_to_cdecl \
                   19955: lt_cv_sys_global_symbol_to_c_name_address \
                   19956: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19957: nm_file_list_spec \
                   19958: lt_prog_compiler_no_builtin_flag \
                   19959: lt_prog_compiler_pic \
                   19960: lt_prog_compiler_wl \
                   19961: lt_prog_compiler_static \
                   19962: lt_cv_prog_compiler_c_o \
                   19963: need_locks \
                   19964: MANIFEST_TOOL \
                   19965: DSYMUTIL \
                   19966: NMEDIT \
                   19967: LIPO \
                   19968: OTOOL \
                   19969: OTOOL64 \
                   19970: shrext_cmds \
                   19971: export_dynamic_flag_spec \
                   19972: whole_archive_flag_spec \
                   19973: compiler_needs_object \
                   19974: with_gnu_ld \
                   19975: allow_undefined_flag \
                   19976: no_undefined_flag \
                   19977: hardcode_libdir_flag_spec \
                   19978: hardcode_libdir_separator \
                   19979: exclude_expsyms \
                   19980: include_expsyms \
                   19981: file_list_spec \
                   19982: variables_saved_for_relink \
                   19983: libname_spec \
                   19984: library_names_spec \
                   19985: soname_spec \
                   19986: install_override_mode \
                   19987: finish_eval \
                   19988: old_striplib \
                   19989: striplib \
                   19990: compiler_lib_search_dirs \
                   19991: predep_objects \
                   19992: postdep_objects \
                   19993: predeps \
                   19994: postdeps \
                   19995: compiler_lib_search_path \
                   19996: LD_CXX \
                   19997: reload_flag_CXX \
                   19998: compiler_CXX \
                   19999: lt_prog_compiler_no_builtin_flag_CXX \
                   20000: lt_prog_compiler_pic_CXX \
                   20001: lt_prog_compiler_wl_CXX \
                   20002: lt_prog_compiler_static_CXX \
                   20003: lt_cv_prog_compiler_c_o_CXX \
                   20004: export_dynamic_flag_spec_CXX \
                   20005: whole_archive_flag_spec_CXX \
                   20006: compiler_needs_object_CXX \
                   20007: with_gnu_ld_CXX \
                   20008: allow_undefined_flag_CXX \
                   20009: no_undefined_flag_CXX \
                   20010: hardcode_libdir_flag_spec_CXX \
                   20011: hardcode_libdir_separator_CXX \
                   20012: exclude_expsyms_CXX \
                   20013: include_expsyms_CXX \
                   20014: file_list_spec_CXX \
                   20015: compiler_lib_search_dirs_CXX \
                   20016: predep_objects_CXX \
                   20017: postdep_objects_CXX \
                   20018: predeps_CXX \
                   20019: postdeps_CXX \
                   20020: compiler_lib_search_path_CXX; do
                   20021:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20022:     *[\\\\\\\`\\"\\\$]*)
                   20023:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20024:       ;;
                   20025:     *)
                   20026:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20027:       ;;
                   20028:     esac
                   20029: done
                   20030: 
                   20031: # Double-quote double-evaled strings.
                   20032: for var in reload_cmds \
                   20033: old_postinstall_cmds \
                   20034: old_postuninstall_cmds \
                   20035: old_archive_cmds \
                   20036: extract_expsyms_cmds \
                   20037: old_archive_from_new_cmds \
                   20038: old_archive_from_expsyms_cmds \
                   20039: archive_cmds \
                   20040: archive_expsym_cmds \
                   20041: module_cmds \
                   20042: module_expsym_cmds \
                   20043: export_symbols_cmds \
                   20044: prelink_cmds \
                   20045: postlink_cmds \
                   20046: postinstall_cmds \
                   20047: postuninstall_cmds \
                   20048: finish_cmds \
                   20049: sys_lib_search_path_spec \
                   20050: sys_lib_dlsearch_path_spec \
                   20051: reload_cmds_CXX \
                   20052: old_archive_cmds_CXX \
                   20053: old_archive_from_new_cmds_CXX \
                   20054: old_archive_from_expsyms_cmds_CXX \
                   20055: archive_cmds_CXX \
                   20056: archive_expsym_cmds_CXX \
                   20057: module_cmds_CXX \
                   20058: module_expsym_cmds_CXX \
                   20059: export_symbols_cmds_CXX \
                   20060: prelink_cmds_CXX \
                   20061: postlink_cmds_CXX; do
                   20062:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20063:     *[\\\\\\\`\\"\\\$]*)
                   20064:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20065:       ;;
                   20066:     *)
                   20067:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20068:       ;;
                   20069:     esac
                   20070: done
                   20071: 
                   20072: ac_aux_dir='$ac_aux_dir'
                   20073: xsi_shell='$xsi_shell'
                   20074: lt_shell_append='$lt_shell_append'
                   20075: 
                   20076: # See if we are running on zsh, and set the options which allow our
                   20077: # commands through without removal of \ escapes INIT.
                   20078: if test -n "\${ZSH_VERSION+set}" ; then
                   20079:    setopt NO_GLOB_SUBST
                   20080: fi
                   20081: 
                   20082: 
                   20083:     PACKAGE='$PACKAGE'
                   20084:     VERSION='$VERSION'
                   20085:     TIMESTAMP='$TIMESTAMP'
                   20086:     RM='$RM'
                   20087:     ofile='$ofile'
                   20088: 
                   20089: 
                   20090: 
                   20091: 
                   20092: 
                   20093: 
1.62      paf      20094: _ACEOF
                   20095: 
1.150     moko     20096: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20097: 
1.150     moko     20098: # Handling of arguments.
1.62      paf      20099: for ac_config_target in $ac_config_targets
1.1       paf      20100: do
1.150     moko     20101:   case $ac_config_target in
                   20102:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20103:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20104:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20105:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20106:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20107:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20108:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20109:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20110:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20111:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20112:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   20113:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20114:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   20115:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20116:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   20117:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   20118:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20119:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20120:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   20121:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   20122:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   20123:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   20124:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     20125:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   20126:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     20127:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   20128:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20129:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   20130:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   20131:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20132:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20133:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     20134:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     20135: 
                   20136:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      20137:   esac
                   20138: done
                   20139: 
1.150     moko     20140: 
1.62      paf      20141: # If the user did not use the arguments to specify the items to instantiate,
                   20142: # then the envvar interface is used.  Set only those that are not.
                   20143: # We use the long form for the default assignment because of an extremely
                   20144: # bizarre bug on SunOS 4.1.3.
                   20145: if $ac_need_defaults; then
                   20146:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20147:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20148:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20149: fi
                   20150: 
                   20151: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     20152: # simply because there is no reason against having it here, and in addition,
1.62      paf      20153: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     20154: # Hook for its removal unless debugging.
                   20155: # Note that there is a small window in which the directory will not be cleaned:
                   20156: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      20157: $debug ||
                   20158: {
1.150     moko     20159:   tmp= ac_tmp=
                   20160:   trap 'exit_status=$?
                   20161:   : "${ac_tmp:=$tmp}"
                   20162:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20163: ' 0
                   20164:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      20165: }
                   20166: # Create a (secure) tmp directory for tmp files.
                   20167: 
                   20168: {
1.150     moko     20169:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20170:   test -d "$tmp"
1.62      paf      20171: }  ||
                   20172: {
1.150     moko     20173:   tmp=./conf$$-$RANDOM
                   20174:   (umask 077 && mkdir "$tmp")
                   20175: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20176: ac_tmp=$tmp
                   20177: 
                   20178: # Set up the scripts for CONFIG_FILES section.
                   20179: # No need to generate them if there are no CONFIG_FILES.
                   20180: # This happens for instance with `./config.status config.h'.
                   20181: if test -n "$CONFIG_FILES"; then
                   20182: 
                   20183: 
                   20184: ac_cr=`echo X | tr X '\015'`
                   20185: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20186: # But we know of no other shell where ac_cr would be empty at this
                   20187: # point, so we can use a bashism as a fallback.
                   20188: if test "x$ac_cr" = x; then
                   20189:   eval ac_cr=\$\'\\r\'
                   20190: fi
                   20191: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20192: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20193:   ac_cs_awk_cr='\\r'
                   20194: else
                   20195:   ac_cs_awk_cr=$ac_cr
                   20196: fi
                   20197: 
                   20198: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20199: _ACEOF
                   20200: 
                   20201: 
1.62      paf      20202: {
1.150     moko     20203:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20204:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20205:   echo "_ACEOF"
                   20206: } >conf$$subs.sh ||
                   20207:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20208: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20209: ac_delim='%!_!# '
                   20210: for ac_last_try in false false false false false :; do
                   20211:   . ./conf$$subs.sh ||
                   20212:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20213: 
                   20214:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20215:   if test $ac_delim_n = $ac_delim_num; then
                   20216:     break
                   20217:   elif $ac_last_try; then
                   20218:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20219:   else
                   20220:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20221:   fi
                   20222: done
                   20223: rm -f conf$$subs.sh
                   20224: 
                   20225: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20226: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20227: _ACEOF
                   20228: sed -n '
                   20229: h
                   20230: s/^/S["/; s/!.*/"]=/
                   20231: p
                   20232: g
                   20233: s/^[^!]*!//
                   20234: :repl
                   20235: t repl
                   20236: s/'"$ac_delim"'$//
                   20237: t delim
                   20238: :nl
                   20239: h
                   20240: s/\(.\{148\}\)..*/\1/
                   20241: t more1
                   20242: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20243: p
                   20244: n
                   20245: b repl
                   20246: :more1
                   20247: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20248: p
                   20249: g
                   20250: s/.\{148\}//
                   20251: t nl
                   20252: :delim
                   20253: h
                   20254: s/\(.\{148\}\)..*/\1/
                   20255: t more2
                   20256: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20257: p
                   20258: b
                   20259: :more2
                   20260: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20261: p
                   20262: g
                   20263: s/.\{148\}//
                   20264: t delim
                   20265: ' <conf$$subs.awk | sed '
                   20266: /^[^""]/{
                   20267:   N
                   20268:   s/\n//
                   20269: }
                   20270: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20271: rm -f conf$$subs.awk
                   20272: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20273: _ACAWK
                   20274: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20275:   for (key in S) S_is_set[key] = 1
                   20276:   FS = ""
                   20277: 
                   20278: }
                   20279: {
                   20280:   line = $ 0
                   20281:   nfields = split(line, field, "@")
                   20282:   substed = 0
                   20283:   len = length(field[1])
                   20284:   for (i = 2; i < nfields; i++) {
                   20285:     key = field[i]
                   20286:     keylen = length(key)
                   20287:     if (S_is_set[key]) {
                   20288:       value = S[key]
                   20289:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20290:       len += length(value) + length(field[++i])
                   20291:       substed = 1
                   20292:     } else
                   20293:       len += 1 + keylen
                   20294:   }
                   20295: 
                   20296:   print line
1.62      paf      20297: }
                   20298: 
1.150     moko     20299: _ACAWK
                   20300: _ACEOF
                   20301: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20302: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20303:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20304: else
                   20305:   cat
                   20306: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20307:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20308: _ACEOF
1.1       paf      20309: 
1.150     moko     20310: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20311: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20312: # trailing colons and then remove the whole line if VPATH becomes empty
                   20313: # (actually we leave an empty line to preserve line numbers).
                   20314: if test "x$srcdir" = x.; then
                   20315:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20316: h
                   20317: s///
                   20318: s/^/:/
                   20319: s/[     ]*$/:/
                   20320: s/:\$(srcdir):/:/g
                   20321: s/:\${srcdir}:/:/g
                   20322: s/:@srcdir@:/:/g
                   20323: s/^:*//
                   20324: s/:*$//
                   20325: x
                   20326: s/\(=[  ]*\).*/\1/
                   20327: G
                   20328: s/\n//
                   20329: s/^[^=]*=[      ]*$//
                   20330: }'
                   20331: fi
1.62      paf      20332: 
1.150     moko     20333: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20334: fi # test -n "$CONFIG_FILES"
1.1       paf      20335: 
1.150     moko     20336: # Set up the scripts for CONFIG_HEADERS section.
                   20337: # No need to generate them if there are no CONFIG_HEADERS.
                   20338: # This happens for instance with `./config.status Makefile'.
                   20339: if test -n "$CONFIG_HEADERS"; then
                   20340: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20341: BEGIN {
                   20342: _ACEOF
                   20343: 
                   20344: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20345: # here-document in config.status, that substitutes the proper values into
                   20346: # config.h.in to produce config.h.
                   20347: 
                   20348: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20349: # handling of long lines.
                   20350: ac_delim='%!_!# '
                   20351: for ac_last_try in false false :; do
                   20352:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20353:   if test -z "$ac_tt"; then
                   20354:     break
                   20355:   elif $ac_last_try; then
                   20356:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20357:   else
                   20358:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20359:   fi
1.150     moko     20360: done
1.1       paf      20361: 
1.150     moko     20362: # For the awk script, D is an array of macro values keyed by name,
                   20363: # likewise P contains macro parameters if any.  Preserve backslash
                   20364: # newline sequences.
                   20365: 
                   20366: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20367: sed -n '
                   20368: s/.\{148\}/&'"$ac_delim"'/g
                   20369: t rset
                   20370: :rset
                   20371: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20372: t def
                   20373: d
                   20374: :def
                   20375: s/\\$//
                   20376: t bsnl
                   20377: s/["\\]/\\&/g
                   20378: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20379: D["\1"]=" \3"/p
                   20380: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20381: d
                   20382: :bsnl
                   20383: s/["\\]/\\&/g
                   20384: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20385: D["\1"]=" \3\\\\\\n"\\/p
                   20386: t cont
                   20387: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20388: t cont
                   20389: d
                   20390: :cont
                   20391: n
                   20392: s/.\{148\}/&'"$ac_delim"'/g
                   20393: t clear
                   20394: :clear
                   20395: s/\\$//
                   20396: t bsnlc
                   20397: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20398: d
                   20399: :bsnlc
                   20400: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20401: b cont
                   20402: ' <confdefs.h | sed '
                   20403: s/'"$ac_delim"'/"\\\
                   20404: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20405: 
                   20406: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20407:   for (key in D) D_is_set[key] = 1
                   20408:   FS = ""
                   20409: }
                   20410: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20411:   line = \$ 0
                   20412:   split(line, arg, " ")
                   20413:   if (arg[1] == "#") {
                   20414:     defundef = arg[2]
                   20415:     mac1 = arg[3]
                   20416:   } else {
                   20417:     defundef = substr(arg[1], 2)
                   20418:     mac1 = arg[2]
                   20419:   }
                   20420:   split(mac1, mac2, "(") #)
                   20421:   macro = mac2[1]
                   20422:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20423:   if (D_is_set[macro]) {
                   20424:     # Preserve the white space surrounding the "#".
                   20425:     print prefix "define", macro P[macro] D[macro]
                   20426:     next
                   20427:   } else {
                   20428:     # Replace #undef with comments.  This is necessary, for example,
                   20429:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20430:     # on some systems where configure will not decide to define it.
                   20431:     if (defundef == "undef") {
                   20432:       print "/*", prefix defundef, macro, "*/"
                   20433:       next
                   20434:     }
                   20435:   }
                   20436: }
                   20437: { print }
                   20438: _ACAWK
1.62      paf      20439: _ACEOF
1.150     moko     20440: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20441:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20442: fi # test -n "$CONFIG_HEADERS"
                   20443: 
                   20444: 
                   20445: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20446: shift
                   20447: for ac_tag
                   20448: do
                   20449:   case $ac_tag in
                   20450:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20451:   esac
                   20452:   case $ac_mode$ac_tag in
                   20453:   :[FHL]*:*);;
                   20454:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20455:   :[FH]-) ac_tag=-:-;;
                   20456:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20457:   esac
                   20458:   ac_save_IFS=$IFS
                   20459:   IFS=:
                   20460:   set x $ac_tag
                   20461:   IFS=$ac_save_IFS
                   20462:   shift
                   20463:   ac_file=$1
                   20464:   shift
                   20465: 
                   20466:   case $ac_mode in
                   20467:   :L) ac_source=$1;;
                   20468:   :[FH])
                   20469:     ac_file_inputs=
                   20470:     for ac_f
                   20471:     do
                   20472:       case $ac_f in
                   20473:       -) ac_f="$ac_tmp/stdin";;
                   20474:       *) # Look for the file first in the build tree, then in the source tree
                   20475:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20476:         # because $ac_f cannot contain `:'.
                   20477:         test -f "$ac_f" ||
                   20478:           case $ac_f in
                   20479:           [\\/$]*) false;;
                   20480:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20481:           esac ||
                   20482:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20483:       esac
                   20484:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20485:       as_fn_append ac_file_inputs " '$ac_f'"
                   20486:     done
                   20487: 
                   20488:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20489:     # use $as_me), people would be surprised to read:
                   20490:     #    /* config.h.  Generated by config.status.  */
                   20491:     configure_input='Generated from '`
                   20492:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20493:        `' by configure.'
                   20494:     if test x"$ac_file" != x-; then
                   20495:       configure_input="$ac_file.  $configure_input"
                   20496:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20497: $as_echo "$as_me: creating $ac_file" >&6;}
                   20498:     fi
                   20499:     # Neutralize special characters interpreted by sed in replacement strings.
                   20500:     case $configure_input in #(
                   20501:     *\&* | *\|* | *\\* )
                   20502:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20503:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20504:     *) ac_sed_conf_input=$configure_input;;
                   20505:     esac
                   20506: 
                   20507:     case $ac_tag in
                   20508:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20509:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20510:     esac
                   20511:     ;;
1.1       paf      20512:   esac
                   20513: 
1.150     moko     20514:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20515: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20516:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20517:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20518:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20519: $as_echo X"$ac_file" |
                   20520:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20521:            s//\1/
                   20522:            q
                   20523:          }
                   20524:          /^X\(\/\/\)[^/].*/{
                   20525:            s//\1/
                   20526:            q
                   20527:          }
                   20528:          /^X\(\/\/\)$/{
                   20529:            s//\1/
                   20530:            q
                   20531:          }
                   20532:          /^X\(\/\).*/{
                   20533:            s//\1/
                   20534:            q
                   20535:          }
                   20536:          s/.*/./; q'`
                   20537:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20538:   ac_builddir=.
                   20539: 
1.150     moko     20540: case "$ac_dir" in
                   20541: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20542: *)
                   20543:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20544:   # A ".." for each directory in $ac_dir_suffix.
                   20545:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20546:   case $ac_top_builddir_sub in
                   20547:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20548:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20549:   esac ;;
                   20550: esac
                   20551: ac_abs_top_builddir=$ac_pwd
                   20552: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20553: # for backward compatibility:
                   20554: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20555: 
                   20556: case $srcdir in
1.150     moko     20557:   .)  # We are building in place.
1.62      paf      20558:     ac_srcdir=.
1.150     moko     20559:     ac_top_srcdir=$ac_top_builddir_sub
                   20560:     ac_abs_top_srcdir=$ac_pwd ;;
                   20561:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20562:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20563:     ac_top_srcdir=$srcdir
                   20564:     ac_abs_top_srcdir=$srcdir ;;
                   20565:   *) # Relative name.
                   20566:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20567:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20568:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20569: esac
1.150     moko     20570: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20571: 
1.62      paf      20572: 
1.150     moko     20573:   case $ac_mode in
                   20574:   :F)
                   20575:   #
                   20576:   # CONFIG_FILE
                   20577:   #
1.1       paf      20578: 
1.62      paf      20579:   case $INSTALL in
                   20580:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20581:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20582:   esac
1.150     moko     20583:   ac_MKDIR_P=$MKDIR_P
                   20584:   case $MKDIR_P in
                   20585:   [\\/$]* | ?:[\\/]* ) ;;
                   20586:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20587:   esac
                   20588: _ACEOF
1.1       paf      20589: 
1.150     moko     20590: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20591: # If the template does not know about datarootdir, expand it.
                   20592: # FIXME: This hack should be removed a few years after 2.60.
                   20593: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20594: ac_sed_dataroot='
                   20595: /datarootdir/ {
                   20596:   p
                   20597:   q
                   20598: }
                   20599: /@datadir@/p
                   20600: /@docdir@/p
                   20601: /@infodir@/p
                   20602: /@localedir@/p
                   20603: /@mandir@/p'
                   20604: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20605: *datarootdir*) ac_datarootdir_seen=yes;;
                   20606: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20607:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20608: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20609: _ACEOF
                   20610: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20611:   ac_datarootdir_hack='
                   20612:   s&@datadir@&$datadir&g
                   20613:   s&@docdir@&$docdir&g
                   20614:   s&@infodir@&$infodir&g
                   20615:   s&@localedir@&$localedir&g
                   20616:   s&@mandir@&$mandir&g
                   20617:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20618: esac
                   20619: _ACEOF
1.62      paf      20620: 
1.150     moko     20621: # Neutralize VPATH when `$srcdir' = `.'.
                   20622: # Shell code in configure.ac might set extrasub.
                   20623: # FIXME: do we really want to maintain this feature?
                   20624: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20625: ac_sed_extra="$ac_vpsub
1.62      paf      20626: $extrasub
                   20627: _ACEOF
1.150     moko     20628: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20629: :t
                   20630: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20631: s|@configure_input@|$ac_sed_conf_input|;t t
                   20632: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20633: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20634: s&@srcdir@&$ac_srcdir&;t t
                   20635: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20636: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20637: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20638: s&@builddir@&$ac_builddir&;t t
                   20639: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20640: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20641: s&@INSTALL@&$ac_INSTALL&;t t
                   20642: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20643: $ac_datarootdir_hack
                   20644: "
                   20645: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20646:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20647: 
                   20648: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20649:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20650:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20651:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20652:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20653: which seems to be undefined.  Please make sure it is defined" >&5
                   20654: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20655: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20656: 
1.150     moko     20657:   rm -f "$ac_tmp/stdin"
1.62      paf      20658:   case $ac_file in
1.150     moko     20659:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20660:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20661:   esac \
                   20662:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20663:  ;;
                   20664:   :H)
                   20665:   #
                   20666:   # CONFIG_HEADER
                   20667:   #
1.62      paf      20668:   if test x"$ac_file" != x-; then
1.150     moko     20669:     {
                   20670:       $as_echo "/* $configure_input  */" \
                   20671:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20672:     } >"$ac_tmp/config.h" \
                   20673:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20674:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20675:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20676: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20677:     else
1.150     moko     20678:       rm -f "$ac_file"
                   20679:       mv "$ac_tmp/config.h" "$ac_file" \
                   20680:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20681:     fi
                   20682:   else
1.150     moko     20683:     $as_echo "/* $configure_input  */" \
                   20684:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20685:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20686:   fi
1.150     moko     20687: # Compute "$ac_file"'s index in $config_headers.
                   20688: _am_arg="$ac_file"
1.86      paf      20689: _am_stamp_count=1
                   20690: for _am_header in $config_headers :; do
                   20691:   case $_am_header in
1.150     moko     20692:     $_am_arg | $_am_arg:* )
1.86      paf      20693:       break ;;
                   20694:     * )
                   20695:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20696:   esac
                   20697: done
1.150     moko     20698: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20699: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20700:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20701:         X"$_am_arg" : 'X\(//\)$' \| \
                   20702:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20703: $as_echo X"$_am_arg" |
                   20704:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20705:            s//\1/
                   20706:            q
                   20707:          }
                   20708:          /^X\(\/\/\)[^/].*/{
                   20709:            s//\1/
                   20710:            q
                   20711:          }
                   20712:          /^X\(\/\/\)$/{
                   20713:            s//\1/
                   20714:            q
                   20715:          }
                   20716:          /^X\(\/\).*/{
                   20717:            s//\1/
                   20718:            q
                   20719:          }
                   20720:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20721:  ;;
1.62      paf      20722: 
1.150     moko     20723:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20724: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20725:  ;;
                   20726:   esac
1.86      paf      20727: 
1.62      paf      20728: 
1.150     moko     20729:   case $ac_file$ac_mode in
                   20730:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     20731:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     20732:   # are listed without --file.  Let's play safe and only enable the eval
                   20733:   # if we detect the quoting.
1.199     moko     20734:   # TODO: see whether this extra hack can be removed once we start
                   20735:   # requiring Autoconf 2.70 or later.
                   20736:   case $CONFIG_FILES in #(
                   20737:   *\'*) :
                   20738:     eval set x "$CONFIG_FILES" ;; #(
                   20739:   *) :
                   20740:     set x $CONFIG_FILES ;; #(
                   20741:   *) :
                   20742:      ;;
                   20743: esac
1.150     moko     20744:   shift
1.199     moko     20745:   # Used to flag and report bootstrapping failures.
                   20746:   am_rc=0
                   20747:   for am_mf
1.150     moko     20748:   do
                   20749:     # Strip MF so we end up with the name of the file.
1.199     moko     20750:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
                   20751:     # Check whether this is an Automake generated Makefile which includes
                   20752:     # dependency-tracking related rules and includes.
                   20753:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     20754:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     20755:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   20756:       || continue
                   20757:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   20758: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20759:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   20760:         X"$am_mf" : 'X\(//\)$' \| \
                   20761:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20762: $as_echo X"$am_mf" |
1.150     moko     20763:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20764:            s//\1/
                   20765:            q
                   20766:          }
                   20767:          /^X\(\/\/\)[^/].*/{
                   20768:            s//\1/
                   20769:            q
                   20770:          }
                   20771:          /^X\(\/\/\)$/{
                   20772:            s//\1/
                   20773:            q
                   20774:          }
                   20775:          /^X\(\/\).*/{
                   20776:            s//\1/
                   20777:            q
                   20778:          }
                   20779:          s/.*/./; q'`
1.199     moko     20780:     am_filepart=`$as_basename -- "$am_mf" ||
                   20781: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   20782:         X"$am_mf" : 'X\(//\)$' \| \
                   20783:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20784: $as_echo X/"$am_mf" |
                   20785:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     20786:            s//\1/
                   20787:            q
                   20788:          }
1.199     moko     20789:          /^X\/\(\/\/\)$/{
1.150     moko     20790:            s//\1/
                   20791:            q
                   20792:          }
1.199     moko     20793:          /^X\/\(\/\).*/{
1.150     moko     20794:            s//\1/
                   20795:            q
                   20796:          }
                   20797:          s/.*/./; q'`
1.199     moko     20798:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   20799:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20800:         | $MAKE -f - am--depfiles" >&5
                   20801:    (cd "$am_dirpart" \
                   20802:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20803:         | $MAKE -f - am--depfiles) >&5 2>&5
                   20804:    ac_status=$?
                   20805:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20806:    (exit $ac_status); } || am_rc=$?
1.62      paf      20807:   done
1.199     moko     20808:   if test $am_rc -ne 0; then
                   20809:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   20810: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   20811: as_fn_error $? "Something went wrong bootstrapping makefile fragments
                   20812:     for automatic dependency tracking.  Try re-running configure with the
                   20813:     '--disable-dependency-tracking' option to at least be able to build
                   20814:     the package (albeit without support for automatic dependency tracking).
                   20815: See \`config.log' for more details" "$LINENO" 5; }
                   20816:   fi
                   20817:   { am_dirpart=; unset am_dirpart;}
                   20818:   { am_filepart=; unset am_filepart;}
                   20819:   { am_mf=; unset am_mf;}
                   20820:   { am_rc=; unset am_rc;}
                   20821:   rm -f conftest-deps.mk
1.150     moko     20822: }
1.62      paf      20823:  ;;
1.150     moko     20824:     "libtool":C)
1.128     moko     20825: 
                   20826:     # See if we are running on zsh, and set the options which allow our
                   20827:     # commands through without removal of \ escapes.
                   20828:     if test -n "${ZSH_VERSION+set}" ; then
                   20829:       setopt NO_GLOB_SUBST
                   20830:     fi
                   20831: 
                   20832:     cfgfile="${ofile}T"
                   20833:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20834:     $RM "$cfgfile"
                   20835: 
                   20836:     cat <<_LT_EOF >> "$cfgfile"
                   20837: #! $SHELL
                   20838: 
                   20839: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20840: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20841: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20842: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20843: #
                   20844: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20845: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20846: #                 Foundation, Inc.
                   20847: #   Written by Gordon Matzigkeit, 1996
                   20848: #
                   20849: #   This file is part of GNU Libtool.
                   20850: #
                   20851: # GNU Libtool is free software; you can redistribute it and/or
                   20852: # modify it under the terms of the GNU General Public License as
                   20853: # published by the Free Software Foundation; either version 2 of
                   20854: # the License, or (at your option) any later version.
                   20855: #
                   20856: # As a special exception to the GNU General Public License,
                   20857: # if you distribute this file as part of a program or library that
                   20858: # is built using GNU Libtool, you may include this file under the
                   20859: # same distribution terms that you use for the rest of that program.
                   20860: #
                   20861: # GNU Libtool is distributed in the hope that it will be useful,
                   20862: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20863: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20864: # GNU General Public License for more details.
                   20865: #
                   20866: # You should have received a copy of the GNU General Public License
                   20867: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20868: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20869: # obtained by writing to the Free Software Foundation, Inc.,
                   20870: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20871: 
                   20872: 
                   20873: # The names of the tagged configurations supported by this script.
                   20874: available_tags="CXX "
                   20875: 
                   20876: # ### BEGIN LIBTOOL CONFIG
                   20877: 
                   20878: # Which release of libtool.m4 was used?
                   20879: macro_version=$macro_version
                   20880: macro_revision=$macro_revision
                   20881: 
                   20882: # Assembler program.
                   20883: AS=$lt_AS
                   20884: 
                   20885: # DLL creation program.
                   20886: DLLTOOL=$lt_DLLTOOL
                   20887: 
                   20888: # Object dumper program.
                   20889: OBJDUMP=$lt_OBJDUMP
                   20890: 
1.145     moko     20891: # What type of objects to build.
                   20892: pic_mode=$pic_mode
                   20893: 
1.128     moko     20894: # Whether or not to build shared libraries.
                   20895: build_libtool_libs=$enable_shared
                   20896: 
1.138     moko     20897: # Whether or not to build static libraries.
                   20898: build_old_libs=$enable_static
                   20899: 
1.128     moko     20900: # Whether or not to optimize for fast installation.
                   20901: fast_install=$enable_fast_install
                   20902: 
                   20903: # Shell to use when invoking shell scripts.
                   20904: SHELL=$lt_SHELL
                   20905: 
                   20906: # An echo program that protects backslashes.
                   20907: ECHO=$lt_ECHO
                   20908: 
                   20909: # The PATH separator for the build system.
                   20910: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20911: 
                   20912: # The host system.
                   20913: host_alias=$host_alias
                   20914: host=$host
                   20915: host_os=$host_os
                   20916: 
                   20917: # The build system.
                   20918: build_alias=$build_alias
                   20919: build=$build
                   20920: build_os=$build_os
                   20921: 
                   20922: # A sed program that does not truncate output.
                   20923: SED=$lt_SED
                   20924: 
                   20925: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20926: Xsed="\$SED -e 1s/^X//"
                   20927: 
                   20928: # A grep program that handles long lines.
                   20929: GREP=$lt_GREP
                   20930: 
                   20931: # An ERE matcher.
                   20932: EGREP=$lt_EGREP
                   20933: 
                   20934: # A literal string matcher.
                   20935: FGREP=$lt_FGREP
                   20936: 
                   20937: # A BSD- or MS-compatible name lister.
                   20938: NM=$lt_NM
                   20939: 
                   20940: # Whether we need soft or hard links.
                   20941: LN_S=$lt_LN_S
                   20942: 
                   20943: # What is the maximum length of a command?
                   20944: max_cmd_len=$max_cmd_len
                   20945: 
                   20946: # Object file suffix (normally "o").
                   20947: objext=$ac_objext
                   20948: 
                   20949: # Executable file suffix (normally "").
                   20950: exeext=$exeext
                   20951: 
                   20952: # whether the shell understands "unset".
                   20953: lt_unset=$lt_unset
                   20954: 
                   20955: # turn spaces into newlines.
                   20956: SP2NL=$lt_lt_SP2NL
                   20957: 
                   20958: # turn newlines into spaces.
                   20959: NL2SP=$lt_lt_NL2SP
                   20960: 
                   20961: # convert \$build file names to \$host format.
                   20962: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20963: 
                   20964: # convert \$build files to toolchain format.
                   20965: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20966: 
                   20967: # Method to check whether dependent libraries are shared objects.
                   20968: deplibs_check_method=$lt_deplibs_check_method
                   20969: 
                   20970: # Command to use when deplibs_check_method = "file_magic".
                   20971: file_magic_cmd=$lt_file_magic_cmd
                   20972: 
                   20973: # How to find potential files when deplibs_check_method = "file_magic".
                   20974: file_magic_glob=$lt_file_magic_glob
                   20975: 
                   20976: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20977: want_nocaseglob=$lt_want_nocaseglob
                   20978: 
                   20979: # Command to associate shared and link libraries.
                   20980: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20981: 
                   20982: # The archiver.
                   20983: AR=$lt_AR
                   20984: 
                   20985: # Flags to create an archive.
                   20986: AR_FLAGS=$lt_AR_FLAGS
                   20987: 
                   20988: # How to feed a file listing to the archiver.
                   20989: archiver_list_spec=$lt_archiver_list_spec
                   20990: 
                   20991: # A symbol stripping program.
                   20992: STRIP=$lt_STRIP
                   20993: 
                   20994: # Commands used to install an old-style archive.
                   20995: RANLIB=$lt_RANLIB
                   20996: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20997: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20998: 
                   20999: # Whether to use a lock for old archive extraction.
                   21000: lock_old_archive_extraction=$lock_old_archive_extraction
                   21001: 
                   21002: # A C compiler.
                   21003: LTCC=$lt_CC
                   21004: 
                   21005: # LTCC compiler flags.
                   21006: LTCFLAGS=$lt_CFLAGS
                   21007: 
                   21008: # Take the output of nm and produce a listing of raw symbols and C names.
                   21009: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   21010: 
                   21011: # Transform the output of nm in a proper C declaration.
                   21012: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21013: 
                   21014: # Transform the output of nm in a C name address pair.
                   21015: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21016: 
                   21017: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21018: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21019: 
                   21020: # Specify filename containing input files for \$NM.
                   21021: nm_file_list_spec=$lt_nm_file_list_spec
                   21022: 
                   21023: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21024: lt_sysroot=$lt_sysroot
                   21025: 
                   21026: # The name of the directory that contains temporary libtool files.
                   21027: objdir=$objdir
                   21028: 
                   21029: # Used to examine libraries when file_magic_cmd begins with "file".
                   21030: MAGIC_CMD=$MAGIC_CMD
                   21031: 
                   21032: # Must we lock files when doing compilation?
                   21033: need_locks=$lt_need_locks
                   21034: 
                   21035: # Manifest tool.
                   21036: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21037: 
                   21038: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21039: DSYMUTIL=$lt_DSYMUTIL
                   21040: 
                   21041: # Tool to change global to local symbols on Mac OS X.
                   21042: NMEDIT=$lt_NMEDIT
                   21043: 
                   21044: # Tool to manipulate fat objects and archives on Mac OS X.
                   21045: LIPO=$lt_LIPO
                   21046: 
                   21047: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21048: OTOOL=$lt_OTOOL
                   21049: 
                   21050: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21051: OTOOL64=$lt_OTOOL64
                   21052: 
                   21053: # Old archive suffix (normally "a").
                   21054: libext=$libext
                   21055: 
                   21056: # Shared library suffix (normally ".so").
                   21057: shrext_cmds=$lt_shrext_cmds
                   21058: 
                   21059: # The commands to extract the exported symbol list from a shared archive.
                   21060: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21061: 
                   21062: # Variables whose values should be saved in libtool wrapper scripts and
                   21063: # restored at link time.
                   21064: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21065: 
                   21066: # Do we need the "lib" prefix for modules?
                   21067: need_lib_prefix=$need_lib_prefix
                   21068: 
                   21069: # Do we need a version for libraries?
                   21070: need_version=$need_version
                   21071: 
                   21072: # Library versioning type.
                   21073: version_type=$version_type
                   21074: 
                   21075: # Shared library runtime path variable.
                   21076: runpath_var=$runpath_var
                   21077: 
                   21078: # Shared library path variable.
                   21079: shlibpath_var=$shlibpath_var
                   21080: 
                   21081: # Is shlibpath searched before the hard-coded library search path?
                   21082: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21083: 
                   21084: # Format of library name prefix.
                   21085: libname_spec=$lt_libname_spec
                   21086: 
                   21087: # List of archive names.  First name is the real one, the rest are links.
                   21088: # The last name is the one that the linker finds with -lNAME
                   21089: library_names_spec=$lt_library_names_spec
                   21090: 
                   21091: # The coded name of the library, if different from the real name.
                   21092: soname_spec=$lt_soname_spec
                   21093: 
                   21094: # Permission mode override for installation of shared libraries.
                   21095: install_override_mode=$lt_install_override_mode
                   21096: 
                   21097: # Command to use after installation of a shared archive.
                   21098: postinstall_cmds=$lt_postinstall_cmds
                   21099: 
                   21100: # Command to use after uninstallation of a shared archive.
                   21101: postuninstall_cmds=$lt_postuninstall_cmds
                   21102: 
                   21103: # Commands used to finish a libtool library installation in a directory.
                   21104: finish_cmds=$lt_finish_cmds
                   21105: 
                   21106: # As "finish_cmds", except a single script fragment to be evaled but
                   21107: # not shown.
                   21108: finish_eval=$lt_finish_eval
                   21109: 
                   21110: # Whether we should hardcode library paths into libraries.
                   21111: hardcode_into_libs=$hardcode_into_libs
                   21112: 
                   21113: # Compile-time system search path for libraries.
                   21114: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21115: 
                   21116: # Run-time system search path for libraries.
                   21117: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21118: 
                   21119: # Whether dlopen is supported.
                   21120: dlopen_support=$enable_dlopen
                   21121: 
                   21122: # Whether dlopen of programs is supported.
                   21123: dlopen_self=$enable_dlopen_self
                   21124: 
                   21125: # Whether dlopen of statically linked programs is supported.
                   21126: dlopen_self_static=$enable_dlopen_self_static
                   21127: 
                   21128: # Commands to strip libraries.
                   21129: old_striplib=$lt_old_striplib
                   21130: striplib=$lt_striplib
                   21131: 
                   21132: 
                   21133: # The linker used to build libraries.
                   21134: LD=$lt_LD
                   21135: 
                   21136: # How to create reloadable object files.
                   21137: reload_flag=$lt_reload_flag
                   21138: reload_cmds=$lt_reload_cmds
                   21139: 
                   21140: # Commands used to build an old-style archive.
                   21141: old_archive_cmds=$lt_old_archive_cmds
                   21142: 
                   21143: # A language specific compiler.
                   21144: CC=$lt_compiler
                   21145: 
                   21146: # Is the compiler the GNU compiler?
                   21147: with_gcc=$GCC
                   21148: 
                   21149: # Compiler flag to turn off builtin functions.
                   21150: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21151: 
                   21152: # Additional compiler flags for building library objects.
                   21153: pic_flag=$lt_lt_prog_compiler_pic
                   21154: 
                   21155: # How to pass a linker flag through the compiler.
                   21156: wl=$lt_lt_prog_compiler_wl
                   21157: 
                   21158: # Compiler flag to prevent dynamic linking.
                   21159: link_static_flag=$lt_lt_prog_compiler_static
                   21160: 
                   21161: # Does compiler simultaneously support -c and -o options?
                   21162: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21163: 
                   21164: # Whether or not to add -lc for building shared libraries.
                   21165: build_libtool_need_lc=$archive_cmds_need_lc
                   21166: 
                   21167: # Whether or not to disallow shared libs when runtime libs are static.
                   21168: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21169: 
                   21170: # Compiler flag to allow reflexive dlopens.
                   21171: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21172: 
                   21173: # Compiler flag to generate shared objects directly from archives.
                   21174: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21175: 
                   21176: # Whether the compiler copes with passing no objects directly.
                   21177: compiler_needs_object=$lt_compiler_needs_object
                   21178: 
                   21179: # Create an old-style archive from a shared archive.
                   21180: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21181: 
                   21182: # Create a temporary old-style archive to link instead of a shared archive.
                   21183: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21184: 
                   21185: # Commands used to build a shared archive.
                   21186: archive_cmds=$lt_archive_cmds
                   21187: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21188: 
                   21189: # Commands used to build a loadable module if different from building
                   21190: # a shared archive.
                   21191: module_cmds=$lt_module_cmds
                   21192: module_expsym_cmds=$lt_module_expsym_cmds
                   21193: 
                   21194: # Whether we are building with GNU ld or not.
                   21195: with_gnu_ld=$lt_with_gnu_ld
                   21196: 
                   21197: # Flag that allows shared libraries with undefined symbols to be built.
                   21198: allow_undefined_flag=$lt_allow_undefined_flag
                   21199: 
                   21200: # Flag that enforces no undefined symbols.
                   21201: no_undefined_flag=$lt_no_undefined_flag
                   21202: 
                   21203: # Flag to hardcode \$libdir into a binary during linking.
                   21204: # This must work even if \$libdir does not exist
                   21205: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21206: 
                   21207: # Whether we need a single "-rpath" flag with a separated argument.
                   21208: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21209: 
                   21210: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21211: # DIR into the resulting binary.
                   21212: hardcode_direct=$hardcode_direct
                   21213: 
                   21214: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21215: # DIR into the resulting binary and the resulting library dependency is
                   21216: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21217: # library is relocated.
                   21218: hardcode_direct_absolute=$hardcode_direct_absolute
                   21219: 
                   21220: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21221: # into the resulting binary.
                   21222: hardcode_minus_L=$hardcode_minus_L
                   21223: 
                   21224: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21225: # into the resulting binary.
                   21226: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21227: 
                   21228: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21229: # into the library and all subsequent libraries and executables linked
                   21230: # against it.
                   21231: hardcode_automatic=$hardcode_automatic
                   21232: 
                   21233: # Set to yes if linker adds runtime paths of dependent libraries
                   21234: # to runtime path list.
                   21235: inherit_rpath=$inherit_rpath
                   21236: 
                   21237: # Whether libtool must link a program against all its dependency libraries.
                   21238: link_all_deplibs=$link_all_deplibs
                   21239: 
                   21240: # Set to "yes" if exported symbols are required.
                   21241: always_export_symbols=$always_export_symbols
                   21242: 
                   21243: # The commands to list exported symbols.
                   21244: export_symbols_cmds=$lt_export_symbols_cmds
                   21245: 
                   21246: # Symbols that should not be listed in the preloaded symbols.
                   21247: exclude_expsyms=$lt_exclude_expsyms
                   21248: 
                   21249: # Symbols that must always be exported.
                   21250: include_expsyms=$lt_include_expsyms
                   21251: 
                   21252: # Commands necessary for linking programs (against libraries) with templates.
                   21253: prelink_cmds=$lt_prelink_cmds
                   21254: 
                   21255: # Commands necessary for finishing linking programs.
                   21256: postlink_cmds=$lt_postlink_cmds
                   21257: 
                   21258: # Specify filename containing input files.
                   21259: file_list_spec=$lt_file_list_spec
                   21260: 
                   21261: # How to hardcode a shared library path into an executable.
                   21262: hardcode_action=$hardcode_action
                   21263: 
                   21264: # The directories searched by this compiler when creating a shared library.
                   21265: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21266: 
                   21267: # Dependencies to place before and after the objects being linked to
                   21268: # create a shared library.
                   21269: predep_objects=$lt_predep_objects
                   21270: postdep_objects=$lt_postdep_objects
                   21271: predeps=$lt_predeps
                   21272: postdeps=$lt_postdeps
                   21273: 
                   21274: # The library search path used internally by the compiler when linking
                   21275: # a shared library.
                   21276: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21277: 
                   21278: # ### END LIBTOOL CONFIG
                   21279: 
                   21280: _LT_EOF
                   21281: 
                   21282:   case $host_os in
                   21283:   aix3*)
                   21284:     cat <<\_LT_EOF >> "$cfgfile"
                   21285: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21286: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21287: # vanish in a puff of smoke.
                   21288: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21289:   COLLECT_NAMES=
                   21290:   export COLLECT_NAMES
                   21291: fi
                   21292: _LT_EOF
                   21293:     ;;
                   21294:   esac
                   21295: 
                   21296: 
                   21297: ltmain="$ac_aux_dir/ltmain.sh"
                   21298: 
                   21299: 
                   21300:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21301:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21302:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21303:   # is reportedly fixed, but why not run on old versions too?
                   21304:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21305:      || (rm -f "$cfgfile"; exit 1)
                   21306: 
                   21307:   if test x"$xsi_shell" = xyes; then
                   21308:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21309: func_dirname ()\
                   21310: {\
                   21311: \    case ${1} in\
                   21312: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21313: \      *  ) func_dirname_result="${3}" ;;\
                   21314: \    esac\
                   21315: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21316:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21317:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21318: test 0 -eq $? || _lt_function_replace_fail=:
                   21319: 
                   21320: 
                   21321:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21322: func_basename ()\
                   21323: {\
                   21324: \    func_basename_result="${1##*/}"\
                   21325: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21326:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21327:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21328: test 0 -eq $? || _lt_function_replace_fail=:
                   21329: 
                   21330: 
                   21331:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21332: func_dirname_and_basename ()\
                   21333: {\
                   21334: \    case ${1} in\
                   21335: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21336: \      *  ) func_dirname_result="${3}" ;;\
                   21337: \    esac\
                   21338: \    func_basename_result="${1##*/}"\
                   21339: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21340:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21341:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21342: test 0 -eq $? || _lt_function_replace_fail=:
                   21343: 
                   21344: 
                   21345:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21346: func_stripname ()\
                   21347: {\
                   21348: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21349: \    # positional parameters, so assign one to ordinary parameter first.\
                   21350: \    func_stripname_result=${3}\
                   21351: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21352: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21353: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21354:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21355:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21356: test 0 -eq $? || _lt_function_replace_fail=:
                   21357: 
                   21358: 
                   21359:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21360: func_split_long_opt ()\
                   21361: {\
                   21362: \    func_split_long_opt_name=${1%%=*}\
                   21363: \    func_split_long_opt_arg=${1#*=}\
                   21364: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21365:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21366:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21367: test 0 -eq $? || _lt_function_replace_fail=:
                   21368: 
                   21369: 
                   21370:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21371: func_split_short_opt ()\
                   21372: {\
                   21373: \    func_split_short_opt_arg=${1#??}\
                   21374: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21375: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21376:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21377:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21378: test 0 -eq $? || _lt_function_replace_fail=:
                   21379: 
                   21380: 
                   21381:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   21382: func_lo2o ()\
                   21383: {\
                   21384: \    case ${1} in\
                   21385: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21386: \      *)    func_lo2o_result=${1} ;;\
                   21387: \    esac\
                   21388: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21389:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21390:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21391: test 0 -eq $? || _lt_function_replace_fail=:
                   21392: 
                   21393: 
                   21394:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21395: func_xform ()\
                   21396: {\
                   21397:     func_xform_result=${1%.*}.lo\
                   21398: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21399:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21400:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21401: test 0 -eq $? || _lt_function_replace_fail=:
                   21402: 
                   21403: 
                   21404:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21405: func_arith ()\
                   21406: {\
                   21407:     func_arith_result=$(( $* ))\
                   21408: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21409:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21410:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21411: test 0 -eq $? || _lt_function_replace_fail=:
                   21412: 
                   21413: 
                   21414:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21415: func_len ()\
                   21416: {\
                   21417:     func_len_result=${#1}\
                   21418: } # Extended-shell func_len 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: fi
                   21424: 
                   21425: if test x"$lt_shell_append" = xyes; then
                   21426:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21427: func_append ()\
                   21428: {\
                   21429:     eval "${1}+=\\${2}"\
                   21430: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21431:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21432:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21433: test 0 -eq $? || _lt_function_replace_fail=:
                   21434: 
                   21435: 
                   21436:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21437: func_append_quoted ()\
                   21438: {\
                   21439: \    func_quote_for_eval "${2}"\
                   21440: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21441: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21442:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21443:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21444: test 0 -eq $? || _lt_function_replace_fail=:
                   21445: 
                   21446: 
                   21447:   # Save a `func_append' function call where possible by direct use of '+='
                   21448:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21449:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21450:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21451:   test 0 -eq $? || _lt_function_replace_fail=:
                   21452: else
                   21453:   # Save a `func_append' function call even when '+=' is not available
                   21454:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21455:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21456:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21457:   test 0 -eq $? || _lt_function_replace_fail=:
                   21458: fi
                   21459: 
                   21460: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21461:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21462: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21463: fi
                   21464: 
                   21465: 
                   21466:    mv -f "$cfgfile" "$ofile" ||
                   21467:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21468:   chmod +x "$ofile"
                   21469: 
                   21470: 
                   21471:     cat <<_LT_EOF >> "$ofile"
                   21472: 
                   21473: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21474: 
                   21475: # The linker used to build libraries.
                   21476: LD=$lt_LD_CXX
                   21477: 
                   21478: # How to create reloadable object files.
                   21479: reload_flag=$lt_reload_flag_CXX
                   21480: reload_cmds=$lt_reload_cmds_CXX
                   21481: 
                   21482: # Commands used to build an old-style archive.
                   21483: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21484: 
                   21485: # A language specific compiler.
                   21486: CC=$lt_compiler_CXX
                   21487: 
                   21488: # Is the compiler the GNU compiler?
                   21489: with_gcc=$GCC_CXX
                   21490: 
                   21491: # Compiler flag to turn off builtin functions.
                   21492: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21493: 
                   21494: # Additional compiler flags for building library objects.
                   21495: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21496: 
                   21497: # How to pass a linker flag through the compiler.
                   21498: wl=$lt_lt_prog_compiler_wl_CXX
                   21499: 
                   21500: # Compiler flag to prevent dynamic linking.
                   21501: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21502: 
                   21503: # Does compiler simultaneously support -c and -o options?
                   21504: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21505: 
                   21506: # Whether or not to add -lc for building shared libraries.
                   21507: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21508: 
                   21509: # Whether or not to disallow shared libs when runtime libs are static.
                   21510: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21511: 
                   21512: # Compiler flag to allow reflexive dlopens.
                   21513: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21514: 
                   21515: # Compiler flag to generate shared objects directly from archives.
                   21516: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21517: 
                   21518: # Whether the compiler copes with passing no objects directly.
                   21519: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21520: 
                   21521: # Create an old-style archive from a shared archive.
                   21522: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21523: 
                   21524: # Create a temporary old-style archive to link instead of a shared archive.
                   21525: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21526: 
                   21527: # Commands used to build a shared archive.
                   21528: archive_cmds=$lt_archive_cmds_CXX
                   21529: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21530: 
                   21531: # Commands used to build a loadable module if different from building
                   21532: # a shared archive.
                   21533: module_cmds=$lt_module_cmds_CXX
                   21534: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21535: 
                   21536: # Whether we are building with GNU ld or not.
                   21537: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21538: 
                   21539: # Flag that allows shared libraries with undefined symbols to be built.
                   21540: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21541: 
                   21542: # Flag that enforces no undefined symbols.
                   21543: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21544: 
                   21545: # Flag to hardcode \$libdir into a binary during linking.
                   21546: # This must work even if \$libdir does not exist
                   21547: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21548: 
                   21549: # Whether we need a single "-rpath" flag with a separated argument.
                   21550: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21551: 
                   21552: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21553: # DIR into the resulting binary.
                   21554: hardcode_direct=$hardcode_direct_CXX
                   21555: 
                   21556: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21557: # DIR into the resulting binary and the resulting library dependency is
                   21558: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21559: # library is relocated.
                   21560: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21561: 
                   21562: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21563: # into the resulting binary.
                   21564: hardcode_minus_L=$hardcode_minus_L_CXX
                   21565: 
                   21566: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21567: # into the resulting binary.
                   21568: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21569: 
                   21570: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21571: # into the library and all subsequent libraries and executables linked
                   21572: # against it.
                   21573: hardcode_automatic=$hardcode_automatic_CXX
                   21574: 
                   21575: # Set to yes if linker adds runtime paths of dependent libraries
                   21576: # to runtime path list.
                   21577: inherit_rpath=$inherit_rpath_CXX
                   21578: 
                   21579: # Whether libtool must link a program against all its dependency libraries.
                   21580: link_all_deplibs=$link_all_deplibs_CXX
                   21581: 
                   21582: # Set to "yes" if exported symbols are required.
                   21583: always_export_symbols=$always_export_symbols_CXX
                   21584: 
                   21585: # The commands to list exported symbols.
                   21586: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21587: 
                   21588: # Symbols that should not be listed in the preloaded symbols.
                   21589: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21590: 
                   21591: # Symbols that must always be exported.
                   21592: include_expsyms=$lt_include_expsyms_CXX
                   21593: 
                   21594: # Commands necessary for linking programs (against libraries) with templates.
                   21595: prelink_cmds=$lt_prelink_cmds_CXX
                   21596: 
                   21597: # Commands necessary for finishing linking programs.
                   21598: postlink_cmds=$lt_postlink_cmds_CXX
                   21599: 
                   21600: # Specify filename containing input files.
                   21601: file_list_spec=$lt_file_list_spec_CXX
                   21602: 
                   21603: # How to hardcode a shared library path into an executable.
                   21604: hardcode_action=$hardcode_action_CXX
                   21605: 
                   21606: # The directories searched by this compiler when creating a shared library.
                   21607: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21608: 
                   21609: # Dependencies to place before and after the objects being linked to
                   21610: # create a shared library.
                   21611: predep_objects=$lt_predep_objects_CXX
                   21612: postdep_objects=$lt_postdep_objects_CXX
                   21613: predeps=$lt_predeps_CXX
                   21614: postdeps=$lt_postdeps_CXX
                   21615: 
                   21616: # The library search path used internally by the compiler when linking
                   21617: # a shared library.
                   21618: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21619: 
                   21620: # ### END LIBTOOL TAG CONFIG: CXX
                   21621: _LT_EOF
                   21622: 
                   21623:  ;;
1.150     moko     21624: 
1.62      paf      21625:   esac
1.150     moko     21626: done # for ac_tag
1.62      paf      21627: 
                   21628: 
1.150     moko     21629: as_fn_exit 0
1.62      paf      21630: _ACEOF
                   21631: ac_clean_files=$ac_clean_files_save
                   21632: 
1.150     moko     21633: test $ac_write_fail = 0 ||
                   21634:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21635: 
1.1       paf      21636: 
1.62      paf      21637: # configure is writing to config.log, and then calls config.status.
                   21638: # config.status does its own redirection, appending to config.log.
                   21639: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21640: # by configure, so config.status won't be able to write to it; its
                   21641: # output is simply discarded.  So we exec the FD to /dev/null,
                   21642: # effectively closing config.log, so it can be properly (re)opened and
                   21643: # appended to by config.status.  When coming back to configure, we
                   21644: # need to make the FD available again.
                   21645: if test "$no_create" != yes; then
                   21646:   ac_cs_success=:
                   21647:   ac_config_status_args=
                   21648:   test "$silent" = yes &&
                   21649:     ac_config_status_args="$ac_config_status_args --quiet"
                   21650:   exec 5>/dev/null
                   21651:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21652:   exec 5>>config.log
                   21653:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21654:   # would make configure fail if this is the last instruction.
1.150     moko     21655:   $ac_cs_success || as_fn_exit 1
1.62      paf      21656: fi
                   21657: 
                   21658: #
                   21659: # CONFIG_SUBDIRS section.
                   21660: #
1.1       paf      21661: if test "$no_recursion" != yes; then
                   21662: 
1.150     moko     21663:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21664:   # so they do not pile up.
1.1       paf      21665:   ac_sub_configure_args=
                   21666:   ac_prev=
1.150     moko     21667:   eval "set x $ac_configure_args"
                   21668:   shift
                   21669:   for ac_arg
                   21670:   do
1.1       paf      21671:     if test -n "$ac_prev"; then
                   21672:       ac_prev=
                   21673:       continue
                   21674:     fi
1.62      paf      21675:     case $ac_arg in
1.1       paf      21676:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21677:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21678:       ac_prev=cache_file ;;
                   21679:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21680:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21681:     | --c=*)
                   21682:       ;;
                   21683:     --config-cache | -C)
1.1       paf      21684:       ;;
                   21685:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21686:       ac_prev=srcdir ;;
                   21687:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21688:       ;;
1.62      paf      21689:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21690:       ac_prev=prefix ;;
                   21691:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21692:       ;;
1.150     moko     21693:     --disable-option-checking)
                   21694:       ;;
                   21695:     *)
                   21696:       case $ac_arg in
                   21697:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21698:       esac
                   21699:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21700:     esac
                   21701:   done
                   21702: 
1.62      paf      21703:   # Always prepend --prefix to ensure using the same prefix
                   21704:   # in subdir configurations.
1.150     moko     21705:   ac_arg="--prefix=$prefix"
                   21706:   case $ac_arg in
                   21707:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21708:   esac
                   21709:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21710: 
                   21711:   # Pass --silent
                   21712:   if test "$silent" = yes; then
                   21713:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21714:   fi
                   21715: 
                   21716:   # Always prepend --disable-option-checking to silence warnings, since
                   21717:   # different subdirs can have different --enable and --with options.
                   21718:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21719: 
                   21720:   ac_popdir=`pwd`
                   21721:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21722: 
                   21723:     # Do not complain, so a configure script can configure whichever
                   21724:     # parts of a large source tree are present.
1.150     moko     21725:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21726: 
1.150     moko     21727:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21728:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21729:     $as_echo "$ac_msg" >&6
                   21730:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21731:     ac_builddir=.
                   21732: 
1.150     moko     21733: case "$ac_dir" in
                   21734: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21735: *)
                   21736:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21737:   # A ".." for each directory in $ac_dir_suffix.
                   21738:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21739:   case $ac_top_builddir_sub in
                   21740:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21741:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21742:   esac ;;
                   21743: esac
                   21744: ac_abs_top_builddir=$ac_pwd
                   21745: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21746: # for backward compatibility:
                   21747: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21748: 
                   21749: case $srcdir in
1.150     moko     21750:   .)  # We are building in place.
1.62      paf      21751:     ac_srcdir=.
1.150     moko     21752:     ac_top_srcdir=$ac_top_builddir_sub
                   21753:     ac_abs_top_srcdir=$ac_pwd ;;
                   21754:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21755:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21756:     ac_top_srcdir=$srcdir
                   21757:     ac_abs_top_srcdir=$srcdir ;;
                   21758:   *) # Relative name.
                   21759:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21760:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21761:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21762: esac
1.150     moko     21763: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21764: 
                   21765: 
1.150     moko     21766:     cd "$ac_dir"
1.1       paf      21767: 
                   21768:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21769:     if test -f "$ac_srcdir/configure.gnu"; then
                   21770:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21771:     elif test -f "$ac_srcdir/configure"; then
                   21772:       ac_sub_configure=$ac_srcdir/configure
                   21773:     elif test -f "$ac_srcdir/configure.in"; then
                   21774:       # This should be Cygnus configure.
                   21775:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21776:     else
1.150     moko     21777:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21778: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21779:       ac_sub_configure=
                   21780:     fi
                   21781: 
                   21782:     # The recursion is here.
                   21783:     if test -n "$ac_sub_configure"; then
                   21784:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21785:       case $cache_file in
                   21786:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21787:       *) # Relative name.
                   21788:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21789:       esac
                   21790: 
1.150     moko     21791:       { $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
                   21792: $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      21793:       # The eval makes quoting arguments work.
1.150     moko     21794:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21795:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21796:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21797:     fi
                   21798: 
1.150     moko     21799:     cd "$ac_popdir"
1.1       paf      21800:   done
                   21801: fi
1.150     moko     21802: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21803:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21804: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21805: fi
1.1       paf      21806: 

E-mail: