Annotation of parser3/configure, revision 1.232

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.230     moko        3: # Generated by GNU Autoconf 2.69 for parser 3.5.2b.
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.230     moko      594: PACKAGE_VERSION='3.5.2b'
                    595: PACKAGE_STRING='parser 3.5.2b'
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
1.232   ! moko      691: AMQP_LIBS
        !           692: AMQP_INCLUDES
1.150     moko      693: MIME_LIBS
                    694: MIME_INCLUDES
                    695: XML_LIBS
                    696: XML_INCLUDES
                    697: PCRE_LIBS
                    698: PCRE_INCLUDES
                    699: GC_LIBS
                    700: dll_extension
                    701: am__fastdepCC_FALSE
                    702: am__fastdepCC_TRUE
                    703: CCDEPMODE
                    704: ac_ct_CC
                    705: CFLAGS
                    706: CC
                    707: am__fastdepCXX_FALSE
                    708: am__fastdepCXX_TRUE
                    709: CXXDEPMODE
1.187     moko      710: am__nodep
1.150     moko      711: AMDEPBACKSLASH
                    712: AMDEP_FALSE
                    713: AMDEP_TRUE
                    714: am__include
                    715: DEPDIR
                    716: OBJEXT
                    717: EXEEXT
                    718: ac_ct_CXX
                    719: CPPFLAGS
                    720: LDFLAGS
                    721: CXXFLAGS
                    722: CXX
                    723: YFLAGS
                    724: YACC
                    725: host_os
                    726: host_vendor
                    727: host_cpu
                    728: host
                    729: build_os
                    730: build_vendor
                    731: build_cpu
                    732: build
                    733: P3S
1.187     moko      734: AM_BACKSLASH
                    735: AM_DEFAULT_VERBOSITY
                    736: AM_DEFAULT_V
                    737: AM_V
1.150     moko      738: am__untar
                    739: am__tar
                    740: AMTAR
                    741: am__leading_dot
                    742: SET_MAKE
                    743: AWK
                    744: mkdir_p
                    745: MKDIR_P
                    746: INSTALL_STRIP_PROGRAM
                    747: STRIP
                    748: install_sh
                    749: MAKEINFO
                    750: AUTOHEADER
                    751: AUTOMAKE
                    752: AUTOCONF
                    753: ACLOCAL
                    754: VERSION
                    755: PACKAGE
                    756: CYGPATH_W
                    757: am__isrc
                    758: INSTALL_DATA
                    759: INSTALL_SCRIPT
                    760: INSTALL_PROGRAM
                    761: target_alias
                    762: host_alias
                    763: build_alias
                    764: LIBS
                    765: ECHO_T
                    766: ECHO_N
                    767: ECHO_C
                    768: DEFS
                    769: mandir
                    770: localedir
                    771: libdir
                    772: psdir
                    773: pdfdir
                    774: dvidir
                    775: htmldir
                    776: infodir
                    777: docdir
                    778: oldincludedir
                    779: includedir
1.191     moko      780: runstatedir
1.150     moko      781: localstatedir
                    782: sharedstatedir
                    783: sysconfdir
                    784: datadir
                    785: datarootdir
                    786: libexecdir
                    787: sbindir
                    788: bindir
                    789: program_transform_name
                    790: prefix
                    791: exec_prefix
                    792: PACKAGE_URL
                    793: PACKAGE_BUGREPORT
                    794: PACKAGE_STRING
                    795: PACKAGE_VERSION
                    796: PACKAGE_TARNAME
                    797: PACKAGE_NAME
                    798: PATH_SEPARATOR
1.199     moko      799: SHELL
                    800: am__quote'
1.62      paf       801: ac_subst_files=''
1.150     moko      802: ac_user_opts='
                    803: enable_option_checking
1.187     moko      804: enable_silent_rules
1.150     moko      805: enable_dependency_tracking
                    806: with_build_warnings
1.182     moko      807: with_coverage
                    808: with_profiler
1.150     moko      809: with_assertions
                    810: with_sjlj_exceptions
1.203     moko      811: with_system_cfg
1.150     moko      812: enable_safe_mode
                    813: enable_execs
                    814: enable_stringstream
                    815: with_gc
                    816: with_pcre
                    817: with_xml
1.154     moko      818: with_mailreceive
1.232   ! moko      819: with_amqp
1.150     moko      820: with_sendmail
                    821: with_apache
                    822: with_pic
                    823: enable_shared
                    824: enable_static
                    825: enable_fast_install
                    826: with_gnu_ld
                    827: with_sysroot
                    828: enable_libtool_lock
                    829: with_included_ltdl
                    830: with_ltdl_include
                    831: with_ltdl_lib
                    832: enable_ltdl_install
1.171     moko      833: enable_largefile
1.150     moko      834: '
                    835:       ac_precious_vars='build_alias
                    836: host_alias
                    837: target_alias
                    838: YACC
                    839: YFLAGS
                    840: CXX
                    841: CXXFLAGS
                    842: LDFLAGS
                    843: LIBS
                    844: CPPFLAGS
                    845: CCC
                    846: CC
                    847: CFLAGS
                    848: CPP
                    849: CXXCPP'
                    850: ac_subdirs_all='src/lib/ltdl'
1.1       paf       851: 
                    852: # Initialize some variables set by options.
1.62      paf       853: ac_init_help=
                    854: ac_init_version=false
1.150     moko      855: ac_unrecognized_opts=
                    856: ac_unrecognized_sep=
1.1       paf       857: # The variables have the same names as the options, with
                    858: # dashes changed to underlines.
1.62      paf       859: cache_file=/dev/null
1.1       paf       860: exec_prefix=NONE
                    861: no_create=
                    862: no_recursion=
                    863: prefix=NONE
                    864: program_prefix=NONE
                    865: program_suffix=NONE
                    866: program_transform_name=s,x,x,
                    867: silent=
                    868: site=
                    869: srcdir=
                    870: verbose=
                    871: x_includes=NONE
                    872: x_libraries=NONE
1.62      paf       873: 
                    874: # Installation directory options.
                    875: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    876: # and all the variables that are supposed to be based on exec_prefix
                    877: # by default will actually change.
                    878: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      879: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       880: bindir='${exec_prefix}/bin'
                    881: sbindir='${exec_prefix}/sbin'
                    882: libexecdir='${exec_prefix}/libexec'
1.150     moko      883: datarootdir='${prefix}/share'
                    884: datadir='${datarootdir}'
1.1       paf       885: sysconfdir='${prefix}/etc'
                    886: sharedstatedir='${prefix}/com'
                    887: localstatedir='${prefix}/var'
1.191     moko      888: runstatedir='${localstatedir}/run'
1.1       paf       889: includedir='${prefix}/include'
                    890: oldincludedir='/usr/include'
1.150     moko      891: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    892: infodir='${datarootdir}/info'
                    893: htmldir='${docdir}'
                    894: dvidir='${docdir}'
                    895: pdfdir='${docdir}'
                    896: psdir='${docdir}'
                    897: libdir='${exec_prefix}/lib'
                    898: localedir='${datarootdir}/locale'
                    899: mandir='${datarootdir}/man'
1.1       paf       900: 
                    901: ac_prev=
1.150     moko      902: ac_dashdash=
1.1       paf       903: for ac_option
                    904: do
                    905:   # If the previous option needs an argument, assign it.
                    906:   if test -n "$ac_prev"; then
1.150     moko      907:     eval $ac_prev=\$ac_option
1.1       paf       908:     ac_prev=
                    909:     continue
                    910:   fi
                    911: 
1.150     moko      912:   case $ac_option in
                    913:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    914:   *=)   ac_optarg= ;;
                    915:   *)    ac_optarg=yes ;;
                    916:   esac
1.1       paf       917: 
                    918:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    919: 
1.150     moko      920:   case $ac_dashdash$ac_option in
                    921:   --)
                    922:     ac_dashdash=yes ;;
1.1       paf       923: 
                    924:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    925:     ac_prev=bindir ;;
                    926:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       927:     bindir=$ac_optarg ;;
1.1       paf       928: 
                    929:   -build | --build | --buil | --bui | --bu)
1.62      paf       930:     ac_prev=build_alias ;;
1.1       paf       931:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       932:     build_alias=$ac_optarg ;;
1.1       paf       933: 
                    934:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    935:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    936:     ac_prev=cache_file ;;
                    937:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    938:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       939:     cache_file=$ac_optarg ;;
                    940: 
                    941:   --config-cache | -C)
                    942:     cache_file=config.cache ;;
1.1       paf       943: 
1.150     moko      944:   -datadir | --datadir | --datadi | --datad)
1.1       paf       945:     ac_prev=datadir ;;
1.150     moko      946:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       947:     datadir=$ac_optarg ;;
1.1       paf       948: 
1.150     moko      949:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    950:   | --dataroo | --dataro | --datar)
                    951:     ac_prev=datarootdir ;;
                    952:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    953:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    954:     datarootdir=$ac_optarg ;;
                    955: 
1.1       paf       956:   -disable-* | --disable-*)
1.150     moko      957:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       958:     # Reject names that are not valid shell variable names.
1.150     moko      959:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    960:       as_fn_error $? "invalid feature name: $ac_useropt"
                    961:     ac_useropt_orig=$ac_useropt
                    962:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    963:     case $ac_user_opts in
                    964:       *"
                    965: "enable_$ac_useropt"
                    966: "*) ;;
                    967:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    968:         ac_unrecognized_sep=', ';;
                    969:     esac
                    970:     eval enable_$ac_useropt=no ;;
                    971: 
                    972:   -docdir | --docdir | --docdi | --doc | --do)
                    973:     ac_prev=docdir ;;
                    974:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    975:     docdir=$ac_optarg ;;
                    976: 
                    977:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    978:     ac_prev=dvidir ;;
                    979:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    980:     dvidir=$ac_optarg ;;
1.1       paf       981: 
                    982:   -enable-* | --enable-*)
1.150     moko      983:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       984:     # Reject names that are not valid shell variable names.
1.150     moko      985:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    986:       as_fn_error $? "invalid feature name: $ac_useropt"
                    987:     ac_useropt_orig=$ac_useropt
                    988:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    989:     case $ac_user_opts in
                    990:       *"
                    991: "enable_$ac_useropt"
                    992: "*) ;;
                    993:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    994:         ac_unrecognized_sep=', ';;
1.1       paf       995:     esac
1.150     moko      996:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       997: 
                    998:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    999:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1000:   | --exec | --exe | --ex)
                   1001:     ac_prev=exec_prefix ;;
                   1002:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1003:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1004:   | --exec=* | --exe=* | --ex=*)
1.62      paf      1005:     exec_prefix=$ac_optarg ;;
1.1       paf      1006: 
                   1007:   -gas | --gas | --ga | --g)
                   1008:     # Obsolete; use --with-gas.
                   1009:     with_gas=yes ;;
                   1010: 
1.62      paf      1011:   -help | --help | --hel | --he | -h)
                   1012:     ac_init_help=long ;;
                   1013:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1014:     ac_init_help=recursive ;;
                   1015:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1016:     ac_init_help=short ;;
1.1       paf      1017: 
                   1018:   -host | --host | --hos | --ho)
1.62      paf      1019:     ac_prev=host_alias ;;
1.1       paf      1020:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf      1021:     host_alias=$ac_optarg ;;
1.1       paf      1022: 
1.150     moko     1023:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1024:     ac_prev=htmldir ;;
                   1025:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1026:   | --ht=*)
                   1027:     htmldir=$ac_optarg ;;
                   1028: 
1.1       paf      1029:   -includedir | --includedir | --includedi | --included | --include \
                   1030:   | --includ | --inclu | --incl | --inc)
                   1031:     ac_prev=includedir ;;
                   1032:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1033:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf      1034:     includedir=$ac_optarg ;;
1.1       paf      1035: 
                   1036:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1037:     ac_prev=infodir ;;
                   1038:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1039:     infodir=$ac_optarg ;;
1.1       paf      1040: 
                   1041:   -libdir | --libdir | --libdi | --libd)
                   1042:     ac_prev=libdir ;;
                   1043:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1044:     libdir=$ac_optarg ;;
1.1       paf      1045: 
                   1046:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1047:   | --libexe | --libex | --libe)
                   1048:     ac_prev=libexecdir ;;
                   1049:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1050:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1051:     libexecdir=$ac_optarg ;;
1.1       paf      1052: 
1.150     moko     1053:   -localedir | --localedir | --localedi | --localed | --locale)
                   1054:     ac_prev=localedir ;;
                   1055:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1056:     localedir=$ac_optarg ;;
                   1057: 
1.1       paf      1058:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1059:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1060:     ac_prev=localstatedir ;;
                   1061:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1062:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1063:     localstatedir=$ac_optarg ;;
1.1       paf      1064: 
                   1065:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1066:     ac_prev=mandir ;;
                   1067:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1068:     mandir=$ac_optarg ;;
1.1       paf      1069: 
                   1070:   -nfp | --nfp | --nf)
                   1071:     # Obsolete; use --without-fp.
                   1072:     with_fp=no ;;
                   1073: 
                   1074:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1075:   | --no-cr | --no-c | -n)
1.1       paf      1076:     no_create=yes ;;
                   1077: 
                   1078:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1079:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1080:     no_recursion=yes ;;
                   1081: 
                   1082:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1083:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1084:   | --oldin | --oldi | --old | --ol | --o)
                   1085:     ac_prev=oldincludedir ;;
                   1086:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1087:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1088:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1089:     oldincludedir=$ac_optarg ;;
1.1       paf      1090: 
                   1091:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1092:     ac_prev=prefix ;;
                   1093:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1094:     prefix=$ac_optarg ;;
1.1       paf      1095: 
                   1096:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1097:   | --program-pre | --program-pr | --program-p)
                   1098:     ac_prev=program_prefix ;;
                   1099:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1100:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1101:     program_prefix=$ac_optarg ;;
1.1       paf      1102: 
                   1103:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1104:   | --program-suf | --program-su | --program-s)
                   1105:     ac_prev=program_suffix ;;
                   1106:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1107:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1108:     program_suffix=$ac_optarg ;;
1.1       paf      1109: 
                   1110:   -program-transform-name | --program-transform-name \
                   1111:   | --program-transform-nam | --program-transform-na \
                   1112:   | --program-transform-n | --program-transform- \
                   1113:   | --program-transform | --program-transfor \
                   1114:   | --program-transfo | --program-transf \
                   1115:   | --program-trans | --program-tran \
                   1116:   | --progr-tra | --program-tr | --program-t)
                   1117:     ac_prev=program_transform_name ;;
                   1118:   -program-transform-name=* | --program-transform-name=* \
                   1119:   | --program-transform-nam=* | --program-transform-na=* \
                   1120:   | --program-transform-n=* | --program-transform-=* \
                   1121:   | --program-transform=* | --program-transfor=* \
                   1122:   | --program-transfo=* | --program-transf=* \
                   1123:   | --program-trans=* | --program-tran=* \
                   1124:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1125:     program_transform_name=$ac_optarg ;;
1.1       paf      1126: 
1.150     moko     1127:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1128:     ac_prev=pdfdir ;;
                   1129:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1130:     pdfdir=$ac_optarg ;;
                   1131: 
                   1132:   -psdir | --psdir | --psdi | --psd | --ps)
                   1133:     ac_prev=psdir ;;
                   1134:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1135:     psdir=$ac_optarg ;;
                   1136: 
1.1       paf      1137:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1138:   | -silent | --silent | --silen | --sile | --sil)
                   1139:     silent=yes ;;
                   1140: 
1.191     moko     1141:   -runstatedir | --runstatedir | --runstatedi | --runstated \
                   1142:   | --runstate | --runstat | --runsta | --runst | --runs \
                   1143:   | --run | --ru | --r)
                   1144:     ac_prev=runstatedir ;;
                   1145:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
                   1146:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
                   1147:   | --run=* | --ru=* | --r=*)
                   1148:     runstatedir=$ac_optarg ;;
                   1149: 
1.1       paf      1150:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1151:     ac_prev=sbindir ;;
                   1152:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1153:   | --sbi=* | --sb=*)
1.62      paf      1154:     sbindir=$ac_optarg ;;
1.1       paf      1155: 
                   1156:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1157:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1158:   | --sharedst | --shareds | --shared | --share | --shar \
                   1159:   | --sha | --sh)
                   1160:     ac_prev=sharedstatedir ;;
                   1161:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1162:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1163:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1164:   | --sha=* | --sh=*)
1.62      paf      1165:     sharedstatedir=$ac_optarg ;;
1.1       paf      1166: 
                   1167:   -site | --site | --sit)
                   1168:     ac_prev=site ;;
                   1169:   -site=* | --site=* | --sit=*)
1.62      paf      1170:     site=$ac_optarg ;;
1.1       paf      1171: 
                   1172:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1173:     ac_prev=srcdir ;;
                   1174:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1175:     srcdir=$ac_optarg ;;
1.1       paf      1176: 
                   1177:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1178:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1179:     ac_prev=sysconfdir ;;
                   1180:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1181:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1182:     sysconfdir=$ac_optarg ;;
1.1       paf      1183: 
                   1184:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1185:     ac_prev=target_alias ;;
1.1       paf      1186:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1187:     target_alias=$ac_optarg ;;
1.1       paf      1188: 
                   1189:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1190:     verbose=yes ;;
                   1191: 
1.62      paf      1192:   -version | --version | --versio | --versi | --vers | -V)
                   1193:     ac_init_version=: ;;
1.1       paf      1194: 
                   1195:   -with-* | --with-*)
1.150     moko     1196:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1197:     # Reject names that are not valid shell variable names.
1.150     moko     1198:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1199:       as_fn_error $? "invalid package name: $ac_useropt"
                   1200:     ac_useropt_orig=$ac_useropt
                   1201:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1202:     case $ac_user_opts in
                   1203:       *"
                   1204: "with_$ac_useropt"
                   1205: "*) ;;
                   1206:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1207:         ac_unrecognized_sep=', ';;
1.1       paf      1208:     esac
1.150     moko     1209:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1210: 
                   1211:   -without-* | --without-*)
1.150     moko     1212:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1213:     # Reject names that are not valid shell variable names.
1.150     moko     1214:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1215:       as_fn_error $? "invalid package name: $ac_useropt"
                   1216:     ac_useropt_orig=$ac_useropt
                   1217:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1218:     case $ac_user_opts in
                   1219:       *"
                   1220: "with_$ac_useropt"
                   1221: "*) ;;
                   1222:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1223:         ac_unrecognized_sep=', ';;
                   1224:     esac
                   1225:     eval with_$ac_useropt=no ;;
1.1       paf      1226: 
                   1227:   --x)
                   1228:     # Obsolete; use --with-x.
                   1229:     with_x=yes ;;
                   1230: 
                   1231:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1232:   | --x-incl | --x-inc | --x-in | --x-i)
                   1233:     ac_prev=x_includes ;;
                   1234:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1235:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1236:     x_includes=$ac_optarg ;;
1.1       paf      1237: 
                   1238:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1239:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1240:     ac_prev=x_libraries ;;
                   1241:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1242:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1243:     x_libraries=$ac_optarg ;;
1.1       paf      1244: 
1.150     moko     1245:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1246: Try \`$0 --help' for more information"
1.1       paf      1247:     ;;
                   1248: 
1.62      paf      1249:   *=*)
                   1250:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1251:     # Reject names that are not valid shell variable names.
1.150     moko     1252:     case $ac_envvar in #(
                   1253:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1254:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1255:     esac
                   1256:     eval $ac_envvar=\$ac_optarg
1.62      paf      1257:     export $ac_envvar ;;
                   1258: 
1.1       paf      1259:   *)
1.62      paf      1260:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1261:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1262:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1263:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1264:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1265:     ;;
                   1266: 
                   1267:   esac
                   1268: done
                   1269: 
                   1270: if test -n "$ac_prev"; then
1.62      paf      1271:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1272:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1273: fi
                   1274: 
1.150     moko     1275: if test -n "$ac_unrecognized_opts"; then
                   1276:   case $enable_option_checking in
                   1277:     no) ;;
                   1278:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1279:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1280:   esac
                   1281: fi
                   1282: 
                   1283: # Check all directory arguments for consistency.
                   1284: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1285:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1286:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.191     moko     1287:                libdir localedir mandir runstatedir
1.62      paf      1288: do
1.150     moko     1289:   eval ac_val=\$$ac_var
                   1290:   # Remove trailing slashes.
1.62      paf      1291:   case $ac_val in
1.150     moko     1292:     */ )
                   1293:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1294:       eval $ac_var=\$ac_val;;
1.62      paf      1295:   esac
1.150     moko     1296:   # Be sure to have absolute directory names.
1.62      paf      1297:   case $ac_val in
1.150     moko     1298:     [\\/$]* | ?:[\\/]* )  continue;;
                   1299:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1300:   esac
1.150     moko     1301:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1302: done
                   1303: 
1.62      paf      1304: # There might be people who depend on the old broken behavior: `$host'
                   1305: # used to hold the argument of --host etc.
                   1306: # FIXME: To remove some day.
                   1307: build=$build_alias
                   1308: host=$host_alias
                   1309: target=$target_alias
                   1310: 
                   1311: # FIXME: To remove some day.
                   1312: if test "x$host_alias" != x; then
                   1313:   if test "x$build_alias" = x; then
                   1314:     cross_compiling=maybe
                   1315:   elif test "x$build_alias" != "x$host_alias"; then
                   1316:     cross_compiling=yes
                   1317:   fi
                   1318: fi
                   1319: 
                   1320: ac_tool_prefix=
                   1321: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1322: 
1.62      paf      1323: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1324: 
                   1325: 
1.150     moko     1326: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1327: ac_ls_di=`ls -di .` &&
                   1328: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1329:   as_fn_error $? "working directory cannot be determined"
                   1330: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1331:   as_fn_error $? "pwd does not report name of working directory"
                   1332: 
                   1333: 
1.1       paf      1334: # Find the source files, if location was not specified.
                   1335: if test -z "$srcdir"; then
                   1336:   ac_srcdir_defaulted=yes
1.150     moko     1337:   # Try the directory containing this script, then the parent directory.
                   1338:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1339: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1340:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1341:         X"$as_myself" : 'X\(//\)$' \| \
                   1342:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1343: $as_echo X"$as_myself" |
                   1344:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1345:            s//\1/
                   1346:            q
                   1347:          }
                   1348:          /^X\(\/\/\)[^/].*/{
                   1349:            s//\1/
                   1350:            q
                   1351:          }
                   1352:          /^X\(\/\/\)$/{
                   1353:            s//\1/
                   1354:            q
                   1355:          }
                   1356:          /^X\(\/\).*/{
                   1357:            s//\1/
                   1358:            q
                   1359:          }
                   1360:          s/.*/./; q'`
1.1       paf      1361:   srcdir=$ac_confdir
1.150     moko     1362:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1363:     srcdir=..
                   1364:   fi
                   1365: else
                   1366:   ac_srcdir_defaulted=no
                   1367: fi
1.150     moko     1368: if test ! -r "$srcdir/$ac_unique_file"; then
                   1369:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1370:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1371: fi
                   1372: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1373: ac_abs_confdir=`(
                   1374:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1375:        pwd)`
                   1376: # When building in place, set srcdir=.
                   1377: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1378:   srcdir=.
                   1379: fi
                   1380: # Remove unnecessary trailing slashes from srcdir.
                   1381: # Double slashes in file names in object file debugging info
                   1382: # mess up M-x gdb in Emacs.
                   1383: case $srcdir in
                   1384: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1385: esac
                   1386: for ac_var in $ac_precious_vars; do
                   1387:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1388:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1389:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1390:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1391: done
1.62      paf      1392: 
                   1393: #
                   1394: # Report the --help message.
                   1395: #
                   1396: if test "$ac_init_help" = "long"; then
                   1397:   # Omit some internal or obsolete options to make the list less imposing.
                   1398:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1399:   cat <<_ACEOF
1.230     moko     1400: \`configure' configures parser 3.5.2b to adapt to many kinds of systems.
1.62      paf      1401: 
                   1402: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1403: 
                   1404: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1405: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1406: 
                   1407: Defaults for the options are specified in brackets.
                   1408: 
                   1409: Configuration:
                   1410:   -h, --help              display this help and exit
                   1411:       --help=short        display options specific to this package
                   1412:       --help=recursive    display the short help of all the included packages
                   1413:   -V, --version           display version information and exit
1.150     moko     1414:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1415:       --cache-file=FILE   cache test results in FILE [disabled]
                   1416:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1417:   -n, --no-create         do not create output files
                   1418:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1419: 
                   1420: Installation directories:
                   1421:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1422:                           [$ac_default_prefix]
1.62      paf      1423:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1424:                           [PREFIX]
1.62      paf      1425: 
                   1426: By default, \`make install' will install all the files in
                   1427: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1428: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1429: for instance \`--prefix=\$HOME'.
                   1430: 
                   1431: For better control, use the options below.
                   1432: 
                   1433: Fine tuning of the installation directories:
1.150     moko     1434:   --bindir=DIR            user executables [EPREFIX/bin]
                   1435:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1436:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1437:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1438:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1439:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.191     moko     1440:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.150     moko     1441:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1442:   --includedir=DIR        C header files [PREFIX/include]
                   1443:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1444:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1445:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1446:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1447:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1448:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1449:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1450:   --htmldir=DIR           html documentation [DOCDIR]
                   1451:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1452:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1453:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1454: _ACEOF
                   1455: 
                   1456:   cat <<\_ACEOF
                   1457: 
                   1458: Program names:
                   1459:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1460:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1461:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1462: 
                   1463: System types:
                   1464:   --build=BUILD     configure for building on BUILD [guessed]
                   1465:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1466: _ACEOF
                   1467: fi
                   1468: 
                   1469: if test -n "$ac_init_help"; then
1.128     moko     1470:   case $ac_init_help in
1.230     moko     1471:      short | recursive ) echo "Configuration of parser 3.5.2b:";;
1.128     moko     1472:    esac
1.62      paf      1473:   cat <<\_ACEOF
                   1474: 
                   1475: Optional Features:
1.150     moko     1476:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1477:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1478:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.187     moko     1479:   --enable-silent-rules   less verbose build output (undo: "make V=1")
                   1480:   --disable-silent-rules  verbose build output (undo: "make V=0")
                   1481:   --enable-dependency-tracking
                   1482:                           do not reject slow dependency extractors
                   1483:   --disable-dependency-tracking
                   1484:                           speeds up one-time build
1.67      paf      1485:   --disable-safe-mode    to enable reading and executing
1.62      paf      1486:                           files belonging to group+user other then effective
1.146     moko     1487:   --disable-execs        to disable any execs
1.62      paf      1488:                           (file::exec, file::cgi, unix mail:send)
1.195     moko     1489:   --disable-stringstream to disable stringstream usage.
                   1490:                           when disabled table.save uses more memory, but more compilers are supported
1.150     moko     1491:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1492:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1493:   --enable-fast-install[=PKGS]
                   1494:                           optimize for fast installation [default=yes]
                   1495:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1496:   --enable-ltdl-install   install libltdl
1.171     moko     1497:   --disable-largefile     omit support for large files
1.62      paf      1498: 
                   1499: Optional Packages:
                   1500:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1501:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1502:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.185     moko     1503:   --with-coverage         to enable gcov code coverage support
                   1504:   --with-profiler         to enable gprof code profiler support
1.67      paf      1505:   --with-assertions       to enable assertions
1.201     moko     1506:   --with-sjlj-exceptions  to enable simple 'throw' from dynamic library
                   1507:   --with-system-cfg=FILE  to specify system-wide auto.p
                   1508:   --with-gc=DIR           DIR is the directory where
1.142     moko     1509:                           Boehm garbage collecting library is installed
1.201     moko     1510:   --with-pcre=DIR         DIR is the directory where
1.142     moko     1511:                           PCRE library is installed
1.201     moko     1512:   --with-xml=DIR          DIR is the directory where
1.142     moko     1513:                           Gnome XML libraries are installed
1.201     moko     1514:   --with-mailreceive=DIR  is the directory where
1.154     moko     1515:                           Gnome MIME library is installed
1.232   ! moko     1516:   --with-amqp=DIR         DIR is the directory where
        !          1517:                           RabbitMQ C library (librabbitmq) is installed
1.62      paf      1518:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1519:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1520:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1521:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1522:                           builds apache DSO module using apxs
1.150     moko     1523:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1524:                           both]
                   1525:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1526:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1527:                         (or the compiler's sysroot if not specified).
                   1528:   --with-included-ltdl    use the GNU ltdl sources included here
                   1529:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1530:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1531: 
                   1532: Some influential environment variables:
1.150     moko     1533:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1534:               Defaults to the first program found out of: `bison -y', `byacc',
                   1535:               `yacc'.
                   1536:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1537:               This script will default YFLAGS to the empty string to avoid a
                   1538:               default value of `-d' given by some make applications.
1.66      paf      1539:   CXX         C++ compiler command
                   1540:   CXXFLAGS    C++ compiler flags
1.62      paf      1541:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1542:               nonstandard directory <lib dir>
1.150     moko     1543:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1544:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1545:               you have headers in a nonstandard directory <include dir>
1.66      paf      1546:   CC          C compiler command
                   1547:   CFLAGS      C compiler flags
                   1548:   CPP         C preprocessor
1.128     moko     1549:   CXXCPP      C++ preprocessor
1.62      paf      1550: 
                   1551: Use these variables to override the choices made by `configure' or to help
                   1552: it to find libraries and programs with nonstandard names/locations.
                   1553: 
1.150     moko     1554: Report bugs to the package provider.
1.62      paf      1555: _ACEOF
1.150     moko     1556: ac_status=$?
1.62      paf      1557: fi
                   1558: 
                   1559: if test "$ac_init_help" = "recursive"; then
                   1560:   # If there are subdirs, report their specific --help.
                   1561:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1562:     test -d "$ac_dir" ||
                   1563:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1564:       continue
1.62      paf      1565:     ac_builddir=.
                   1566: 
1.150     moko     1567: case "$ac_dir" in
                   1568: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1569: *)
                   1570:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1571:   # A ".." for each directory in $ac_dir_suffix.
                   1572:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1573:   case $ac_top_builddir_sub in
                   1574:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1575:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1576:   esac ;;
                   1577: esac
                   1578: ac_abs_top_builddir=$ac_pwd
                   1579: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1580: # for backward compatibility:
                   1581: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1582: 
                   1583: case $srcdir in
1.150     moko     1584:   .)  # We are building in place.
1.62      paf      1585:     ac_srcdir=.
1.150     moko     1586:     ac_top_srcdir=$ac_top_builddir_sub
                   1587:     ac_abs_top_srcdir=$ac_pwd ;;
                   1588:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1589:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1590:     ac_top_srcdir=$srcdir
                   1591:     ac_abs_top_srcdir=$srcdir ;;
                   1592:   *) # Relative name.
                   1593:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1594:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1595:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1596: esac
1.150     moko     1597: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1598: 
1.150     moko     1599:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1600:     # Check for guested configure.
                   1601:     if test -f "$ac_srcdir/configure.gnu"; then
                   1602:       echo &&
                   1603:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1604:     elif test -f "$ac_srcdir/configure"; then
                   1605:       echo &&
                   1606:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1607:     else
1.150     moko     1608:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1609:     fi || ac_status=$?
                   1610:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1611:   done
                   1612: fi
                   1613: 
1.150     moko     1614: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1615: if $ac_init_version; then
                   1616:   cat <<\_ACEOF
1.230     moko     1617: parser configure 3.5.2b
1.166     moko     1618: generated by GNU Autoconf 2.69
1.62      paf      1619: 
1.166     moko     1620: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      1621: This configure script is free software; the Free Software Foundation
                   1622: gives unlimited permission to copy, distribute and modify it.
                   1623: _ACEOF
1.150     moko     1624:   exit
1.62      paf      1625: fi
                   1626: 
1.150     moko     1627: ## ------------------------ ##
                   1628: ## Autoconf initialization. ##
                   1629: ## ------------------------ ##
                   1630: 
                   1631: # ac_fn_cxx_try_compile LINENO
                   1632: # ----------------------------
                   1633: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1634: ac_fn_cxx_try_compile ()
1.62      paf      1635: {
1.150     moko     1636:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1637:   rm -f conftest.$ac_objext
                   1638:   if { { ac_try="$ac_compile"
                   1639: case "(($ac_try" in
                   1640:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1641:   *) ac_try_echo=$ac_try;;
                   1642: esac
                   1643: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1644: $as_echo "$ac_try_echo"; } >&5
                   1645:   (eval "$ac_compile") 2>conftest.err
                   1646:   ac_status=$?
                   1647:   if test -s conftest.err; then
                   1648:     grep -v '^ *+' conftest.err >conftest.er1
                   1649:     cat conftest.er1 >&5
                   1650:     mv -f conftest.er1 conftest.err
                   1651:   fi
                   1652:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1653:   test $ac_status = 0; } && {
                   1654:         test -z "$ac_cxx_werror_flag" ||
                   1655:         test ! -s conftest.err
                   1656:        } && test -s conftest.$ac_objext; then :
                   1657:   ac_retval=0
                   1658: else
                   1659:   $as_echo "$as_me: failed program was:" >&5
                   1660: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1661: 
1.150     moko     1662:        ac_retval=1
                   1663: fi
                   1664:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1665:   as_fn_set_status $ac_retval
1.62      paf      1666: 
1.150     moko     1667: } # ac_fn_cxx_try_compile
                   1668: 
                   1669: # ac_fn_c_try_compile LINENO
                   1670: # --------------------------
                   1671: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1672: ac_fn_c_try_compile ()
                   1673: {
                   1674:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1675:   rm -f conftest.$ac_objext
                   1676:   if { { ac_try="$ac_compile"
                   1677: case "(($ac_try" in
                   1678:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1679:   *) ac_try_echo=$ac_try;;
                   1680: esac
                   1681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1682: $as_echo "$ac_try_echo"; } >&5
                   1683:   (eval "$ac_compile") 2>conftest.err
                   1684:   ac_status=$?
                   1685:   if test -s conftest.err; then
                   1686:     grep -v '^ *+' conftest.err >conftest.er1
                   1687:     cat conftest.er1 >&5
                   1688:     mv -f conftest.er1 conftest.err
                   1689:   fi
                   1690:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1691:   test $ac_status = 0; } && {
                   1692:         test -z "$ac_c_werror_flag" ||
                   1693:         test ! -s conftest.err
                   1694:        } && test -s conftest.$ac_objext; then :
                   1695:   ac_retval=0
                   1696: else
                   1697:   $as_echo "$as_me: failed program was:" >&5
                   1698: sed 's/^/| /' conftest.$ac_ext >&5
                   1699: 
                   1700:        ac_retval=1
                   1701: fi
                   1702:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1703:   as_fn_set_status $ac_retval
                   1704: 
                   1705: } # ac_fn_c_try_compile
                   1706: 
                   1707: # ac_fn_c_try_link LINENO
                   1708: # -----------------------
                   1709: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1710: ac_fn_c_try_link ()
                   1711: {
                   1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1713:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1714:   if { { ac_try="$ac_link"
                   1715: case "(($ac_try" in
                   1716:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1717:   *) ac_try_echo=$ac_try;;
                   1718: esac
                   1719: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1720: $as_echo "$ac_try_echo"; } >&5
                   1721:   (eval "$ac_link") 2>conftest.err
                   1722:   ac_status=$?
                   1723:   if test -s conftest.err; then
                   1724:     grep -v '^ *+' conftest.err >conftest.er1
                   1725:     cat conftest.er1 >&5
                   1726:     mv -f conftest.er1 conftest.err
                   1727:   fi
                   1728:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1729:   test $ac_status = 0; } && {
                   1730:         test -z "$ac_c_werror_flag" ||
                   1731:         test ! -s conftest.err
                   1732:        } && test -s conftest$ac_exeext && {
                   1733:         test "$cross_compiling" = yes ||
1.166     moko     1734:         test -x conftest$ac_exeext
1.150     moko     1735:        }; then :
                   1736:   ac_retval=0
                   1737: else
                   1738:   $as_echo "$as_me: failed program was:" >&5
                   1739: sed 's/^/| /' conftest.$ac_ext >&5
                   1740: 
                   1741:        ac_retval=1
                   1742: fi
                   1743:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1744:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1745:   # interfere with the next link command; also delete a directory that is
                   1746:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1747:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749:   as_fn_set_status $ac_retval
                   1750: 
                   1751: } # ac_fn_c_try_link
                   1752: 
                   1753: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1754: # -------------------------------------------------------
                   1755: # Tests whether HEADER exists and can be compiled using the include files in
                   1756: # INCLUDES, setting the cache variable VAR accordingly.
                   1757: ac_fn_c_check_header_compile ()
                   1758: {
                   1759:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1760:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1761: $as_echo_n "checking for $2... " >&6; }
                   1762: if eval \${$3+:} false; then :
                   1763:   $as_echo_n "(cached) " >&6
                   1764: else
                   1765:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1766: /* end confdefs.h.  */
                   1767: $4
                   1768: #include <$2>
                   1769: _ACEOF
                   1770: if ac_fn_c_try_compile "$LINENO"; then :
                   1771:   eval "$3=yes"
                   1772: else
                   1773:   eval "$3=no"
                   1774: fi
                   1775: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1776: fi
                   1777: eval ac_res=\$$3
                   1778:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1779: $as_echo "$ac_res" >&6; }
                   1780:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1781: 
                   1782: } # ac_fn_c_check_header_compile
                   1783: 
                   1784: # ac_fn_c_try_cpp LINENO
                   1785: # ----------------------
                   1786: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1787: ac_fn_c_try_cpp ()
                   1788: {
                   1789:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1790:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1791: case "(($ac_try" in
                   1792:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1793:   *) ac_try_echo=$ac_try;;
                   1794: esac
                   1795: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1796: $as_echo "$ac_try_echo"; } >&5
                   1797:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1798:   ac_status=$?
                   1799:   if test -s conftest.err; then
                   1800:     grep -v '^ *+' conftest.err >conftest.er1
                   1801:     cat conftest.er1 >&5
                   1802:     mv -f conftest.er1 conftest.err
                   1803:   fi
                   1804:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1805:   test $ac_status = 0; } > conftest.i && {
                   1806:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1807:         test ! -s conftest.err
                   1808:        }; then :
                   1809:   ac_retval=0
                   1810: else
                   1811:   $as_echo "$as_me: failed program was:" >&5
                   1812: sed 's/^/| /' conftest.$ac_ext >&5
                   1813: 
                   1814:     ac_retval=1
                   1815: fi
                   1816:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1817:   as_fn_set_status $ac_retval
                   1818: 
                   1819: } # ac_fn_c_try_cpp
                   1820: 
                   1821: # ac_fn_c_try_run LINENO
                   1822: # ----------------------
                   1823: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1824: # that executables *can* be run.
                   1825: ac_fn_c_try_run ()
                   1826: {
                   1827:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1828:   if { { ac_try="$ac_link"
                   1829: case "(($ac_try" in
                   1830:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1831:   *) ac_try_echo=$ac_try;;
                   1832: esac
                   1833: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1834: $as_echo "$ac_try_echo"; } >&5
                   1835:   (eval "$ac_link") 2>&5
                   1836:   ac_status=$?
                   1837:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1838:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1839:   { { case "(($ac_try" in
                   1840:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1841:   *) ac_try_echo=$ac_try;;
                   1842: esac
                   1843: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1844: $as_echo "$ac_try_echo"; } >&5
                   1845:   (eval "$ac_try") 2>&5
                   1846:   ac_status=$?
                   1847:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1848:   test $ac_status = 0; }; }; then :
                   1849:   ac_retval=0
                   1850: else
                   1851:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1852:        $as_echo "$as_me: failed program was:" >&5
                   1853: sed 's/^/| /' conftest.$ac_ext >&5
                   1854: 
                   1855:        ac_retval=$ac_status
                   1856: fi
                   1857:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1858:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1859:   as_fn_set_status $ac_retval
                   1860: 
                   1861: } # ac_fn_c_try_run
                   1862: 
                   1863: # ac_fn_c_check_func LINENO FUNC VAR
                   1864: # ----------------------------------
                   1865: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1866: ac_fn_c_check_func ()
                   1867: {
                   1868:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1869:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1870: $as_echo_n "checking for $2... " >&6; }
                   1871: if eval \${$3+:} false; then :
                   1872:   $as_echo_n "(cached) " >&6
                   1873: else
                   1874:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1875: /* end confdefs.h.  */
                   1876: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1877:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1878: #define $2 innocuous_$2
                   1879: 
                   1880: /* System header to define __stub macros and hopefully few prototypes,
                   1881:     which can conflict with char $2 (); below.
                   1882:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1883:     <limits.h> exists even on freestanding compilers.  */
                   1884: 
                   1885: #ifdef __STDC__
                   1886: # include <limits.h>
                   1887: #else
                   1888: # include <assert.h>
                   1889: #endif
                   1890: 
                   1891: #undef $2
                   1892: 
                   1893: /* Override any GCC internal prototype to avoid an error.
                   1894:    Use char because int might match the return type of a GCC
                   1895:    builtin and then its argument prototype would still apply.  */
                   1896: #ifdef __cplusplus
                   1897: extern "C"
                   1898: #endif
                   1899: char $2 ();
                   1900: /* The GNU C library defines this for functions which it implements
                   1901:     to always fail with ENOSYS.  Some functions are actually named
                   1902:     something starting with __ and the normal name is an alias.  */
                   1903: #if defined __stub_$2 || defined __stub___$2
                   1904: choke me
                   1905: #endif
                   1906: 
                   1907: int
                   1908: main ()
                   1909: {
                   1910: return $2 ();
                   1911:   ;
                   1912:   return 0;
                   1913: }
                   1914: _ACEOF
                   1915: if ac_fn_c_try_link "$LINENO"; then :
                   1916:   eval "$3=yes"
                   1917: else
                   1918:   eval "$3=no"
                   1919: fi
                   1920: rm -f core conftest.err conftest.$ac_objext \
                   1921:     conftest$ac_exeext conftest.$ac_ext
                   1922: fi
                   1923: eval ac_res=\$$3
                   1924:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1925: $as_echo "$ac_res" >&6; }
                   1926:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1927: 
                   1928: } # ac_fn_c_check_func
                   1929: 
                   1930: # ac_fn_cxx_try_cpp LINENO
                   1931: # ------------------------
                   1932: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1933: ac_fn_cxx_try_cpp ()
                   1934: {
                   1935:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1936:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1937: case "(($ac_try" in
                   1938:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1939:   *) ac_try_echo=$ac_try;;
                   1940: esac
                   1941: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1942: $as_echo "$ac_try_echo"; } >&5
                   1943:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1944:   ac_status=$?
                   1945:   if test -s conftest.err; then
                   1946:     grep -v '^ *+' conftest.err >conftest.er1
                   1947:     cat conftest.er1 >&5
                   1948:     mv -f conftest.er1 conftest.err
                   1949:   fi
                   1950:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1951:   test $ac_status = 0; } > conftest.i && {
                   1952:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1953:         test ! -s conftest.err
                   1954:        }; then :
                   1955:   ac_retval=0
                   1956: else
                   1957:   $as_echo "$as_me: failed program was:" >&5
                   1958: sed 's/^/| /' conftest.$ac_ext >&5
                   1959: 
                   1960:     ac_retval=1
                   1961: fi
                   1962:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1963:   as_fn_set_status $ac_retval
                   1964: 
                   1965: } # ac_fn_cxx_try_cpp
                   1966: 
                   1967: # ac_fn_cxx_try_link LINENO
                   1968: # -------------------------
                   1969: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1970: ac_fn_cxx_try_link ()
                   1971: {
                   1972:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1973:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1974:   if { { ac_try="$ac_link"
                   1975: case "(($ac_try" in
                   1976:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1977:   *) ac_try_echo=$ac_try;;
                   1978: esac
                   1979: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1980: $as_echo "$ac_try_echo"; } >&5
                   1981:   (eval "$ac_link") 2>conftest.err
                   1982:   ac_status=$?
                   1983:   if test -s conftest.err; then
                   1984:     grep -v '^ *+' conftest.err >conftest.er1
                   1985:     cat conftest.er1 >&5
                   1986:     mv -f conftest.er1 conftest.err
                   1987:   fi
                   1988:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1989:   test $ac_status = 0; } && {
                   1990:         test -z "$ac_cxx_werror_flag" ||
                   1991:         test ! -s conftest.err
                   1992:        } && test -s conftest$ac_exeext && {
                   1993:         test "$cross_compiling" = yes ||
1.166     moko     1994:         test -x conftest$ac_exeext
1.150     moko     1995:        }; then :
                   1996:   ac_retval=0
                   1997: else
                   1998:   $as_echo "$as_me: failed program was:" >&5
                   1999: sed 's/^/| /' conftest.$ac_ext >&5
                   2000: 
                   2001:        ac_retval=1
                   2002: fi
                   2003:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   2004:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2005:   # interfere with the next link command; also delete a directory that is
                   2006:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2007:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2008:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2009:   as_fn_set_status $ac_retval
                   2010: 
                   2011: } # ac_fn_cxx_try_link
                   2012: 
                   2013: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2014: # ---------------------------------------------
                   2015: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2016: # accordingly.
                   2017: ac_fn_c_check_decl ()
                   2018: {
                   2019:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2020:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2021:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2022:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2023: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2024: if eval \${$3+:} false; then :
                   2025:   $as_echo_n "(cached) " >&6
                   2026: else
                   2027:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2028: /* end confdefs.h.  */
                   2029: $4
                   2030: int
                   2031: main ()
                   2032: {
                   2033: #ifndef $as_decl_name
                   2034: #ifdef __cplusplus
                   2035:   (void) $as_decl_use;
                   2036: #else
                   2037:   (void) $as_decl_name;
                   2038: #endif
                   2039: #endif
                   2040: 
                   2041:   ;
                   2042:   return 0;
                   2043: }
                   2044: _ACEOF
                   2045: if ac_fn_c_try_compile "$LINENO"; then :
                   2046:   eval "$3=yes"
                   2047: else
                   2048:   eval "$3=no"
                   2049: fi
                   2050: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2051: fi
                   2052: eval ac_res=\$$3
                   2053:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2054: $as_echo "$ac_res" >&6; }
                   2055:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2056: 
                   2057: } # ac_fn_c_check_decl
                   2058: 
                   2059: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2060: # -------------------------------------------
                   2061: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2062: # variable VAR accordingly.
                   2063: ac_fn_c_check_type ()
                   2064: {
                   2065:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2066:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2067: $as_echo_n "checking for $2... " >&6; }
                   2068: if eval \${$3+:} false; then :
                   2069:   $as_echo_n "(cached) " >&6
                   2070: else
                   2071:   eval "$3=no"
                   2072:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2073: /* end confdefs.h.  */
                   2074: $4
                   2075: int
                   2076: main ()
                   2077: {
                   2078: if (sizeof ($2))
                   2079:         return 0;
                   2080:   ;
                   2081:   return 0;
                   2082: }
                   2083: _ACEOF
                   2084: if ac_fn_c_try_compile "$LINENO"; then :
                   2085:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2086: /* end confdefs.h.  */
                   2087: $4
                   2088: int
                   2089: main ()
                   2090: {
                   2091: if (sizeof (($2)))
                   2092:            return 0;
                   2093:   ;
                   2094:   return 0;
                   2095: }
                   2096: _ACEOF
                   2097: if ac_fn_c_try_compile "$LINENO"; then :
                   2098: 
                   2099: else
                   2100:   eval "$3=yes"
                   2101: fi
                   2102: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2103: fi
                   2104: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2105: fi
                   2106: eval ac_res=\$$3
                   2107:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2108: $as_echo "$ac_res" >&6; }
                   2109:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2110: 
                   2111: } # ac_fn_c_check_type
                   2112: 
1.156     moko     2113: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   2114: # ------------------------------------
                   2115: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   2116: # accordingly.
                   2117: ac_fn_c_find_uintX_t ()
                   2118: {
                   2119:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2120:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   2121: $as_echo_n "checking for uint$2_t... " >&6; }
                   2122: if eval \${$3+:} false; then :
                   2123:   $as_echo_n "(cached) " >&6
                   2124: else
                   2125:   eval "$3=no"
                   2126:      # Order is important - never check a type that is potentially smaller
                   2127:      # than half of the expected target width.
                   2128:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   2129:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   2130:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2131: /* end confdefs.h.  */
                   2132: $ac_includes_default
                   2133: int
                   2134: main ()
                   2135: {
                   2136: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.166     moko     2137: test_array [0] = 0;
                   2138: return test_array [0];
1.156     moko     2139: 
                   2140:   ;
                   2141:   return 0;
                   2142: }
                   2143: _ACEOF
                   2144: if ac_fn_c_try_compile "$LINENO"; then :
                   2145:   case $ac_type in #(
                   2146:   uint$2_t) :
                   2147:     eval "$3=yes" ;; #(
                   2148:   *) :
                   2149:     eval "$3=\$ac_type" ;;
                   2150: esac
                   2151: fi
                   2152: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2153:        if eval test \"x\$"$3"\" = x"no"; then :
                   2154: 
                   2155: else
                   2156:   break
                   2157: fi
                   2158:      done
                   2159: fi
                   2160: eval ac_res=\$$3
                   2161:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2162: $as_echo "$ac_res" >&6; }
                   2163:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2164: 
                   2165: } # ac_fn_c_find_uintX_t
                   2166: 
1.161     moko     2167: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2168: # ----------------------------------------------------
                   2169: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2170: # INCLUDES, setting cache variable VAR accordingly.
                   2171: ac_fn_c_check_member ()
                   2172: {
                   2173:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2174:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2175: $as_echo_n "checking for $2.$3... " >&6; }
                   2176: if eval \${$4+:} false; then :
                   2177:   $as_echo_n "(cached) " >&6
                   2178: else
                   2179:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2180: /* end confdefs.h.  */
                   2181: $5
                   2182: int
                   2183: main ()
                   2184: {
                   2185: static $2 ac_aggr;
                   2186: if (ac_aggr.$3)
                   2187: return 0;
                   2188:   ;
                   2189:   return 0;
                   2190: }
                   2191: _ACEOF
                   2192: if ac_fn_c_try_compile "$LINENO"; then :
                   2193:   eval "$4=yes"
                   2194: else
                   2195:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2196: /* end confdefs.h.  */
                   2197: $5
                   2198: int
                   2199: main ()
                   2200: {
                   2201: static $2 ac_aggr;
                   2202: if (sizeof ac_aggr.$3)
                   2203: return 0;
                   2204:   ;
                   2205:   return 0;
                   2206: }
                   2207: _ACEOF
                   2208: if ac_fn_c_try_compile "$LINENO"; then :
                   2209:   eval "$4=yes"
                   2210: else
                   2211:   eval "$4=no"
                   2212: fi
                   2213: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2214: fi
                   2215: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2216: fi
                   2217: eval ac_res=\$$4
                   2218:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2219: $as_echo "$ac_res" >&6; }
                   2220:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2221: 
                   2222: } # ac_fn_c_check_member
                   2223: 
1.150     moko     2224: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2225: # -------------------------------------------------------
                   2226: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2227: # the include files in INCLUDES and setting the cache variable VAR
                   2228: # accordingly.
                   2229: ac_fn_c_check_header_mongrel ()
                   2230: {
                   2231:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2232:   if eval \${$3+:} false; then :
                   2233:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2234: $as_echo_n "checking for $2... " >&6; }
                   2235: if eval \${$3+:} false; then :
                   2236:   $as_echo_n "(cached) " >&6
                   2237: fi
                   2238: eval ac_res=\$$3
                   2239:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2240: $as_echo "$ac_res" >&6; }
                   2241: else
                   2242:   # Is the header compilable?
                   2243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2244: $as_echo_n "checking $2 usability... " >&6; }
                   2245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2246: /* end confdefs.h.  */
                   2247: $4
                   2248: #include <$2>
                   2249: _ACEOF
                   2250: if ac_fn_c_try_compile "$LINENO"; then :
                   2251:   ac_header_compiler=yes
                   2252: else
                   2253:   ac_header_compiler=no
                   2254: fi
                   2255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2257: $as_echo "$ac_header_compiler" >&6; }
                   2258: 
                   2259: # Is the header present?
                   2260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2261: $as_echo_n "checking $2 presence... " >&6; }
                   2262: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2263: /* end confdefs.h.  */
                   2264: #include <$2>
                   2265: _ACEOF
                   2266: if ac_fn_c_try_cpp "$LINENO"; then :
                   2267:   ac_header_preproc=yes
                   2268: else
                   2269:   ac_header_preproc=no
                   2270: fi
                   2271: rm -f conftest.err conftest.i conftest.$ac_ext
                   2272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2273: $as_echo "$ac_header_preproc" >&6; }
                   2274: 
                   2275: # So?  What about this header?
                   2276: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2277:   yes:no: )
                   2278:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2279: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2280:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2281: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2282:     ;;
                   2283:   no:yes:* )
                   2284:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2285: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2286:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2287: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2288:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2289: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2290:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2291: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2292:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2293: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2294:     ;;
                   2295: esac
                   2296:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2297: $as_echo_n "checking for $2... " >&6; }
                   2298: if eval \${$3+:} false; then :
                   2299:   $as_echo_n "(cached) " >&6
                   2300: else
                   2301:   eval "$3=\$ac_header_compiler"
                   2302: fi
                   2303: eval ac_res=\$$3
                   2304:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2305: $as_echo "$ac_res" >&6; }
                   2306: fi
                   2307:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2308: 
                   2309: } # ac_fn_c_check_header_mongrel
                   2310: cat >config.log <<_ACEOF
                   2311: This file contains any messages produced by compilers while
                   2312: running configure, to aid debugging if configure makes a mistake.
                   2313: 
1.230     moko     2314: It was created by parser $as_me 3.5.2b, which was
1.166     moko     2315: generated by GNU Autoconf 2.69.  Invocation command line was
1.150     moko     2316: 
                   2317:   $ $0 $@
                   2318: 
                   2319: _ACEOF
                   2320: exec 5>>config.log
                   2321: {
                   2322: cat <<_ASUNAME
                   2323: ## --------- ##
                   2324: ## Platform. ##
                   2325: ## --------- ##
                   2326: 
                   2327: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2328: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2329: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2330: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2331: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2332: 
                   2333: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2334: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2335: 
                   2336: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2337: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2338: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2339: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2340: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2341: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2342: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2343: 
                   2344: _ASUNAME
                   2345: 
                   2346: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2347: for as_dir in $PATH
                   2348: do
                   2349:   IFS=$as_save_IFS
                   2350:   test -z "$as_dir" && as_dir=.
1.150     moko     2351:     $as_echo "PATH: $as_dir"
                   2352:   done
                   2353: IFS=$as_save_IFS
1.1       paf      2354: 
1.62      paf      2355: } >&5
                   2356: 
                   2357: cat >&5 <<_ACEOF
                   2358: 
                   2359: 
                   2360: ## ----------- ##
                   2361: ## Core tests. ##
                   2362: ## ----------- ##
                   2363: 
                   2364: _ACEOF
                   2365: 
                   2366: 
                   2367: # Keep a trace of the command line.
                   2368: # Strip out --no-create and --no-recursion so they do not pile up.
                   2369: # Strip out --silent because we don't want to record it for future runs.
                   2370: # Also quote any args containing shell meta-characters.
                   2371: # Make two passes to allow for proper duplicate-argument suppression.
                   2372: ac_configure_args=
                   2373: ac_configure_args0=
                   2374: ac_configure_args1=
                   2375: ac_must_keep_next=false
                   2376: for ac_pass in 1 2
                   2377: do
                   2378:   for ac_arg
                   2379:   do
                   2380:     case $ac_arg in
                   2381:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2382:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2383:     | -silent | --silent | --silen | --sile | --sil)
                   2384:       continue ;;
1.150     moko     2385:     *\'*)
                   2386:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2387:     esac
                   2388:     case $ac_pass in
1.150     moko     2389:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2390:     2)
1.150     moko     2391:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2392:       if test $ac_must_keep_next = true; then
1.86      paf      2393:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2394:       else
1.86      paf      2395:        case $ac_arg in
                   2396:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2397:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2398:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2399:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2400:            case "$ac_configure_args0 " in
                   2401:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2402:            esac
                   2403:            ;;
                   2404:          -* ) ac_must_keep_next=true ;;
                   2405:        esac
1.62      paf      2406:       fi
1.150     moko     2407:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2408:       ;;
                   2409:     esac
                   2410:   done
                   2411: done
1.150     moko     2412: { ac_configure_args0=; unset ac_configure_args0;}
                   2413: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2414: 
                   2415: # When interrupted or exit'd, cleanup temporary files, and complete
                   2416: # config.log.  We remove comments because anyway the quotes in there
                   2417: # would cause problems or look ugly.
1.150     moko     2418: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2419: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2420: trap 'exit_status=$?
                   2421:   # Save into config.log some information that might help in debugging.
                   2422:   {
                   2423:     echo
                   2424: 
1.150     moko     2425:     $as_echo "## ---------------- ##
1.62      paf      2426: ## Cache variables. ##
1.150     moko     2427: ## ---------------- ##"
1.62      paf      2428:     echo
                   2429:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2430: (
                   2431:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2432:     eval ac_val=\$$ac_var
                   2433:     case $ac_val in #(
                   2434:     *${as_nl}*)
                   2435:       case $ac_var in #(
                   2436:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2437: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2438:       esac
                   2439:       case $ac_var in #(
                   2440:       _ | IFS | as_nl) ;; #(
                   2441:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2442:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2443:       esac ;;
                   2444:     esac
                   2445:   done
1.62      paf      2446:   (set) 2>&1 |
1.150     moko     2447:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2448:     *${as_nl}ac_space=\ *)
1.62      paf      2449:       sed -n \
1.150     moko     2450:        "s/'\''/'\''\\\\'\'''\''/g;
                   2451:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2452:       ;; #(
1.62      paf      2453:     *)
1.150     moko     2454:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2455:       ;;
1.150     moko     2456:     esac |
                   2457:     sort
                   2458: )
1.62      paf      2459:     echo
                   2460: 
1.150     moko     2461:     $as_echo "## ----------------- ##
1.62      paf      2462: ## Output variables. ##
1.150     moko     2463: ## ----------------- ##"
1.62      paf      2464:     echo
                   2465:     for ac_var in $ac_subst_vars
                   2466:     do
1.150     moko     2467:       eval ac_val=\$$ac_var
                   2468:       case $ac_val in
                   2469:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2470:       esac
                   2471:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2472:     done | sort
                   2473:     echo
                   2474: 
                   2475:     if test -n "$ac_subst_files"; then
1.150     moko     2476:       $as_echo "## ------------------- ##
                   2477: ## File substitutions. ##
                   2478: ## ------------------- ##"
1.62      paf      2479:       echo
                   2480:       for ac_var in $ac_subst_files
                   2481:       do
1.150     moko     2482:        eval ac_val=\$$ac_var
                   2483:        case $ac_val in
                   2484:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2485:        esac
                   2486:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2487:       done | sort
                   2488:       echo
                   2489:     fi
                   2490: 
                   2491:     if test -s confdefs.h; then
1.150     moko     2492:       $as_echo "## ----------- ##
1.62      paf      2493: ## confdefs.h. ##
1.150     moko     2494: ## ----------- ##"
1.62      paf      2495:       echo
1.150     moko     2496:       cat confdefs.h
1.62      paf      2497:       echo
                   2498:     fi
                   2499:     test "$ac_signal" != 0 &&
1.150     moko     2500:       $as_echo "$as_me: caught signal $ac_signal"
                   2501:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2502:   } >&5
1.150     moko     2503:   rm -f core *.core core.conftest.* &&
                   2504:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2505:     exit $exit_status
1.150     moko     2506: ' 0
1.62      paf      2507: for ac_signal in 1 2 13 15; do
1.150     moko     2508:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2509: done
                   2510: ac_signal=0
                   2511: 
                   2512: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2513: rm -f -r conftest* confdefs.h
                   2514: 
                   2515: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2516: 
                   2517: # Predefined preprocessor variables.
                   2518: 
                   2519: cat >>confdefs.h <<_ACEOF
                   2520: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2521: _ACEOF
                   2522: 
                   2523: cat >>confdefs.h <<_ACEOF
                   2524: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2525: _ACEOF
                   2526: 
                   2527: cat >>confdefs.h <<_ACEOF
                   2528: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2529: _ACEOF
                   2530: 
                   2531: cat >>confdefs.h <<_ACEOF
                   2532: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2533: _ACEOF
                   2534: 
1.150     moko     2535: cat >>confdefs.h <<_ACEOF
                   2536: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2537: _ACEOF
1.62      paf      2538: 
                   2539: cat >>confdefs.h <<_ACEOF
1.150     moko     2540: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2541: _ACEOF
                   2542: 
                   2543: 
                   2544: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2545: # Prefer an explicitly selected file to automatically selected ones.
                   2546: ac_site_file1=NONE
                   2547: ac_site_file2=NONE
                   2548: if test -n "$CONFIG_SITE"; then
                   2549:   # We do not want a PATH search for config.site.
                   2550:   case $CONFIG_SITE in #((
                   2551:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2552:     */*) ac_site_file1=$CONFIG_SITE;;
                   2553:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2554:   esac
                   2555: elif test "x$prefix" != xNONE; then
                   2556:   ac_site_file1=$prefix/share/config.site
                   2557:   ac_site_file2=$prefix/etc/config.site
                   2558: else
                   2559:   ac_site_file1=$ac_default_prefix/share/config.site
                   2560:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2561: fi
                   2562: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2563: do
                   2564:   test "x$ac_site_file" = xNONE && continue
                   2565:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2566:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2567: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2568:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2569:     . "$ac_site_file" \
                   2570:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2571: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2572: as_fn_error $? "failed to load site script $ac_site_file
                   2573: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2574:   fi
                   2575: done
                   2576: 
                   2577: if test -r "$cache_file"; then
1.150     moko     2578:   # Some versions of bash will fail to source /dev/null (special files
                   2579:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2580:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2581:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2582: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2583:     case $cache_file in
1.150     moko     2584:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2585:       *)                      . "./$cache_file";;
1.62      paf      2586:     esac
                   2587:   fi
1.1       paf      2588: else
1.150     moko     2589:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2590: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2591:   >$cache_file
                   2592: fi
                   2593: 
                   2594: # Check that the precious variables saved in the cache have kept the same
                   2595: # value.
                   2596: ac_cache_corrupted=false
1.150     moko     2597: for ac_var in $ac_precious_vars; do
1.62      paf      2598:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2599:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2600:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2601:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2602:   case $ac_old_set,$ac_new_set in
                   2603:     set,)
1.150     moko     2604:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2605: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2606:       ac_cache_corrupted=: ;;
                   2607:     ,set)
1.150     moko     2608:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2609: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2610:       ac_cache_corrupted=: ;;
                   2611:     ,);;
                   2612:     *)
                   2613:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2614:        # differences in whitespace do not lead to failure.
                   2615:        ac_old_val_w=`echo x $ac_old_val`
                   2616:        ac_new_val_w=`echo x $ac_new_val`
                   2617:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2618:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2619: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2620:          ac_cache_corrupted=:
                   2621:        else
                   2622:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2623: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2624:          eval $ac_var=\$ac_old_val
                   2625:        fi
                   2626:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2627: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2628:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2629: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2630:       fi;;
                   2631:   esac
                   2632:   # Pass precious variables to config.status.
                   2633:   if test "$ac_new_set" = set; then
                   2634:     case $ac_new_val in
1.150     moko     2635:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2636:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2637:     esac
                   2638:     case " $ac_configure_args " in
                   2639:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2640:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2641:     esac
                   2642:   fi
                   2643: done
                   2644: if $ac_cache_corrupted; then
1.150     moko     2645:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2646: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2647:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2648: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2649:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2650: fi
                   2651: ## -------------------- ##
                   2652: ## Main body of script. ##
                   2653: ## -------------------- ##
1.1       paf      2654: 
                   2655: ac_ext=c
                   2656: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2657: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2658: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2659: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2660: 
                   2661: 
                   2662: 
                   2663: 
                   2664: 
1.229     moko     2665: 
1.199     moko     2666: am__api_version='1.16'
1.62      paf      2667: 
1.1       paf      2668: ac_aux_dir=
1.150     moko     2669: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2670:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2671:     ac_aux_dir=$ac_dir
                   2672:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2673:     break
1.150     moko     2674:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2675:     ac_aux_dir=$ac_dir
                   2676:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2677:     break
1.150     moko     2678:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2679:     ac_aux_dir=$ac_dir
                   2680:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2681:     break
1.1       paf      2682:   fi
                   2683: done
                   2684: if test -z "$ac_aux_dir"; then
1.150     moko     2685:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2686: fi
                   2687: 
                   2688: # These three variables are undocumented and unsupported,
                   2689: # and are intended to be withdrawn in a future Autoconf release.
                   2690: # They can cause serious problems if a builder's source tree is in a directory
                   2691: # whose full name contains unusual characters.
                   2692: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2693: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2694: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2695: 
1.1       paf      2696: 
                   2697: # Find a good install program.  We prefer a C program (faster),
                   2698: # so one script is as good as another.  But avoid the broken or
                   2699: # incompatible versions:
                   2700: # SysV /etc/install, /usr/sbin/install
                   2701: # SunOS /usr/etc/install
                   2702: # IRIX /sbin/install
                   2703: # AIX /bin/install
1.62      paf      2704: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2705: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2706: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2707: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2708: # OS/2's system install, which has a completely different semantic
1.1       paf      2709: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2710: # Reject install programs that cannot install multiple files.
                   2711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2712: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2713: if test -z "$INSTALL"; then
1.150     moko     2714: if ${ac_cv_path_install+:} false; then :
                   2715:   $as_echo_n "(cached) " >&6
1.1       paf      2716: else
1.62      paf      2717:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2718: for as_dir in $PATH
                   2719: do
                   2720:   IFS=$as_save_IFS
                   2721:   test -z "$as_dir" && as_dir=.
1.150     moko     2722:     # Account for people who put trailing slashes in PATH elements.
                   2723: case $as_dir/ in #((
                   2724:   ./ | .// | /[cC]/* | \
1.62      paf      2725:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2726:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2727:   /usr/ucb/* ) ;;
                   2728:   *)
                   2729:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2730:     # Don't use installbsd from OSF since it installs stuff as root
                   2731:     # by default.
                   2732:     for ac_prog in ginstall scoinst install; do
                   2733:       for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2734:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.86      paf      2735:          if test $ac_prog = install &&
                   2736:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2737:            # AIX install.  It has an incompatible calling convention.
                   2738:            :
                   2739:          elif test $ac_prog = install &&
                   2740:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2741:            # program-specific install script used by HP pwplus--don't use.
                   2742:            :
                   2743:          else
1.150     moko     2744:            rm -rf conftest.one conftest.two conftest.dir
                   2745:            echo one > conftest.one
                   2746:            echo two > conftest.two
                   2747:            mkdir conftest.dir
                   2748:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2749:              test -s conftest.one && test -s conftest.two &&
                   2750:              test -s conftest.dir/conftest.one &&
                   2751:              test -s conftest.dir/conftest.two
                   2752:            then
                   2753:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2754:              break 3
                   2755:            fi
1.86      paf      2756:          fi
                   2757:        fi
1.1       paf      2758:       done
1.62      paf      2759:     done
                   2760:     ;;
                   2761: esac
                   2762: 
1.150     moko     2763:   done
                   2764: IFS=$as_save_IFS
                   2765: 
                   2766: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2767: 
                   2768: fi
                   2769:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2770:     INSTALL=$ac_cv_path_install
1.1       paf      2771:   else
1.150     moko     2772:     # As a last resort, use the slow shell script.  Don't cache a
                   2773:     # value for INSTALL within a source directory, because that will
1.1       paf      2774:     # break other packages using the cache if that directory is
1.150     moko     2775:     # removed, or if the value is a relative name.
1.62      paf      2776:     INSTALL=$ac_install_sh
1.1       paf      2777:   fi
                   2778: fi
1.150     moko     2779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2780: $as_echo "$INSTALL" >&6; }
1.1       paf      2781: 
                   2782: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2783: # It thinks the first close brace ends the variable substitution.
                   2784: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2785: 
1.62      paf      2786: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2787: 
                   2788: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2789: 
1.150     moko     2790: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2791: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2792: # Reject unsafe characters in $srcdir or the absolute working directory
                   2793: # name.  Accept space and tab only in the latter.
                   2794: am_lf='
                   2795: '
                   2796: case `pwd` in
                   2797:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2798:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2799: esac
                   2800: case $srcdir in
                   2801:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.187     moko     2802:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.150     moko     2803: esac
                   2804: 
1.187     moko     2805: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       paf      2806: # arguments.  Must try -L first in case configure is actually a
                   2807: # symlink; some systems play weird games with the mod time of symlinks
                   2808: # (eg FreeBSD returns the mod time of the symlink's containing
                   2809: # directory).
                   2810: if (
1.187     moko     2811:    am_has_slept=no
                   2812:    for am_try in 1 2; do
                   2813:      echo "timestamp, slept: $am_has_slept" > conftest.file
                   2814:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2815:      if test "$*" = "X"; then
                   2816:        # -L didn't work.
                   2817:        set X `ls -t "$srcdir/configure" conftest.file`
                   2818:      fi
                   2819:      if test "$*" != "X $srcdir/configure conftest.file" \
                   2820:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2821: 
1.187     moko     2822:        # If neither matched, then we have a broken ls.  This can happen
                   2823:        # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2824:        # broken ls alias from the environment.  This has actually
                   2825:        # happened.  Such a system could not be considered "sane".
                   2826:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2827:   alias in your environment" "$LINENO" 5
                   2828:      fi
                   2829:      if test "$2" = conftest.file || test $am_try -eq 2; then
                   2830:        break
                   2831:      fi
                   2832:      # Just in case.
                   2833:      sleep 1
                   2834:      am_has_slept=yes
                   2835:    done
1.62      paf      2836:    test "$2" = conftest.file
1.1       paf      2837:    )
                   2838: then
                   2839:    # Ok.
                   2840:    :
                   2841: else
1.150     moko     2842:    as_fn_error $? "newly created file is older than distributed files!
                   2843: Check your system clock" "$LINENO" 5
1.1       paf      2844: fi
1.150     moko     2845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2846: $as_echo "yes" >&6; }
1.187     moko     2847: # If we didn't sleep, we still need to ensure time stamps of config.status and
                   2848: # generated files are strictly newer.
                   2849: am_sleep_pid=
                   2850: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
                   2851:   ( sleep 1 ) &
                   2852:   am_sleep_pid=$!
                   2853: fi
                   2854: 
                   2855: rm -f conftest.file
                   2856: 
1.1       paf      2857: test "$program_prefix" != NONE &&
1.150     moko     2858:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2859: # Use a double $ so make ignores it.
                   2860: test "$program_suffix" != NONE &&
1.150     moko     2861:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2862: # Double any \ or $.
1.62      paf      2863: # By default was `s,x,x', remove it if useless.
1.150     moko     2864: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2865: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2866: 
1.187     moko     2867: # Expand $ac_aux_dir to an absolute path.
                   2868: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.62      paf      2869: 
1.150     moko     2870: if test x"${MISSING+set}" != xset; then
1.216     moko     2871:   MISSING="\${SHELL} '$am_aux_dir/missing'"
1.150     moko     2872: fi
1.62      paf      2873: # Use eval to expand $SHELL
1.187     moko     2874: if eval "$MISSING --is-lightweight"; then
                   2875:   am_missing_run="$MISSING "
1.62      paf      2876: else
                   2877:   am_missing_run=
1.187     moko     2878:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
                   2879: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.62      paf      2880: fi
                   2881: 
1.187     moko     2882: if test x"${install_sh+set}" != xset; then
1.150     moko     2883:   case $am_aux_dir in
                   2884:   *\ * | *\    *)
                   2885:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2886:   *)
                   2887:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2888:   esac
1.86      paf      2889: fi
                   2890: 
1.187     moko     2891: # Installed binaries are usually stripped using 'strip' when the user
                   2892: # run "make install-strip".  However 'strip' might not be the right
1.150     moko     2893: # tool to use in cross-compilation environments, therefore Automake
1.187     moko     2894: # will honor the 'STRIP' environment variable to overrule this program.
1.150     moko     2895: if test "$cross_compiling" != no; then
                   2896:   if test -n "$ac_tool_prefix"; then
                   2897:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2898: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2900: $as_echo_n "checking for $ac_word... " >&6; }
                   2901: if ${ac_cv_prog_STRIP+:} false; then :
                   2902:   $as_echo_n "(cached) " >&6
                   2903: else
                   2904:   if test -n "$STRIP"; then
                   2905:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2906: else
                   2907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2908: for as_dir in $PATH
                   2909: do
                   2910:   IFS=$as_save_IFS
                   2911:   test -z "$as_dir" && as_dir=.
                   2912:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2913:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2914:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2915:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2916:     break 2
                   2917:   fi
                   2918: done
                   2919:   done
                   2920: IFS=$as_save_IFS
                   2921: 
                   2922: fi
                   2923: fi
                   2924: STRIP=$ac_cv_prog_STRIP
                   2925: if test -n "$STRIP"; then
                   2926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2927: $as_echo "$STRIP" >&6; }
                   2928: else
                   2929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2930: $as_echo "no" >&6; }
                   2931: fi
                   2932: 
                   2933: 
                   2934: fi
                   2935: if test -z "$ac_cv_prog_STRIP"; then
                   2936:   ac_ct_STRIP=$STRIP
                   2937:   # Extract the first word of "strip", so it can be a program name with args.
                   2938: set dummy strip; ac_word=$2
                   2939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2940: $as_echo_n "checking for $ac_word... " >&6; }
                   2941: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2942:   $as_echo_n "(cached) " >&6
                   2943: else
                   2944:   if test -n "$ac_ct_STRIP"; then
                   2945:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2946: else
                   2947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2948: for as_dir in $PATH
                   2949: do
                   2950:   IFS=$as_save_IFS
                   2951:   test -z "$as_dir" && as_dir=.
                   2952:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     2953:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.150     moko     2954:     ac_cv_prog_ac_ct_STRIP="strip"
                   2955:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2956:     break 2
                   2957:   fi
                   2958: done
                   2959:   done
                   2960: IFS=$as_save_IFS
                   2961: 
                   2962: fi
                   2963: fi
                   2964: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2965: if test -n "$ac_ct_STRIP"; then
                   2966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2967: $as_echo "$ac_ct_STRIP" >&6; }
                   2968: else
                   2969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2970: $as_echo "no" >&6; }
                   2971: fi
                   2972: 
                   2973:   if test "x$ac_ct_STRIP" = x; then
                   2974:     STRIP=":"
                   2975:   else
                   2976:     case $cross_compiling:$ac_tool_warned in
                   2977: yes:)
                   2978: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2979: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2980: ac_tool_warned=yes ;;
                   2981: esac
                   2982:     STRIP=$ac_ct_STRIP
                   2983:   fi
                   2984: else
                   2985:   STRIP="$ac_cv_prog_STRIP"
                   2986: fi
                   2987: 
                   2988: fi
                   2989: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2990: 
                   2991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2992: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2993: if test -z "$MKDIR_P"; then
                   2994:   if ${ac_cv_path_mkdir+:} false; then :
                   2995:   $as_echo_n "(cached) " >&6
                   2996: else
                   2997:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2998: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2999: do
                   3000:   IFS=$as_save_IFS
                   3001:   test -z "$as_dir" && as_dir=.
                   3002:     for ac_prog in mkdir gmkdir; do
                   3003:         for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3004:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.150     moko     3005:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3006:             'mkdir (GNU coreutils) '* | \
                   3007:             'mkdir (coreutils) '* | \
                   3008:             'mkdir (fileutils) '4.1*)
                   3009:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3010:               break 3;;
                   3011:           esac
                   3012:         done
                   3013:        done
                   3014:   done
                   3015: IFS=$as_save_IFS
                   3016: 
                   3017: fi
                   3018: 
                   3019:   test -d ./--version && rmdir ./--version
                   3020:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3021:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3022:   else
                   3023:     # As a last resort, use the slow shell script.  Don't cache a
                   3024:     # value for MKDIR_P within a source directory, because that will
                   3025:     # break other packages using the cache if that directory is
                   3026:     # removed, or if the value is a relative name.
                   3027:     MKDIR_P="$ac_install_sh -d"
                   3028:   fi
                   3029: fi
                   3030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3031: $as_echo "$MKDIR_P" >&6; }
                   3032: 
                   3033: for ac_prog in gawk mawk nawk awk
1.62      paf      3034: do
                   3035:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3036: set dummy $ac_prog; ac_word=$2
1.150     moko     3037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3038: $as_echo_n "checking for $ac_word... " >&6; }
                   3039: if ${ac_cv_prog_AWK+:} false; then :
                   3040:   $as_echo_n "(cached) " >&6
1.62      paf      3041: else
                   3042:   if test -n "$AWK"; then
                   3043:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3044: else
                   3045: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3046: for as_dir in $PATH
                   3047: do
                   3048:   IFS=$as_save_IFS
                   3049:   test -z "$as_dir" && as_dir=.
1.150     moko     3050:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3051:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3052:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3053:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3054:     break 2
                   3055:   fi
                   3056: done
1.150     moko     3057:   done
                   3058: IFS=$as_save_IFS
1.62      paf      3059: 
                   3060: fi
                   3061: fi
                   3062: AWK=$ac_cv_prog_AWK
                   3063: if test -n "$AWK"; then
1.150     moko     3064:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3065: $as_echo "$AWK" >&6; }
1.62      paf      3066: else
1.150     moko     3067:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3068: $as_echo "no" >&6; }
1.62      paf      3069: fi
1.1       paf      3070: 
1.150     moko     3071: 
1.62      paf      3072:   test -n "$AWK" && break
                   3073: done
1.1       paf      3074: 
1.150     moko     3075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3076: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3077: set x ${MAKE-make}
                   3078: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3079: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3080:   $as_echo_n "(cached) " >&6
1.1       paf      3081: else
1.62      paf      3082:   cat >conftest.make <<\_ACEOF
1.150     moko     3083: SHELL = /bin/sh
1.1       paf      3084: all:
1.150     moko     3085:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3086: _ACEOF
1.150     moko     3087: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3088: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3089:   *@@@%%%=?*=@@@%%%*)
                   3090:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3091:   *)
                   3092:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3093: esac
1.62      paf      3094: rm -f conftest.make
1.1       paf      3095: fi
1.150     moko     3096: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3097:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3098: $as_echo "yes" >&6; }
1.1       paf      3099:   SET_MAKE=
                   3100: else
1.150     moko     3101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3102: $as_echo "no" >&6; }
1.1       paf      3103:   SET_MAKE="MAKE=${MAKE-make}"
                   3104: fi
                   3105: 
1.86      paf      3106: rm -rf .tst 2>/dev/null
                   3107: mkdir .tst 2>/dev/null
                   3108: if test -d .tst; then
                   3109:   am__leading_dot=.
                   3110: else
                   3111:   am__leading_dot=_
                   3112: fi
                   3113: rmdir .tst 2>/dev/null
                   3114: 
1.187     moko     3115: # Check whether --enable-silent-rules was given.
                   3116: if test "${enable_silent_rules+set}" = set; then :
                   3117:   enableval=$enable_silent_rules;
                   3118: fi
                   3119: 
                   3120: case $enable_silent_rules in # (((
                   3121:   yes) AM_DEFAULT_VERBOSITY=0;;
                   3122:    no) AM_DEFAULT_VERBOSITY=1;;
                   3123:     *) AM_DEFAULT_VERBOSITY=1;;
                   3124: esac
                   3125: am_make=${MAKE-make}
                   3126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
                   3127: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
                   3128: if ${am_cv_make_support_nested_variables+:} false; then :
                   3129:   $as_echo_n "(cached) " >&6
                   3130: else
                   3131:   if $as_echo 'TRUE=$(BAR$(V))
                   3132: BAR0=false
                   3133: BAR1=true
                   3134: V=1
                   3135: am__doit:
                   3136:        @$(TRUE)
                   3137: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
                   3138:   am_cv_make_support_nested_variables=yes
                   3139: else
                   3140:   am_cv_make_support_nested_variables=no
                   3141: fi
                   3142: fi
                   3143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
                   3144: $as_echo "$am_cv_make_support_nested_variables" >&6; }
                   3145: if test $am_cv_make_support_nested_variables = yes; then
                   3146:     AM_V='$(V)'
                   3147:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
                   3148: else
                   3149:   AM_V=$AM_DEFAULT_VERBOSITY
                   3150:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
                   3151: fi
                   3152: AM_BACKSLASH='\'
                   3153: 
1.150     moko     3154: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3155:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3156:   # is not polluted with repeated "-I."
                   3157:   am__isrc=' -I$(srcdir)'
                   3158:   # test to see if srcdir already configured
                   3159:   if test -f $srcdir/config.status; then
                   3160:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3161:   fi
1.62      paf      3162: fi
                   3163: 
                   3164: # test whether we have cygpath
                   3165: if test -z "$CYGPATH_W"; then
                   3166:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3167:     CYGPATH_W='cygpath -w'
                   3168:   else
                   3169:     CYGPATH_W=echo
                   3170:   fi
                   3171: fi
                   3172: 
                   3173: 
                   3174: # Define the identity of the package.
1.128     moko     3175:  PACKAGE='parser'
1.230     moko     3176:  VERSION='3.5.2b'
1.128     moko     3177: 
                   3178: 
                   3179: cat >>confdefs.h <<_ACEOF
                   3180: #define PACKAGE "$PACKAGE"
                   3181: _ACEOF
1.1       paf      3182: 
                   3183: 
1.128     moko     3184: cat >>confdefs.h <<_ACEOF
                   3185: #define VERSION "$VERSION"
                   3186: _ACEOF
                   3187: 
1.62      paf      3188: # Some tools Automake needs.
                   3189: 
                   3190: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3191: 
                   3192: 
                   3193: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3194: 
                   3195: 
                   3196: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3197: 
                   3198: 
                   3199: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3200: 
                   3201: 
                   3202: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3203: 
1.187     moko     3204: # For better backward compatibility.  To be removed once Automake 1.9.x
                   3205: # dies out for good.  For more background, see:
1.199     moko     3206: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
                   3207: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1.187     moko     3208: mkdir_p='$(MKDIR_P)'
                   3209: 
                   3210: # We need awk for the "check" target (and possibly the TAP driver).  The
                   3211: # system "awk" is bad on some platforms.
                   3212: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3213: # in the wild :-(  We should find a proper way to deprecate it ...
                   3214: AMTAR='$${TAR-tar}'
                   3215: 
                   3216: 
                   3217: # We'll loop over all known methods to create a tar archive until one works.
                   3218: _am_tools='gnutar  pax cpio none'
                   3219: 
                   3220: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
                   3221: 
1.86      paf      3222: 
                   3223: 
                   3224: 
                   3225: 
1.62      paf      3226: 
1.187     moko     3227: # POSIX will say in a future version that running "rm -f" with no argument
                   3228: # is OK; and we want to be able to make that assumption in our Makefile
                   3229: # recipes.  So use an aggressive probe to check that the usage we want is
                   3230: # actually supported "in the wild" to an acceptable degree.
                   3231: # See automake bug#10828.
                   3232: # To make any issue more visible, cause the running configure to be aborted
                   3233: # by default if the 'rm' program in use doesn't match our expectations; the
                   3234: # user can still override this though.
                   3235: if rm -f && rm -fr && rm -rf; then : OK; else
                   3236:   cat >&2 <<'END'
                   3237: Oops!
1.1       paf      3238: 
1.187     moko     3239: Your 'rm' program seems unable to run without file operands specified
                   3240: on the command line, even when the '-f' option is present.  This is contrary
                   3241: to the behaviour of most rm programs out there, and not conforming with
                   3242: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
                   3243: 
                   3244: Please tell bug-automake@gnu.org about your system, including the value
                   3245: of your $PATH and any error possibly output before this message.  This
                   3246: can help us improve future automake versions.
                   3247: 
                   3248: END
                   3249:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
                   3250:     echo 'Configuration will proceed anyway, since you have set the' >&2
                   3251:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
                   3252:     echo >&2
                   3253:   else
                   3254:     cat >&2 <<'END'
                   3255: Aborting the configuration process, to ensure you take notice of the issue.
                   3256: 
                   3257: You can download and install GNU coreutils to get an 'rm' implementation
1.199     moko     3258: that behaves properly: <https://www.gnu.org/software/coreutils/>.
1.187     moko     3259: 
                   3260: If you want to complete the configuration process using your problematic
                   3261: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
                   3262: to "yes", and re-run configure.
                   3263: 
                   3264: END
                   3265:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
                   3266:   fi
                   3267: fi
1.1       paf      3268: 
                   3269: 
1.128     moko     3270: 
1.12      paf      3271: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3272: 
                   3273: 
1.128     moko     3274: 
1.41      paf      3275: # Make sure we can run config.sub.
1.150     moko     3276: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3277:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3278: 
1.150     moko     3279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3280: $as_echo_n "checking build system type... " >&6; }
                   3281: if ${ac_cv_build+:} false; then :
                   3282:   $as_echo_n "(cached) " >&6
                   3283: else
                   3284:   ac_build_alias=$build_alias
                   3285: test "x$ac_build_alias" = x &&
                   3286:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3287: test "x$ac_build_alias" = x &&
                   3288:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3289: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3290:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3291: 
                   3292: fi
                   3293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3294: $as_echo "$ac_cv_build" >&6; }
                   3295: case $ac_cv_build in
                   3296: *-*-*) ;;
                   3297: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3298: esac
                   3299: build=$ac_cv_build
                   3300: ac_save_IFS=$IFS; IFS='-'
                   3301: set x $ac_cv_build
                   3302: shift
                   3303: build_cpu=$1
                   3304: build_vendor=$2
                   3305: shift; shift
                   3306: # Remember, the first character of IFS is used to create $*,
                   3307: # except with old shells:
                   3308: build_os=$*
                   3309: IFS=$ac_save_IFS
                   3310: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3311: 
                   3312: 
                   3313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3314: $as_echo_n "checking host system type... " >&6; }
                   3315: if ${ac_cv_host+:} false; then :
                   3316:   $as_echo_n "(cached) " >&6
                   3317: else
                   3318:   if test "x$host_alias" = x; then
                   3319:   ac_cv_host=$ac_cv_build
                   3320: else
                   3321:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3322:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3323: fi
                   3324: 
                   3325: fi
1.150     moko     3326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3327: $as_echo "$ac_cv_host" >&6; }
                   3328: case $ac_cv_host in
                   3329: *-*-*) ;;
                   3330: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3331: esac
1.62      paf      3332: host=$ac_cv_host
1.150     moko     3333: ac_save_IFS=$IFS; IFS='-'
                   3334: set x $ac_cv_host
                   3335: shift
                   3336: host_cpu=$1
                   3337: host_vendor=$2
                   3338: shift; shift
                   3339: # Remember, the first character of IFS is used to create $*,
                   3340: # except with old shells:
                   3341: host_os=$*
                   3342: IFS=$ac_save_IFS
                   3343: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3344: 
                   3345: 
                   3346: 
1.148     moko     3347: cat >>confdefs.h <<_ACEOF
                   3348: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3349: _ACEOF
                   3350: 
                   3351: 
1.41      paf      3352: 
1.67      paf      3353: case $host_os in
                   3354:   *cygwin* )
1.150     moko     3355: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3356: ;;
                   3357: esac
1.41      paf      3358: 
1.128     moko     3359: 
1.1       paf      3360: 
1.62      paf      3361: for ac_prog in gawk mawk nawk awk
1.41      paf      3362: do
1.62      paf      3363:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3364: set dummy $ac_prog; ac_word=$2
1.150     moko     3365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3366: $as_echo_n "checking for $ac_word... " >&6; }
                   3367: if ${ac_cv_prog_AWK+:} false; then :
                   3368:   $as_echo_n "(cached) " >&6
1.41      paf      3369: else
                   3370:   if test -n "$AWK"; then
                   3371:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3372: else
1.62      paf      3373: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3374: for as_dir in $PATH
                   3375: do
                   3376:   IFS=$as_save_IFS
                   3377:   test -z "$as_dir" && as_dir=.
1.150     moko     3378:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3379:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3380:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3381:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3382:     break 2
                   3383:   fi
                   3384: done
1.150     moko     3385:   done
                   3386: IFS=$as_save_IFS
1.62      paf      3387: 
1.41      paf      3388: fi
                   3389: fi
1.62      paf      3390: AWK=$ac_cv_prog_AWK
1.41      paf      3391: if test -n "$AWK"; then
1.150     moko     3392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3393: $as_echo "$AWK" >&6; }
1.41      paf      3394: else
1.150     moko     3395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3396: $as_echo "no" >&6; }
1.41      paf      3397: fi
                   3398: 
1.150     moko     3399: 
1.62      paf      3400:   test -n "$AWK" && break
1.41      paf      3401: done
                   3402: 
                   3403: 
                   3404: for ac_prog in 'bison -y' byacc
                   3405: do
1.62      paf      3406:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3407: set dummy $ac_prog; ac_word=$2
1.150     moko     3408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3409: $as_echo_n "checking for $ac_word... " >&6; }
                   3410: if ${ac_cv_prog_YACC+:} false; then :
                   3411:   $as_echo_n "(cached) " >&6
1.41      paf      3412: else
                   3413:   if test -n "$YACC"; then
                   3414:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3415: else
1.62      paf      3416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3417: for as_dir in $PATH
                   3418: do
                   3419:   IFS=$as_save_IFS
                   3420:   test -z "$as_dir" && as_dir=.
1.150     moko     3421:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3422:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.62      paf      3423:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3424:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3425:     break 2
                   3426:   fi
                   3427: done
1.150     moko     3428:   done
                   3429: IFS=$as_save_IFS
1.62      paf      3430: 
1.41      paf      3431: fi
                   3432: fi
1.62      paf      3433: YACC=$ac_cv_prog_YACC
1.41      paf      3434: if test -n "$YACC"; then
1.150     moko     3435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3436: $as_echo "$YACC" >&6; }
1.41      paf      3437: else
1.150     moko     3438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3439: $as_echo "no" >&6; }
1.41      paf      3440: fi
                   3441: 
1.150     moko     3442: 
1.62      paf      3443:   test -n "$YACC" && break
1.41      paf      3444: done
                   3445: test -n "$YACC" || YACC="yacc"
                   3446: 
                   3447: if test "$YACC" != "bison -y"; then
1.150     moko     3448:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3449: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3450: else
1.150     moko     3451:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3452: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3453:        oldIFS=$IFS; IFS=.
                   3454:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3455:        IFS=$oldIFS
                   3456:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3457:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3458: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3459:        fi
1.150     moko     3460:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3461: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3462: fi
                   3463: 
1.150     moko     3464: ac_ext=cpp
1.66      paf      3465: ac_cpp='$CXXCPP $CPPFLAGS'
                   3466: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3467: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3468: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3469: if test -z "$CXX"; then
                   3470:   if test -n "$CCC"; then
                   3471:     CXX=$CCC
                   3472:   else
                   3473:     if test -n "$ac_tool_prefix"; then
                   3474:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3475:   do
                   3476:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3477: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3479: $as_echo_n "checking for $ac_word... " >&6; }
                   3480: if ${ac_cv_prog_CXX+:} false; then :
                   3481:   $as_echo_n "(cached) " >&6
1.62      paf      3482: else
1.66      paf      3483:   if test -n "$CXX"; then
                   3484:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3485: else
                   3486: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3487: for as_dir in $PATH
                   3488: do
                   3489:   IFS=$as_save_IFS
                   3490:   test -z "$as_dir" && as_dir=.
1.150     moko     3491:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3492:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3493:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3494:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3495:     break 2
                   3496:   fi
                   3497: done
1.150     moko     3498:   done
                   3499: IFS=$as_save_IFS
1.62      paf      3500: 
                   3501: fi
                   3502: fi
1.66      paf      3503: CXX=$ac_cv_prog_CXX
                   3504: if test -n "$CXX"; then
1.150     moko     3505:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3506: $as_echo "$CXX" >&6; }
1.62      paf      3507: else
1.150     moko     3508:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3509: $as_echo "no" >&6; }
1.41      paf      3510: fi
                   3511: 
1.150     moko     3512: 
1.66      paf      3513:     test -n "$CXX" && break
                   3514:   done
1.62      paf      3515: fi
1.66      paf      3516: if test -z "$CXX"; then
                   3517:   ac_ct_CXX=$CXX
1.150     moko     3518:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3519: do
                   3520:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3521: set dummy $ac_prog; ac_word=$2
1.150     moko     3522: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3523: $as_echo_n "checking for $ac_word... " >&6; }
                   3524: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3525:   $as_echo_n "(cached) " >&6
1.62      paf      3526: else
1.66      paf      3527:   if test -n "$ac_ct_CXX"; then
                   3528:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3529: else
                   3530: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3531: for as_dir in $PATH
                   3532: do
                   3533:   IFS=$as_save_IFS
                   3534:   test -z "$as_dir" && as_dir=.
1.150     moko     3535:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     3536:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      3537:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3538:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3539:     break 2
                   3540:   fi
                   3541: done
1.150     moko     3542:   done
                   3543: IFS=$as_save_IFS
1.62      paf      3544: 
                   3545: fi
                   3546: fi
1.66      paf      3547: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3548: if test -n "$ac_ct_CXX"; then
1.150     moko     3549:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3550: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3551: else
1.150     moko     3552:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3553: $as_echo "no" >&6; }
1.62      paf      3554: fi
                   3555: 
1.150     moko     3556: 
1.66      paf      3557:   test -n "$ac_ct_CXX" && break
                   3558: done
                   3559: 
1.150     moko     3560:   if test "x$ac_ct_CXX" = x; then
                   3561:     CXX="g++"
                   3562:   else
                   3563:     case $cross_compiling:$ac_tool_warned in
                   3564: yes:)
                   3565: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3566: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3567: ac_tool_warned=yes ;;
                   3568: esac
                   3569:     CXX=$ac_ct_CXX
                   3570:   fi
1.62      paf      3571: fi
                   3572: 
1.150     moko     3573:   fi
                   3574: fi
1.66      paf      3575: # Provide some information about the compiler.
1.150     moko     3576: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3577: set X $ac_compile
                   3578: ac_compiler=$2
                   3579: for ac_option in --version -v -V -qversion; do
                   3580:   { { ac_try="$ac_compiler $ac_option >&5"
                   3581: case "(($ac_try" in
                   3582:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3583:   *) ac_try_echo=$ac_try;;
                   3584: esac
                   3585: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3586: $as_echo "$ac_try_echo"; } >&5
                   3587:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3588:   ac_status=$?
1.150     moko     3589:   if test -s conftest.err; then
                   3590:     sed '10a\
                   3591: ... rest of stderr output deleted ...
                   3592:          10q' conftest.err >conftest.er1
                   3593:     cat conftest.er1 >&5
                   3594:   fi
                   3595:   rm -f conftest.er1 conftest.err
                   3596:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3597:   test $ac_status = 0; }
                   3598: done
1.66      paf      3599: 
1.150     moko     3600: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3601: /* end confdefs.h.  */
                   3602: 
                   3603: int
                   3604: main ()
                   3605: {
                   3606: 
                   3607:   ;
                   3608:   return 0;
                   3609: }
                   3610: _ACEOF
                   3611: ac_clean_files_save=$ac_clean_files
1.150     moko     3612: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3613: # Try to create an executable without -o first, disregard a.out.
                   3614: # It will help us diagnose broken compilers, and finding out an intuition
                   3615: # of exeext.
1.150     moko     3616: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3617: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3618: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3619: 
                   3620: # The possible output files:
                   3621: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3622: 
                   3623: ac_rmfiles=
                   3624: for ac_file in $ac_files
                   3625: do
                   3626:   case $ac_file in
                   3627:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3628:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3629:   esac
                   3630: done
                   3631: rm -f $ac_rmfiles
                   3632: 
                   3633: if { { ac_try="$ac_link_default"
                   3634: case "(($ac_try" in
                   3635:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3636:   *) ac_try_echo=$ac_try;;
                   3637: esac
                   3638: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3639: $as_echo "$ac_try_echo"; } >&5
                   3640:   (eval "$ac_link_default") 2>&5
                   3641:   ac_status=$?
                   3642:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3643:   test $ac_status = 0; }; then :
                   3644:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3645: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3646: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3647: # so that the user can short-circuit this test for compilers unknown to
                   3648: # Autoconf.
                   3649: for ac_file in $ac_files ''
1.62      paf      3650: do
1.66      paf      3651:   test -f "$ac_file" || continue
                   3652:   case $ac_file in
1.150     moko     3653:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3654:        ;;
1.66      paf      3655:     [ab].out )
1.86      paf      3656:        # We found the default executable, but exeext='' is most
                   3657:        # certainly right.
                   3658:        break;;
1.66      paf      3659:     *.* )
1.150     moko     3660:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3661:        then :; else
                   3662:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3663:        fi
                   3664:        # We set ac_cv_exeext here because the later test for it is not
                   3665:        # safe: cross compilers may not add the suffix if given an `-o'
                   3666:        # argument, so we may need to know it at that point already.
                   3667:        # Even if this section looks crufty: it has the advantage of
                   3668:        # actually working.
1.86      paf      3669:        break;;
1.66      paf      3670:     * )
1.86      paf      3671:        break;;
1.66      paf      3672:   esac
1.62      paf      3673: done
1.150     moko     3674: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3675: 
1.66      paf      3676: else
1.150     moko     3677:   ac_file=''
                   3678: fi
                   3679: if test -z "$ac_file"; then :
                   3680:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3681: $as_echo "no" >&6; }
                   3682: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3683: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3684: 
1.150     moko     3685: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3686: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3687: as_fn_error 77 "C++ compiler cannot create executables
                   3688: See \`config.log' for more details" "$LINENO" 5; }
                   3689: else
                   3690:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3691: $as_echo "yes" >&6; }
1.1       paf      3692: fi
1.150     moko     3693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3694: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3696: $as_echo "$ac_file" >&6; }
1.66      paf      3697: ac_exeext=$ac_cv_exeext
1.62      paf      3698: 
1.150     moko     3699: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3700: ac_clean_files=$ac_clean_files_save
1.150     moko     3701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3702: $as_echo_n "checking for suffix of executables... " >&6; }
                   3703: if { { ac_try="$ac_link"
                   3704: case "(($ac_try" in
                   3705:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3706:   *) ac_try_echo=$ac_try;;
                   3707: esac
                   3708: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3709: $as_echo "$ac_try_echo"; } >&5
                   3710:   (eval "$ac_link") 2>&5
1.62      paf      3711:   ac_status=$?
1.150     moko     3712:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3713:   test $ac_status = 0; }; then :
1.62      paf      3714:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3715: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3716: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3717: # `rm'.
                   3718: for ac_file in conftest.exe conftest conftest.*; do
                   3719:   test -f "$ac_file" || continue
                   3720:   case $ac_file in
1.150     moko     3721:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3722:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3723:          break;;
1.62      paf      3724:     * ) break;;
                   3725:   esac
                   3726: done
                   3727: else
1.150     moko     3728:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3729: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3730: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3731: See \`config.log' for more details" "$LINENO" 5; }
                   3732: fi
                   3733: rm -f conftest conftest$ac_cv_exeext
                   3734: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3735: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3736: 
                   3737: rm -f conftest.$ac_ext
                   3738: EXEEXT=$ac_cv_exeext
                   3739: ac_exeext=$EXEEXT
1.150     moko     3740: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3741: /* end confdefs.h.  */
                   3742: #include <stdio.h>
                   3743: int
                   3744: main ()
                   3745: {
                   3746: FILE *f = fopen ("conftest.out", "w");
                   3747:  return ferror (f) || fclose (f) != 0;
                   3748: 
                   3749:   ;
                   3750:   return 0;
                   3751: }
                   3752: _ACEOF
                   3753: ac_clean_files="$ac_clean_files conftest.out"
                   3754: # Check that the compiler produces executables we can run.  If not, either
                   3755: # the compiler is broken, or we cross compile.
                   3756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3757: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3758: if test "$cross_compiling" != yes; then
                   3759:   { { ac_try="$ac_link"
                   3760: case "(($ac_try" in
                   3761:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3762:   *) ac_try_echo=$ac_try;;
                   3763: esac
                   3764: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3765: $as_echo "$ac_try_echo"; } >&5
                   3766:   (eval "$ac_link") 2>&5
                   3767:   ac_status=$?
                   3768:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3769:   test $ac_status = 0; }
                   3770:   if { ac_try='./conftest$ac_cv_exeext'
                   3771:   { { case "(($ac_try" in
                   3772:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3773:   *) ac_try_echo=$ac_try;;
                   3774: esac
                   3775: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3776: $as_echo "$ac_try_echo"; } >&5
                   3777:   (eval "$ac_try") 2>&5
                   3778:   ac_status=$?
                   3779:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3780:   test $ac_status = 0; }; }; then
                   3781:     cross_compiling=no
                   3782:   else
                   3783:     if test "$cross_compiling" = maybe; then
                   3784:        cross_compiling=yes
                   3785:     else
                   3786:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3787: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3788: as_fn_error $? "cannot run C++ compiled programs.
                   3789: If you meant to cross compile, use \`--host'.
                   3790: See \`config.log' for more details" "$LINENO" 5; }
                   3791:     fi
                   3792:   fi
                   3793: fi
                   3794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3795: $as_echo "$cross_compiling" >&6; }
                   3796: 
                   3797: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3798: ac_clean_files=$ac_clean_files_save
                   3799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3800: $as_echo_n "checking for suffix of object files... " >&6; }
                   3801: if ${ac_cv_objext+:} false; then :
                   3802:   $as_echo_n "(cached) " >&6
1.62      paf      3803: else
1.150     moko     3804:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3805: /* end confdefs.h.  */
                   3806: 
                   3807: int
                   3808: main ()
                   3809: {
                   3810: 
                   3811:   ;
                   3812:   return 0;
                   3813: }
                   3814: _ACEOF
                   3815: rm -f conftest.o conftest.obj
1.150     moko     3816: if { { ac_try="$ac_compile"
                   3817: case "(($ac_try" in
                   3818:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3819:   *) ac_try_echo=$ac_try;;
                   3820: esac
                   3821: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3822: $as_echo "$ac_try_echo"; } >&5
                   3823:   (eval "$ac_compile") 2>&5
                   3824:   ac_status=$?
                   3825:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3826:   test $ac_status = 0; }; then :
                   3827:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3828:   test -f "$ac_file" || continue;
1.62      paf      3829:   case $ac_file in
1.150     moko     3830:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3831:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3832:        break;;
                   3833:   esac
                   3834: done
                   3835: else
1.150     moko     3836:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3837: sed 's/^/| /' conftest.$ac_ext >&5
                   3838: 
1.150     moko     3839: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3840: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3841: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3842: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3843: fi
                   3844: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3845: fi
1.150     moko     3846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3847: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3848: OBJEXT=$ac_cv_objext
                   3849: ac_objext=$OBJEXT
1.150     moko     3850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3851: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3852: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3853:   $as_echo_n "(cached) " >&6
1.62      paf      3854: else
1.150     moko     3855:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3856: /* end confdefs.h.  */
1.66      paf      3857: 
1.62      paf      3858: int
                   3859: main ()
                   3860: {
1.66      paf      3861: #ifndef __GNUC__
                   3862:        choke me
                   3863: #endif
                   3864: 
1.62      paf      3865:   ;
                   3866:   return 0;
                   3867: }
                   3868: _ACEOF
1.150     moko     3869: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3870:   ac_compiler_gnu=yes
1.62      paf      3871: else
1.150     moko     3872:   ac_compiler_gnu=no
1.1       paf      3873: fi
1.150     moko     3874: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3875: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3876: 
                   3877: fi
1.150     moko     3878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3879: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3880: if test $ac_compiler_gnu = yes; then
                   3881:   GXX=yes
                   3882: else
                   3883:   GXX=
                   3884: fi
1.66      paf      3885: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3886: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3888: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3889: if ${ac_cv_prog_cxx_g+:} false; then :
                   3890:   $as_echo_n "(cached) " >&6
                   3891: else
                   3892:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3893:    ac_cxx_werror_flag=yes
                   3894:    ac_cv_prog_cxx_g=no
                   3895:    CXXFLAGS="-g"
                   3896:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3897: /* end confdefs.h.  */
1.1       paf      3898: 
1.66      paf      3899: int
                   3900: main ()
                   3901: {
1.1       paf      3902: 
1.66      paf      3903:   ;
                   3904:   return 0;
                   3905: }
1.62      paf      3906: _ACEOF
1.150     moko     3907: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3908:   ac_cv_prog_cxx_g=yes
                   3909: else
1.150     moko     3910:   CXXFLAGS=""
                   3911:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3912: /* end confdefs.h.  */
1.66      paf      3913: 
1.62      paf      3914: int
                   3915: main ()
                   3916: {
1.150     moko     3917: 
1.62      paf      3918:   ;
                   3919:   return 0;
                   3920: }
                   3921: _ACEOF
1.150     moko     3922: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3923: 
1.1       paf      3924: else
1.150     moko     3925:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3926:         CXXFLAGS="-g"
                   3927:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3928: /* end confdefs.h.  */
1.62      paf      3929: 
                   3930: int
                   3931: main ()
                   3932: {
1.150     moko     3933: 
1.62      paf      3934:   ;
                   3935:   return 0;
                   3936: }
                   3937: _ACEOF
1.150     moko     3938: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3939:   ac_cv_prog_cxx_g=yes
                   3940: fi
                   3941: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3942: fi
                   3943: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3944: fi
                   3945: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3946:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3947: fi
                   3948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3949: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3950: if test "$ac_test_CXXFLAGS" = set; then
                   3951:   CXXFLAGS=$ac_save_CXXFLAGS
                   3952: elif test $ac_cv_prog_cxx_g = yes; then
                   3953:   if test "$GXX" = yes; then
                   3954:     CXXFLAGS="-g -O2"
                   3955:   else
                   3956:     CXXFLAGS="-g"
                   3957:   fi
1.1       paf      3958: else
1.150     moko     3959:   if test "$GXX" = yes; then
                   3960:     CXXFLAGS="-O2"
                   3961:   else
                   3962:     CXXFLAGS=
                   3963:   fi
1.1       paf      3964: fi
1.62      paf      3965: ac_ext=c
                   3966: ac_cpp='$CPP $CPPFLAGS'
                   3967: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3968: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3969: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3970: DEPDIR="${am__leading_dot}deps"
1.62      paf      3971: 
1.150     moko     3972: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3973: 
1.199     moko     3974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
                   3975: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
                   3976: cat > confinc.mk << 'END'
1.86      paf      3977: am__doit:
1.199     moko     3978:        @echo this is the am__doit target >confinc.out
1.86      paf      3979: .PHONY: am__doit
1.62      paf      3980: END
                   3981: am__include="#"
                   3982: am__quote=
1.199     moko     3983: # BSD make does it like this.
                   3984: echo '.include "confinc.mk" # ignored' > confmf.BSD
                   3985: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
                   3986: echo 'include confinc.mk # ignored' > confmf.GNU
                   3987: _am_result=no
                   3988: for s in GNU BSD; do
                   3989:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
                   3990:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
                   3991:    ac_status=$?
                   3992:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3993:    (exit $ac_status); }
                   3994:   case $?:`cat confinc.out 2>/dev/null` in #(
                   3995:   '0:this is the am__doit target') :
                   3996:     case $s in #(
                   3997:   BSD) :
                   3998:     am__include='.include' am__quote='"' ;; #(
                   3999:   *) :
                   4000:     am__include='include' am__quote='' ;;
                   4001: esac ;; #(
                   4002:   *) :
1.150     moko     4003:      ;;
1.199     moko     4004: esac
                   4005:   if test "$am__include" != "#"; then
                   4006:     _am_result="yes ($s style)"
                   4007:     break
                   4008:   fi
                   4009: done
                   4010: rm -f confinc.* confmf.*
                   4011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
                   4012: $as_echo "${_am_result}" >&6; }
1.62      paf      4013: 
1.150     moko     4014: # Check whether --enable-dependency-tracking was given.
                   4015: if test "${enable_dependency_tracking+set}" = set; then :
                   4016:   enableval=$enable_dependency_tracking;
                   4017: fi
1.62      paf      4018: 
                   4019: if test "x$enable_dependency_tracking" != xno; then
                   4020:   am_depcomp="$ac_aux_dir/depcomp"
                   4021:   AMDEPBACKSLASH='\'
1.187     moko     4022:   am__nodep='_no'
1.1       paf      4023: fi
1.150     moko     4024:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      4025:   AMDEP_TRUE=
                   4026:   AMDEP_FALSE='#'
                   4027: else
                   4028:   AMDEP_TRUE='#'
                   4029:   AMDEP_FALSE=
                   4030: fi
1.1       paf      4031: 
                   4032: 
                   4033: 
1.66      paf      4034: depcc="$CXX"  am_compiler_list=
1.1       paf      4035: 
1.150     moko     4036: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4037: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4038: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   4039:   $as_echo_n "(cached) " >&6
1.62      paf      4040: else
                   4041:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4042:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4043:   # making bogus files that we don't know about and never remove.  For
                   4044:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4045:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4046:   # in D".
                   4047:   rm -rf conftest.dir
1.62      paf      4048:   mkdir conftest.dir
                   4049:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4050:   # using a relative directory.
                   4051:   cp "$am_depcomp" conftest.dir
                   4052:   cd conftest.dir
1.86      paf      4053:   # We will build objects and dependencies in a subdirectory because
                   4054:   # it helps to detect inapplicable dependency modes.  For instance
                   4055:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4056:   # side effect of compilation, but ICC will put the dependencies in
                   4057:   # the current directory while Tru64 will put them in the object
                   4058:   # directory.
                   4059:   mkdir sub
1.1       paf      4060: 
1.66      paf      4061:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      4062:   if test "$am_compiler_list" = ""; then
                   4063:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      4064:   fi
1.150     moko     4065:   am__universal=false
                   4066:   case " $depcc " in #(
                   4067:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4068:      esac
                   4069: 
1.62      paf      4070:   for depmode in $am_compiler_list; do
1.86      paf      4071:     # Setup a source with many dependencies, because some compilers
                   4072:     # like to wrap large dependency lists on column 80 (with \), and
                   4073:     # we should not choose a depcomp mode which is confused by this.
                   4074:     #
1.62      paf      4075:     # We need to recreate these files for each test, as the compiler may
                   4076:     # overwrite some of them when testing with obscure command lines.
                   4077:     # This happens at least with the AIX C compiler.
1.86      paf      4078:     : > sub/conftest.c
                   4079:     for i in 1 2 3 4 5 6; do
                   4080:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4081:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4082:       # Solaris 10 /bin/sh.
                   4083:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4084:     done
                   4085:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4086: 
1.187     moko     4087:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4088:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4089:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4090:     # versions had trouble with output in subdirs.
1.150     moko     4091:     am__obj=sub/conftest.${OBJEXT-o}
                   4092:     am__minus_obj="-o $am__obj"
1.62      paf      4093:     case $depmode in
1.150     moko     4094:     gcc)
                   4095:       # This depmode causes a compiler race in universal mode.
                   4096:       test "$am__universal" = false || continue
                   4097:       ;;
1.62      paf      4098:     nosideeffect)
1.187     moko     4099:       # After this tag, mechanisms are not by side-effect, so they'll
                   4100:       # only be used when explicitly requested.
1.62      paf      4101:       if test "x$enable_dependency_tracking" = xyes; then
                   4102:        continue
                   4103:       else
                   4104:        break
                   4105:       fi
                   4106:       ;;
1.187     moko     4107:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4108:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4109:       # not run yet.  These depmodes are late enough in the game, and
                   4110:       # so weak that their functioning should not be impacted.
                   4111:       am__obj=conftest.${OBJEXT-o}
                   4112:       am__minus_obj=
                   4113:       ;;
1.62      paf      4114:     none) break ;;
                   4115:     esac
                   4116:     if depmode=$depmode \
1.150     moko     4117:        source=sub/conftest.c object=$am__obj \
1.86      paf      4118:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4119:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4120:          >/dev/null 2>conftest.err &&
1.150     moko     4121:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4122:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4123:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      4124:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4125:       # icc doesn't choke on unknown options, it will just issue warnings
                   4126:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4127:       # that says an option was ignored or not supported.
                   4128:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4129:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4130:       # The diagnosis changed in icc 8.0:
                   4131:       #   icc: Command line remark: option '-MP' not supported
                   4132:       if (grep 'ignoring option' conftest.err ||
                   4133:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4134:         am_cv_CXX_dependencies_compiler_type=$depmode
                   4135:         break
                   4136:       fi
1.66      paf      4137:     fi
                   4138:   done
                   4139: 
                   4140:   cd ..
                   4141:   rm -rf conftest.dir
                   4142: else
                   4143:   am_cv_CXX_dependencies_compiler_type=none
                   4144: fi
                   4145: 
                   4146: fi
1.150     moko     4147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   4148: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      4149: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   4150: 
1.150     moko     4151:  if
1.66      paf      4152:   test "x$enable_dependency_tracking" != xno \
                   4153:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4154:   am__fastdepCXX_TRUE=
                   4155:   am__fastdepCXX_FALSE='#'
                   4156: else
                   4157:   am__fastdepCXX_TRUE='#'
                   4158:   am__fastdepCXX_FALSE=
                   4159: fi
                   4160: 
                   4161: 
                   4162: ac_ext=c
                   4163: ac_cpp='$CPP $CPPFLAGS'
                   4164: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4165: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4166: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4167: if test -n "$ac_tool_prefix"; then
                   4168:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4169: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4171: $as_echo_n "checking for $ac_word... " >&6; }
                   4172: if ${ac_cv_prog_CC+:} false; then :
                   4173:   $as_echo_n "(cached) " >&6
1.66      paf      4174: else
                   4175:   if test -n "$CC"; then
                   4176:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4177: else
                   4178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4179: for as_dir in $PATH
                   4180: do
                   4181:   IFS=$as_save_IFS
                   4182:   test -z "$as_dir" && as_dir=.
1.150     moko     4183:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4184:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4185:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4187:     break 2
                   4188:   fi
                   4189: done
1.150     moko     4190:   done
                   4191: IFS=$as_save_IFS
1.66      paf      4192: 
                   4193: fi
                   4194: fi
                   4195: CC=$ac_cv_prog_CC
                   4196: if test -n "$CC"; then
1.150     moko     4197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4198: $as_echo "$CC" >&6; }
1.66      paf      4199: else
1.150     moko     4200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4201: $as_echo "no" >&6; }
1.66      paf      4202: fi
                   4203: 
1.150     moko     4204: 
1.66      paf      4205: fi
                   4206: if test -z "$ac_cv_prog_CC"; then
                   4207:   ac_ct_CC=$CC
                   4208:   # Extract the first word of "gcc", so it can be a program name with args.
                   4209: set dummy gcc; ac_word=$2
1.150     moko     4210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4211: $as_echo_n "checking for $ac_word... " >&6; }
                   4212: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4213:   $as_echo_n "(cached) " >&6
1.66      paf      4214: else
                   4215:   if test -n "$ac_ct_CC"; then
                   4216:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4217: else
                   4218: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4219: for as_dir in $PATH
                   4220: do
                   4221:   IFS=$as_save_IFS
                   4222:   test -z "$as_dir" && as_dir=.
1.150     moko     4223:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4224:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4225:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4226:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4227:     break 2
                   4228:   fi
                   4229: done
1.150     moko     4230:   done
                   4231: IFS=$as_save_IFS
1.66      paf      4232: 
                   4233: fi
                   4234: fi
                   4235: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4236: if test -n "$ac_ct_CC"; then
1.150     moko     4237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4238: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4239: else
1.150     moko     4240:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4241: $as_echo "no" >&6; }
1.62      paf      4242: fi
                   4243: 
1.150     moko     4244:   if test "x$ac_ct_CC" = x; then
                   4245:     CC=""
                   4246:   else
                   4247:     case $cross_compiling:$ac_tool_warned in
                   4248: yes:)
                   4249: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4250: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4251: ac_tool_warned=yes ;;
                   4252: esac
                   4253:     CC=$ac_ct_CC
                   4254:   fi
1.66      paf      4255: else
                   4256:   CC="$ac_cv_prog_CC"
1.1       paf      4257: fi
1.62      paf      4258: 
1.66      paf      4259: if test -z "$CC"; then
1.150     moko     4260:           if test -n "$ac_tool_prefix"; then
                   4261:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4262: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4264: $as_echo_n "checking for $ac_word... " >&6; }
                   4265: if ${ac_cv_prog_CC+:} false; then :
                   4266:   $as_echo_n "(cached) " >&6
1.66      paf      4267: else
                   4268:   if test -n "$CC"; then
                   4269:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4270: else
                   4271: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4272: for as_dir in $PATH
                   4273: do
                   4274:   IFS=$as_save_IFS
                   4275:   test -z "$as_dir" && as_dir=.
1.150     moko     4276:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4277:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4278:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4279:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4280:     break 2
                   4281:   fi
                   4282: done
1.150     moko     4283:   done
                   4284: IFS=$as_save_IFS
1.62      paf      4285: 
1.66      paf      4286: fi
                   4287: fi
                   4288: CC=$ac_cv_prog_CC
                   4289: if test -n "$CC"; then
1.150     moko     4290:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4291: $as_echo "$CC" >&6; }
1.62      paf      4292: else
1.150     moko     4293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4294: $as_echo "no" >&6; }
1.1       paf      4295: fi
                   4296: 
1.150     moko     4297: 
1.66      paf      4298:   fi
1.1       paf      4299: fi
1.66      paf      4300: if test -z "$CC"; then
                   4301:   # Extract the first word of "cc", so it can be a program name with args.
                   4302: set dummy cc; ac_word=$2
1.150     moko     4303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4304: $as_echo_n "checking for $ac_word... " >&6; }
                   4305: if ${ac_cv_prog_CC+:} false; then :
                   4306:   $as_echo_n "(cached) " >&6
1.66      paf      4307: else
                   4308:   if test -n "$CC"; then
                   4309:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4310: else
                   4311:   ac_prog_rejected=no
                   4312: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4313: for as_dir in $PATH
                   4314: do
                   4315:   IFS=$as_save_IFS
                   4316:   test -z "$as_dir" && as_dir=.
1.150     moko     4317:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4318:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4319:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4320:        ac_prog_rejected=yes
                   4321:        continue
                   4322:      fi
                   4323:     ac_cv_prog_CC="cc"
1.150     moko     4324:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4325:     break 2
                   4326:   fi
                   4327: done
1.150     moko     4328:   done
                   4329: IFS=$as_save_IFS
1.62      paf      4330: 
1.66      paf      4331: if test $ac_prog_rejected = yes; then
                   4332:   # We found a bogon in the path, so make sure we never use it.
                   4333:   set dummy $ac_cv_prog_CC
                   4334:   shift
                   4335:   if test $# != 0; then
                   4336:     # We chose a different compiler from the bogus one.
                   4337:     # However, it has the same basename, so the bogon will be chosen
                   4338:     # first if we set CC to just the basename; use the full file name.
                   4339:     shift
                   4340:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4341:   fi
                   4342: fi
                   4343: fi
                   4344: fi
                   4345: CC=$ac_cv_prog_CC
                   4346: if test -n "$CC"; then
1.150     moko     4347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4348: $as_echo "$CC" >&6; }
1.66      paf      4349: else
1.150     moko     4350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4351: $as_echo "no" >&6; }
1.1       paf      4352: fi
                   4353: 
1.150     moko     4354: 
1.66      paf      4355: fi
                   4356: if test -z "$CC"; then
                   4357:   if test -n "$ac_tool_prefix"; then
1.150     moko     4358:   for ac_prog in cl.exe
1.62      paf      4359:   do
                   4360:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4361: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4363: $as_echo_n "checking for $ac_word... " >&6; }
                   4364: if ${ac_cv_prog_CC+:} false; then :
                   4365:   $as_echo_n "(cached) " >&6
1.62      paf      4366: else
1.66      paf      4367:   if test -n "$CC"; then
                   4368:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4369: else
                   4370: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4371: for as_dir in $PATH
                   4372: do
                   4373:   IFS=$as_save_IFS
                   4374:   test -z "$as_dir" && as_dir=.
1.150     moko     4375:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4376:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4377:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4378:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4379:     break 2
                   4380:   fi
                   4381: done
1.150     moko     4382:   done
                   4383: IFS=$as_save_IFS
1.1       paf      4384: 
1.62      paf      4385: fi
                   4386: fi
1.66      paf      4387: CC=$ac_cv_prog_CC
                   4388: if test -n "$CC"; then
1.150     moko     4389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4390: $as_echo "$CC" >&6; }
1.1       paf      4391: else
1.150     moko     4392:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4393: $as_echo "no" >&6; }
1.1       paf      4394: fi
                   4395: 
1.150     moko     4396: 
1.66      paf      4397:     test -n "$CC" && break
1.62      paf      4398:   done
                   4399: fi
1.66      paf      4400: if test -z "$CC"; then
                   4401:   ac_ct_CC=$CC
1.150     moko     4402:   for ac_prog in cl.exe
1.62      paf      4403: do
                   4404:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4405: set dummy $ac_prog; ac_word=$2
1.150     moko     4406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4407: $as_echo_n "checking for $ac_word... " >&6; }
                   4408: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4409:   $as_echo_n "(cached) " >&6
1.62      paf      4410: else
1.66      paf      4411:   if test -n "$ac_ct_CC"; then
                   4412:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4413: else
1.62      paf      4414: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4415: for as_dir in $PATH
                   4416: do
                   4417:   IFS=$as_save_IFS
                   4418:   test -z "$as_dir" && as_dir=.
1.150     moko     4419:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     4420:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.66      paf      4421:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4422:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4423:     break 2
                   4424:   fi
                   4425: done
1.150     moko     4426:   done
                   4427: IFS=$as_save_IFS
1.62      paf      4428: 
                   4429: fi
                   4430: fi
1.66      paf      4431: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4432: if test -n "$ac_ct_CC"; then
1.150     moko     4433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4434: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4435: else
1.150     moko     4436:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4437: $as_echo "no" >&6; }
1.1       paf      4438: fi
                   4439: 
1.150     moko     4440: 
1.66      paf      4441:   test -n "$ac_ct_CC" && break
                   4442: done
                   4443: 
1.150     moko     4444:   if test "x$ac_ct_CC" = x; then
                   4445:     CC=""
                   4446:   else
                   4447:     case $cross_compiling:$ac_tool_warned in
                   4448: yes:)
                   4449: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4450: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4451: ac_tool_warned=yes ;;
                   4452: esac
                   4453:     CC=$ac_ct_CC
                   4454:   fi
1.66      paf      4455: fi
                   4456: 
                   4457: fi
1.62      paf      4458: 
1.1       paf      4459: 
1.150     moko     4460: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4461: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4462: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4463: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4464: 
                   4465: # Provide some information about the compiler.
1.150     moko     4466: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4467: set X $ac_compile
                   4468: ac_compiler=$2
                   4469: for ac_option in --version -v -V -qversion; do
                   4470:   { { ac_try="$ac_compiler $ac_option >&5"
                   4471: case "(($ac_try" in
                   4472:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4473:   *) ac_try_echo=$ac_try;;
                   4474: esac
                   4475: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4476: $as_echo "$ac_try_echo"; } >&5
                   4477:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4478:   ac_status=$?
1.150     moko     4479:   if test -s conftest.err; then
                   4480:     sed '10a\
                   4481: ... rest of stderr output deleted ...
                   4482:          10q' conftest.err >conftest.er1
                   4483:     cat conftest.er1 >&5
                   4484:   fi
                   4485:   rm -f conftest.er1 conftest.err
                   4486:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4487:   test $ac_status = 0; }
                   4488: done
                   4489: 
                   4490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4491: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4492: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4493:   $as_echo_n "(cached) " >&6
1.62      paf      4494: else
1.150     moko     4495:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4496: /* end confdefs.h.  */
                   4497: 
                   4498: int
                   4499: main ()
                   4500: {
                   4501: #ifndef __GNUC__
                   4502:        choke me
                   4503: #endif
                   4504: 
                   4505:   ;
                   4506:   return 0;
                   4507: }
                   4508: _ACEOF
1.150     moko     4509: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4510:   ac_compiler_gnu=yes
                   4511: else
1.150     moko     4512:   ac_compiler_gnu=no
1.62      paf      4513: fi
1.150     moko     4514: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4515: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4516: 
                   4517: fi
1.150     moko     4518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4519: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4520: if test $ac_compiler_gnu = yes; then
                   4521:   GCC=yes
                   4522: else
                   4523:   GCC=
                   4524: fi
1.66      paf      4525: ac_test_CFLAGS=${CFLAGS+set}
                   4526: ac_save_CFLAGS=$CFLAGS
1.150     moko     4527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4528: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4529: if ${ac_cv_prog_cc_g+:} false; then :
                   4530:   $as_echo_n "(cached) " >&6
                   4531: else
                   4532:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4533:    ac_c_werror_flag=yes
                   4534:    ac_cv_prog_cc_g=no
                   4535:    CFLAGS="-g"
                   4536:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4537: /* end confdefs.h.  */
                   4538: 
                   4539: int
                   4540: main ()
                   4541: {
                   4542: 
                   4543:   ;
                   4544:   return 0;
                   4545: }
                   4546: _ACEOF
1.150     moko     4547: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4548:   ac_cv_prog_cc_g=yes
1.62      paf      4549: else
1.150     moko     4550:   CFLAGS=""
                   4551:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4552: /* end confdefs.h.  */
                   4553: 
                   4554: int
                   4555: main ()
                   4556: {
1.62      paf      4557: 
1.150     moko     4558:   ;
                   4559:   return 0;
                   4560: }
                   4561: _ACEOF
                   4562: if ac_fn_c_try_compile "$LINENO"; then :
                   4563: 
                   4564: else
                   4565:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4566:         CFLAGS="-g"
                   4567:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4568: /* end confdefs.h.  */
                   4569: 
                   4570: int
                   4571: main ()
                   4572: {
                   4573: 
                   4574:   ;
                   4575:   return 0;
                   4576: }
                   4577: _ACEOF
                   4578: if ac_fn_c_try_compile "$LINENO"; then :
                   4579:   ac_cv_prog_cc_g=yes
                   4580: fi
                   4581: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4582: fi
1.150     moko     4583: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4584: fi
1.150     moko     4585: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4586:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4587: fi
                   4588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4589: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4590: if test "$ac_test_CFLAGS" = set; then
                   4591:   CFLAGS=$ac_save_CFLAGS
                   4592: elif test $ac_cv_prog_cc_g = yes; then
                   4593:   if test "$GCC" = yes; then
                   4594:     CFLAGS="-g -O2"
1.1       paf      4595:   else
1.66      paf      4596:     CFLAGS="-g"
1.1       paf      4597:   fi
                   4598: else
1.66      paf      4599:   if test "$GCC" = yes; then
                   4600:     CFLAGS="-O2"
1.1       paf      4601:   else
1.66      paf      4602:     CFLAGS=
1.1       paf      4603:   fi
                   4604: fi
1.150     moko     4605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4606: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4607: if ${ac_cv_prog_cc_c89+:} false; then :
                   4608:   $as_echo_n "(cached) " >&6
1.66      paf      4609: else
1.150     moko     4610:   ac_cv_prog_cc_c89=no
1.66      paf      4611: ac_save_CC=$CC
1.150     moko     4612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4613: /* end confdefs.h.  */
                   4614: #include <stdarg.h>
                   4615: #include <stdio.h>
1.166     moko     4616: struct stat;
1.66      paf      4617: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4618: struct buf { int x; };
                   4619: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4620: static char *e (p, i)
                   4621:      char **p;
                   4622:      int i;
                   4623: {
                   4624:   return p[i];
                   4625: }
                   4626: static char *f (char * (*g) (char **, int), char **p, ...)
                   4627: {
                   4628:   char *s;
                   4629:   va_list v;
                   4630:   va_start (v,p);
                   4631:   s = g (p, va_arg (v,int));
                   4632:   va_end (v);
                   4633:   return s;
                   4634: }
1.86      paf      4635: 
                   4636: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4637:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4638:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4639:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4640:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4641:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4642:    that's true only with -std.  */
1.86      paf      4643: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4644: 
1.150     moko     4645: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4646:    inside strings and character constants.  */
                   4647: #define FOO(x) 'x'
                   4648: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4649: 
1.66      paf      4650: int test (int i, double x);
                   4651: struct s1 {int (*f) (int a);};
                   4652: struct s2 {int (*f) (double a);};
                   4653: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4654: int argc;
                   4655: char **argv;
                   4656: int
                   4657: main ()
                   4658: {
                   4659: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4660:   ;
                   4661:   return 0;
                   4662: }
                   4663: _ACEOF
1.150     moko     4664: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4665:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4666: do
                   4667:   CC="$ac_save_CC $ac_arg"
1.150     moko     4668:   if ac_fn_c_try_compile "$LINENO"; then :
                   4669:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4670: fi
1.150     moko     4671: rm -f core conftest.err conftest.$ac_objext
                   4672:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4673: done
1.150     moko     4674: rm -f conftest.$ac_ext
1.66      paf      4675: CC=$ac_save_CC
                   4676: 
                   4677: fi
1.150     moko     4678: # AC_CACHE_VAL
                   4679: case "x$ac_cv_prog_cc_c89" in
                   4680:   x)
                   4681:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4682: $as_echo "none needed" >&6; } ;;
                   4683:   xno)
                   4684:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4685: $as_echo "unsupported" >&6; } ;;
1.66      paf      4686:   *)
1.150     moko     4687:     CC="$CC $ac_cv_prog_cc_c89"
                   4688:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4689: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4690: esac
1.150     moko     4691: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4692: 
                   4693: fi
1.66      paf      4694: 
1.62      paf      4695: ac_ext=c
                   4696: ac_cpp='$CPP $CPPFLAGS'
                   4697: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4698: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4699: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4700: 
1.187     moko     4701: ac_ext=c
                   4702: ac_cpp='$CPP $CPPFLAGS'
                   4703: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4704: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4705: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
                   4707: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
                   4708: if ${am_cv_prog_cc_c_o+:} false; then :
                   4709:   $as_echo_n "(cached) " >&6
                   4710: else
                   4711:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4712: /* end confdefs.h.  */
                   4713: 
                   4714: int
                   4715: main ()
                   4716: {
                   4717: 
                   4718:   ;
                   4719:   return 0;
                   4720: }
                   4721: _ACEOF
                   4722:   # Make sure it works both with $CC and with simple cc.
                   4723:   # Following AC_PROG_CC_C_O, we do the test twice because some
                   4724:   # compilers refuse to overwrite an existing .o file with -o,
                   4725:   # though they will create one.
                   4726:   am_cv_prog_cc_c_o=yes
                   4727:   for am_i in 1 2; do
                   4728:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
                   4729:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
                   4730:    ac_status=$?
                   4731:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4732:    (exit $ac_status); } \
                   4733:          && test -f conftest2.$ac_objext; then
                   4734:       : OK
                   4735:     else
                   4736:       am_cv_prog_cc_c_o=no
                   4737:       break
                   4738:     fi
                   4739:   done
                   4740:   rm -f core conftest*
                   4741:   unset am_i
                   4742: fi
                   4743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
                   4744: $as_echo "$am_cv_prog_cc_c_o" >&6; }
                   4745: if test "$am_cv_prog_cc_c_o" != yes; then
                   4746:    # Losing compiler, so override with the script.
                   4747:    # FIXME: It is wrong to rewrite CC.
                   4748:    # But if we don't then we get into trouble of one sort or another.
                   4749:    # A longer-term fix would be to have automake use am__CC in this case,
                   4750:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4751:    CC="$am_aux_dir/compile $CC"
                   4752: fi
                   4753: ac_ext=c
                   4754: ac_cpp='$CPP $CPPFLAGS'
                   4755: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4756: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4757: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4758: 
                   4759: 
1.66      paf      4760: depcc="$CC"   am_compiler_list=
1.62      paf      4761: 
1.150     moko     4762: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4763: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4764: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4765:   $as_echo_n "(cached) " >&6
1.62      paf      4766: else
                   4767:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4768:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4769:   # making bogus files that we don't know about and never remove.  For
                   4770:   # instance it was reported that on HP-UX the gcc test will end up
1.187     moko     4771:   # making a dummy file named 'D' -- because '-MD' means "put the output
                   4772:   # in D".
                   4773:   rm -rf conftest.dir
1.62      paf      4774:   mkdir conftest.dir
                   4775:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4776:   # using a relative directory.
                   4777:   cp "$am_depcomp" conftest.dir
                   4778:   cd conftest.dir
1.86      paf      4779:   # We will build objects and dependencies in a subdirectory because
                   4780:   # it helps to detect inapplicable dependency modes.  For instance
                   4781:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4782:   # side effect of compilation, but ICC will put the dependencies in
                   4783:   # the current directory while Tru64 will put them in the object
                   4784:   # directory.
                   4785:   mkdir sub
1.62      paf      4786: 
1.66      paf      4787:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4788:   if test "$am_compiler_list" = ""; then
                   4789:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4790:   fi
1.150     moko     4791:   am__universal=false
                   4792:   case " $depcc " in #(
                   4793:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4794:      esac
                   4795: 
1.62      paf      4796:   for depmode in $am_compiler_list; do
1.86      paf      4797:     # Setup a source with many dependencies, because some compilers
                   4798:     # like to wrap large dependency lists on column 80 (with \), and
                   4799:     # we should not choose a depcomp mode which is confused by this.
                   4800:     #
1.62      paf      4801:     # We need to recreate these files for each test, as the compiler may
                   4802:     # overwrite some of them when testing with obscure command lines.
                   4803:     # This happens at least with the AIX C compiler.
1.86      paf      4804:     : > sub/conftest.c
                   4805:     for i in 1 2 3 4 5 6; do
                   4806:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.187     moko     4807:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
                   4808:       # Solaris 10 /bin/sh.
                   4809:       echo '/* dummy */' > sub/conftst$i.h
1.86      paf      4810:     done
                   4811:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4812: 
1.187     moko     4813:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.150     moko     4814:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.187     moko     4815:     # handle '-M -o', and we need to detect this.  Also, some Intel
                   4816:     # versions had trouble with output in subdirs.
1.150     moko     4817:     am__obj=sub/conftest.${OBJEXT-o}
                   4818:     am__minus_obj="-o $am__obj"
1.62      paf      4819:     case $depmode in
1.150     moko     4820:     gcc)
                   4821:       # This depmode causes a compiler race in universal mode.
                   4822:       test "$am__universal" = false || continue
                   4823:       ;;
1.62      paf      4824:     nosideeffect)
1.187     moko     4825:       # After this tag, mechanisms are not by side-effect, so they'll
                   4826:       # only be used when explicitly requested.
1.62      paf      4827:       if test "x$enable_dependency_tracking" = xyes; then
                   4828:        continue
                   4829:       else
                   4830:        break
                   4831:       fi
                   4832:       ;;
1.187     moko     4833:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
                   4834:       # This compiler won't grok '-c -o', but also, the minuso test has
1.150     moko     4835:       # not run yet.  These depmodes are late enough in the game, and
                   4836:       # so weak that their functioning should not be impacted.
                   4837:       am__obj=conftest.${OBJEXT-o}
                   4838:       am__minus_obj=
                   4839:       ;;
1.62      paf      4840:     none) break ;;
                   4841:     esac
1.66      paf      4842:     if depmode=$depmode \
1.150     moko     4843:        source=sub/conftest.c object=$am__obj \
1.86      paf      4844:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4845:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4846:          >/dev/null 2>conftest.err &&
1.150     moko     4847:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4848:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4849:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4850:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4851:       # icc doesn't choke on unknown options, it will just issue warnings
                   4852:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4853:       # that says an option was ignored or not supported.
                   4854:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4855:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4856:       # The diagnosis changed in icc 8.0:
                   4857:       #   icc: Command line remark: option '-MP' not supported
                   4858:       if (grep 'ignoring option' conftest.err ||
                   4859:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4860:         am_cv_CC_dependencies_compiler_type=$depmode
                   4861:         break
                   4862:       fi
1.66      paf      4863:     fi
                   4864:   done
                   4865: 
                   4866:   cd ..
                   4867:   rm -rf conftest.dir
                   4868: else
                   4869:   am_cv_CC_dependencies_compiler_type=none
                   4870: fi
                   4871: 
                   4872: fi
1.150     moko     4873: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4874: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4875: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4876: 
1.150     moko     4877:  if
1.66      paf      4878:   test "x$enable_dependency_tracking" != xno \
                   4879:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4880:   am__fastdepCC_TRUE=
                   4881:   am__fastdepCC_FALSE='#'
                   4882: else
                   4883:   am__fastdepCC_TRUE='#'
                   4884:   am__fastdepCC_FALSE=
                   4885: fi
                   4886: 
                   4887: 
1.128     moko     4888: 
1.66      paf      4889: ac_ext=c
                   4890: ac_cpp='$CPP $CPPFLAGS'
                   4891: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4892: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4893: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4894: 
1.67      paf      4895: 
1.62      paf      4896: 
1.150     moko     4897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4898: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4899: case "$host_os" in
1.158     moko     4900:   *cygwin* ) dll_extension=dll;;
                   4901:   * ) dll_extension=so
1.66      paf      4902: esac
1.150     moko     4903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4904: $as_echo "$dll_extension" >&6; }
1.1       paf      4905: 
1.71      paf      4906: 
                   4907: 
                   4908: 
1.150     moko     4909: # Check whether --with-build-warnings was given.
                   4910: if test "${with_build_warnings+set}" = set; then :
                   4911:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4912: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.225     moko     4913:        CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -Wextra -Wall -Wno-parentheses"
1.71      paf      4914: 
1.150     moko     4915: fi
                   4916: 
1.1       paf      4917: 
                   4918: 
1.182     moko     4919: # Check whether --with-coverage was given.
                   4920: if test "${with_coverage+set}" = set; then :
                   4921:   withval=$with_coverage; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gcov support" >&5
                   4922: $as_echo "$as_me: WARNING: enabling gcov support" >&2;}
                   4923:        CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O0-9*//g'`
                   4924:        CXXFLAGS=`echo "$XXCFLAGS" | $SED -e 's/-O0-9*//g'`
                   4925:        CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4926:        CXXFLAGS="$CXXFLAGS -O0 -fprofile-arcs -ftest-coverage"
                   4927:        LDFLAGS="$LDFLAGS -lgcov"
                   4928: 
                   4929: fi
                   4930: 
                   4931: 
                   4932: 
                   4933: # Check whether --with-profiler was given.
                   4934: if test "${with_profiler+set}" = set; then :
                   4935:   withval=$with_profiler; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling gprof support" >&5
                   4936: $as_echo "$as_me: WARNING: enabling gprof support" >&2;}
1.193     moko     4937:        CFLAGS="$CFLAGS -O0 -pg -g"
                   4938:        CXXFLAGS="$CXXFLAGS -O0 -pg -g"
1.182     moko     4939: 
                   4940: fi
                   4941: 
                   4942: 
                   4943: 
1.150     moko     4944: # Check whether --with-assertions was given.
                   4945: if test "${with_assertions+set}" = set; then :
                   4946:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4947: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4948: 
                   4949: else
                   4950: 
1.150     moko     4951: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4952: 
1.67      paf      4953: 
1.150     moko     4954: fi
1.67      paf      4955: 
                   4956: 
1.94      misha    4957: 
1.150     moko     4958: # Check whether --with-sjlj-exceptions was given.
                   4959: if test "${with_sjlj_exceptions+set}" = set; then :
                   4960:   withval=$with_sjlj_exceptions;
                   4961: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4962: 
                   4963: 
1.150     moko     4964: fi
1.128     moko     4965: 
                   4966: 
1.62      paf      4967: 
1.201     moko     4968: 
1.203     moko     4969: # Check whether --with-system-cfg was given.
                   4970: if test "${with_system_cfg+set}" = set; then :
                   4971:   withval=$with_system_cfg;
                   4972: cat >>confdefs.h <<_ACEOF
                   4973: #define SYSTEM_CONFIG_FILE "$withval"
                   4974: _ACEOF
1.201     moko     4975: 
                   4976: 
                   4977: fi
                   4978: 
                   4979: 
                   4980: 
1.150     moko     4981: # Check whether --enable-safe-mode was given.
                   4982: if test "${enable_safe_mode+set}" = set; then :
                   4983:   enableval=$enable_safe_mode;
1.67      paf      4984:        SAFE_MODE=$enableval
1.60      paf      4985: 
1.1       paf      4986: 
1.150     moko     4987: fi
                   4988: 
1.128     moko     4989: 
1.60      paf      4990: if test "$SAFE_MODE" = "no"; then
1.150     moko     4991:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4992: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4993: else
1.62      paf      4994: 
1.150     moko     4995: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4996: 
                   4997: fi
                   4998: 
1.94      misha    4999: 
1.150     moko     5000: # Check whether --enable-execs was given.
                   5001: if test "${enable_execs+set}" = set; then :
                   5002:   enableval=$enable_execs;
1.13      paf      5003: if test "$enableval" = "no"; then
1.150     moko     5004:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   5005: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      5006: 
1.150     moko     5007: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      5008: 
                   5009: fi
                   5010: 
                   5011: 
1.150     moko     5012: fi
1.13      paf      5013: 
1.60      paf      5014: 
1.94      misha    5015: 
1.150     moko     5016: # Check whether --enable-stringstream was given.
                   5017: if test "${enable_stringstream+set}" = set; then :
                   5018:   enableval=$enable_stringstream;
1.94      misha    5019: if test "$enableval" = "no"; then
1.150     moko     5020:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   5021: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    5022: 
1.150     moko     5023: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    5024: 
                   5025: fi
                   5026: 
                   5027: 
1.150     moko     5028: fi
1.94      misha    5029: 
                   5030: 
1.62      paf      5031: 
1.17      paf      5032: 
1.150     moko     5033: # Check whether --with-gc was given.
                   5034: if test "${with_gc+set}" = set; then :
                   5035:   withval=$with_gc;
1.17      paf      5036: 
1.142     moko     5037:        GC=$withval
                   5038:        GC_LIBS="$GC/libgc.la"
                   5039: 
                   5040:        if test -f $GC_LIBS; then
                   5041:                GC_OK="yes"
                   5042:        else
                   5043:                GC_LIBS="-L$GC -lgc"
                   5044:        fi
1.62      paf      5045: 
1.151     moko     5046:        if test "$GC" = "yes"; then
                   5047:                GC=""
                   5048:                GC_LIBS="-lgc"
                   5049:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   5050: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   5051:        fi
                   5052: 
1.142     moko     5053: else
1.17      paf      5054: 
1.142     moko     5055:        GC_LIBS="-lgc"
1.150     moko     5056:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   5057: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   5058: 
                   5059: fi
1.17      paf      5060: 
                   5061: 
1.142     moko     5062: if test -z "$GC_OK"; then
1.150     moko     5063:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   5064: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     5065:        SAVE_LIBS=$LIBS
                   5066:        LIBS="$LIBS $GC_LIBS"
1.128     moko     5067: 
1.229     moko     5068: 
                   5069:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      5070: /* end confdefs.h.  */
1.142     moko     5071:  extern int GC_dont_gc;
1.67      paf      5072: int
                   5073: main ()
                   5074: {
1.142     moko     5075:  GC_dont_gc=0;
1.67      paf      5076:   ;
                   5077:   return 0;
                   5078: }
                   5079: _ACEOF
1.150     moko     5080: if ac_fn_c_try_link "$LINENO"; then :
                   5081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5082: $as_echo "yes" >&6; }
1.67      paf      5083: 
                   5084: else
1.150     moko     5085:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5086: $as_echo "no" >&6; }
1.142     moko     5087:                if test -z "$GC"; then
1.201     moko     5088:                        as_fn_error $? "please specify path to libgc: --with-gc=DIR" "$LINENO" 5
1.142     moko     5089:                else
1.150     moko     5090:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     5091:                fi
1.67      paf      5092: 
1.229     moko     5093: 
1.67      paf      5094: fi
1.150     moko     5095: rm -f core conftest.err conftest.$ac_objext \
                   5096:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5097: 
1.138     moko     5098:        LIBS=$SAVE_LIBS
                   5099: fi
1.67      paf      5100: 
                   5101: 
1.1       paf      5102: 
1.15      paf      5103: 
1.142     moko     5104: 
1.150     moko     5105: # Check whether --with-pcre was given.
                   5106: if test "${with_pcre+set}" = set; then :
                   5107:   withval=$with_pcre;
1.100     misha    5108:        PCRE=$withval
                   5109: 
1.151     moko     5110:        if test "$PCRE" = "yes"; then
                   5111:                PCRE=""
                   5112:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   5113: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
1.218     moko     5114:        else
                   5115:                PCRE_INCLUDES="-I$PCRE/include"
                   5116: 
                   5117:                if test -f $PCRE/include/pcre.h -a -f $PCRE/lib/libpcre.la; then
                   5118:                        PCRE_OK="yes"
                   5119:                        PCRE_LIBS="$PCRE/lib/libpcre.la"
                   5120:                else
                   5121:                        if test -f $PCRE/include/pcre2.h -a -f $PCRE/lib/libpcre2-8.la; then
                   5122:                                PCRE_OK="yes"
                   5123:                                PCRE_LIBS="$PCRE/lib/libpcre2-8.la"
                   5124: 
                   5125: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5126: 
                   5127:                        else
                   5128:                                PCRE_LIBS="-L$PCRE/lib"
                   5129:                        fi
                   5130:                fi
1.151     moko     5131:        fi
1.142     moko     5132: 
                   5133: else
                   5134: 
1.150     moko     5135:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   5136: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   5137: 
                   5138: fi
1.100     misha    5139: 
                   5140: 
1.142     moko     5141: if test -z "$PCRE_OK"; then
1.218     moko     5142:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre2" >&5
                   5143: $as_echo_n "checking for pcre2... " >&6; }
                   5144:        SAVE_LIBS=$LIBS
                   5145:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES -lpcre2-8"
1.229     moko     5146: 
                   5147:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.218     moko     5148: /* end confdefs.h.  */
                   5149:  #define PCRE2_CODE_UNIT_WIDTH 8
                   5150: #include <pcre2.h>
                   5151: int
                   5152: main ()
                   5153: {
                   5154:  void *v=pcre2_general_context_create(0,0,0);
                   5155:   ;
                   5156:   return 0;
                   5157: }
                   5158: _ACEOF
                   5159: if ac_fn_c_try_link "$LINENO"; then :
                   5160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5161: $as_echo "yes" >&6; }
                   5162:                PCRE_LIBS="$PCRE_LIBS -lpcre2-8"
                   5163: 
                   5164: $as_echo "#define HAVE_PCRE2 /**/" >>confdefs.h
                   5165: 
                   5166:                PCRE_OK="yes"
                   5167: 
                   5168: else
                   5169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5170: $as_echo "no" >&6; }
                   5171: 
1.229     moko     5172: 
1.218     moko     5173: fi
                   5174: rm -f core conftest.err conftest.$ac_objext \
                   5175:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5176: 
1.218     moko     5177:        LIBS=$SAVE_LIBS
                   5178: fi
                   5179: 
                   5180: if test -z "$PCRE_OK"; then
                   5181:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre" >&5
                   5182: $as_echo_n "checking for pcre... " >&6; }
                   5183:        PCRE_LIBS="$PCRE_LIBS -lpcre"
1.142     moko     5184:        SAVE_LIBS=$LIBS
                   5185:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.229     moko     5186: 
                   5187:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5188: /* end confdefs.h.  */
                   5189:  #include <pcre.h>
                   5190: int
                   5191: main ()
                   5192: {
                   5193:  const char *v=pcre_version();
                   5194:   ;
                   5195:   return 0;
                   5196: }
                   5197: _ACEOF
1.150     moko     5198: if ac_fn_c_try_link "$LINENO"; then :
                   5199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5200: $as_echo "yes" >&6; }
1.142     moko     5201: 
                   5202: else
1.150     moko     5203:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5204: $as_echo "no" >&6; }
1.142     moko     5205:                if test -z "$PCRE"; then
1.201     moko     5206:                        as_fn_error $? "please specify path to PCRE: --with-pcre=DIR" "$LINENO" 5
1.142     moko     5207:                else
1.150     moko     5208:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     5209:                fi
                   5210: 
1.229     moko     5211: 
1.142     moko     5212: fi
1.150     moko     5213: rm -f core conftest.err conftest.$ac_objext \
                   5214:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5215: 
1.142     moko     5216:        LIBS=$SAVE_LIBS
                   5217: fi
1.100     misha    5218: 
                   5219: 
                   5220: 
                   5221: 
1.66      paf      5222: 
                   5223: 
1.150     moko     5224: # Check whether --with-xml was given.
                   5225: if test "${with_xml+set}" = set; then :
                   5226:   withval=$with_xml;
1.66      paf      5227: 
1.142     moko     5228:        XML=$withval
                   5229:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   5230: 
                   5231:        if test -z "$XML" -o "$XML" = "yes"; then
                   5232:                XML=""
                   5233:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     5234:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   5235: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     5236:        else
                   5237:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.193     moko     5238:                XML_LIBS="-L$XML/lib $XML_LIBS"
1.67      paf      5239: 
1.142     moko     5240:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   5241:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   5242:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   5243:                        XML_OK="yes"
                   5244:                fi
1.67      paf      5245:        fi
1.66      paf      5246: 
1.142     moko     5247:        if test -z "$XML_OK"; then
1.150     moko     5248:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   5249: $as_echo_n "checking for xml... " >&6; }
1.142     moko     5250:                SAVE_LIBS=$LIBS
                   5251:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.229     moko     5252: 
                   5253:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     5254: /* end confdefs.h.  */
                   5255:  #include <libxslt/xslt.h>
                   5256: int
                   5257: main ()
                   5258: {
                   5259:  const char *v=xsltEngineVersion;
                   5260:   ;
                   5261:   return 0;
                   5262: }
                   5263: _ACEOF
1.150     moko     5264: if ac_fn_c_try_link "$LINENO"; then :
                   5265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5266: $as_echo "yes" >&6; }
1.142     moko     5267: 
                   5268: else
1.150     moko     5269:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5270: $as_echo "no" >&6; }
1.142     moko     5271:                        if test -z "$XML"; then
1.201     moko     5272:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=DIR" "$LINENO" 5
1.142     moko     5273:                        else
1.150     moko     5274:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     5275:                        fi
                   5276: 
1.229     moko     5277: 
1.142     moko     5278: fi
1.150     moko     5279: rm -f core conftest.err conftest.$ac_objext \
                   5280:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5281: 
1.142     moko     5282:                LIBS=$SAVE_LIBS
1.67      paf      5283:        fi
1.66      paf      5284: 
1.150     moko     5285: $as_echo "#define XML /**/" >>confdefs.h
                   5286: 
1.66      paf      5287: 
1.150     moko     5288: fi
1.66      paf      5289: 
1.90      paf      5290: 
1.66      paf      5291: 
                   5292: 
                   5293: 
                   5294: 
1.90      paf      5295: 
1.154     moko     5296: # Check whether --with-mailreceive was given.
                   5297: if test "${with_mailreceive+set}" = set; then :
                   5298:   withval=$with_mailreceive;
                   5299:        MIME=$withval
1.155     moko     5300:        GLIB="glib-2.0"
1.154     moko     5301:        GMIME="gmime-2.4"
                   5302: 
                   5303:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   5304:                MIME=""
                   5305:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5306:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
1.194     moko     5307:                if test -z "$MIME_LIBS"; then
                   5308:                        GMIME="gmime-3.0"
                   5309:                        MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5310:                        MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5311:                fi
1.154     moko     5312:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5313: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5314:        else
1.155     moko     5315:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5316:                MIME_LIBS="-l$GMIME"
                   5317:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5318:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5319:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5320:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5321:                        else
                   5322:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5323:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5324:                        fi
1.154     moko     5325:                        MIME_OK="yes"
                   5326:                fi
1.67      paf      5327:        fi
1.66      paf      5328: 
1.154     moko     5329:        if test -z "$MIME_OK"; then
                   5330:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5331: $as_echo_n "checking for mime... " >&6; }
                   5332:                SAVE_LIBS=$LIBS
                   5333:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
1.229     moko     5334: 
                   5335:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.154     moko     5336: /* end confdefs.h.  */
                   5337:  #include <gmime/gmime.h>
                   5338: int
                   5339: main ()
                   5340: {
                   5341:  guint v=gmime_major_version;
                   5342:   ;
                   5343:   return 0;
                   5344: }
                   5345: _ACEOF
                   5346: if ac_fn_c_try_link "$LINENO"; then :
                   5347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5348: $as_echo "yes" >&6; }
1.66      paf      5349: 
1.154     moko     5350: else
                   5351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5352: $as_echo "no" >&6; }
                   5353:                        if test -z "$MIME"; then
1.201     moko     5354:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=DIR" "$LINENO" 5
1.154     moko     5355:                        else
                   5356:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5357:                        fi
1.66      paf      5358: 
1.229     moko     5359: 
1.150     moko     5360: fi
1.154     moko     5361: rm -f core conftest.err conftest.$ac_objext \
                   5362:     conftest$ac_exeext conftest.$ac_ext
1.229     moko     5363: 
1.154     moko     5364:                LIBS=$SAVE_LIBS
1.67      paf      5365:        fi
1.66      paf      5366: 
1.150     moko     5367: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5368: 
                   5369: 
1.154     moko     5370: fi
1.66      paf      5371: 
                   5372: 
                   5373: 
                   5374: 
                   5375: 
                   5376: 
                   5377: 
1.232   ! moko     5378: # Check whether --with-amqp was given.
        !          5379: if test "${with_amqp+set}" = set; then :
        !          5380:   withval=$with_amqp;
        !          5381:     AMQP=$withval
        !          5382: 
        !          5383:     if test -z "$AMQP" -o "$AMQP" = "yes"; then
        !          5384:         AMQP_INCLUDES=""
        !          5385:         AMQP_LIBS="-lrabbitmq"
        !          5386:         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-amqp value was not specified, hoping linker would find it" >&5
        !          5387: $as_echo "$as_me: WARNING: --with-amqp value was not specified, hoping linker would find it" >&2;}
        !          5388:     else
        !          5389:         AMQP_INCLUDES="-I$AMQP/include"
        !          5390:         if test -f $AMQP/lib/librabbitmq.la; then
        !          5391:             AMQP_LIBS="$AMQP/lib/librabbitmq.la"
        !          5392:         else
        !          5393:             AMQP_LIBS="-L$AMQP/lib -lrabbitmq"
        !          5394:         fi
        !          5395:     fi
        !          5396: 
        !          5397:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librabbitmq" >&5
        !          5398: $as_echo_n "checking for librabbitmq... " >&6; }
        !          5399:     SAVE_LIBS=$LIBS
        !          5400:     LIBS="$LIBS $AMQP_LIBS $AMQP_INCLUDES"
        !          5401: 
        !          5402:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5403: /* end confdefs.h.  */
        !          5404:  #include <amqp.h>
        !          5405: int
        !          5406: main ()
        !          5407: {
        !          5408:  amqp_connection_state_t c = 0;
        !          5409:   ;
        !          5410:   return 0;
        !          5411: }
        !          5412: _ACEOF
        !          5413: if ac_fn_c_try_link "$LINENO"; then :
        !          5414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5415: $as_echo "yes" >&6; }
        !          5416: 
        !          5417: else
        !          5418:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5419: $as_echo "no" >&6; }
        !          5420:         if test -z "$AMQP"; then
        !          5421:             as_fn_error $? "please specify path to librabbitmq: --with-amqp=DIR" "$LINENO" 5
        !          5422:         else
        !          5423:             as_fn_error $? "$AMQP does not seem to be valid librabbitmq installation directory" "$LINENO" 5
        !          5424:         fi
        !          5425: 
        !          5426: 
        !          5427: fi
        !          5428: rm -f core conftest.err conftest.$ac_objext \
        !          5429:     conftest$ac_exeext conftest.$ac_ext
        !          5430: 
        !          5431:     LIBS=$SAVE_LIBS
        !          5432: 
        !          5433: $as_echo "#define WITH_AMQP /**/" >>confdefs.h
        !          5434: 
        !          5435: 
        !          5436: fi
        !          5437: 
        !          5438: 
        !          5439: 
        !          5440: 
        !          5441: 
        !          5442: 
1.150     moko     5443: # Check whether --with-sendmail was given.
                   5444: if test "${with_sendmail+set}" = set; then :
                   5445:   withval=$with_sendmail;
1.66      paf      5446: cat >>confdefs.h <<_ACEOF
                   5447: #define PA_FORCED_SENDMAIL "$withval"
                   5448: _ACEOF
                   5449: 
                   5450: 
1.150     moko     5451: fi
1.66      paf      5452: 
                   5453: 
                   5454: 
1.122     moko     5455: 
1.150     moko     5456: # Check whether --with-apache was given.
                   5457: if test "${with_apache+set}" = set; then :
                   5458:   withval=$with_apache;
1.122     moko     5459:        APXS=$withval
                   5460: 
                   5461:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5462:                APXS=`which apxs 2>/dev/null`
1.142     moko     5463:                if test -z "$APXS"; then
                   5464:                        APXS=`which apxs2 2>/dev/null`
                   5465:                fi
                   5466:        fi
1.122     moko     5467: 
                   5468:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5469: 
                   5470:        if test -z "$APACHE"; then
1.150     moko     5471:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5472:        fi
1.7       paf      5473: 
1.122     moko     5474:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5475:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5476:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5477:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5478: 
1.150     moko     5479: fi
1.7       paf      5480: 
                   5481: 
1.62      paf      5482: 
1.122     moko     5483: 
1.150     moko     5484:  if test -n "$APACHE"; then
1.122     moko     5485:   COMPILE_APACHE_MODULE_TRUE=
                   5486:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5487: else
1.122     moko     5488:   COMPILE_APACHE_MODULE_TRUE='#'
                   5489:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5490: fi
1.1       paf      5491: 
                   5492: 
                   5493: 
1.62      paf      5494: 
                   5495: 
1.7       paf      5496: 
1.1       paf      5497: 
                   5498: 
                   5499: 
1.62      paf      5500: 
1.128     moko     5501: case `pwd` in
                   5502:   *\ * | *\    *)
1.150     moko     5503:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5504: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5505: esac
                   5506: 
                   5507: 
                   5508: 
                   5509: macro_version='2.4.2'
                   5510: macro_revision='1.3337'
                   5511: 
                   5512: 
                   5513: 
                   5514: 
                   5515: 
                   5516: 
                   5517: 
                   5518: 
                   5519: 
                   5520: 
                   5521: 
                   5522: 
                   5523: 
                   5524: ltmain="$ac_aux_dir/ltmain.sh"
                   5525: 
                   5526: # Backslashify metacharacters that are still active within
                   5527: # double-quoted strings.
                   5528: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5529: 
1.128     moko     5530: # Same as above, but do not quote variable references.
                   5531: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5532: 
1.128     moko     5533: # Sed substitution to delay expansion of an escaped shell variable in a
                   5534: # double_quote_subst'ed string.
                   5535: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5536: 
1.128     moko     5537: # Sed substitution to delay expansion of an escaped single quote.
                   5538: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5539: 
1.128     moko     5540: # Sed substitution to avoid accidental globbing in evaled expressions
                   5541: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5542: 
1.128     moko     5543: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5544: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5545: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5546: 
1.150     moko     5547: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5548: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5549: # Test print first, because it will be a builtin if present.
                   5550: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5551:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5552:   ECHO='print -r --'
                   5553: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5554:   ECHO='printf %s\n'
                   5555: else
                   5556:   # Use this function as a fallback that always works.
                   5557:   func_fallback_echo ()
                   5558:   {
                   5559:     eval 'cat <<_LTECHO_EOF
                   5560: $1
                   5561: _LTECHO_EOF'
                   5562:   }
                   5563:   ECHO='func_fallback_echo'
                   5564: fi
1.86      paf      5565: 
1.128     moko     5566: # func_echo_all arg...
                   5567: # Invoke $ECHO with all args, space-separated.
                   5568: func_echo_all ()
1.66      paf      5569: {
1.128     moko     5570:     $ECHO ""
1.66      paf      5571: }
1.10      paf      5572: 
1.128     moko     5573: case "$ECHO" in
1.150     moko     5574:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5575: $as_echo "printf" >&6; } ;;
                   5576:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5577: $as_echo "print -r" >&6; } ;;
                   5578:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5579: $as_echo "cat" >&6; } ;;
1.128     moko     5580: esac
                   5581: 
                   5582: 
                   5583: 
                   5584: 
                   5585: 
                   5586: 
                   5587: 
                   5588: 
                   5589: 
                   5590: 
                   5591: 
                   5592: 
                   5593: 
                   5594: 
1.150     moko     5595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5596: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5597: if ${ac_cv_path_SED+:} false; then :
                   5598:   $as_echo_n "(cached) " >&6
                   5599: else
                   5600:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5601:      for ac_i in 1 2 3 4 5 6 7; do
                   5602:        ac_script="$ac_script$as_nl$ac_script"
                   5603:      done
                   5604:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5605:      { ac_script=; unset ac_script;}
                   5606:      if test -z "$SED"; then
                   5607:   ac_path_SED_found=false
                   5608:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5609:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5610: for as_dir in $PATH
                   5611: do
                   5612:   IFS=$as_save_IFS
                   5613:   test -z "$as_dir" && as_dir=.
1.150     moko     5614:     for ac_prog in sed gsed; do
1.128     moko     5615:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5616:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5617:       as_fn_executable_p "$ac_path_SED" || continue
1.150     moko     5618: # Check for GNU ac_path_SED and select it if it is found.
                   5619:   # Check for GNU $ac_path_SED
                   5620: case `"$ac_path_SED" --version 2>&1` in
                   5621: *GNU*)
                   5622:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5623: *)
                   5624:   ac_count=0
                   5625:   $as_echo_n 0123456789 >"conftest.in"
                   5626:   while :
                   5627:   do
                   5628:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5629:     mv "conftest.tmp" "conftest.in"
                   5630:     cp "conftest.in" "conftest.nl"
                   5631:     $as_echo '' >> "conftest.nl"
                   5632:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5633:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5634:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5635:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5636:       # Best one so far, save it but keep looking for a better one
                   5637:       ac_cv_path_SED="$ac_path_SED"
                   5638:       ac_path_SED_max=$ac_count
                   5639:     fi
                   5640:     # 10*(2^10) chars as input seems more than enough
                   5641:     test $ac_count -gt 10 && break
                   5642:   done
                   5643:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5644: esac
                   5645: 
                   5646:       $ac_path_SED_found && break 3
1.128     moko     5647:     done
                   5648:   done
1.150     moko     5649:   done
1.128     moko     5650: IFS=$as_save_IFS
1.150     moko     5651:   if test -z "$ac_cv_path_SED"; then
                   5652:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5653:   fi
1.150     moko     5654: else
                   5655:   ac_cv_path_SED=$SED
                   5656: fi
1.10      paf      5657: 
1.66      paf      5658: fi
1.150     moko     5659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5660: $as_echo "$ac_cv_path_SED" >&6; }
                   5661:  SED="$ac_cv_path_SED"
                   5662:   rm -f conftest.sed
1.128     moko     5663: 
                   5664: test -z "$SED" && SED=sed
                   5665: Xsed="$SED -e 1s/^X//"
1.10      paf      5666: 
1.128     moko     5667: 
                   5668: 
                   5669: 
                   5670: 
                   5671: 
                   5672: 
                   5673: 
                   5674: 
                   5675: 
                   5676: 
1.150     moko     5677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5678: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5679: if ${ac_cv_path_GREP+:} false; then :
                   5680:   $as_echo_n "(cached) " >&6
                   5681: else
                   5682:   if test -z "$GREP"; then
                   5683:   ac_path_GREP_found=false
                   5684:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5685:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5686: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5687: do
                   5688:   IFS=$as_save_IFS
                   5689:   test -z "$as_dir" && as_dir=.
                   5690:     for ac_prog in grep ggrep; do
                   5691:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5692:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5693:       as_fn_executable_p "$ac_path_GREP" || continue
1.150     moko     5694: # Check for GNU ac_path_GREP and select it if it is found.
                   5695:   # Check for GNU $ac_path_GREP
                   5696: case `"$ac_path_GREP" --version 2>&1` in
                   5697: *GNU*)
                   5698:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5699: *)
                   5700:   ac_count=0
                   5701:   $as_echo_n 0123456789 >"conftest.in"
                   5702:   while :
                   5703:   do
                   5704:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5705:     mv "conftest.tmp" "conftest.in"
                   5706:     cp "conftest.in" "conftest.nl"
                   5707:     $as_echo 'GREP' >> "conftest.nl"
                   5708:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5709:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5710:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5711:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5712:       # Best one so far, save it but keep looking for a better one
                   5713:       ac_cv_path_GREP="$ac_path_GREP"
                   5714:       ac_path_GREP_max=$ac_count
1.128     moko     5715:     fi
1.150     moko     5716:     # 10*(2^10) chars as input seems more than enough
                   5717:     test $ac_count -gt 10 && break
                   5718:   done
                   5719:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5720: esac
                   5721: 
                   5722:       $ac_path_GREP_found && break 3
                   5723:     done
                   5724:   done
                   5725:   done
                   5726: IFS=$as_save_IFS
                   5727:   if test -z "$ac_cv_path_GREP"; then
                   5728:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5729:   fi
                   5730: else
                   5731:   ac_cv_path_GREP=$GREP
                   5732: fi
                   5733: 
1.128     moko     5734: fi
1.150     moko     5735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5736: $as_echo "$ac_cv_path_GREP" >&6; }
                   5737:  GREP="$ac_cv_path_GREP"
                   5738: 
                   5739: 
                   5740: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5741: $as_echo_n "checking for egrep... " >&6; }
                   5742: if ${ac_cv_path_EGREP+:} false; then :
                   5743:   $as_echo_n "(cached) " >&6
                   5744: else
                   5745:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5746:    then ac_cv_path_EGREP="$GREP -E"
                   5747:    else
                   5748:      if test -z "$EGREP"; then
                   5749:   ac_path_EGREP_found=false
                   5750:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5751:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5752: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5753: do
                   5754:   IFS=$as_save_IFS
                   5755:   test -z "$as_dir" && as_dir=.
                   5756:     for ac_prog in egrep; do
                   5757:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5758:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5759:       as_fn_executable_p "$ac_path_EGREP" || continue
1.150     moko     5760: # Check for GNU ac_path_EGREP and select it if it is found.
                   5761:   # Check for GNU $ac_path_EGREP
                   5762: case `"$ac_path_EGREP" --version 2>&1` in
                   5763: *GNU*)
                   5764:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5765: *)
                   5766:   ac_count=0
                   5767:   $as_echo_n 0123456789 >"conftest.in"
                   5768:   while :
                   5769:   do
                   5770:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5771:     mv "conftest.tmp" "conftest.in"
                   5772:     cp "conftest.in" "conftest.nl"
                   5773:     $as_echo 'EGREP' >> "conftest.nl"
                   5774:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5775:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5776:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5777:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5778:       # Best one so far, save it but keep looking for a better one
                   5779:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5780:       ac_path_EGREP_max=$ac_count
                   5781:     fi
                   5782:     # 10*(2^10) chars as input seems more than enough
                   5783:     test $ac_count -gt 10 && break
                   5784:   done
                   5785:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5786: esac
1.128     moko     5787: 
1.150     moko     5788:       $ac_path_EGREP_found && break 3
                   5789:     done
                   5790:   done
                   5791:   done
                   5792: IFS=$as_save_IFS
                   5793:   if test -z "$ac_cv_path_EGREP"; then
                   5794:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5795:   fi
                   5796: else
                   5797:   ac_cv_path_EGREP=$EGREP
                   5798: fi
1.128     moko     5799: 
1.150     moko     5800:    fi
                   5801: fi
                   5802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5803: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5804:  EGREP="$ac_cv_path_EGREP"
                   5805: 
                   5806: 
                   5807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5808: $as_echo_n "checking for fgrep... " >&6; }
                   5809: if ${ac_cv_path_FGREP+:} false; then :
                   5810:   $as_echo_n "(cached) " >&6
                   5811: else
                   5812:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5813:    then ac_cv_path_FGREP="$GREP -F"
                   5814:    else
                   5815:      if test -z "$FGREP"; then
                   5816:   ac_path_FGREP_found=false
                   5817:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5818:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5819: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5820: do
                   5821:   IFS=$as_save_IFS
                   5822:   test -z "$as_dir" && as_dir=.
                   5823:     for ac_prog in fgrep; do
                   5824:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5825:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.166     moko     5826:       as_fn_executable_p "$ac_path_FGREP" || continue
1.150     moko     5827: # Check for GNU ac_path_FGREP and select it if it is found.
                   5828:   # Check for GNU $ac_path_FGREP
                   5829: case `"$ac_path_FGREP" --version 2>&1` in
                   5830: *GNU*)
                   5831:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5832: *)
                   5833:   ac_count=0
                   5834:   $as_echo_n 0123456789 >"conftest.in"
                   5835:   while :
                   5836:   do
                   5837:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5838:     mv "conftest.tmp" "conftest.in"
                   5839:     cp "conftest.in" "conftest.nl"
                   5840:     $as_echo 'FGREP' >> "conftest.nl"
                   5841:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5842:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5843:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5844:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5845:       # Best one so far, save it but keep looking for a better one
                   5846:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5847:       ac_path_FGREP_max=$ac_count
1.128     moko     5848:     fi
1.150     moko     5849:     # 10*(2^10) chars as input seems more than enough
                   5850:     test $ac_count -gt 10 && break
                   5851:   done
                   5852:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5853: esac
                   5854: 
                   5855:       $ac_path_FGREP_found && break 3
                   5856:     done
                   5857:   done
                   5858:   done
                   5859: IFS=$as_save_IFS
                   5860:   if test -z "$ac_cv_path_FGREP"; then
                   5861:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5862:   fi
                   5863: else
                   5864:   ac_cv_path_FGREP=$FGREP
                   5865: fi
                   5866: 
                   5867:    fi
1.128     moko     5868: fi
1.150     moko     5869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5870: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5871:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5872: 
                   5873: 
                   5874: test -z "$GREP" && GREP=grep
                   5875: 
                   5876: 
                   5877: 
                   5878: 
                   5879: 
                   5880: 
                   5881: 
                   5882: 
                   5883: 
                   5884: 
                   5885: 
                   5886: 
                   5887: 
                   5888: 
                   5889: 
                   5890: 
                   5891: 
                   5892: 
                   5893: 
1.150     moko     5894: # Check whether --with-gnu-ld was given.
                   5895: if test "${with_gnu_ld+set}" = set; then :
                   5896:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5897: else
                   5898:   with_gnu_ld=no
1.150     moko     5899: fi
                   5900: 
1.128     moko     5901: ac_prog=ld
                   5902: if test "$GCC" = yes; then
                   5903:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5904:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5905: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5906:   case $host in
                   5907:   *-*-mingw*)
                   5908:     # gcc leaves a trailing carriage return which upsets mingw
                   5909:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5910:   *)
                   5911:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5912:   esac
                   5913:   case $ac_prog in
                   5914:     # Accept absolute paths.
                   5915:     [\\/]* | ?:[\\/]*)
                   5916:       re_direlt='/[^/][^/]*/\.\./'
                   5917:       # Canonicalize the pathname of ld
                   5918:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5919:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5920:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5921:       done
                   5922:       test -z "$LD" && LD="$ac_prog"
                   5923:       ;;
                   5924:   "")
                   5925:     # If it fails, then pretend we aren't using GCC.
                   5926:     ac_prog=ld
                   5927:     ;;
                   5928:   *)
                   5929:     # If it is relative, then search for the first ld in PATH.
                   5930:     with_gnu_ld=unknown
                   5931:     ;;
                   5932:   esac
                   5933: elif test "$with_gnu_ld" = yes; then
1.150     moko     5934:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5935: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5936: else
1.150     moko     5937:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5938: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5939: fi
1.150     moko     5940: if ${lt_cv_path_LD+:} false; then :
                   5941:   $as_echo_n "(cached) " >&6
1.128     moko     5942: else
                   5943:   if test -z "$LD"; then
                   5944:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5945:   for ac_dir in $PATH; do
                   5946:     IFS="$lt_save_ifs"
                   5947:     test -z "$ac_dir" && ac_dir=.
                   5948:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5949:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5950:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5951:       # but apparently some variants of GNU ld only accept -v.
                   5952:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5953:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5954:       *GNU* | *'with BFD'*)
                   5955:        test "$with_gnu_ld" != no && break
                   5956:        ;;
                   5957:       *)
                   5958:        test "$with_gnu_ld" != yes && break
                   5959:        ;;
                   5960:       esac
                   5961:     fi
                   5962:   done
                   5963:   IFS="$lt_save_ifs"
                   5964: else
                   5965:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5966: fi
                   5967: fi
                   5968: 
                   5969: LD="$lt_cv_path_LD"
                   5970: if test -n "$LD"; then
1.150     moko     5971:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5972: $as_echo "$LD" >&6; }
1.128     moko     5973: else
1.150     moko     5974:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5975: $as_echo "no" >&6; }
1.128     moko     5976: fi
1.150     moko     5977: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5979: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5980: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5981:   $as_echo_n "(cached) " >&6
1.128     moko     5982: else
                   5983:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5984: case `$LD -v 2>&1 </dev/null` in
                   5985: *GNU* | *'with BFD'*)
                   5986:   lt_cv_prog_gnu_ld=yes
                   5987:   ;;
                   5988: *)
                   5989:   lt_cv_prog_gnu_ld=no
                   5990:   ;;
                   5991: esac
                   5992: fi
1.150     moko     5993: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5994: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5995: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5996: 
                   5997: 
                   5998: 
                   5999: 
                   6000: 
                   6001: 
                   6002: 
                   6003: 
                   6004: 
1.150     moko     6005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   6006: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   6007: if ${lt_cv_path_NM+:} false; then :
                   6008:   $as_echo_n "(cached) " >&6
1.128     moko     6009: else
                   6010:   if test -n "$NM"; then
                   6011:   # Let the user override the test.
                   6012:   lt_cv_path_NM="$NM"
                   6013: else
                   6014:   lt_nm_to_check="${ac_tool_prefix}nm"
                   6015:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   6016:     lt_nm_to_check="$lt_nm_to_check nm"
                   6017:   fi
                   6018:   for lt_tmp_nm in $lt_nm_to_check; do
                   6019:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   6020:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   6021:       IFS="$lt_save_ifs"
                   6022:       test -z "$ac_dir" && ac_dir=.
                   6023:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   6024:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   6025:        # Check to see if the nm accepts a BSD-compat flag.
                   6026:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   6027:        #   nm: unknown option "B" ignored
                   6028:        # Tru64's nm complains that /dev/null is an invalid object file
                   6029:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   6030:        */dev/null* | *'Invalid file or object type'*)
                   6031:          lt_cv_path_NM="$tmp_nm -B"
                   6032:          break
                   6033:          ;;
                   6034:        *)
                   6035:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   6036:          */dev/null*)
                   6037:            lt_cv_path_NM="$tmp_nm -p"
                   6038:            break
                   6039:            ;;
                   6040:          *)
                   6041:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   6042:            continue # so that we can try to find one that supports BSD flags
                   6043:            ;;
                   6044:          esac
                   6045:          ;;
                   6046:        esac
                   6047:       fi
                   6048:     done
                   6049:     IFS="$lt_save_ifs"
                   6050:   done
                   6051:   : ${lt_cv_path_NM=no}
                   6052: fi
                   6053: fi
1.150     moko     6054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   6055: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     6056: if test "$lt_cv_path_NM" != "no"; then
                   6057:   NM="$lt_cv_path_NM"
                   6058: else
                   6059:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   6060:   if test -n "$DUMPBIN"; then :
                   6061:     # Let the user override the test.
                   6062:   else
                   6063:     if test -n "$ac_tool_prefix"; then
                   6064:   for ac_prog in dumpbin "link -dump"
                   6065:   do
                   6066:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6067: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6069: $as_echo_n "checking for $ac_word... " >&6; }
                   6070: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   6071:   $as_echo_n "(cached) " >&6
1.128     moko     6072: else
                   6073:   if test -n "$DUMPBIN"; then
                   6074:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   6075: else
                   6076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6077: for as_dir in $PATH
                   6078: do
                   6079:   IFS=$as_save_IFS
                   6080:   test -z "$as_dir" && as_dir=.
1.150     moko     6081:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6082:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6083:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     6084:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6085:     break 2
                   6086:   fi
                   6087: done
1.150     moko     6088:   done
                   6089: IFS=$as_save_IFS
1.128     moko     6090: 
                   6091: fi
                   6092: fi
                   6093: DUMPBIN=$ac_cv_prog_DUMPBIN
                   6094: if test -n "$DUMPBIN"; then
1.150     moko     6095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   6096: $as_echo "$DUMPBIN" >&6; }
1.128     moko     6097: else
1.150     moko     6098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6099: $as_echo "no" >&6; }
1.128     moko     6100: fi
                   6101: 
1.150     moko     6102: 
1.128     moko     6103:     test -n "$DUMPBIN" && break
                   6104:   done
                   6105: fi
                   6106: if test -z "$DUMPBIN"; then
                   6107:   ac_ct_DUMPBIN=$DUMPBIN
                   6108:   for ac_prog in dumpbin "link -dump"
                   6109: do
                   6110:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6111: set dummy $ac_prog; ac_word=$2
1.150     moko     6112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6113: $as_echo_n "checking for $ac_word... " >&6; }
                   6114: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   6115:   $as_echo_n "(cached) " >&6
1.128     moko     6116: else
                   6117:   if test -n "$ac_ct_DUMPBIN"; then
                   6118:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   6119: else
                   6120: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6121: for as_dir in $PATH
                   6122: do
                   6123:   IFS=$as_save_IFS
                   6124:   test -z "$as_dir" && as_dir=.
1.150     moko     6125:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6126:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6127:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     6128:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6129:     break 2
                   6130:   fi
                   6131: done
1.150     moko     6132:   done
                   6133: IFS=$as_save_IFS
1.128     moko     6134: 
                   6135: fi
                   6136: fi
                   6137: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   6138: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     6139:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   6140: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     6141: else
1.150     moko     6142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6143: $as_echo "no" >&6; }
1.128     moko     6144: fi
                   6145: 
1.150     moko     6146: 
1.128     moko     6147:   test -n "$ac_ct_DUMPBIN" && break
                   6148: done
                   6149: 
1.150     moko     6150:   if test "x$ac_ct_DUMPBIN" = x; then
                   6151:     DUMPBIN=":"
                   6152:   else
                   6153:     case $cross_compiling:$ac_tool_warned in
                   6154: yes:)
                   6155: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6156: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6157: ac_tool_warned=yes ;;
                   6158: esac
                   6159:     DUMPBIN=$ac_ct_DUMPBIN
                   6160:   fi
1.128     moko     6161: fi
                   6162: 
                   6163:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   6164:     *COFF*)
                   6165:       DUMPBIN="$DUMPBIN -symbols"
                   6166:       ;;
                   6167:     *)
                   6168:       DUMPBIN=:
                   6169:       ;;
                   6170:     esac
                   6171:   fi
                   6172: 
                   6173:   if test "$DUMPBIN" != ":"; then
                   6174:     NM="$DUMPBIN"
                   6175:   fi
                   6176: fi
                   6177: test -z "$NM" && NM=nm
                   6178: 
                   6179: 
                   6180: 
                   6181: 
                   6182: 
                   6183: 
1.150     moko     6184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   6185: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   6186: if ${lt_cv_nm_interface+:} false; then :
                   6187:   $as_echo_n "(cached) " >&6
1.128     moko     6188: else
                   6189:   lt_cv_nm_interface="BSD nm"
                   6190:   echo "int some_variable = 0;" > conftest.$ac_ext
                   6191:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   6192:   (eval "$ac_compile" 2>conftest.err)
                   6193:   cat conftest.err >&5
                   6194:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   6195:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   6196:   cat conftest.err >&5
                   6197:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   6198:   cat conftest.out >&5
                   6199:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   6200:     lt_cv_nm_interface="MS dumpbin"
                   6201:   fi
                   6202:   rm -f conftest*
                   6203: fi
1.150     moko     6204: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   6205: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     6206: 
1.150     moko     6207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   6208: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     6209: LN_S=$as_ln_s
                   6210: if test "$LN_S" = "ln -s"; then
1.150     moko     6211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   6212: $as_echo "yes" >&6; }
1.128     moko     6213: else
1.150     moko     6214:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   6215: $as_echo "no, using $LN_S" >&6; }
1.128     moko     6216: fi
                   6217: 
                   6218: # find the maximum length of command line arguments
1.150     moko     6219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   6220: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   6221: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   6222:   $as_echo_n "(cached) " >&6
1.128     moko     6223: else
                   6224:     i=0
                   6225:   teststring="ABCD"
                   6226: 
                   6227:   case $build_os in
                   6228:   msdosdjgpp*)
                   6229:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   6230:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   6231:     # during glob expansion).  Even if it were fixed, the result of this
                   6232:     # check would be larger than it should be.
                   6233:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   6234:     ;;
                   6235: 
                   6236:   gnu*)
                   6237:     # Under GNU Hurd, this test is not required because there is
                   6238:     # no limit to the length of command line arguments.
                   6239:     # Libtool will interpret -1 as no limit whatsoever
                   6240:     lt_cv_sys_max_cmd_len=-1;
                   6241:     ;;
                   6242: 
                   6243:   cygwin* | mingw* | cegcc*)
                   6244:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   6245:     # about 5 minutes as the teststring grows exponentially.
                   6246:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   6247:     # you end up with a "frozen" computer, even though with patience
                   6248:     # the test eventually succeeds (with a max line length of 256k).
                   6249:     # Instead, let's just punt: use the minimum linelength reported by
                   6250:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   6251:     lt_cv_sys_max_cmd_len=8192;
                   6252:     ;;
                   6253: 
                   6254:   mint*)
                   6255:     # On MiNT this can take a long time and run out of memory.
                   6256:     lt_cv_sys_max_cmd_len=8192;
                   6257:     ;;
                   6258: 
                   6259:   amigaos*)
                   6260:     # On AmigaOS with pdksh, this test takes hours, literally.
                   6261:     # So we just punt and use a minimum line length of 8192.
                   6262:     lt_cv_sys_max_cmd_len=8192;
                   6263:     ;;
                   6264: 
                   6265:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   6266:     # This has been around since 386BSD, at least.  Likely further.
                   6267:     if test -x /sbin/sysctl; then
                   6268:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   6269:     elif test -x /usr/sbin/sysctl; then
                   6270:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   6271:     else
                   6272:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   6273:     fi
                   6274:     # And add a safety zone
                   6275:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6276:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6277:     ;;
                   6278: 
                   6279:   interix*)
                   6280:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   6281:     lt_cv_sys_max_cmd_len=196608
                   6282:     ;;
                   6283: 
                   6284:   os2*)
                   6285:     # The test takes a long time on OS/2.
                   6286:     lt_cv_sys_max_cmd_len=8192
                   6287:     ;;
                   6288: 
                   6289:   osf*)
                   6290:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   6291:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   6292:     # nice to cause kernel panics so lets avoid the loop below.
                   6293:     # First set a reasonable default.
                   6294:     lt_cv_sys_max_cmd_len=16384
                   6295:     #
                   6296:     if test -x /sbin/sysconfig; then
                   6297:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   6298:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   6299:       esac
                   6300:     fi
                   6301:     ;;
                   6302:   sco3.2v5*)
                   6303:     lt_cv_sys_max_cmd_len=102400
                   6304:     ;;
                   6305:   sysv5* | sco5v6* | sysv4.2uw2*)
                   6306:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   6307:     if test -n "$kargmax"; then
                   6308:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   6309:     else
                   6310:       lt_cv_sys_max_cmd_len=32768
                   6311:     fi
                   6312:     ;;
                   6313:   *)
                   6314:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   6315:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   6316:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   6317:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   6318:     else
                   6319:       # Make teststring a little bigger before we do anything with it.
                   6320:       # a 1K string should be a reasonable start.
                   6321:       for i in 1 2 3 4 5 6 7 8 ; do
                   6322:         teststring=$teststring$teststring
                   6323:       done
                   6324:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   6325:       # If test is not a shell built-in, we'll probably end up computing a
                   6326:       # maximum length that is only half of the actual maximum length, but
                   6327:       # we can't tell.
                   6328:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   6329:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   6330:              test $i != 17 # 1/2 MB should be enough
                   6331:       do
                   6332:         i=`expr $i + 1`
                   6333:         teststring=$teststring$teststring
                   6334:       done
                   6335:       # Only check the string length outside the loop.
                   6336:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   6337:       teststring=
                   6338:       # Add a significant safety factor because C++ compilers can tack on
                   6339:       # massive amounts of additional arguments before passing them to the
                   6340:       # linker.  It appears as though 1/2 is a usable value.
                   6341:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   6342:     fi
                   6343:     ;;
                   6344:   esac
                   6345: 
                   6346: fi
                   6347: 
                   6348: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     6349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   6350: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     6351: else
1.150     moko     6352:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   6353: $as_echo "none" >&6; }
1.128     moko     6354: fi
                   6355: max_cmd_len=$lt_cv_sys_max_cmd_len
                   6356: 
                   6357: 
                   6358: 
                   6359: 
                   6360: 
                   6361: 
                   6362: : ${CP="cp -f"}
                   6363: : ${MV="mv -f"}
                   6364: : ${RM="rm -f"}
                   6365: 
1.150     moko     6366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   6367: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     6368: # Try some XSI features
                   6369: xsi_shell=no
                   6370: ( _lt_dummy="a/b/c"
                   6371:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   6372:       = c,a/b,b/c, \
                   6373:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   6374:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   6375:   && xsi_shell=yes
1.150     moko     6376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   6377: $as_echo "$xsi_shell" >&6; }
1.128     moko     6378: 
                   6379: 
1.150     moko     6380: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6381: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6382: lt_shell_append=no
                   6383: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6384:     >/dev/null 2>&1 \
                   6385:   && lt_shell_append=yes
1.150     moko     6386: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6387: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6388: 
                   6389: 
                   6390: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6391:   lt_unset=unset
                   6392: else
                   6393:   lt_unset=false
                   6394: fi
                   6395: 
                   6396: 
                   6397: 
                   6398: 
                   6399: 
                   6400: # test EBCDIC or ASCII
                   6401: case `echo X|tr X '\101'` in
                   6402:  A) # ASCII based system
                   6403:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6404:   lt_SP2NL='tr \040 \012'
                   6405:   lt_NL2SP='tr \015\012 \040\040'
                   6406:   ;;
                   6407:  *) # EBCDIC based system
                   6408:   lt_SP2NL='tr \100 \n'
                   6409:   lt_NL2SP='tr \r\n \100\100'
                   6410:   ;;
                   6411: esac
                   6412: 
                   6413: 
                   6414: 
                   6415: 
                   6416: 
                   6417: 
                   6418: 
                   6419: 
                   6420: 
1.150     moko     6421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6422: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6423: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6424:   $as_echo_n "(cached) " >&6
1.128     moko     6425: else
                   6426:   case $host in
                   6427:   *-*-mingw* )
                   6428:     case $build in
                   6429:       *-*-mingw* ) # actually msys
                   6430:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6431:         ;;
                   6432:       *-*-cygwin* )
                   6433:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6434:         ;;
                   6435:       * ) # otherwise, assume *nix
                   6436:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6437:         ;;
                   6438:     esac
                   6439:     ;;
                   6440:   *-*-cygwin* )
                   6441:     case $build in
                   6442:       *-*-mingw* ) # actually msys
                   6443:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6444:         ;;
                   6445:       *-*-cygwin* )
                   6446:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6447:         ;;
                   6448:       * ) # otherwise, assume *nix
                   6449:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6450:         ;;
                   6451:     esac
                   6452:     ;;
                   6453:   * ) # unhandled hosts (and "normal" native builds)
                   6454:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6455:     ;;
                   6456: esac
                   6457: 
                   6458: fi
                   6459: 
                   6460: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6462: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6463: 
                   6464: 
                   6465: 
                   6466: 
                   6467: 
1.150     moko     6468: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6469: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6470: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6471:   $as_echo_n "(cached) " >&6
1.128     moko     6472: else
                   6473:   #assume ordinary cross tools, or native build.
                   6474: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6475: case $host in
                   6476:   *-*-mingw* )
                   6477:     case $build in
                   6478:       *-*-mingw* ) # actually msys
                   6479:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6480:         ;;
                   6481:     esac
                   6482:     ;;
                   6483: esac
                   6484: 
                   6485: fi
                   6486: 
                   6487: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6489: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6490: 
                   6491: 
                   6492: 
                   6493: 
                   6494: 
1.150     moko     6495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6496: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6497: if ${lt_cv_ld_reload_flag+:} false; then :
                   6498:   $as_echo_n "(cached) " >&6
1.128     moko     6499: else
                   6500:   lt_cv_ld_reload_flag='-r'
                   6501: fi
1.150     moko     6502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6503: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6504: reload_flag=$lt_cv_ld_reload_flag
                   6505: case $reload_flag in
                   6506: "" | " "*) ;;
                   6507: *) reload_flag=" $reload_flag" ;;
                   6508: esac
                   6509: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6510: case $host_os in
                   6511:   cygwin* | mingw* | pw32* | cegcc*)
                   6512:     if test "$GCC" != yes; then
                   6513:       reload_cmds=false
                   6514:     fi
                   6515:     ;;
                   6516:   darwin*)
                   6517:     if test "$GCC" = yes; then
                   6518:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6519:     else
                   6520:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6521:     fi
                   6522:     ;;
                   6523: esac
                   6524: 
                   6525: 
                   6526: 
                   6527: 
                   6528: 
                   6529: 
                   6530: 
                   6531: 
                   6532: 
                   6533: if test -n "$ac_tool_prefix"; then
                   6534:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6535: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6537: $as_echo_n "checking for $ac_word... " >&6; }
                   6538: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6539:   $as_echo_n "(cached) " >&6
1.128     moko     6540: else
                   6541:   if test -n "$OBJDUMP"; then
                   6542:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6543: else
                   6544: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6545: for as_dir in $PATH
                   6546: do
                   6547:   IFS=$as_save_IFS
                   6548:   test -z "$as_dir" && as_dir=.
1.150     moko     6549:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6550:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6551:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6552:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6553:     break 2
                   6554:   fi
                   6555: done
1.150     moko     6556:   done
                   6557: IFS=$as_save_IFS
1.128     moko     6558: 
                   6559: fi
                   6560: fi
                   6561: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6562: if test -n "$OBJDUMP"; then
1.150     moko     6563:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6564: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6565: else
1.150     moko     6566:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6567: $as_echo "no" >&6; }
1.128     moko     6568: fi
                   6569: 
1.150     moko     6570: 
1.128     moko     6571: fi
                   6572: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6573:   ac_ct_OBJDUMP=$OBJDUMP
                   6574:   # Extract the first word of "objdump", so it can be a program name with args.
                   6575: set dummy objdump; ac_word=$2
1.150     moko     6576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6577: $as_echo_n "checking for $ac_word... " >&6; }
                   6578: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6579:   $as_echo_n "(cached) " >&6
1.128     moko     6580: else
                   6581:   if test -n "$ac_ct_OBJDUMP"; then
                   6582:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6583: else
                   6584: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6585: for as_dir in $PATH
                   6586: do
                   6587:   IFS=$as_save_IFS
                   6588:   test -z "$as_dir" && as_dir=.
1.150     moko     6589:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6590:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6591:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6592:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6593:     break 2
                   6594:   fi
                   6595: done
1.150     moko     6596:   done
                   6597: IFS=$as_save_IFS
1.128     moko     6598: 
                   6599: fi
                   6600: fi
                   6601: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6602: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6603:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6604: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6605: else
1.150     moko     6606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6607: $as_echo "no" >&6; }
1.128     moko     6608: fi
                   6609: 
1.150     moko     6610:   if test "x$ac_ct_OBJDUMP" = x; then
                   6611:     OBJDUMP="false"
                   6612:   else
                   6613:     case $cross_compiling:$ac_tool_warned in
                   6614: yes:)
                   6615: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6616: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6617: ac_tool_warned=yes ;;
                   6618: esac
                   6619:     OBJDUMP=$ac_ct_OBJDUMP
                   6620:   fi
1.128     moko     6621: else
                   6622:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6623: fi
                   6624: 
                   6625: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6626: 
                   6627: 
                   6628: 
                   6629: 
                   6630: 
                   6631: 
1.150     moko     6632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6633: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6634: if ${lt_cv_deplibs_check_method+:} false; then :
                   6635:   $as_echo_n "(cached) " >&6
1.128     moko     6636: else
                   6637:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6638: lt_cv_file_magic_test_file=
                   6639: lt_cv_deplibs_check_method='unknown'
                   6640: # Need to set the preceding variable on all platforms that support
                   6641: # interlibrary dependencies.
                   6642: # 'none' -- dependencies not supported.
                   6643: # `unknown' -- same as none, but documents that we really don't know.
                   6644: # 'pass_all' -- all dependencies passed with no checks.
                   6645: # 'test_compile' -- check by making test program.
                   6646: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6647: # which responds to the $file_magic_cmd with a given extended regex.
                   6648: # If you have `file' or equivalent on your system and you're not sure
                   6649: # whether `pass_all' will *always* work, you probably want this one.
                   6650: 
                   6651: case $host_os in
                   6652: aix[4-9]*)
                   6653:   lt_cv_deplibs_check_method=pass_all
                   6654:   ;;
                   6655: 
                   6656: beos*)
                   6657:   lt_cv_deplibs_check_method=pass_all
                   6658:   ;;
                   6659: 
                   6660: bsdi[45]*)
                   6661:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6662:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6663:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6664:   ;;
                   6665: 
                   6666: cygwin*)
                   6667:   # func_win32_libid is a shell function defined in ltmain.sh
                   6668:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6669:   lt_cv_file_magic_cmd='func_win32_libid'
                   6670:   ;;
                   6671: 
                   6672: mingw* | pw32*)
                   6673:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6674:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6675:   # unless we find 'file', for example because we are cross-compiling.
                   6676:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6677:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6678:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6679:     lt_cv_file_magic_cmd='func_win32_libid'
                   6680:   else
                   6681:     # Keep this pattern in sync with the one in func_win32_libid.
                   6682:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6683:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6684:   fi
                   6685:   ;;
                   6686: 
                   6687: cegcc*)
                   6688:   # use the weaker test based on 'objdump'. See mingw*.
                   6689:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6690:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6691:   ;;
                   6692: 
                   6693: darwin* | rhapsody*)
                   6694:   lt_cv_deplibs_check_method=pass_all
                   6695:   ;;
                   6696: 
                   6697: freebsd* | dragonfly*)
                   6698:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6699:     case $host_cpu in
                   6700:     i*86 )
                   6701:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6702:       # Let's accept both of them until this is cleared up.
                   6703:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6704:       lt_cv_file_magic_cmd=/usr/bin/file
                   6705:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6706:       ;;
                   6707:     esac
                   6708:   else
                   6709:     lt_cv_deplibs_check_method=pass_all
                   6710:   fi
                   6711:   ;;
                   6712: 
                   6713: gnu*)
                   6714:   lt_cv_deplibs_check_method=pass_all
                   6715:   ;;
                   6716: 
                   6717: haiku*)
                   6718:   lt_cv_deplibs_check_method=pass_all
                   6719:   ;;
                   6720: 
                   6721: hpux10.20* | hpux11*)
                   6722:   lt_cv_file_magic_cmd=/usr/bin/file
                   6723:   case $host_cpu in
                   6724:   ia64*)
                   6725:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6726:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6727:     ;;
                   6728:   hppa*64*)
                   6729:     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]'
                   6730:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6731:     ;;
                   6732:   *)
                   6733:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6734:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6735:     ;;
                   6736:   esac
                   6737:   ;;
                   6738: 
                   6739: interix[3-9]*)
                   6740:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6741:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6742:   ;;
                   6743: 
                   6744: irix5* | irix6* | nonstopux*)
                   6745:   case $LD in
                   6746:   *-32|*"-32 ") libmagic=32-bit;;
                   6747:   *-n32|*"-n32 ") libmagic=N32;;
                   6748:   *-64|*"-64 ") libmagic=64-bit;;
                   6749:   *) libmagic=never-match;;
                   6750:   esac
                   6751:   lt_cv_deplibs_check_method=pass_all
                   6752:   ;;
                   6753: 
                   6754: # This must be glibc/ELF.
                   6755: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6756:   lt_cv_deplibs_check_method=pass_all
                   6757:   ;;
                   6758: 
                   6759: netbsd*)
                   6760:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6761:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6762:   else
                   6763:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6764:   fi
                   6765:   ;;
                   6766: 
                   6767: newos6*)
                   6768:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6769:   lt_cv_file_magic_cmd=/usr/bin/file
                   6770:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6771:   ;;
                   6772: 
                   6773: *nto* | *qnx*)
                   6774:   lt_cv_deplibs_check_method=pass_all
                   6775:   ;;
                   6776: 
                   6777: openbsd*)
                   6778:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6779:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6780:   else
                   6781:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6782:   fi
                   6783:   ;;
                   6784: 
                   6785: osf3* | osf4* | osf5*)
                   6786:   lt_cv_deplibs_check_method=pass_all
                   6787:   ;;
                   6788: 
                   6789: rdos*)
                   6790:   lt_cv_deplibs_check_method=pass_all
                   6791:   ;;
                   6792: 
                   6793: solaris*)
                   6794:   lt_cv_deplibs_check_method=pass_all
                   6795:   ;;
                   6796: 
                   6797: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6798:   lt_cv_deplibs_check_method=pass_all
                   6799:   ;;
                   6800: 
                   6801: sysv4 | sysv4.3*)
                   6802:   case $host_vendor in
                   6803:   motorola)
                   6804:     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]'
                   6805:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6806:     ;;
                   6807:   ncr)
                   6808:     lt_cv_deplibs_check_method=pass_all
                   6809:     ;;
                   6810:   sequent)
                   6811:     lt_cv_file_magic_cmd='/bin/file'
                   6812:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6813:     ;;
                   6814:   sni)
                   6815:     lt_cv_file_magic_cmd='/bin/file'
                   6816:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6817:     lt_cv_file_magic_test_file=/lib/libc.so
                   6818:     ;;
                   6819:   siemens)
                   6820:     lt_cv_deplibs_check_method=pass_all
                   6821:     ;;
                   6822:   pc)
                   6823:     lt_cv_deplibs_check_method=pass_all
                   6824:     ;;
                   6825:   esac
                   6826:   ;;
                   6827: 
                   6828: tpf*)
                   6829:   lt_cv_deplibs_check_method=pass_all
                   6830:   ;;
                   6831: esac
                   6832: 
                   6833: fi
1.150     moko     6834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6835: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6836: 
                   6837: file_magic_glob=
                   6838: want_nocaseglob=no
                   6839: if test "$build" = "$host"; then
                   6840:   case $host_os in
                   6841:   mingw* | pw32*)
                   6842:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6843:       want_nocaseglob=yes
                   6844:     else
                   6845:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6846:     fi
                   6847:     ;;
                   6848:   esac
                   6849: fi
                   6850: 
                   6851: file_magic_cmd=$lt_cv_file_magic_cmd
                   6852: deplibs_check_method=$lt_cv_deplibs_check_method
                   6853: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6854: 
                   6855: 
                   6856: 
                   6857: 
                   6858: 
                   6859: 
                   6860: 
                   6861: 
                   6862: 
                   6863: 
                   6864: 
                   6865: 
                   6866: 
                   6867: 
                   6868: 
                   6869: 
                   6870: 
                   6871: 
                   6872: 
                   6873: 
                   6874: 
                   6875: 
                   6876: if test -n "$ac_tool_prefix"; then
                   6877:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6878: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6879: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6880: $as_echo_n "checking for $ac_word... " >&6; }
                   6881: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6882:   $as_echo_n "(cached) " >&6
1.128     moko     6883: else
                   6884:   if test -n "$DLLTOOL"; then
                   6885:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6886: else
                   6887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6888: for as_dir in $PATH
                   6889: do
                   6890:   IFS=$as_save_IFS
                   6891:   test -z "$as_dir" && as_dir=.
1.150     moko     6892:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6893:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6894:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6895:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6896:     break 2
                   6897:   fi
                   6898: done
1.150     moko     6899:   done
                   6900: IFS=$as_save_IFS
1.128     moko     6901: 
                   6902: fi
                   6903: fi
                   6904: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6905: if test -n "$DLLTOOL"; then
1.150     moko     6906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6907: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6908: else
1.150     moko     6909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6910: $as_echo "no" >&6; }
1.128     moko     6911: fi
                   6912: 
1.150     moko     6913: 
1.128     moko     6914: fi
                   6915: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6916:   ac_ct_DLLTOOL=$DLLTOOL
                   6917:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6918: set dummy dlltool; ac_word=$2
1.150     moko     6919: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6920: $as_echo_n "checking for $ac_word... " >&6; }
                   6921: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6922:   $as_echo_n "(cached) " >&6
1.128     moko     6923: else
                   6924:   if test -n "$ac_ct_DLLTOOL"; then
                   6925:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6926: else
                   6927: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6928: for as_dir in $PATH
                   6929: do
                   6930:   IFS=$as_save_IFS
                   6931:   test -z "$as_dir" && as_dir=.
1.150     moko     6932:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     6933:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     6934:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6935:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6936:     break 2
                   6937:   fi
                   6938: done
1.150     moko     6939:   done
                   6940: IFS=$as_save_IFS
1.128     moko     6941: 
                   6942: fi
                   6943: fi
                   6944: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6945: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6946:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6947: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6948: else
1.150     moko     6949:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6950: $as_echo "no" >&6; }
1.128     moko     6951: fi
                   6952: 
1.150     moko     6953:   if test "x$ac_ct_DLLTOOL" = x; then
                   6954:     DLLTOOL="false"
                   6955:   else
                   6956:     case $cross_compiling:$ac_tool_warned in
                   6957: yes:)
                   6958: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6959: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6960: ac_tool_warned=yes ;;
                   6961: esac
                   6962:     DLLTOOL=$ac_ct_DLLTOOL
                   6963:   fi
1.128     moko     6964: else
                   6965:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6966: fi
                   6967: 
                   6968: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6969: 
                   6970: 
                   6971: 
                   6972: 
                   6973: 
                   6974: 
                   6975: 
1.150     moko     6976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6977: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6978: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6979:   $as_echo_n "(cached) " >&6
1.128     moko     6980: else
                   6981:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6982: 
                   6983: case $host_os in
                   6984: cygwin* | mingw* | pw32* | cegcc*)
                   6985:   # two different shell functions defined in ltmain.sh
                   6986:   # decide which to use based on capabilities of $DLLTOOL
                   6987:   case `$DLLTOOL --help 2>&1` in
                   6988:   *--identify-strict*)
                   6989:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6990:     ;;
                   6991:   *)
                   6992:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6993:     ;;
                   6994:   esac
                   6995:   ;;
                   6996: *)
                   6997:   # fallback: assume linklib IS sharedlib
                   6998:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6999:   ;;
                   7000: esac
                   7001: 
                   7002: fi
1.150     moko     7003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   7004: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     7005: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   7006: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   7007: 
                   7008: 
                   7009: 
                   7010: 
                   7011: 
                   7012: 
                   7013: 
                   7014: if test -n "$ac_tool_prefix"; then
                   7015:   for ac_prog in ar
                   7016:   do
                   7017:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   7018: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     7019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7020: $as_echo_n "checking for $ac_word... " >&6; }
                   7021: if ${ac_cv_prog_AR+:} false; then :
                   7022:   $as_echo_n "(cached) " >&6
1.128     moko     7023: else
                   7024:   if test -n "$AR"; then
                   7025:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   7026: else
                   7027: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7028: for as_dir in $PATH
                   7029: do
                   7030:   IFS=$as_save_IFS
                   7031:   test -z "$as_dir" && as_dir=.
1.150     moko     7032:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7033:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7034:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     7035:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7036:     break 2
                   7037:   fi
                   7038: done
1.150     moko     7039:   done
                   7040: IFS=$as_save_IFS
1.128     moko     7041: 
                   7042: fi
                   7043: fi
                   7044: AR=$ac_cv_prog_AR
                   7045: if test -n "$AR"; then
1.150     moko     7046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   7047: $as_echo "$AR" >&6; }
1.128     moko     7048: else
1.150     moko     7049:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7050: $as_echo "no" >&6; }
1.128     moko     7051: fi
                   7052: 
1.150     moko     7053: 
1.128     moko     7054:     test -n "$AR" && break
                   7055:   done
                   7056: fi
                   7057: if test -z "$AR"; then
                   7058:   ac_ct_AR=$AR
                   7059:   for ac_prog in ar
                   7060: do
                   7061:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7062: set dummy $ac_prog; ac_word=$2
1.150     moko     7063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7064: $as_echo_n "checking for $ac_word... " >&6; }
                   7065: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   7066:   $as_echo_n "(cached) " >&6
1.128     moko     7067: else
                   7068:   if test -n "$ac_ct_AR"; then
                   7069:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   7070: else
                   7071: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7072: for as_dir in $PATH
                   7073: do
                   7074:   IFS=$as_save_IFS
                   7075:   test -z "$as_dir" && as_dir=.
1.150     moko     7076:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7077:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7078:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     7079:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7080:     break 2
                   7081:   fi
                   7082: done
1.150     moko     7083:   done
                   7084: IFS=$as_save_IFS
1.128     moko     7085: 
                   7086: fi
                   7087: fi
                   7088: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   7089: if test -n "$ac_ct_AR"; then
1.150     moko     7090:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   7091: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     7092: else
1.150     moko     7093:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7094: $as_echo "no" >&6; }
1.128     moko     7095: fi
                   7096: 
1.150     moko     7097: 
1.128     moko     7098:   test -n "$ac_ct_AR" && break
                   7099: done
                   7100: 
1.150     moko     7101:   if test "x$ac_ct_AR" = x; then
                   7102:     AR="false"
                   7103:   else
                   7104:     case $cross_compiling:$ac_tool_warned in
                   7105: yes:)
                   7106: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7107: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7108: ac_tool_warned=yes ;;
                   7109: esac
                   7110:     AR=$ac_ct_AR
                   7111:   fi
1.128     moko     7112: fi
                   7113: 
                   7114: : ${AR=ar}
                   7115: : ${AR_FLAGS=cru}
                   7116: 
                   7117: 
                   7118: 
                   7119: 
                   7120: 
                   7121: 
                   7122: 
                   7123: 
                   7124: 
                   7125: 
                   7126: 
1.150     moko     7127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   7128: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   7129: if ${lt_cv_ar_at_file+:} false; then :
                   7130:   $as_echo_n "(cached) " >&6
1.128     moko     7131: else
                   7132:   lt_cv_ar_at_file=no
1.150     moko     7133:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7134: /* end confdefs.h.  */
                   7135: 
                   7136: int
                   7137: main ()
                   7138: {
                   7139: 
                   7140:   ;
                   7141:   return 0;
                   7142: }
                   7143: _ACEOF
1.150     moko     7144: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     7145:   echo conftest.$ac_objext > conftest.lst
                   7146:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     7147:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7148:   (eval $lt_ar_try) 2>&5
                   7149:   ac_status=$?
1.150     moko     7150:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7151:   test $ac_status = 0; }
1.128     moko     7152:       if test "$ac_status" -eq 0; then
                   7153:        # Ensure the archiver fails upon bogus file names.
                   7154:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     7155:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     7156:   (eval $lt_ar_try) 2>&5
                   7157:   ac_status=$?
1.150     moko     7158:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7159:   test $ac_status = 0; }
1.128     moko     7160:        if test "$ac_status" -ne 0; then
                   7161:           lt_cv_ar_at_file=@
                   7162:         fi
                   7163:       fi
                   7164:       rm -f conftest.* libconftest.a
                   7165: 
                   7166: fi
1.150     moko     7167: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     7168: 
                   7169: fi
1.150     moko     7170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   7171: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     7172: 
                   7173: if test "x$lt_cv_ar_at_file" = xno; then
                   7174:   archiver_list_spec=
                   7175: else
                   7176:   archiver_list_spec=$lt_cv_ar_at_file
                   7177: fi
                   7178: 
                   7179: 
                   7180: 
                   7181: 
                   7182: 
                   7183: 
                   7184: 
                   7185: if test -n "$ac_tool_prefix"; then
                   7186:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   7187: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     7188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7189: $as_echo_n "checking for $ac_word... " >&6; }
                   7190: if ${ac_cv_prog_STRIP+:} false; then :
                   7191:   $as_echo_n "(cached) " >&6
1.128     moko     7192: else
                   7193:   if test -n "$STRIP"; then
                   7194:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   7195: else
                   7196: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7197: for as_dir in $PATH
                   7198: do
                   7199:   IFS=$as_save_IFS
                   7200:   test -z "$as_dir" && as_dir=.
1.150     moko     7201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7202:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7203:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     7204:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7205:     break 2
                   7206:   fi
                   7207: done
1.150     moko     7208:   done
                   7209: IFS=$as_save_IFS
1.128     moko     7210: 
                   7211: fi
                   7212: fi
                   7213: STRIP=$ac_cv_prog_STRIP
                   7214: if test -n "$STRIP"; then
1.150     moko     7215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   7216: $as_echo "$STRIP" >&6; }
1.128     moko     7217: else
1.150     moko     7218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7219: $as_echo "no" >&6; }
1.128     moko     7220: fi
                   7221: 
1.150     moko     7222: 
1.128     moko     7223: fi
                   7224: if test -z "$ac_cv_prog_STRIP"; then
                   7225:   ac_ct_STRIP=$STRIP
                   7226:   # Extract the first word of "strip", so it can be a program name with args.
                   7227: set dummy strip; ac_word=$2
1.150     moko     7228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7229: $as_echo_n "checking for $ac_word... " >&6; }
                   7230: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   7231:   $as_echo_n "(cached) " >&6
1.128     moko     7232: else
                   7233:   if test -n "$ac_ct_STRIP"; then
                   7234:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   7235: else
                   7236: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7237: for as_dir in $PATH
                   7238: do
                   7239:   IFS=$as_save_IFS
                   7240:   test -z "$as_dir" && as_dir=.
1.150     moko     7241:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7242:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7243:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     7244:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7245:     break 2
                   7246:   fi
                   7247: done
1.150     moko     7248:   done
                   7249: IFS=$as_save_IFS
1.128     moko     7250: 
                   7251: fi
                   7252: fi
                   7253: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   7254: if test -n "$ac_ct_STRIP"; then
1.150     moko     7255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   7256: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     7257: else
1.150     moko     7258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7259: $as_echo "no" >&6; }
1.128     moko     7260: fi
                   7261: 
1.150     moko     7262:   if test "x$ac_ct_STRIP" = x; then
                   7263:     STRIP=":"
                   7264:   else
                   7265:     case $cross_compiling:$ac_tool_warned in
                   7266: yes:)
                   7267: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7268: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7269: ac_tool_warned=yes ;;
                   7270: esac
                   7271:     STRIP=$ac_ct_STRIP
                   7272:   fi
1.128     moko     7273: else
                   7274:   STRIP="$ac_cv_prog_STRIP"
                   7275: fi
                   7276: 
                   7277: test -z "$STRIP" && STRIP=:
                   7278: 
                   7279: 
                   7280: 
                   7281: 
                   7282: 
                   7283: 
                   7284: if test -n "$ac_tool_prefix"; then
                   7285:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   7286: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     7287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7288: $as_echo_n "checking for $ac_word... " >&6; }
                   7289: if ${ac_cv_prog_RANLIB+:} false; then :
                   7290:   $as_echo_n "(cached) " >&6
1.128     moko     7291: else
                   7292:   if test -n "$RANLIB"; then
                   7293:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   7294: else
                   7295: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7296: for as_dir in $PATH
                   7297: do
                   7298:   IFS=$as_save_IFS
                   7299:   test -z "$as_dir" && as_dir=.
1.150     moko     7300:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7301:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7302:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     7303:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7304:     break 2
                   7305:   fi
                   7306: done
1.150     moko     7307:   done
                   7308: IFS=$as_save_IFS
1.128     moko     7309: 
                   7310: fi
                   7311: fi
                   7312: RANLIB=$ac_cv_prog_RANLIB
                   7313: if test -n "$RANLIB"; then
1.150     moko     7314:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   7315: $as_echo "$RANLIB" >&6; }
1.128     moko     7316: else
1.150     moko     7317:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7318: $as_echo "no" >&6; }
1.128     moko     7319: fi
                   7320: 
1.150     moko     7321: 
1.128     moko     7322: fi
                   7323: if test -z "$ac_cv_prog_RANLIB"; then
                   7324:   ac_ct_RANLIB=$RANLIB
                   7325:   # Extract the first word of "ranlib", so it can be a program name with args.
                   7326: set dummy ranlib; ac_word=$2
1.150     moko     7327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7328: $as_echo_n "checking for $ac_word... " >&6; }
                   7329: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   7330:   $as_echo_n "(cached) " >&6
1.128     moko     7331: else
                   7332:   if test -n "$ac_ct_RANLIB"; then
                   7333:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   7334: else
                   7335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7336: for as_dir in $PATH
                   7337: do
                   7338:   IFS=$as_save_IFS
                   7339:   test -z "$as_dir" && as_dir=.
1.150     moko     7340:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7341:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7342:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     7343:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7344:     break 2
                   7345:   fi
                   7346: done
1.150     moko     7347:   done
                   7348: IFS=$as_save_IFS
1.128     moko     7349: 
                   7350: fi
                   7351: fi
                   7352: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   7353: if test -n "$ac_ct_RANLIB"; then
1.150     moko     7354:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   7355: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     7356: else
1.150     moko     7357:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7358: $as_echo "no" >&6; }
1.128     moko     7359: fi
                   7360: 
1.150     moko     7361:   if test "x$ac_ct_RANLIB" = x; then
                   7362:     RANLIB=":"
                   7363:   else
                   7364:     case $cross_compiling:$ac_tool_warned in
                   7365: yes:)
                   7366: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7367: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7368: ac_tool_warned=yes ;;
                   7369: esac
                   7370:     RANLIB=$ac_ct_RANLIB
                   7371:   fi
1.128     moko     7372: else
                   7373:   RANLIB="$ac_cv_prog_RANLIB"
                   7374: fi
                   7375: 
                   7376: test -z "$RANLIB" && RANLIB=:
                   7377: 
                   7378: 
                   7379: 
                   7380: 
                   7381: 
                   7382: 
                   7383: # Determine commands to create old-style static archives.
                   7384: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7385: old_postinstall_cmds='chmod 644 $oldlib'
                   7386: old_postuninstall_cmds=
                   7387: 
                   7388: if test -n "$RANLIB"; then
                   7389:   case $host_os in
                   7390:   openbsd*)
                   7391:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7392:     ;;
                   7393:   *)
                   7394:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7395:     ;;
                   7396:   esac
                   7397:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7398: fi
                   7399: 
                   7400: case $host_os in
                   7401:   darwin*)
                   7402:     lock_old_archive_extraction=yes ;;
                   7403:   *)
                   7404:     lock_old_archive_extraction=no ;;
                   7405: esac
                   7406: 
                   7407: 
                   7408: 
                   7409: 
                   7410: 
                   7411: 
                   7412: 
                   7413: 
                   7414: 
                   7415: 
                   7416: 
                   7417: 
                   7418: 
                   7419: 
                   7420: 
                   7421: 
                   7422: 
                   7423: 
                   7424: 
                   7425: 
                   7426: 
                   7427: 
                   7428: 
                   7429: 
                   7430: 
                   7431: 
                   7432: 
                   7433: 
                   7434: 
                   7435: 
                   7436: 
                   7437: 
                   7438: 
                   7439: 
                   7440: 
                   7441: 
                   7442: 
                   7443: 
                   7444: 
                   7445: # If no C compiler was specified, use CC.
                   7446: LTCC=${LTCC-"$CC"}
                   7447: 
                   7448: # If no C compiler flags were specified, use CFLAGS.
                   7449: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7450: 
                   7451: # Allow CC to be a program name with arguments.
                   7452: compiler=$CC
                   7453: 
                   7454: 
                   7455: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7457: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7458: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7459:   $as_echo_n "(cached) " >&6
1.128     moko     7460: else
                   7461: 
                   7462: # These are sane defaults that work on at least a few old systems.
                   7463: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7464: 
                   7465: # Character class describing NM global symbol codes.
                   7466: symcode='[BCDEGRST]'
                   7467: 
                   7468: # Regexp to match symbols that can be accessed directly from C.
                   7469: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7470: 
                   7471: # Define system-specific variables.
                   7472: case $host_os in
                   7473: aix*)
                   7474:   symcode='[BCDT]'
                   7475:   ;;
                   7476: cygwin* | mingw* | pw32* | cegcc*)
                   7477:   symcode='[ABCDGISTW]'
                   7478:   ;;
                   7479: hpux*)
                   7480:   if test "$host_cpu" = ia64; then
                   7481:     symcode='[ABCDEGRST]'
                   7482:   fi
                   7483:   ;;
                   7484: irix* | nonstopux*)
                   7485:   symcode='[BCDEGRST]'
                   7486:   ;;
                   7487: osf*)
                   7488:   symcode='[BCDEGQRST]'
                   7489:   ;;
                   7490: solaris*)
                   7491:   symcode='[BDRT]'
                   7492:   ;;
                   7493: sco3.2v5*)
                   7494:   symcode='[DT]'
                   7495:   ;;
                   7496: sysv4.2uw2*)
                   7497:   symcode='[DT]'
                   7498:   ;;
                   7499: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7500:   symcode='[ABDT]'
                   7501:   ;;
                   7502: sysv4)
                   7503:   symcode='[DFNSTU]'
                   7504:   ;;
                   7505: esac
                   7506: 
                   7507: # If we're using GNU nm, then use its standard symbol codes.
                   7508: case `$NM -V 2>&1` in
                   7509: *GNU* | *'with BFD'*)
                   7510:   symcode='[ABCDGIRSTW]' ;;
                   7511: esac
                   7512: 
                   7513: # Transform an extracted symbol line into a proper C declaration.
                   7514: # Some systems (esp. on ia64) link data and code symbols differently,
                   7515: # so use this general approach.
                   7516: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7517: 
                   7518: # Transform an extracted symbol line into symbol name and symbol address
                   7519: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7520: 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'"
                   7521: 
                   7522: # Handle CRLF in mingw tool chain
                   7523: opt_cr=
                   7524: case $build_os in
                   7525: mingw*)
                   7526:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7527:   ;;
                   7528: esac
                   7529: 
                   7530: # Try without a prefix underscore, then with it.
                   7531: for ac_symprfx in "" "_"; do
                   7532: 
                   7533:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7534:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7535: 
                   7536:   # Write the raw and C identifiers.
                   7537:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7538:     # Fake it for dumpbin and say T for any non-static function
                   7539:     # and D for any global variable.
                   7540:     # Also find C++ and __fastcall symbols from MSVC++,
                   7541:     # which start with @ or ?.
                   7542:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7543: "     {last_section=section; section=\$ 3};"\
                   7544: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7545: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7546: "     \$ 0!~/External *\|/{next};"\
                   7547: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7548: "     {if(hide[section]) next};"\
                   7549: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7550: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7551: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7552: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7553: "     ' prfx=^$ac_symprfx"
                   7554:   else
                   7555:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7556:   fi
                   7557:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7558: 
                   7559:   # Check to see that the pipe works correctly.
                   7560:   pipe_works=no
                   7561: 
                   7562:   rm -f conftest*
                   7563:   cat > conftest.$ac_ext <<_LT_EOF
                   7564: #ifdef __cplusplus
                   7565: extern "C" {
                   7566: #endif
                   7567: char nm_test_var;
                   7568: void nm_test_func(void);
                   7569: void nm_test_func(void){}
                   7570: #ifdef __cplusplus
                   7571: }
                   7572: #endif
                   7573: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7574: _LT_EOF
                   7575: 
1.150     moko     7576:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7577:   (eval $ac_compile) 2>&5
                   7578:   ac_status=$?
1.150     moko     7579:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7580:   test $ac_status = 0; }; then
1.128     moko     7581:     # Now try to grab the symbols.
                   7582:     nlist=conftest.nm
1.150     moko     7583:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7584:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7585:   ac_status=$?
1.150     moko     7586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7587:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7588:       # Try sorting and uniquifying the output.
                   7589:       if sort "$nlist" | uniq > "$nlist"T; then
                   7590:        mv -f "$nlist"T "$nlist"
                   7591:       else
                   7592:        rm -f "$nlist"T
                   7593:       fi
                   7594: 
                   7595:       # Make sure that we snagged all the symbols we need.
                   7596:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7597:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7598:          cat <<_LT_EOF > conftest.$ac_ext
                   7599: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7600: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7601: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7602:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7603: # define LT_DLSYM_CONST
                   7604: #elif defined(__osf__)
                   7605: /* This system does not cope well with relocations in const data.  */
                   7606: # define LT_DLSYM_CONST
                   7607: #else
                   7608: # define LT_DLSYM_CONST const
                   7609: #endif
                   7610: 
                   7611: #ifdef __cplusplus
                   7612: extern "C" {
                   7613: #endif
                   7614: 
                   7615: _LT_EOF
                   7616:          # Now generate the symbol file.
                   7617:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7618: 
                   7619:          cat <<_LT_EOF >> conftest.$ac_ext
                   7620: 
                   7621: /* The mapping between symbol names and symbols.  */
                   7622: LT_DLSYM_CONST struct {
                   7623:   const char *name;
                   7624:   void       *address;
                   7625: }
                   7626: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7627: {
                   7628:   { "@PROGRAM@", (void *) 0 },
                   7629: _LT_EOF
                   7630:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7631:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7632:   {0, (void *) 0}
                   7633: };
                   7634: 
                   7635: /* This works around a problem in FreeBSD linker */
                   7636: #ifdef FREEBSD_WORKAROUND
                   7637: static const void *lt_preloaded_setup() {
                   7638:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7639: }
                   7640: #endif
                   7641: 
                   7642: #ifdef __cplusplus
                   7643: }
                   7644: #endif
                   7645: _LT_EOF
                   7646:          # Now try linking the two files.
                   7647:          mv conftest.$ac_objext conftstm.$ac_objext
                   7648:          lt_globsym_save_LIBS=$LIBS
                   7649:          lt_globsym_save_CFLAGS=$CFLAGS
                   7650:          LIBS="conftstm.$ac_objext"
                   7651:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7652:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7653:   (eval $ac_link) 2>&5
                   7654:   ac_status=$?
1.150     moko     7655:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7656:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7657:            pipe_works=yes
                   7658:          fi
                   7659:          LIBS=$lt_globsym_save_LIBS
                   7660:          CFLAGS=$lt_globsym_save_CFLAGS
                   7661:        else
                   7662:          echo "cannot find nm_test_func in $nlist" >&5
                   7663:        fi
                   7664:       else
                   7665:        echo "cannot find nm_test_var in $nlist" >&5
                   7666:       fi
                   7667:     else
                   7668:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7669:     fi
                   7670:   else
                   7671:     echo "$progname: failed program was:" >&5
                   7672:     cat conftest.$ac_ext >&5
                   7673:   fi
                   7674:   rm -rf conftest* conftst*
                   7675: 
                   7676:   # Do not use the global_symbol_pipe unless it works.
                   7677:   if test "$pipe_works" = yes; then
                   7678:     break
                   7679:   else
                   7680:     lt_cv_sys_global_symbol_pipe=
                   7681:   fi
                   7682: done
                   7683: 
                   7684: fi
                   7685: 
                   7686: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7687:   lt_cv_sys_global_symbol_to_cdecl=
                   7688: fi
                   7689: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7690:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7691: $as_echo "failed" >&6; }
1.128     moko     7692: else
1.150     moko     7693:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7694: $as_echo "ok" >&6; }
1.128     moko     7695: fi
                   7696: 
                   7697: # Response file support.
                   7698: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7699:   nm_file_list_spec='@'
                   7700: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7701:   nm_file_list_spec='@'
                   7702: fi
                   7703: 
                   7704: 
                   7705: 
                   7706: 
                   7707: 
                   7708: 
                   7709: 
                   7710: 
                   7711: 
                   7712: 
                   7713: 
                   7714: 
                   7715: 
                   7716: 
                   7717: 
                   7718: 
                   7719: 
                   7720: 
                   7721: 
                   7722: 
                   7723: 
                   7724: 
                   7725: 
                   7726: 
                   7727: 
                   7728: 
                   7729: 
1.150     moko     7730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7731: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7732: 
1.150     moko     7733: # Check whether --with-sysroot was given.
                   7734: if test "${with_sysroot+set}" = set; then :
                   7735:   withval=$with_sysroot;
1.128     moko     7736: else
                   7737:   with_sysroot=no
1.150     moko     7738: fi
                   7739: 
1.128     moko     7740: 
                   7741: lt_sysroot=
                   7742: case ${with_sysroot} in #(
                   7743:  yes)
                   7744:    if test "$GCC" = yes; then
                   7745:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7746:    fi
                   7747:    ;; #(
                   7748:  /*)
                   7749:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7750:    ;; #(
                   7751:  no|'')
                   7752:    ;; #(
                   7753:  *)
1.150     moko     7754:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7755: $as_echo "${with_sysroot}" >&6; }
                   7756:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7757:    ;;
                   7758: esac
                   7759: 
1.150     moko     7760:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7761: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7762: 
                   7763: 
                   7764: 
                   7765: 
                   7766: 
1.150     moko     7767: # Check whether --enable-libtool-lock was given.
                   7768: if test "${enable_libtool_lock+set}" = set; then :
                   7769:   enableval=$enable_libtool_lock;
                   7770: fi
1.128     moko     7771: 
                   7772: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7773: 
                   7774: # Some flags need to be propagated to the compiler or linker for good
                   7775: # libtool support.
                   7776: case $host in
                   7777: ia64-*-hpux*)
                   7778:   # Find out which ABI we are using.
                   7779:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7780:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7781:   (eval $ac_compile) 2>&5
                   7782:   ac_status=$?
1.150     moko     7783:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7784:   test $ac_status = 0; }; then
1.128     moko     7785:     case `/usr/bin/file conftest.$ac_objext` in
                   7786:       *ELF-32*)
                   7787:        HPUX_IA64_MODE="32"
                   7788:        ;;
                   7789:       *ELF-64*)
                   7790:        HPUX_IA64_MODE="64"
                   7791:        ;;
                   7792:     esac
                   7793:   fi
                   7794:   rm -rf conftest*
                   7795:   ;;
                   7796: *-*-irix6*)
                   7797:   # Find out which ABI we are using.
                   7798:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7799:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7800:   (eval $ac_compile) 2>&5
                   7801:   ac_status=$?
1.150     moko     7802:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7803:   test $ac_status = 0; }; then
1.128     moko     7804:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7805:       case `/usr/bin/file conftest.$ac_objext` in
                   7806:        *32-bit*)
                   7807:          LD="${LD-ld} -melf32bsmip"
                   7808:          ;;
                   7809:        *N32*)
                   7810:          LD="${LD-ld} -melf32bmipn32"
                   7811:          ;;
                   7812:        *64-bit*)
                   7813:          LD="${LD-ld} -melf64bmip"
                   7814:        ;;
                   7815:       esac
                   7816:     else
                   7817:       case `/usr/bin/file conftest.$ac_objext` in
                   7818:        *32-bit*)
                   7819:          LD="${LD-ld} -32"
                   7820:          ;;
                   7821:        *N32*)
                   7822:          LD="${LD-ld} -n32"
                   7823:          ;;
                   7824:        *64-bit*)
                   7825:          LD="${LD-ld} -64"
                   7826:          ;;
                   7827:       esac
                   7828:     fi
                   7829:   fi
                   7830:   rm -rf conftest*
                   7831:   ;;
                   7832: 
                   7833: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7834: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7835:   # Find out which ABI we are using.
                   7836:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7837:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7838:   (eval $ac_compile) 2>&5
                   7839:   ac_status=$?
1.150     moko     7840:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7841:   test $ac_status = 0; }; then
1.128     moko     7842:     case `/usr/bin/file conftest.o` in
                   7843:       *32-bit*)
                   7844:        case $host in
                   7845:          x86_64-*kfreebsd*-gnu)
                   7846:            LD="${LD-ld} -m elf_i386_fbsd"
                   7847:            ;;
                   7848:          x86_64-*linux*)
                   7849:            LD="${LD-ld} -m elf_i386"
                   7850:            ;;
                   7851:          ppc64-*linux*|powerpc64-*linux*)
                   7852:            LD="${LD-ld} -m elf32ppclinux"
                   7853:            ;;
                   7854:          s390x-*linux*)
                   7855:            LD="${LD-ld} -m elf_s390"
                   7856:            ;;
                   7857:          sparc64-*linux*)
                   7858:            LD="${LD-ld} -m elf32_sparc"
                   7859:            ;;
                   7860:        esac
                   7861:        ;;
                   7862:       *64-bit*)
                   7863:        case $host in
                   7864:          x86_64-*kfreebsd*-gnu)
                   7865:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7866:            ;;
                   7867:          x86_64-*linux*)
                   7868:            LD="${LD-ld} -m elf_x86_64"
                   7869:            ;;
                   7870:          ppc*-*linux*|powerpc*-*linux*)
                   7871:            LD="${LD-ld} -m elf64ppc"
                   7872:            ;;
                   7873:          s390*-*linux*|s390*-*tpf*)
                   7874:            LD="${LD-ld} -m elf64_s390"
                   7875:            ;;
                   7876:          sparc*-*linux*)
                   7877:            LD="${LD-ld} -m elf64_sparc"
                   7878:            ;;
                   7879:        esac
                   7880:        ;;
                   7881:     esac
                   7882:   fi
                   7883:   rm -rf conftest*
                   7884:   ;;
                   7885: 
                   7886: *-*-sco3.2v5*)
                   7887:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7888:   SAVE_CFLAGS="$CFLAGS"
                   7889:   CFLAGS="$CFLAGS -belf"
1.150     moko     7890:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7891: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7892: if ${lt_cv_cc_needs_belf+:} false; then :
                   7893:   $as_echo_n "(cached) " >&6
1.128     moko     7894: else
                   7895:   ac_ext=c
                   7896: ac_cpp='$CPP $CPPFLAGS'
                   7897: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7898: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7899: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7900: 
1.150     moko     7901:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7902: /* end confdefs.h.  */
                   7903: 
                   7904: int
                   7905: main ()
                   7906: {
                   7907: 
                   7908:   ;
                   7909:   return 0;
                   7910: }
                   7911: _ACEOF
1.150     moko     7912: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7913:   lt_cv_cc_needs_belf=yes
                   7914: else
1.150     moko     7915:   lt_cv_cc_needs_belf=no
1.128     moko     7916: fi
1.150     moko     7917: rm -f core conftest.err conftest.$ac_objext \
                   7918:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7919:      ac_ext=c
                   7920: ac_cpp='$CPP $CPPFLAGS'
                   7921: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7922: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7923: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7924: 
                   7925: fi
1.150     moko     7926: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7927: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7928:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7929:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7930:     CFLAGS="$SAVE_CFLAGS"
                   7931:   fi
                   7932:   ;;
                   7933: *-*solaris*)
                   7934:   # Find out which ABI we are using.
                   7935:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7936:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7937:   (eval $ac_compile) 2>&5
                   7938:   ac_status=$?
1.150     moko     7939:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7940:   test $ac_status = 0; }; then
1.128     moko     7941:     case `/usr/bin/file conftest.o` in
                   7942:     *64-bit*)
                   7943:       case $lt_cv_prog_gnu_ld in
                   7944:       yes*)
                   7945:         case $host in
                   7946:         i?86-*-solaris*)
                   7947:           LD="${LD-ld} -m elf_x86_64"
                   7948:           ;;
                   7949:         sparc*-*-solaris*)
                   7950:           LD="${LD-ld} -m elf64_sparc"
                   7951:           ;;
                   7952:         esac
                   7953:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7954:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7955:           LD="${LD-ld}_sol2"
                   7956:         fi
                   7957:         ;;
                   7958:       *)
                   7959:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7960:          LD="${LD-ld} -64"
                   7961:        fi
                   7962:        ;;
                   7963:       esac
                   7964:       ;;
                   7965:     esac
                   7966:   fi
                   7967:   rm -rf conftest*
                   7968:   ;;
                   7969: esac
                   7970: 
                   7971: need_locks="$enable_libtool_lock"
                   7972: 
                   7973: if test -n "$ac_tool_prefix"; then
                   7974:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7975: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7977: $as_echo_n "checking for $ac_word... " >&6; }
                   7978: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7979:   $as_echo_n "(cached) " >&6
1.128     moko     7980: else
                   7981:   if test -n "$MANIFEST_TOOL"; then
                   7982:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7983: else
                   7984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7985: for as_dir in $PATH
                   7986: do
                   7987:   IFS=$as_save_IFS
                   7988:   test -z "$as_dir" && as_dir=.
1.150     moko     7989:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     7990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     7991:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7993:     break 2
                   7994:   fi
                   7995: done
1.150     moko     7996:   done
                   7997: IFS=$as_save_IFS
1.128     moko     7998: 
                   7999: fi
                   8000: fi
                   8001: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   8002: if test -n "$MANIFEST_TOOL"; then
1.150     moko     8003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   8004: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     8005: else
1.150     moko     8006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8007: $as_echo "no" >&6; }
1.128     moko     8008: fi
                   8009: 
1.150     moko     8010: 
1.128     moko     8011: fi
                   8012: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   8013:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   8014:   # Extract the first word of "mt", so it can be a program name with args.
                   8015: set dummy mt; ac_word=$2
1.150     moko     8016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8017: $as_echo_n "checking for $ac_word... " >&6; }
                   8018: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   8019:   $as_echo_n "(cached) " >&6
1.128     moko     8020: else
                   8021:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   8022:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   8023: else
                   8024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8025: for as_dir in $PATH
                   8026: do
                   8027:   IFS=$as_save_IFS
                   8028:   test -z "$as_dir" && as_dir=.
1.150     moko     8029:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8030:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8031:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     8032:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8033:     break 2
                   8034:   fi
                   8035: done
1.150     moko     8036:   done
                   8037: IFS=$as_save_IFS
1.128     moko     8038: 
                   8039: fi
                   8040: fi
                   8041: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   8042: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     8043:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   8044: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     8045: else
1.150     moko     8046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8047: $as_echo "no" >&6; }
1.128     moko     8048: fi
                   8049: 
1.150     moko     8050:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   8051:     MANIFEST_TOOL=":"
                   8052:   else
                   8053:     case $cross_compiling:$ac_tool_warned in
                   8054: yes:)
                   8055: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8056: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8057: ac_tool_warned=yes ;;
                   8058: esac
                   8059:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   8060:   fi
1.128     moko     8061: else
                   8062:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   8063: fi
                   8064: 
                   8065: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     8066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   8067: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   8068: if ${lt_cv_path_mainfest_tool+:} false; then :
                   8069:   $as_echo_n "(cached) " >&6
1.128     moko     8070: else
                   8071:   lt_cv_path_mainfest_tool=no
                   8072:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   8073:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   8074:   cat conftest.err >&5
                   8075:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   8076:     lt_cv_path_mainfest_tool=yes
                   8077:   fi
                   8078:   rm -f conftest*
                   8079: fi
1.150     moko     8080: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   8081: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     8082: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   8083:   MANIFEST_TOOL=:
                   8084: fi
                   8085: 
                   8086: 
                   8087: 
                   8088: 
                   8089: 
                   8090: 
                   8091:   case $host_os in
                   8092:     rhapsody* | darwin*)
                   8093:     if test -n "$ac_tool_prefix"; then
                   8094:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   8095: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     8096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8097: $as_echo_n "checking for $ac_word... " >&6; }
                   8098: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   8099:   $as_echo_n "(cached) " >&6
1.128     moko     8100: else
                   8101:   if test -n "$DSYMUTIL"; then
                   8102:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   8103: else
                   8104: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8105: for as_dir in $PATH
                   8106: do
                   8107:   IFS=$as_save_IFS
                   8108:   test -z "$as_dir" && as_dir=.
1.150     moko     8109:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8110:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8111:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     8112:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8113:     break 2
                   8114:   fi
                   8115: done
1.150     moko     8116:   done
                   8117: IFS=$as_save_IFS
1.128     moko     8118: 
                   8119: fi
                   8120: fi
                   8121: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   8122: if test -n "$DSYMUTIL"; then
1.150     moko     8123:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   8124: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     8125: else
1.150     moko     8126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8127: $as_echo "no" >&6; }
1.128     moko     8128: fi
                   8129: 
1.150     moko     8130: 
1.128     moko     8131: fi
                   8132: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   8133:   ac_ct_DSYMUTIL=$DSYMUTIL
                   8134:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   8135: set dummy dsymutil; ac_word=$2
1.150     moko     8136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8137: $as_echo_n "checking for $ac_word... " >&6; }
                   8138: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   8139:   $as_echo_n "(cached) " >&6
1.128     moko     8140: else
                   8141:   if test -n "$ac_ct_DSYMUTIL"; then
                   8142:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   8143: else
                   8144: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8145: for as_dir in $PATH
                   8146: do
                   8147:   IFS=$as_save_IFS
                   8148:   test -z "$as_dir" && as_dir=.
1.150     moko     8149:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8150:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8151:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     8152:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8153:     break 2
                   8154:   fi
                   8155: done
1.150     moko     8156:   done
                   8157: IFS=$as_save_IFS
1.128     moko     8158: 
                   8159: fi
                   8160: fi
                   8161: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   8162: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     8163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   8164: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     8165: else
1.150     moko     8166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8167: $as_echo "no" >&6; }
1.128     moko     8168: fi
                   8169: 
1.150     moko     8170:   if test "x$ac_ct_DSYMUTIL" = x; then
                   8171:     DSYMUTIL=":"
                   8172:   else
                   8173:     case $cross_compiling:$ac_tool_warned in
                   8174: yes:)
                   8175: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8176: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8177: ac_tool_warned=yes ;;
                   8178: esac
                   8179:     DSYMUTIL=$ac_ct_DSYMUTIL
                   8180:   fi
1.128     moko     8181: else
                   8182:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   8183: fi
                   8184: 
                   8185:     if test -n "$ac_tool_prefix"; then
                   8186:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   8187: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     8188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8189: $as_echo_n "checking for $ac_word... " >&6; }
                   8190: if ${ac_cv_prog_NMEDIT+:} false; then :
                   8191:   $as_echo_n "(cached) " >&6
1.128     moko     8192: else
                   8193:   if test -n "$NMEDIT"; then
                   8194:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   8195: else
                   8196: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8197: for as_dir in $PATH
                   8198: do
                   8199:   IFS=$as_save_IFS
                   8200:   test -z "$as_dir" && as_dir=.
1.150     moko     8201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8202:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8203:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     8204:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8205:     break 2
                   8206:   fi
                   8207: done
1.150     moko     8208:   done
                   8209: IFS=$as_save_IFS
1.128     moko     8210: 
                   8211: fi
                   8212: fi
                   8213: NMEDIT=$ac_cv_prog_NMEDIT
                   8214: if test -n "$NMEDIT"; then
1.150     moko     8215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   8216: $as_echo "$NMEDIT" >&6; }
1.128     moko     8217: else
1.150     moko     8218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8219: $as_echo "no" >&6; }
1.128     moko     8220: fi
                   8221: 
1.150     moko     8222: 
1.128     moko     8223: fi
                   8224: if test -z "$ac_cv_prog_NMEDIT"; then
                   8225:   ac_ct_NMEDIT=$NMEDIT
                   8226:   # Extract the first word of "nmedit", so it can be a program name with args.
                   8227: set dummy nmedit; ac_word=$2
1.150     moko     8228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8229: $as_echo_n "checking for $ac_word... " >&6; }
                   8230: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   8231:   $as_echo_n "(cached) " >&6
1.128     moko     8232: else
                   8233:   if test -n "$ac_ct_NMEDIT"; then
                   8234:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   8235: else
                   8236: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8237: for as_dir in $PATH
                   8238: do
                   8239:   IFS=$as_save_IFS
                   8240:   test -z "$as_dir" && as_dir=.
1.150     moko     8241:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8242:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8243:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     8244:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8245:     break 2
                   8246:   fi
                   8247: done
1.150     moko     8248:   done
                   8249: IFS=$as_save_IFS
1.128     moko     8250: 
                   8251: fi
                   8252: fi
                   8253: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   8254: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     8255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   8256: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     8257: else
1.150     moko     8258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8259: $as_echo "no" >&6; }
1.128     moko     8260: fi
                   8261: 
1.150     moko     8262:   if test "x$ac_ct_NMEDIT" = x; then
                   8263:     NMEDIT=":"
                   8264:   else
                   8265:     case $cross_compiling:$ac_tool_warned in
                   8266: yes:)
                   8267: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8268: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8269: ac_tool_warned=yes ;;
                   8270: esac
                   8271:     NMEDIT=$ac_ct_NMEDIT
                   8272:   fi
1.128     moko     8273: else
                   8274:   NMEDIT="$ac_cv_prog_NMEDIT"
                   8275: fi
                   8276: 
                   8277:     if test -n "$ac_tool_prefix"; then
                   8278:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   8279: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     8280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8281: $as_echo_n "checking for $ac_word... " >&6; }
                   8282: if ${ac_cv_prog_LIPO+:} false; then :
                   8283:   $as_echo_n "(cached) " >&6
1.128     moko     8284: else
                   8285:   if test -n "$LIPO"; then
                   8286:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   8287: else
                   8288: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8289: for as_dir in $PATH
                   8290: do
                   8291:   IFS=$as_save_IFS
                   8292:   test -z "$as_dir" && as_dir=.
1.150     moko     8293:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8294:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8295:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     8296:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8297:     break 2
                   8298:   fi
                   8299: done
1.150     moko     8300:   done
                   8301: IFS=$as_save_IFS
1.128     moko     8302: 
                   8303: fi
                   8304: fi
                   8305: LIPO=$ac_cv_prog_LIPO
                   8306: if test -n "$LIPO"; then
1.150     moko     8307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   8308: $as_echo "$LIPO" >&6; }
1.128     moko     8309: else
1.150     moko     8310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8311: $as_echo "no" >&6; }
1.128     moko     8312: fi
                   8313: 
1.150     moko     8314: 
1.128     moko     8315: fi
                   8316: if test -z "$ac_cv_prog_LIPO"; then
                   8317:   ac_ct_LIPO=$LIPO
                   8318:   # Extract the first word of "lipo", so it can be a program name with args.
                   8319: set dummy lipo; ac_word=$2
1.150     moko     8320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8321: $as_echo_n "checking for $ac_word... " >&6; }
                   8322: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   8323:   $as_echo_n "(cached) " >&6
1.128     moko     8324: else
                   8325:   if test -n "$ac_ct_LIPO"; then
                   8326:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   8327: else
                   8328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8329: for as_dir in $PATH
                   8330: do
                   8331:   IFS=$as_save_IFS
                   8332:   test -z "$as_dir" && as_dir=.
1.150     moko     8333:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8334:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8335:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     8336:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8337:     break 2
                   8338:   fi
                   8339: done
1.150     moko     8340:   done
                   8341: IFS=$as_save_IFS
1.128     moko     8342: 
                   8343: fi
                   8344: fi
                   8345: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   8346: if test -n "$ac_ct_LIPO"; then
1.150     moko     8347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   8348: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     8349: else
1.150     moko     8350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8351: $as_echo "no" >&6; }
1.128     moko     8352: fi
                   8353: 
1.150     moko     8354:   if test "x$ac_ct_LIPO" = x; then
                   8355:     LIPO=":"
                   8356:   else
                   8357:     case $cross_compiling:$ac_tool_warned in
                   8358: yes:)
                   8359: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8360: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8361: ac_tool_warned=yes ;;
                   8362: esac
                   8363:     LIPO=$ac_ct_LIPO
                   8364:   fi
1.128     moko     8365: else
                   8366:   LIPO="$ac_cv_prog_LIPO"
                   8367: fi
                   8368: 
                   8369:     if test -n "$ac_tool_prefix"; then
                   8370:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   8371: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     8372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8373: $as_echo_n "checking for $ac_word... " >&6; }
                   8374: if ${ac_cv_prog_OTOOL+:} false; then :
                   8375:   $as_echo_n "(cached) " >&6
1.128     moko     8376: else
                   8377:   if test -n "$OTOOL"; then
                   8378:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8379: else
                   8380: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8381: for as_dir in $PATH
                   8382: do
                   8383:   IFS=$as_save_IFS
                   8384:   test -z "$as_dir" && as_dir=.
1.150     moko     8385:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8386:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8387:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8388:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8389:     break 2
                   8390:   fi
                   8391: done
1.150     moko     8392:   done
                   8393: IFS=$as_save_IFS
1.128     moko     8394: 
                   8395: fi
                   8396: fi
                   8397: OTOOL=$ac_cv_prog_OTOOL
                   8398: if test -n "$OTOOL"; then
1.150     moko     8399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8400: $as_echo "$OTOOL" >&6; }
1.128     moko     8401: else
1.150     moko     8402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8403: $as_echo "no" >&6; }
1.128     moko     8404: fi
                   8405: 
1.150     moko     8406: 
1.128     moko     8407: fi
                   8408: if test -z "$ac_cv_prog_OTOOL"; then
                   8409:   ac_ct_OTOOL=$OTOOL
                   8410:   # Extract the first word of "otool", so it can be a program name with args.
                   8411: set dummy otool; ac_word=$2
1.150     moko     8412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8413: $as_echo_n "checking for $ac_word... " >&6; }
                   8414: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8415:   $as_echo_n "(cached) " >&6
1.128     moko     8416: else
                   8417:   if test -n "$ac_ct_OTOOL"; then
                   8418:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8419: else
                   8420: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8421: for as_dir in $PATH
                   8422: do
                   8423:   IFS=$as_save_IFS
                   8424:   test -z "$as_dir" && as_dir=.
1.150     moko     8425:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8426:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8427:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8428:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8429:     break 2
                   8430:   fi
                   8431: done
1.150     moko     8432:   done
                   8433: IFS=$as_save_IFS
1.128     moko     8434: 
                   8435: fi
                   8436: fi
                   8437: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8438: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8439:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8440: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8441: else
1.150     moko     8442:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8443: $as_echo "no" >&6; }
1.128     moko     8444: fi
                   8445: 
1.150     moko     8446:   if test "x$ac_ct_OTOOL" = x; then
                   8447:     OTOOL=":"
                   8448:   else
                   8449:     case $cross_compiling:$ac_tool_warned in
                   8450: yes:)
                   8451: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8452: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8453: ac_tool_warned=yes ;;
                   8454: esac
                   8455:     OTOOL=$ac_ct_OTOOL
                   8456:   fi
1.128     moko     8457: else
                   8458:   OTOOL="$ac_cv_prog_OTOOL"
                   8459: fi
                   8460: 
                   8461:     if test -n "$ac_tool_prefix"; then
                   8462:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8463: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8465: $as_echo_n "checking for $ac_word... " >&6; }
                   8466: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8467:   $as_echo_n "(cached) " >&6
1.128     moko     8468: else
                   8469:   if test -n "$OTOOL64"; then
                   8470:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8471: else
                   8472: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8473: for as_dir in $PATH
                   8474: do
                   8475:   IFS=$as_save_IFS
                   8476:   test -z "$as_dir" && as_dir=.
1.150     moko     8477:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8478:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8479:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8480:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8481:     break 2
                   8482:   fi
                   8483: done
1.150     moko     8484:   done
                   8485: IFS=$as_save_IFS
1.128     moko     8486: 
                   8487: fi
                   8488: fi
                   8489: OTOOL64=$ac_cv_prog_OTOOL64
                   8490: if test -n "$OTOOL64"; then
1.150     moko     8491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8492: $as_echo "$OTOOL64" >&6; }
1.128     moko     8493: else
1.150     moko     8494:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8495: $as_echo "no" >&6; }
1.128     moko     8496: fi
                   8497: 
1.150     moko     8498: 
1.128     moko     8499: fi
                   8500: if test -z "$ac_cv_prog_OTOOL64"; then
                   8501:   ac_ct_OTOOL64=$OTOOL64
                   8502:   # Extract the first word of "otool64", so it can be a program name with args.
                   8503: set dummy otool64; ac_word=$2
1.150     moko     8504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8505: $as_echo_n "checking for $ac_word... " >&6; }
                   8506: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8507:   $as_echo_n "(cached) " >&6
1.128     moko     8508: else
                   8509:   if test -n "$ac_ct_OTOOL64"; then
                   8510:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8511: else
                   8512: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8513: for as_dir in $PATH
                   8514: do
                   8515:   IFS=$as_save_IFS
                   8516:   test -z "$as_dir" && as_dir=.
1.150     moko     8517:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     8518:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     8519:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8520:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8521:     break 2
                   8522:   fi
                   8523: done
1.150     moko     8524:   done
                   8525: IFS=$as_save_IFS
1.128     moko     8526: 
                   8527: fi
                   8528: fi
                   8529: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8530: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8531:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8532: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8533: else
1.150     moko     8534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8535: $as_echo "no" >&6; }
1.128     moko     8536: fi
                   8537: 
1.150     moko     8538:   if test "x$ac_ct_OTOOL64" = x; then
                   8539:     OTOOL64=":"
                   8540:   else
                   8541:     case $cross_compiling:$ac_tool_warned in
                   8542: yes:)
                   8543: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8544: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8545: ac_tool_warned=yes ;;
                   8546: esac
                   8547:     OTOOL64=$ac_ct_OTOOL64
                   8548:   fi
1.128     moko     8549: else
                   8550:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8551: fi
                   8552: 
                   8553: 
                   8554: 
                   8555: 
                   8556: 
                   8557: 
                   8558: 
                   8559: 
                   8560: 
                   8561: 
                   8562: 
                   8563: 
                   8564: 
                   8565: 
                   8566: 
                   8567: 
                   8568: 
                   8569: 
                   8570: 
                   8571: 
                   8572: 
                   8573: 
                   8574: 
                   8575: 
                   8576: 
                   8577: 
                   8578: 
1.150     moko     8579:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8580: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8581: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8582:   $as_echo_n "(cached) " >&6
1.128     moko     8583: else
                   8584:   lt_cv_apple_cc_single_mod=no
                   8585:       if test -z "${LT_MULTI_MODULE}"; then
                   8586:        # By default we will add the -single_module flag. You can override
                   8587:        # by either setting the environment variable LT_MULTI_MODULE
                   8588:        # non-empty at configure time, or by adding -multi_module to the
                   8589:        # link flags.
                   8590:        rm -rf libconftest.dylib*
                   8591:        echo "int foo(void){return 1;}" > conftest.c
                   8592:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8593: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8594:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8595:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8596:         _lt_result=$?
                   8597:        # If there is a non-empty error log, and "single_module"
                   8598:        # appears in it, assume the flag caused a linker warning
                   8599:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8600:          cat conftest.err >&5
                   8601:        # Otherwise, if the output was created with a 0 exit code from
                   8602:        # the compiler, it worked.
                   8603:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8604:          lt_cv_apple_cc_single_mod=yes
                   8605:        else
                   8606:          cat conftest.err >&5
                   8607:        fi
                   8608:        rm -rf libconftest.dylib*
                   8609:        rm -f conftest.*
                   8610:       fi
                   8611: fi
1.150     moko     8612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8613: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8614: 
1.150     moko     8615:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8616: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8617: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8618:   $as_echo_n "(cached) " >&6
1.128     moko     8619: else
                   8620:   lt_cv_ld_exported_symbols_list=no
                   8621:       save_LDFLAGS=$LDFLAGS
                   8622:       echo "_main" > conftest.sym
                   8623:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8624:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8625: /* end confdefs.h.  */
                   8626: 
                   8627: int
                   8628: main ()
                   8629: {
                   8630: 
                   8631:   ;
                   8632:   return 0;
                   8633: }
                   8634: _ACEOF
1.150     moko     8635: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8636:   lt_cv_ld_exported_symbols_list=yes
                   8637: else
1.150     moko     8638:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8639: fi
1.150     moko     8640: rm -f core conftest.err conftest.$ac_objext \
                   8641:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8642:        LDFLAGS="$save_LDFLAGS"
                   8643: 
                   8644: fi
1.150     moko     8645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8646: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8647: 
1.150     moko     8648:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8649: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8650: if ${lt_cv_ld_force_load+:} false; then :
                   8651:   $as_echo_n "(cached) " >&6
1.128     moko     8652: else
                   8653:   lt_cv_ld_force_load=no
                   8654:       cat > conftest.c << _LT_EOF
                   8655: int forced_loaded() { return 2;}
                   8656: _LT_EOF
                   8657:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8658:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8659:       echo "$AR cru libconftest.a conftest.o" >&5
                   8660:       $AR cru libconftest.a conftest.o 2>&5
                   8661:       echo "$RANLIB libconftest.a" >&5
                   8662:       $RANLIB libconftest.a 2>&5
                   8663:       cat > conftest.c << _LT_EOF
                   8664: int main() { return 0;}
                   8665: _LT_EOF
                   8666:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8667:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8668:       _lt_result=$?
                   8669:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8670:        cat conftest.err >&5
                   8671:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8672:        lt_cv_ld_force_load=yes
                   8673:       else
                   8674:        cat conftest.err >&5
                   8675:       fi
                   8676:         rm -f conftest.err libconftest.a conftest conftest.c
                   8677:         rm -rf conftest.dSYM
                   8678: 
                   8679: fi
1.150     moko     8680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8681: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8682:     case $host_os in
                   8683:     rhapsody* | darwin1.[012])
                   8684:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8685:     darwin1.*)
                   8686:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8687:     darwin*) # darwin 5.x on
                   8688:       # if running on 10.5 or later, the deployment target defaults
                   8689:       # to the OS version, if on x86, and 10.4, the deployment
                   8690:       # target defaults to 10.4. Don't you love it?
                   8691:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8692:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8693:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8694:        10.[012]*)
                   8695:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8696:        10.*)
                   8697:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8698:       esac
                   8699:     ;;
                   8700:   esac
                   8701:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8702:       _lt_dar_single_mod='$single_module'
                   8703:     fi
                   8704:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8705:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8706:     else
                   8707:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8708:     fi
                   8709:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8710:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8711:     else
                   8712:       _lt_dsymutil=
                   8713:     fi
                   8714:     ;;
                   8715:   esac
                   8716: 
                   8717: ac_ext=c
                   8718: ac_cpp='$CPP $CPPFLAGS'
                   8719: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8720: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8721: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8723: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8724: # On Suns, sometimes $CPP names a directory.
                   8725: if test -n "$CPP" && test -d "$CPP"; then
                   8726:   CPP=
                   8727: fi
                   8728: if test -z "$CPP"; then
1.150     moko     8729:   if ${ac_cv_prog_CPP+:} false; then :
                   8730:   $as_echo_n "(cached) " >&6
1.128     moko     8731: else
                   8732:       # Double quotes because CPP needs to be expanded
                   8733:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8734:     do
                   8735:       ac_preproc_ok=false
                   8736: for ac_c_preproc_warn_flag in '' yes
                   8737: do
                   8738:   # Use a header file that comes with gcc, so configuring glibc
                   8739:   # with a fresh cross-compiler works.
                   8740:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8741:   # <limits.h> exists even on freestanding compilers.
                   8742:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8743:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8744:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8745: /* end confdefs.h.  */
                   8746: #ifdef __STDC__
                   8747: # include <limits.h>
                   8748: #else
                   8749: # include <assert.h>
                   8750: #endif
                   8751:                     Syntax error
                   8752: _ACEOF
1.150     moko     8753: if ac_fn_c_try_cpp "$LINENO"; then :
                   8754: 
1.128     moko     8755: else
                   8756:   # Broken: fails on valid input.
                   8757: continue
                   8758: fi
1.150     moko     8759: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8760: 
1.150     moko     8761:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8762:   # can be detected and how.
1.150     moko     8763:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8764: /* end confdefs.h.  */
                   8765: #include <ac_nonexistent.h>
                   8766: _ACEOF
1.150     moko     8767: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8768:   # Broken: success on invalid input.
                   8769: continue
                   8770: else
                   8771:   # Passes both tests.
                   8772: ac_preproc_ok=:
                   8773: break
                   8774: fi
1.150     moko     8775: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8776: 
                   8777: done
                   8778: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8779: rm -f conftest.i conftest.err conftest.$ac_ext
                   8780: if $ac_preproc_ok; then :
1.128     moko     8781:   break
                   8782: fi
                   8783: 
                   8784:     done
                   8785:     ac_cv_prog_CPP=$CPP
                   8786: 
                   8787: fi
                   8788:   CPP=$ac_cv_prog_CPP
                   8789: else
                   8790:   ac_cv_prog_CPP=$CPP
                   8791: fi
1.150     moko     8792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8793: $as_echo "$CPP" >&6; }
1.128     moko     8794: ac_preproc_ok=false
                   8795: for ac_c_preproc_warn_flag in '' yes
                   8796: do
                   8797:   # Use a header file that comes with gcc, so configuring glibc
                   8798:   # with a fresh cross-compiler works.
                   8799:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8800:   # <limits.h> exists even on freestanding compilers.
                   8801:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8802:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8804: /* end confdefs.h.  */
                   8805: #ifdef __STDC__
                   8806: # include <limits.h>
                   8807: #else
                   8808: # include <assert.h>
                   8809: #endif
                   8810:                     Syntax error
                   8811: _ACEOF
1.150     moko     8812: if ac_fn_c_try_cpp "$LINENO"; then :
                   8813: 
1.128     moko     8814: else
                   8815:   # Broken: fails on valid input.
                   8816: continue
                   8817: fi
1.150     moko     8818: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8819: 
1.150     moko     8820:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8821:   # can be detected and how.
1.150     moko     8822:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8823: /* end confdefs.h.  */
                   8824: #include <ac_nonexistent.h>
                   8825: _ACEOF
1.150     moko     8826: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8827:   # Broken: success on invalid input.
                   8828: continue
                   8829: else
                   8830:   # Passes both tests.
                   8831: ac_preproc_ok=:
                   8832: break
                   8833: fi
1.150     moko     8834: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8835: 
                   8836: done
                   8837: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8838: rm -f conftest.i conftest.err conftest.$ac_ext
                   8839: if $ac_preproc_ok; then :
                   8840: 
1.128     moko     8841: else
1.150     moko     8842:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8843: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8844: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8845: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8846: fi
                   8847: 
                   8848: ac_ext=c
                   8849: ac_cpp='$CPP $CPPFLAGS'
                   8850: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8851: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8852: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8853: 
                   8854: 
1.150     moko     8855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8856: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8857: if ${ac_cv_header_stdc+:} false; then :
                   8858:   $as_echo_n "(cached) " >&6
1.128     moko     8859: else
1.150     moko     8860:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8861: /* end confdefs.h.  */
                   8862: #include <stdlib.h>
                   8863: #include <stdarg.h>
                   8864: #include <string.h>
                   8865: #include <float.h>
                   8866: 
                   8867: int
                   8868: main ()
                   8869: {
                   8870: 
                   8871:   ;
                   8872:   return 0;
                   8873: }
                   8874: _ACEOF
1.150     moko     8875: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8876:   ac_cv_header_stdc=yes
                   8877: else
1.150     moko     8878:   ac_cv_header_stdc=no
1.128     moko     8879: fi
1.150     moko     8880: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8881: 
                   8882: if test $ac_cv_header_stdc = yes; then
                   8883:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8884:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8885: /* end confdefs.h.  */
                   8886: #include <string.h>
                   8887: 
                   8888: _ACEOF
                   8889: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8890:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8891: 
1.128     moko     8892: else
                   8893:   ac_cv_header_stdc=no
                   8894: fi
                   8895: rm -f conftest*
                   8896: 
                   8897: fi
                   8898: 
                   8899: if test $ac_cv_header_stdc = yes; then
                   8900:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8901:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8902: /* end confdefs.h.  */
                   8903: #include <stdlib.h>
                   8904: 
                   8905: _ACEOF
                   8906: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8907:   $EGREP "free" >/dev/null 2>&1; then :
                   8908: 
1.128     moko     8909: else
                   8910:   ac_cv_header_stdc=no
                   8911: fi
                   8912: rm -f conftest*
                   8913: 
                   8914: fi
                   8915: 
                   8916: if test $ac_cv_header_stdc = yes; then
                   8917:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8918:   if test "$cross_compiling" = yes; then :
1.128     moko     8919:   :
                   8920: else
1.150     moko     8921:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8922: /* end confdefs.h.  */
                   8923: #include <ctype.h>
1.150     moko     8924: #include <stdlib.h>
1.128     moko     8925: #if ((' ' & 0x0FF) == 0x020)
                   8926: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8927: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8928: #else
                   8929: # define ISLOWER(c) \
                   8930:                   (('a' <= (c) && (c) <= 'i') \
                   8931:                     || ('j' <= (c) && (c) <= 'r') \
                   8932:                     || ('s' <= (c) && (c) <= 'z'))
                   8933: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8934: #endif
                   8935: 
                   8936: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8937: int
                   8938: main ()
                   8939: {
                   8940:   int i;
                   8941:   for (i = 0; i < 256; i++)
                   8942:     if (XOR (islower (i), ISLOWER (i))
                   8943:        || toupper (i) != TOUPPER (i))
1.150     moko     8944:       return 2;
                   8945:   return 0;
1.128     moko     8946: }
                   8947: _ACEOF
1.150     moko     8948: if ac_fn_c_try_run "$LINENO"; then :
                   8949: 
1.128     moko     8950: else
1.150     moko     8951:   ac_cv_header_stdc=no
1.128     moko     8952: fi
1.150     moko     8953: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8954:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8955: fi
1.150     moko     8956: 
1.128     moko     8957: fi
                   8958: fi
1.150     moko     8959: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8960: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8961: if test $ac_cv_header_stdc = yes; then
                   8962: 
1.150     moko     8963: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8964: 
                   8965: fi
                   8966: 
                   8967: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8968: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8969:                  inttypes.h stdint.h unistd.h
                   8970: do :
                   8971:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8972: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8973: "
                   8974: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8975:   cat >>confdefs.h <<_ACEOF
                   8976: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8977: _ACEOF
1.128     moko     8978: 
1.150     moko     8979: fi
1.128     moko     8980: 
1.150     moko     8981: done
1.128     moko     8982: 
                   8983: 
1.150     moko     8984: for ac_header in dlfcn.h
                   8985: do :
                   8986:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8987: "
                   8988: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8989:   cat >>confdefs.h <<_ACEOF
                   8990: #define HAVE_DLFCN_H 1
                   8991: _ACEOF
1.128     moko     8992: 
1.150     moko     8993: fi
1.128     moko     8994: 
1.150     moko     8995: done
1.128     moko     8996: 
                   8997: 
                   8998: 
                   8999: 
1.150     moko     9000: func_stripname_cnf ()
                   9001: {
                   9002:   case ${2} in
                   9003:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   9004:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   9005:   esac
                   9006: } # func_stripname_cnf
1.128     moko     9007: 
                   9008: 
                   9009: 
                   9010: 
                   9011: 
                   9012: # Set options
                   9013: enable_dlopen=yes
                   9014: enable_win32_dll=yes
                   9015: 
                   9016: case $host in
                   9017: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   9018:   if test -n "$ac_tool_prefix"; then
                   9019:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   9020: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     9021: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9022: $as_echo_n "checking for $ac_word... " >&6; }
                   9023: if ${ac_cv_prog_AS+:} false; then :
                   9024:   $as_echo_n "(cached) " >&6
1.128     moko     9025: else
                   9026:   if test -n "$AS"; then
                   9027:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   9028: else
                   9029: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9030: for as_dir in $PATH
                   9031: do
                   9032:   IFS=$as_save_IFS
                   9033:   test -z "$as_dir" && as_dir=.
1.150     moko     9034:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9035:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9036:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     9037:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9038:     break 2
                   9039:   fi
                   9040: done
1.150     moko     9041:   done
                   9042: IFS=$as_save_IFS
1.128     moko     9043: 
                   9044: fi
                   9045: fi
                   9046: AS=$ac_cv_prog_AS
                   9047: if test -n "$AS"; then
1.150     moko     9048:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   9049: $as_echo "$AS" >&6; }
1.128     moko     9050: else
1.150     moko     9051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9052: $as_echo "no" >&6; }
1.128     moko     9053: fi
                   9054: 
1.150     moko     9055: 
1.128     moko     9056: fi
                   9057: if test -z "$ac_cv_prog_AS"; then
                   9058:   ac_ct_AS=$AS
                   9059:   # Extract the first word of "as", so it can be a program name with args.
                   9060: set dummy as; ac_word=$2
1.150     moko     9061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9062: $as_echo_n "checking for $ac_word... " >&6; }
                   9063: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   9064:   $as_echo_n "(cached) " >&6
1.128     moko     9065: else
                   9066:   if test -n "$ac_ct_AS"; then
                   9067:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   9068: else
                   9069: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9070: for as_dir in $PATH
                   9071: do
                   9072:   IFS=$as_save_IFS
                   9073:   test -z "$as_dir" && as_dir=.
1.150     moko     9074:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9075:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9076:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     9077:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9078:     break 2
                   9079:   fi
                   9080: done
1.150     moko     9081:   done
                   9082: IFS=$as_save_IFS
1.128     moko     9083: 
                   9084: fi
                   9085: fi
                   9086: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   9087: if test -n "$ac_ct_AS"; then
1.150     moko     9088:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   9089: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     9090: else
1.150     moko     9091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9092: $as_echo "no" >&6; }
1.128     moko     9093: fi
                   9094: 
1.150     moko     9095:   if test "x$ac_ct_AS" = x; then
                   9096:     AS="false"
                   9097:   else
                   9098:     case $cross_compiling:$ac_tool_warned in
                   9099: yes:)
                   9100: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9101: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9102: ac_tool_warned=yes ;;
                   9103: esac
                   9104:     AS=$ac_ct_AS
                   9105:   fi
1.128     moko     9106: else
                   9107:   AS="$ac_cv_prog_AS"
                   9108: fi
                   9109: 
                   9110:   if test -n "$ac_tool_prefix"; then
                   9111:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   9112: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     9113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9114: $as_echo_n "checking for $ac_word... " >&6; }
                   9115: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   9116:   $as_echo_n "(cached) " >&6
1.128     moko     9117: else
                   9118:   if test -n "$DLLTOOL"; then
                   9119:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   9120: else
                   9121: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9122: for as_dir in $PATH
                   9123: do
                   9124:   IFS=$as_save_IFS
                   9125:   test -z "$as_dir" && as_dir=.
1.150     moko     9126:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9127:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9128:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     9129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9130:     break 2
                   9131:   fi
                   9132: done
1.150     moko     9133:   done
                   9134: IFS=$as_save_IFS
1.128     moko     9135: 
                   9136: fi
                   9137: fi
                   9138: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9139: if test -n "$DLLTOOL"; then
1.150     moko     9140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9141: $as_echo "$DLLTOOL" >&6; }
1.128     moko     9142: else
1.150     moko     9143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9144: $as_echo "no" >&6; }
1.128     moko     9145: fi
                   9146: 
1.150     moko     9147: 
1.128     moko     9148: fi
                   9149: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9150:   ac_ct_DLLTOOL=$DLLTOOL
                   9151:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9152: set dummy dlltool; ac_word=$2
1.150     moko     9153: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9154: $as_echo_n "checking for $ac_word... " >&6; }
                   9155: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9156:   $as_echo_n "(cached) " >&6
1.128     moko     9157: else
                   9158:   if test -n "$ac_ct_DLLTOOL"; then
                   9159:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9160: else
                   9161: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9162: for as_dir in $PATH
                   9163: do
                   9164:   IFS=$as_save_IFS
                   9165:   test -z "$as_dir" && as_dir=.
1.150     moko     9166:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9167:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9168:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     9169:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9170:     break 2
                   9171:   fi
                   9172: done
1.150     moko     9173:   done
                   9174: IFS=$as_save_IFS
1.128     moko     9175: 
                   9176: fi
                   9177: fi
                   9178: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9179: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     9180:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9181: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     9182: else
1.150     moko     9183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9184: $as_echo "no" >&6; }
1.128     moko     9185: fi
                   9186: 
1.150     moko     9187:   if test "x$ac_ct_DLLTOOL" = x; then
                   9188:     DLLTOOL="false"
                   9189:   else
                   9190:     case $cross_compiling:$ac_tool_warned in
                   9191: yes:)
                   9192: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9193: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9194: ac_tool_warned=yes ;;
                   9195: esac
                   9196:     DLLTOOL=$ac_ct_DLLTOOL
                   9197:   fi
1.128     moko     9198: else
                   9199:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9200: fi
                   9201: 
                   9202:   if test -n "$ac_tool_prefix"; then
                   9203:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   9204: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     9205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9206: $as_echo_n "checking for $ac_word... " >&6; }
                   9207: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   9208:   $as_echo_n "(cached) " >&6
1.128     moko     9209: else
                   9210:   if test -n "$OBJDUMP"; then
                   9211:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   9212: else
                   9213: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9214: for as_dir in $PATH
                   9215: do
                   9216:   IFS=$as_save_IFS
                   9217:   test -z "$as_dir" && as_dir=.
1.150     moko     9218:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9219:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9220:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     9221:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9222:     break 2
                   9223:   fi
                   9224: done
1.150     moko     9225:   done
                   9226: IFS=$as_save_IFS
1.128     moko     9227: 
                   9228: fi
                   9229: fi
                   9230: OBJDUMP=$ac_cv_prog_OBJDUMP
                   9231: if test -n "$OBJDUMP"; then
1.150     moko     9232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   9233: $as_echo "$OBJDUMP" >&6; }
1.128     moko     9234: else
1.150     moko     9235:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9236: $as_echo "no" >&6; }
1.128     moko     9237: fi
                   9238: 
1.150     moko     9239: 
1.128     moko     9240: fi
                   9241: if test -z "$ac_cv_prog_OBJDUMP"; then
                   9242:   ac_ct_OBJDUMP=$OBJDUMP
                   9243:   # Extract the first word of "objdump", so it can be a program name with args.
                   9244: set dummy objdump; ac_word=$2
1.150     moko     9245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9246: $as_echo_n "checking for $ac_word... " >&6; }
                   9247: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   9248:   $as_echo_n "(cached) " >&6
1.128     moko     9249: else
                   9250:   if test -n "$ac_ct_OBJDUMP"; then
                   9251:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   9252: else
                   9253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9254: for as_dir in $PATH
                   9255: do
                   9256:   IFS=$as_save_IFS
                   9257:   test -z "$as_dir" && as_dir=.
1.150     moko     9258:     for ac_exec_ext in '' $ac_executable_extensions; do
1.166     moko     9259:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.128     moko     9260:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     9261:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     9262:     break 2
                   9263:   fi
                   9264: done
1.150     moko     9265:   done
                   9266: IFS=$as_save_IFS
1.128     moko     9267: 
                   9268: fi
                   9269: fi
                   9270: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   9271: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     9272:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   9273: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     9274: else
1.150     moko     9275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9276: $as_echo "no" >&6; }
1.128     moko     9277: fi
                   9278: 
1.150     moko     9279:   if test "x$ac_ct_OBJDUMP" = x; then
                   9280:     OBJDUMP="false"
                   9281:   else
                   9282:     case $cross_compiling:$ac_tool_warned in
                   9283: yes:)
                   9284: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9285: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9286: ac_tool_warned=yes ;;
                   9287: esac
                   9288:     OBJDUMP=$ac_ct_OBJDUMP
                   9289:   fi
1.128     moko     9290: else
                   9291:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9292: fi
                   9293: 
                   9294:   ;;
                   9295: esac
                   9296: 
                   9297: test -z "$AS" && AS=as
                   9298: 
                   9299: 
                   9300: 
                   9301: 
                   9302: 
                   9303: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9304: 
                   9305: 
                   9306: 
                   9307: 
                   9308: 
                   9309: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9310: 
                   9311: 
                   9312: 
                   9313: 
                   9314: 
1.150     moko     9315: # Check whether --with-pic was given.
                   9316: if test "${with_pic+set}" = set; then :
                   9317:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     9318:     case $withval in
                   9319:     yes|no) pic_mode=$withval ;;
                   9320:     *)
                   9321:       pic_mode=default
                   9322:       # Look at the argument we got.  We use all the common list separators.
                   9323:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9324:       for lt_pkg in $withval; do
                   9325:        IFS="$lt_save_ifs"
                   9326:        if test "X$lt_pkg" = "X$lt_p"; then
                   9327:          pic_mode=yes
                   9328:        fi
                   9329:       done
                   9330:       IFS="$lt_save_ifs"
                   9331:       ;;
                   9332:     esac
                   9333: else
                   9334:   pic_mode=default
1.150     moko     9335: fi
                   9336: 
1.145     moko     9337: 
                   9338: test -z "$pic_mode" && pic_mode=no
                   9339: 
                   9340: 
                   9341: 
                   9342: 
                   9343: 
                   9344: 
1.128     moko     9345: 
                   9346: 
                   9347: 
                   9348: 
1.150     moko     9349:             # Check whether --enable-shared was given.
                   9350: if test "${enable_shared+set}" = set; then :
                   9351:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     9352:     case $enableval in
                   9353:     yes) enable_shared=yes ;;
                   9354:     no) enable_shared=no ;;
                   9355:     *)
                   9356:       enable_shared=no
                   9357:       # Look at the argument we got.  We use all the common list separators.
                   9358:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9359:       for pkg in $enableval; do
                   9360:        IFS="$lt_save_ifs"
                   9361:        if test "X$pkg" = "X$p"; then
                   9362:          enable_shared=yes
                   9363:        fi
                   9364:       done
                   9365:       IFS="$lt_save_ifs"
                   9366:       ;;
                   9367:     esac
                   9368: else
                   9369:   enable_shared=yes
1.150     moko     9370: fi
                   9371: 
1.128     moko     9372: 
                   9373: 
                   9374: 
                   9375: 
                   9376: 
                   9377: 
                   9378: 
                   9379: 
1.150     moko     9380:   # Check whether --enable-static was given.
                   9381: if test "${enable_static+set}" = set; then :
                   9382:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9383:     case $enableval in
                   9384:     yes) enable_static=yes ;;
                   9385:     no) enable_static=no ;;
                   9386:     *)
                   9387:      enable_static=no
                   9388:       # Look at the argument we got.  We use all the common list separators.
                   9389:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9390:       for pkg in $enableval; do
                   9391:        IFS="$lt_save_ifs"
                   9392:        if test "X$pkg" = "X$p"; then
                   9393:          enable_static=yes
                   9394:        fi
                   9395:       done
                   9396:       IFS="$lt_save_ifs"
                   9397:       ;;
                   9398:     esac
                   9399: else
                   9400:   enable_static=yes
1.150     moko     9401: fi
                   9402: 
1.138     moko     9403: 
                   9404: 
                   9405: 
                   9406: 
                   9407: 
                   9408: 
                   9409: 
1.128     moko     9410: 
                   9411: 
1.150     moko     9412:   # Check whether --enable-fast-install was given.
                   9413: if test "${enable_fast_install+set}" = set; then :
                   9414:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9415:     case $enableval in
                   9416:     yes) enable_fast_install=yes ;;
                   9417:     no) enable_fast_install=no ;;
                   9418:     *)
                   9419:       enable_fast_install=no
                   9420:       # Look at the argument we got.  We use all the common list separators.
                   9421:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9422:       for pkg in $enableval; do
                   9423:        IFS="$lt_save_ifs"
                   9424:        if test "X$pkg" = "X$p"; then
                   9425:          enable_fast_install=yes
                   9426:        fi
                   9427:       done
                   9428:       IFS="$lt_save_ifs"
                   9429:       ;;
                   9430:     esac
                   9431: else
                   9432:   enable_fast_install=yes
1.150     moko     9433: fi
                   9434: 
1.128     moko     9435: 
                   9436: 
                   9437: 
                   9438: 
                   9439: 
                   9440: 
                   9441: 
                   9442: 
                   9443: 
                   9444: 
                   9445: # This can be used to rebuild libtool when needed
                   9446: LIBTOOL_DEPS="$ltmain"
                   9447: 
                   9448: # Always use our own libtool.
                   9449: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9450: 
                   9451: 
                   9452: 
                   9453: 
                   9454: 
                   9455: 
                   9456: 
                   9457: 
                   9458: 
                   9459: 
                   9460: 
                   9461: 
                   9462: 
                   9463: 
                   9464: 
                   9465: 
                   9466: 
                   9467: 
                   9468: 
                   9469: 
                   9470: 
                   9471: 
                   9472: 
                   9473: 
                   9474: 
                   9475: 
                   9476: 
                   9477: 
                   9478: 
                   9479: 
                   9480: test -z "$LN_S" && LN_S="ln -s"
                   9481: 
                   9482: 
                   9483: 
                   9484: 
                   9485: 
                   9486: 
                   9487: 
                   9488: 
                   9489: 
                   9490: 
                   9491: 
                   9492: 
                   9493: 
                   9494: 
                   9495: if test -n "${ZSH_VERSION+set}" ; then
                   9496:    setopt NO_GLOB_SUBST
                   9497: fi
                   9498: 
1.150     moko     9499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9500: $as_echo_n "checking for objdir... " >&6; }
                   9501: if ${lt_cv_objdir+:} false; then :
                   9502:   $as_echo_n "(cached) " >&6
1.128     moko     9503: else
                   9504:   rm -f .libs 2>/dev/null
                   9505: mkdir .libs 2>/dev/null
                   9506: if test -d .libs; then
                   9507:   lt_cv_objdir=.libs
                   9508: else
                   9509:   # MS-DOS does not allow filenames that begin with a dot.
                   9510:   lt_cv_objdir=_libs
                   9511: fi
                   9512: rmdir .libs 2>/dev/null
                   9513: fi
1.150     moko     9514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9515: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9516: objdir=$lt_cv_objdir
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: 
                   9522: cat >>confdefs.h <<_ACEOF
                   9523: #define LT_OBJDIR "$lt_cv_objdir/"
                   9524: _ACEOF
                   9525: 
                   9526: 
                   9527: 
                   9528: 
                   9529: case $host_os in
                   9530: aix3*)
                   9531:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9532:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9533:   # vanish in a puff of smoke.
                   9534:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9535:     COLLECT_NAMES=
                   9536:     export COLLECT_NAMES
                   9537:   fi
                   9538:   ;;
                   9539: esac
                   9540: 
                   9541: # Global variables:
                   9542: ofile=libtool
                   9543: can_build_shared=yes
                   9544: 
                   9545: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9546: # which needs '.lib').
                   9547: libext=a
                   9548: 
                   9549: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9550: 
                   9551: old_CC="$CC"
                   9552: old_CFLAGS="$CFLAGS"
                   9553: 
                   9554: # Set sane defaults for various variables
                   9555: test -z "$CC" && CC=cc
                   9556: test -z "$LTCC" && LTCC=$CC
                   9557: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9558: test -z "$LD" && LD=ld
                   9559: test -z "$ac_objext" && ac_objext=o
                   9560: 
                   9561: for cc_temp in $compiler""; do
                   9562:   case $cc_temp in
                   9563:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9564:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9565:     \-*) ;;
                   9566:     *) break;;
                   9567:   esac
                   9568: done
                   9569: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9570: 
                   9571: 
                   9572: # Only perform the check for file, if the check method requires it
                   9573: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9574: case $deplibs_check_method in
                   9575: file_magic*)
                   9576:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9577:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9578: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9579: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9580:   $as_echo_n "(cached) " >&6
1.128     moko     9581: else
                   9582:   case $MAGIC_CMD in
                   9583: [\\/*] |  ?:[\\/]*)
                   9584:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9585:   ;;
                   9586: *)
                   9587:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9588:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9589:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9590:   for ac_dir in $ac_dummy; do
                   9591:     IFS="$lt_save_ifs"
                   9592:     test -z "$ac_dir" && ac_dir=.
                   9593:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9594:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9595:       if test -n "$file_magic_test_file"; then
                   9596:        case $deplibs_check_method in
                   9597:        "file_magic "*)
                   9598:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9599:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9600:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9601:            $EGREP "$file_magic_regex" > /dev/null; then
                   9602:            :
                   9603:          else
                   9604:            cat <<_LT_EOF 1>&2
                   9605: 
                   9606: *** Warning: the command libtool uses to detect shared libraries,
                   9607: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9608: *** The result is that libtool may fail to recognize shared libraries
                   9609: *** as such.  This will affect the creation of libtool libraries that
                   9610: *** depend on shared libraries, but programs linked with such libtool
                   9611: *** libraries will work regardless of this problem.  Nevertheless, you
                   9612: *** may want to report the problem to your system manager and/or to
                   9613: *** bug-libtool@gnu.org
                   9614: 
                   9615: _LT_EOF
                   9616:          fi ;;
                   9617:        esac
                   9618:       fi
                   9619:       break
                   9620:     fi
                   9621:   done
                   9622:   IFS="$lt_save_ifs"
                   9623:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9624:   ;;
                   9625: esac
                   9626: fi
                   9627: 
                   9628: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9629: if test -n "$MAGIC_CMD"; then
1.150     moko     9630:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9631: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9632: else
1.150     moko     9633:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9634: $as_echo "no" >&6; }
1.128     moko     9635: fi
                   9636: 
                   9637: 
                   9638: 
                   9639: 
                   9640: 
                   9641: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9642:   if test -n "$ac_tool_prefix"; then
1.150     moko     9643:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9644: $as_echo_n "checking for file... " >&6; }
                   9645: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9646:   $as_echo_n "(cached) " >&6
1.128     moko     9647: else
                   9648:   case $MAGIC_CMD in
                   9649: [\\/*] |  ?:[\\/]*)
                   9650:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9651:   ;;
                   9652: *)
                   9653:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9654:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9655:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9656:   for ac_dir in $ac_dummy; do
                   9657:     IFS="$lt_save_ifs"
                   9658:     test -z "$ac_dir" && ac_dir=.
                   9659:     if test -f $ac_dir/file; then
                   9660:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9661:       if test -n "$file_magic_test_file"; then
                   9662:        case $deplibs_check_method in
                   9663:        "file_magic "*)
                   9664:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9665:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9666:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9667:            $EGREP "$file_magic_regex" > /dev/null; then
                   9668:            :
                   9669:          else
                   9670:            cat <<_LT_EOF 1>&2
                   9671: 
                   9672: *** Warning: the command libtool uses to detect shared libraries,
                   9673: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9674: *** The result is that libtool may fail to recognize shared libraries
                   9675: *** as such.  This will affect the creation of libtool libraries that
                   9676: *** depend on shared libraries, but programs linked with such libtool
                   9677: *** libraries will work regardless of this problem.  Nevertheless, you
                   9678: *** may want to report the problem to your system manager and/or to
                   9679: *** bug-libtool@gnu.org
                   9680: 
                   9681: _LT_EOF
                   9682:          fi ;;
                   9683:        esac
                   9684:       fi
                   9685:       break
                   9686:     fi
                   9687:   done
                   9688:   IFS="$lt_save_ifs"
                   9689:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9690:   ;;
                   9691: esac
                   9692: fi
                   9693: 
                   9694: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9695: if test -n "$MAGIC_CMD"; then
1.150     moko     9696:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9697: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9698: else
1.150     moko     9699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9700: $as_echo "no" >&6; }
1.128     moko     9701: fi
                   9702: 
                   9703: 
                   9704:   else
                   9705:     MAGIC_CMD=:
                   9706:   fi
                   9707: fi
                   9708: 
                   9709:   fi
                   9710:   ;;
                   9711: esac
                   9712: 
                   9713: # Use C for the default configuration in the libtool script
                   9714: 
                   9715: lt_save_CC="$CC"
                   9716: ac_ext=c
                   9717: ac_cpp='$CPP $CPPFLAGS'
                   9718: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9719: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9720: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9721: 
                   9722: 
                   9723: # Source file extension for C test sources.
                   9724: ac_ext=c
                   9725: 
                   9726: # Object file extension for compiled C test sources.
                   9727: objext=o
                   9728: objext=$objext
                   9729: 
                   9730: # Code to be used in simple compile tests
                   9731: lt_simple_compile_test_code="int some_variable = 0;"
                   9732: 
                   9733: # Code to be used in simple link tests
                   9734: lt_simple_link_test_code='int main(){return(0);}'
                   9735: 
                   9736: 
                   9737: 
                   9738: 
                   9739: 
                   9740: 
                   9741: 
                   9742: # If no C compiler was specified, use CC.
                   9743: LTCC=${LTCC-"$CC"}
                   9744: 
                   9745: # If no C compiler flags were specified, use CFLAGS.
                   9746: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9747: 
                   9748: # Allow CC to be a program name with arguments.
                   9749: compiler=$CC
                   9750: 
                   9751: # Save the default compiler, since it gets overwritten when the other
                   9752: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9753: compiler_DEFAULT=$CC
                   9754: 
                   9755: # save warnings/boilerplate of simple test code
                   9756: ac_outfile=conftest.$ac_objext
                   9757: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9758: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9759: _lt_compiler_boilerplate=`cat conftest.err`
                   9760: $RM conftest*
                   9761: 
                   9762: ac_outfile=conftest.$ac_objext
                   9763: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9764: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9765: _lt_linker_boilerplate=`cat conftest.err`
                   9766: $RM -r conftest*
                   9767: 
                   9768: 
                   9769: ## CAVEAT EMPTOR:
                   9770: ## There is no encapsulation within the following macros, do not change
                   9771: ## the running order or otherwise move them around unless you know exactly
                   9772: ## what you are doing...
                   9773: if test -n "$compiler"; then
                   9774: 
                   9775: lt_prog_compiler_no_builtin_flag=
                   9776: 
                   9777: if test "$GCC" = yes; then
                   9778:   case $cc_basename in
                   9779:   nvcc*)
                   9780:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9781:   *)
                   9782:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9783:   esac
                   9784: 
1.150     moko     9785:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9786: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9787: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9788:   $as_echo_n "(cached) " >&6
1.128     moko     9789: else
                   9790:   lt_cv_prog_compiler_rtti_exceptions=no
                   9791:    ac_outfile=conftest.$ac_objext
                   9792:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9793:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9794:    # Insert the option either (1) after the last *FLAGS variable, or
                   9795:    # (2) before a word containing "conftest.", or (3) at the end.
                   9796:    # Note that $ac_compile itself does not contain backslashes and begins
                   9797:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9798:    # The option is referenced via a variable to avoid confusing sed.
                   9799:    lt_compile=`echo "$ac_compile" | $SED \
                   9800:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9801:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9802:    -e 's:$: $lt_compiler_flag:'`
                   9803:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9804:    (eval "$lt_compile" 2>conftest.err)
                   9805:    ac_status=$?
                   9806:    cat conftest.err >&5
                   9807:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9808:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9809:      # The compiler can only warn and ignore the option if not recognized
                   9810:      # So say no if there are warnings other than the usual output.
                   9811:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9812:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9813:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9814:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9815:      fi
                   9816:    fi
                   9817:    $RM conftest*
                   9818: 
                   9819: fi
1.150     moko     9820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9821: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9822: 
                   9823: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9824:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9825: else
                   9826:     :
                   9827: fi
                   9828: 
                   9829: fi
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836:   lt_prog_compiler_wl=
                   9837: lt_prog_compiler_pic=
                   9838: lt_prog_compiler_static=
                   9839: 
                   9840: 
                   9841:   if test "$GCC" = yes; then
                   9842:     lt_prog_compiler_wl='-Wl,'
                   9843:     lt_prog_compiler_static='-static'
                   9844: 
                   9845:     case $host_os in
                   9846:       aix*)
                   9847:       # All AIX code is PIC.
                   9848:       if test "$host_cpu" = ia64; then
                   9849:        # AIX 5 now supports IA64 processor
                   9850:        lt_prog_compiler_static='-Bstatic'
                   9851:       fi
                   9852:       ;;
                   9853: 
                   9854:     amigaos*)
                   9855:       case $host_cpu in
                   9856:       powerpc)
                   9857:             # see comment about AmigaOS4 .so support
                   9858:             lt_prog_compiler_pic='-fPIC'
                   9859:         ;;
                   9860:       m68k)
                   9861:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9862:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9863:             # like `-m68040'.
                   9864:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9865:         ;;
                   9866:       esac
                   9867:       ;;
                   9868: 
                   9869:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9870:       # PIC is the default for these OSes.
                   9871:       ;;
                   9872: 
                   9873:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9874:       # This hack is so that the source file can tell whether it is being
                   9875:       # built for inclusion in a dll (and should export symbols for example).
                   9876:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9877:       # (--disable-auto-import) libraries
                   9878:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9879:       ;;
                   9880: 
                   9881:     darwin* | rhapsody*)
                   9882:       # PIC is the default on this platform
                   9883:       # Common symbols not allowed in MH_DYLIB files
                   9884:       lt_prog_compiler_pic='-fno-common'
                   9885:       ;;
                   9886: 
                   9887:     haiku*)
                   9888:       # PIC is the default for Haiku.
                   9889:       # The "-static" flag exists, but is broken.
                   9890:       lt_prog_compiler_static=
                   9891:       ;;
                   9892: 
                   9893:     hpux*)
                   9894:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9895:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9896:       # sets the default TLS model and affects inlining.
                   9897:       case $host_cpu in
                   9898:       hppa*64*)
                   9899:        # +Z the default
                   9900:        ;;
                   9901:       *)
                   9902:        lt_prog_compiler_pic='-fPIC'
                   9903:        ;;
                   9904:       esac
                   9905:       ;;
                   9906: 
                   9907:     interix[3-9]*)
                   9908:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9909:       # Instead, we relocate shared libraries at runtime.
                   9910:       ;;
                   9911: 
                   9912:     msdosdjgpp*)
                   9913:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9914:       # on systems that don't support them.
                   9915:       lt_prog_compiler_can_build_shared=no
                   9916:       enable_shared=no
                   9917:       ;;
                   9918: 
                   9919:     *nto* | *qnx*)
                   9920:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9921:       # it will coredump.
                   9922:       lt_prog_compiler_pic='-fPIC -shared'
                   9923:       ;;
                   9924: 
                   9925:     sysv4*MP*)
                   9926:       if test -d /usr/nec; then
                   9927:        lt_prog_compiler_pic=-Kconform_pic
                   9928:       fi
                   9929:       ;;
                   9930: 
                   9931:     *)
                   9932:       lt_prog_compiler_pic='-fPIC'
                   9933:       ;;
                   9934:     esac
                   9935: 
                   9936:     case $cc_basename in
                   9937:     nvcc*) # Cuda Compiler Driver 2.2
                   9938:       lt_prog_compiler_wl='-Xlinker '
                   9939:       if test -n "$lt_prog_compiler_pic"; then
                   9940:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9941:       fi
                   9942:       ;;
                   9943:     esac
                   9944:   else
                   9945:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9946:     case $host_os in
                   9947:     aix*)
                   9948:       lt_prog_compiler_wl='-Wl,'
                   9949:       if test "$host_cpu" = ia64; then
                   9950:        # AIX 5 now supports IA64 processor
                   9951:        lt_prog_compiler_static='-Bstatic'
                   9952:       else
                   9953:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9954:       fi
                   9955:       ;;
                   9956: 
                   9957:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9958:       # This hack is so that the source file can tell whether it is being
                   9959:       # built for inclusion in a dll (and should export symbols for example).
                   9960:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9961:       ;;
                   9962: 
                   9963:     hpux9* | hpux10* | hpux11*)
                   9964:       lt_prog_compiler_wl='-Wl,'
                   9965:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9966:       # not for PA HP-UX.
                   9967:       case $host_cpu in
                   9968:       hppa*64*|ia64*)
                   9969:        # +Z the default
                   9970:        ;;
                   9971:       *)
                   9972:        lt_prog_compiler_pic='+Z'
                   9973:        ;;
                   9974:       esac
                   9975:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9976:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9977:       ;;
                   9978: 
                   9979:     irix5* | irix6* | nonstopux*)
                   9980:       lt_prog_compiler_wl='-Wl,'
                   9981:       # PIC (with -KPIC) is the default.
                   9982:       lt_prog_compiler_static='-non_shared'
                   9983:       ;;
                   9984: 
                   9985:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9986:       case $cc_basename in
                   9987:       # old Intel for x86_64 which still supported -KPIC.
                   9988:       ecc*)
                   9989:        lt_prog_compiler_wl='-Wl,'
                   9990:        lt_prog_compiler_pic='-KPIC'
                   9991:        lt_prog_compiler_static='-static'
                   9992:         ;;
                   9993:       # icc used to be incompatible with GCC.
                   9994:       # ICC 10 doesn't accept -KPIC any more.
                   9995:       icc* | ifort*)
                   9996:        lt_prog_compiler_wl='-Wl,'
                   9997:        lt_prog_compiler_pic='-fPIC'
                   9998:        lt_prog_compiler_static='-static'
                   9999:         ;;
                   10000:       # Lahey Fortran 8.1.
                   10001:       lf95*)
                   10002:        lt_prog_compiler_wl='-Wl,'
                   10003:        lt_prog_compiler_pic='--shared'
                   10004:        lt_prog_compiler_static='--static'
                   10005:        ;;
                   10006:       nagfor*)
                   10007:        # NAG Fortran compiler
                   10008:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   10009:        lt_prog_compiler_pic='-PIC'
                   10010:        lt_prog_compiler_static='-Bstatic'
                   10011:        ;;
                   10012:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   10013:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   10014:        # which looks to be a dead project)
                   10015:        lt_prog_compiler_wl='-Wl,'
                   10016:        lt_prog_compiler_pic='-fpic'
                   10017:        lt_prog_compiler_static='-Bstatic'
                   10018:         ;;
                   10019:       ccc*)
                   10020:         lt_prog_compiler_wl='-Wl,'
                   10021:         # All Alpha code is PIC.
                   10022:         lt_prog_compiler_static='-non_shared'
                   10023:         ;;
                   10024:       xl* | bgxl* | bgf* | mpixl*)
                   10025:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   10026:        lt_prog_compiler_wl='-Wl,'
                   10027:        lt_prog_compiler_pic='-qpic'
                   10028:        lt_prog_compiler_static='-qstaticlink'
                   10029:        ;;
                   10030:       *)
                   10031:        case `$CC -V 2>&1 | sed 5q` in
                   10032:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   10033:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   10034:          lt_prog_compiler_pic='-KPIC'
                   10035:          lt_prog_compiler_static='-Bstatic'
                   10036:          lt_prog_compiler_wl=''
                   10037:          ;;
                   10038:        *Sun\ F* | *Sun*Fortran*)
                   10039:          lt_prog_compiler_pic='-KPIC'
                   10040:          lt_prog_compiler_static='-Bstatic'
                   10041:          lt_prog_compiler_wl='-Qoption ld '
                   10042:          ;;
                   10043:        *Sun\ C*)
                   10044:          # Sun C 5.9
                   10045:          lt_prog_compiler_pic='-KPIC'
                   10046:          lt_prog_compiler_static='-Bstatic'
                   10047:          lt_prog_compiler_wl='-Wl,'
                   10048:          ;;
                   10049:         *Intel*\ [CF]*Compiler*)
                   10050:          lt_prog_compiler_wl='-Wl,'
                   10051:          lt_prog_compiler_pic='-fPIC'
                   10052:          lt_prog_compiler_static='-static'
                   10053:          ;;
                   10054:        *Portland\ Group*)
                   10055:          lt_prog_compiler_wl='-Wl,'
                   10056:          lt_prog_compiler_pic='-fpic'
                   10057:          lt_prog_compiler_static='-Bstatic'
                   10058:          ;;
                   10059:        esac
                   10060:        ;;
                   10061:       esac
                   10062:       ;;
                   10063: 
                   10064:     newsos6)
                   10065:       lt_prog_compiler_pic='-KPIC'
                   10066:       lt_prog_compiler_static='-Bstatic'
                   10067:       ;;
                   10068: 
                   10069:     *nto* | *qnx*)
                   10070:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10071:       # it will coredump.
                   10072:       lt_prog_compiler_pic='-fPIC -shared'
                   10073:       ;;
                   10074: 
                   10075:     osf3* | osf4* | osf5*)
                   10076:       lt_prog_compiler_wl='-Wl,'
                   10077:       # All OSF/1 code is PIC.
                   10078:       lt_prog_compiler_static='-non_shared'
                   10079:       ;;
                   10080: 
                   10081:     rdos*)
                   10082:       lt_prog_compiler_static='-non_shared'
                   10083:       ;;
                   10084: 
                   10085:     solaris*)
                   10086:       lt_prog_compiler_pic='-KPIC'
                   10087:       lt_prog_compiler_static='-Bstatic'
                   10088:       case $cc_basename in
                   10089:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   10090:        lt_prog_compiler_wl='-Qoption ld ';;
                   10091:       *)
                   10092:        lt_prog_compiler_wl='-Wl,';;
                   10093:       esac
                   10094:       ;;
                   10095: 
                   10096:     sunos4*)
                   10097:       lt_prog_compiler_wl='-Qoption ld '
                   10098:       lt_prog_compiler_pic='-PIC'
                   10099:       lt_prog_compiler_static='-Bstatic'
                   10100:       ;;
                   10101: 
                   10102:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   10103:       lt_prog_compiler_wl='-Wl,'
                   10104:       lt_prog_compiler_pic='-KPIC'
                   10105:       lt_prog_compiler_static='-Bstatic'
                   10106:       ;;
                   10107: 
                   10108:     sysv4*MP*)
                   10109:       if test -d /usr/nec ;then
                   10110:        lt_prog_compiler_pic='-Kconform_pic'
                   10111:        lt_prog_compiler_static='-Bstatic'
                   10112:       fi
                   10113:       ;;
                   10114: 
                   10115:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10116:       lt_prog_compiler_wl='-Wl,'
                   10117:       lt_prog_compiler_pic='-KPIC'
                   10118:       lt_prog_compiler_static='-Bstatic'
                   10119:       ;;
                   10120: 
                   10121:     unicos*)
                   10122:       lt_prog_compiler_wl='-Wl,'
                   10123:       lt_prog_compiler_can_build_shared=no
                   10124:       ;;
                   10125: 
                   10126:     uts4*)
                   10127:       lt_prog_compiler_pic='-pic'
                   10128:       lt_prog_compiler_static='-Bstatic'
                   10129:       ;;
                   10130: 
                   10131:     *)
                   10132:       lt_prog_compiler_can_build_shared=no
                   10133:       ;;
                   10134:     esac
                   10135:   fi
                   10136: 
                   10137: case $host_os in
                   10138:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10139:   *djgpp*)
                   10140:     lt_prog_compiler_pic=
                   10141:     ;;
                   10142:   *)
                   10143:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10144:     ;;
                   10145: esac
                   10146: 
1.150     moko     10147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10148: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10149: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10150:   $as_echo_n "(cached) " >&6
1.128     moko     10151: else
                   10152:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10153: fi
1.150     moko     10154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10155: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     10156: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10157: 
                   10158: #
                   10159: # Check to make sure the PIC flag actually works.
                   10160: #
                   10161: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     10162:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10163: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10164: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10165:   $as_echo_n "(cached) " >&6
1.128     moko     10166: else
                   10167:   lt_cv_prog_compiler_pic_works=no
                   10168:    ac_outfile=conftest.$ac_objext
                   10169:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10170:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10171:    # Insert the option either (1) after the last *FLAGS variable, or
                   10172:    # (2) before a word containing "conftest.", or (3) at the end.
                   10173:    # Note that $ac_compile itself does not contain backslashes and begins
                   10174:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10175:    # The option is referenced via a variable to avoid confusing sed.
                   10176:    lt_compile=`echo "$ac_compile" | $SED \
                   10177:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10178:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10179:    -e 's:$: $lt_compiler_flag:'`
                   10180:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10181:    (eval "$lt_compile" 2>conftest.err)
                   10182:    ac_status=$?
                   10183:    cat conftest.err >&5
                   10184:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10185:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10186:      # The compiler can only warn and ignore the option if not recognized
                   10187:      # So say no if there are warnings other than the usual output.
                   10188:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10189:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10190:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10191:        lt_cv_prog_compiler_pic_works=yes
                   10192:      fi
                   10193:    fi
                   10194:    $RM conftest*
                   10195: 
                   10196: fi
1.150     moko     10197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10198: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     10199: 
                   10200: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10201:     case $lt_prog_compiler_pic in
                   10202:      "" | " "*) ;;
                   10203:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10204:      esac
                   10205: else
                   10206:     lt_prog_compiler_pic=
                   10207:      lt_prog_compiler_can_build_shared=no
                   10208: fi
                   10209: 
                   10210: fi
                   10211: 
                   10212: 
                   10213: 
                   10214: 
                   10215: 
                   10216: 
                   10217: 
                   10218: 
                   10219: 
                   10220: 
                   10221: 
                   10222: #
                   10223: # Check to make sure the static flag actually works.
                   10224: #
                   10225: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     10226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10227: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10228: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10229:   $as_echo_n "(cached) " >&6
1.128     moko     10230: else
                   10231:   lt_cv_prog_compiler_static_works=no
                   10232:    save_LDFLAGS="$LDFLAGS"
                   10233:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10234:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10235:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10236:      # The linker can only warn and ignore the option if not recognized
                   10237:      # So say no if there are warnings
                   10238:      if test -s conftest.err; then
                   10239:        # Append any errors to the config.log.
                   10240:        cat conftest.err 1>&5
                   10241:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10242:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10243:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10244:          lt_cv_prog_compiler_static_works=yes
                   10245:        fi
                   10246:      else
                   10247:        lt_cv_prog_compiler_static_works=yes
                   10248:      fi
                   10249:    fi
                   10250:    $RM -r conftest*
                   10251:    LDFLAGS="$save_LDFLAGS"
                   10252: 
                   10253: fi
1.150     moko     10254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10255: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     10256: 
                   10257: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10258:     :
                   10259: else
                   10260:     lt_prog_compiler_static=
                   10261: fi
                   10262: 
                   10263: 
                   10264: 
                   10265: 
                   10266: 
                   10267: 
                   10268: 
1.150     moko     10269:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10270: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10271: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10272:   $as_echo_n "(cached) " >&6
1.128     moko     10273: else
                   10274:   lt_cv_prog_compiler_c_o=no
                   10275:    $RM -r conftest 2>/dev/null
                   10276:    mkdir conftest
                   10277:    cd conftest
                   10278:    mkdir out
                   10279:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10280: 
                   10281:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10282:    # Insert the option either (1) after the last *FLAGS variable, or
                   10283:    # (2) before a word containing "conftest.", or (3) at the end.
                   10284:    # Note that $ac_compile itself does not contain backslashes and begins
                   10285:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10286:    lt_compile=`echo "$ac_compile" | $SED \
                   10287:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10288:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10289:    -e 's:$: $lt_compiler_flag:'`
                   10290:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10291:    (eval "$lt_compile" 2>out/conftest.err)
                   10292:    ac_status=$?
                   10293:    cat out/conftest.err >&5
                   10294:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10295:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10296:    then
                   10297:      # The compiler can only warn and ignore the option if not recognized
                   10298:      # So say no if there are warnings
                   10299:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10300:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10301:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10302:        lt_cv_prog_compiler_c_o=yes
                   10303:      fi
                   10304:    fi
                   10305:    chmod u+w . 2>&5
                   10306:    $RM conftest*
                   10307:    # SGI C++ compiler will create directory out/ii_files/ for
                   10308:    # template instantiation
                   10309:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10310:    $RM out/* && rmdir out
                   10311:    cd ..
                   10312:    $RM -r conftest
                   10313:    $RM conftest*
                   10314: 
                   10315: fi
1.150     moko     10316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10317: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10318: 
                   10319: 
                   10320: 
                   10321: 
                   10322: 
                   10323: 
1.150     moko     10324:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10325: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10326: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10327:   $as_echo_n "(cached) " >&6
1.128     moko     10328: else
                   10329:   lt_cv_prog_compiler_c_o=no
                   10330:    $RM -r conftest 2>/dev/null
                   10331:    mkdir conftest
                   10332:    cd conftest
                   10333:    mkdir out
                   10334:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10335: 
                   10336:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10337:    # Insert the option either (1) after the last *FLAGS variable, or
                   10338:    # (2) before a word containing "conftest.", or (3) at the end.
                   10339:    # Note that $ac_compile itself does not contain backslashes and begins
                   10340:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10341:    lt_compile=`echo "$ac_compile" | $SED \
                   10342:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10343:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10344:    -e 's:$: $lt_compiler_flag:'`
                   10345:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10346:    (eval "$lt_compile" 2>out/conftest.err)
                   10347:    ac_status=$?
                   10348:    cat out/conftest.err >&5
                   10349:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10350:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10351:    then
                   10352:      # The compiler can only warn and ignore the option if not recognized
                   10353:      # So say no if there are warnings
                   10354:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10355:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10356:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10357:        lt_cv_prog_compiler_c_o=yes
                   10358:      fi
                   10359:    fi
                   10360:    chmod u+w . 2>&5
                   10361:    $RM conftest*
                   10362:    # SGI C++ compiler will create directory out/ii_files/ for
                   10363:    # template instantiation
                   10364:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10365:    $RM out/* && rmdir out
                   10366:    cd ..
                   10367:    $RM -r conftest
                   10368:    $RM conftest*
                   10369: 
                   10370: fi
1.150     moko     10371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10372: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     10373: 
                   10374: 
                   10375: 
                   10376: 
                   10377: hard_links="nottested"
                   10378: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10379:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10380:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10381: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10382:   hard_links=yes
                   10383:   $RM conftest*
                   10384:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10385:   touch conftest.a
                   10386:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10387:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10388:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10389: $as_echo "$hard_links" >&6; }
1.128     moko     10390:   if test "$hard_links" = no; then
1.150     moko     10391:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10392: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10393:     need_locks=warn
                   10394:   fi
                   10395: else
                   10396:   need_locks=no
                   10397: fi
                   10398: 
                   10399: 
                   10400: 
                   10401: 
                   10402: 
                   10403: 
1.150     moko     10404:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10405: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10406: 
                   10407:   runpath_var=
                   10408:   allow_undefined_flag=
                   10409:   always_export_symbols=no
                   10410:   archive_cmds=
                   10411:   archive_expsym_cmds=
                   10412:   compiler_needs_object=no
                   10413:   enable_shared_with_static_runtimes=no
                   10414:   export_dynamic_flag_spec=
                   10415:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10416:   hardcode_automatic=no
                   10417:   hardcode_direct=no
                   10418:   hardcode_direct_absolute=no
                   10419:   hardcode_libdir_flag_spec=
                   10420:   hardcode_libdir_separator=
                   10421:   hardcode_minus_L=no
                   10422:   hardcode_shlibpath_var=unsupported
                   10423:   inherit_rpath=no
                   10424:   link_all_deplibs=unknown
                   10425:   module_cmds=
                   10426:   module_expsym_cmds=
                   10427:   old_archive_from_new_cmds=
                   10428:   old_archive_from_expsyms_cmds=
                   10429:   thread_safe_flag_spec=
                   10430:   whole_archive_flag_spec=
                   10431:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10432:   # included in the symbol list
                   10433:   include_expsyms=
                   10434:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10435:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10436:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10437:   # as well as any symbol that contains `d'.
                   10438:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10439:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10440:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10441:   # the symbol is explicitly referenced.  Since portable code cannot
                   10442:   # rely on this symbol name, it's probably fine to never include it in
                   10443:   # preloaded symbol tables.
                   10444:   # Exclude shared library initialization/finalization symbols.
                   10445:   extract_expsyms_cmds=
                   10446: 
                   10447:   case $host_os in
                   10448:   cygwin* | mingw* | pw32* | cegcc*)
                   10449:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10450:     # When not using gcc, we currently assume that we are using
                   10451:     # Microsoft Visual C++.
                   10452:     if test "$GCC" != yes; then
                   10453:       with_gnu_ld=no
                   10454:     fi
                   10455:     ;;
                   10456:   interix*)
                   10457:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10458:     with_gnu_ld=yes
                   10459:     ;;
                   10460:   openbsd*)
                   10461:     with_gnu_ld=no
                   10462:     ;;
                   10463:   esac
                   10464: 
                   10465:   ld_shlibs=yes
                   10466: 
                   10467:   # On some targets, GNU ld is compatible enough with the native linker
                   10468:   # that we're better off using the native interface for both.
                   10469:   lt_use_gnu_ld_interface=no
                   10470:   if test "$with_gnu_ld" = yes; then
                   10471:     case $host_os in
                   10472:       aix*)
                   10473:        # The AIX port of GNU ld has always aspired to compatibility
                   10474:        # with the native linker.  However, as the warning in the GNU ld
                   10475:        # block says, versions before 2.19.5* couldn't really create working
                   10476:        # shared libraries, regardless of the interface used.
                   10477:        case `$LD -v 2>&1` in
                   10478:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10479:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10480:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10481:          *)
                   10482:            lt_use_gnu_ld_interface=yes
                   10483:            ;;
                   10484:        esac
                   10485:        ;;
                   10486:       *)
                   10487:        lt_use_gnu_ld_interface=yes
                   10488:        ;;
                   10489:     esac
                   10490:   fi
                   10491: 
                   10492:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10493:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10494:     wlarc='${wl}'
                   10495: 
                   10496:     # Set some defaults for GNU ld with shared library support. These
                   10497:     # are reset later if shared libraries are not supported. Putting them
                   10498:     # here allows them to be overridden if necessary.
                   10499:     runpath_var=LD_RUN_PATH
                   10500:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10501:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10502:     # ancient GNU ld didn't support --whole-archive et. al.
                   10503:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10504:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10505:     else
                   10506:       whole_archive_flag_spec=
                   10507:     fi
                   10508:     supports_anon_versioning=no
                   10509:     case `$LD -v 2>&1` in
                   10510:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10511:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10512:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10513:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10514:       *\ 2.11.*) ;; # other 2.11 versions
                   10515:       *) supports_anon_versioning=yes ;;
                   10516:     esac
                   10517: 
                   10518:     # See if GNU ld supports shared libraries.
                   10519:     case $host_os in
                   10520:     aix[3-9]*)
                   10521:       # On AIX/PPC, the GNU linker is very broken
                   10522:       if test "$host_cpu" != ia64; then
                   10523:        ld_shlibs=no
                   10524:        cat <<_LT_EOF 1>&2
                   10525: 
                   10526: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10527: *** to be unable to reliably create shared libraries on AIX.
                   10528: *** Therefore, libtool is disabling shared libraries support.  If you
                   10529: *** really care for shared libraries, you may want to install binutils
                   10530: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10531: *** You will then need to restart the configuration process.
                   10532: 
                   10533: _LT_EOF
                   10534:       fi
                   10535:       ;;
                   10536: 
                   10537:     amigaos*)
                   10538:       case $host_cpu in
                   10539:       powerpc)
                   10540:             # see comment about AmigaOS4 .so support
                   10541:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10542:             archive_expsym_cmds=''
                   10543:         ;;
                   10544:       m68k)
                   10545:             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)'
                   10546:             hardcode_libdir_flag_spec='-L$libdir'
                   10547:             hardcode_minus_L=yes
                   10548:         ;;
                   10549:       esac
                   10550:       ;;
                   10551: 
                   10552:     beos*)
                   10553:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10554:        allow_undefined_flag=unsupported
                   10555:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10556:        # support --undefined.  This deserves some investigation.  FIXME
                   10557:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10558:       else
                   10559:        ld_shlibs=no
                   10560:       fi
                   10561:       ;;
                   10562: 
                   10563:     cygwin* | mingw* | pw32* | cegcc*)
                   10564:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10565:       # as there is no search path for DLLs.
                   10566:       hardcode_libdir_flag_spec='-L$libdir'
                   10567:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10568:       allow_undefined_flag=unsupported
                   10569:       always_export_symbols=no
                   10570:       enable_shared_with_static_runtimes=yes
                   10571:       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'
                   10572:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10573: 
                   10574:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10575:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10576:        # If the export-symbols file already is a .def file (1st line
                   10577:        # is EXPORTS), use it as is; otherwise, prepend...
                   10578:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10579:          cp $export_symbols $output_objdir/$soname.def;
                   10580:        else
                   10581:          echo EXPORTS > $output_objdir/$soname.def;
                   10582:          cat $export_symbols >> $output_objdir/$soname.def;
                   10583:        fi~
                   10584:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10585:       else
                   10586:        ld_shlibs=no
                   10587:       fi
                   10588:       ;;
                   10589: 
                   10590:     haiku*)
                   10591:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10592:       link_all_deplibs=yes
                   10593:       ;;
                   10594: 
                   10595:     interix[3-9]*)
                   10596:       hardcode_direct=no
                   10597:       hardcode_shlibpath_var=no
                   10598:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10599:       export_dynamic_flag_spec='${wl}-E'
                   10600:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10601:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10602:       # default) and relocated if they conflict, which is a slow very memory
                   10603:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10604:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10605:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10606:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10607:       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'
                   10608:       ;;
                   10609: 
                   10610:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10611:       tmp_diet=no
                   10612:       if test "$host_os" = linux-dietlibc; then
                   10613:        case $cc_basename in
                   10614:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10615:        esac
                   10616:       fi
                   10617:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10618:         && test "$tmp_diet" = no
                   10619:       then
                   10620:        tmp_addflag=' $pic_flag'
                   10621:        tmp_sharedflag='-shared'
                   10622:        case $cc_basename,$host_cpu in
                   10623:         pgcc*)                         # Portland Group C compiler
                   10624:          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'
                   10625:          tmp_addflag=' $pic_flag'
                   10626:          ;;
                   10627:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10628:                                        # Portland Group f77 and f90 compilers
                   10629:          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'
                   10630:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10631:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10632:          tmp_addflag=' -i_dynamic' ;;
                   10633:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10634:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10635:        ifc* | ifort*)                  # Intel Fortran compiler
                   10636:          tmp_addflag=' -nofor_main' ;;
                   10637:        lf95*)                          # Lahey Fortran 8.1
                   10638:          whole_archive_flag_spec=
                   10639:          tmp_sharedflag='--shared' ;;
                   10640:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10641:          tmp_sharedflag='-qmkshrobj'
                   10642:          tmp_addflag= ;;
                   10643:        nvcc*)  # Cuda Compiler Driver 2.2
                   10644:          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'
                   10645:          compiler_needs_object=yes
                   10646:          ;;
                   10647:        esac
                   10648:        case `$CC -V 2>&1 | sed 5q` in
                   10649:        *Sun\ C*)                       # Sun C 5.9
                   10650:          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'
                   10651:          compiler_needs_object=yes
                   10652:          tmp_sharedflag='-G' ;;
                   10653:        *Sun\ F*)                       # Sun Fortran 8.3
                   10654:          tmp_sharedflag='-G' ;;
                   10655:        esac
                   10656:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10657: 
                   10658:         if test "x$supports_anon_versioning" = xyes; then
                   10659:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10660:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10661:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10662:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10663:         fi
                   10664: 
                   10665:        case $cc_basename in
                   10666:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10667:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10668:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10669:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10670:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10671:          if test "x$supports_anon_versioning" = xyes; then
                   10672:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10673:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10674:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10675:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10676:          fi
                   10677:          ;;
                   10678:        esac
                   10679:       else
                   10680:         ld_shlibs=no
                   10681:       fi
                   10682:       ;;
                   10683: 
                   10684:     netbsd*)
                   10685:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10686:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10687:        wlarc=
                   10688:       else
                   10689:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10690:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10691:       fi
                   10692:       ;;
                   10693: 
                   10694:     solaris*)
                   10695:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10696:        ld_shlibs=no
                   10697:        cat <<_LT_EOF 1>&2
                   10698: 
                   10699: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10700: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10701: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10702: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10703: *** your PATH or compiler configuration so that the native linker is
                   10704: *** used, and then restart.
                   10705: 
                   10706: _LT_EOF
                   10707:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10708:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10709:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10710:       else
                   10711:        ld_shlibs=no
                   10712:       fi
                   10713:       ;;
                   10714: 
                   10715:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10716:       case `$LD -v 2>&1` in
                   10717:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10718:        ld_shlibs=no
                   10719:        cat <<_LT_EOF 1>&2
                   10720: 
                   10721: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10722: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10723: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10724: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10725: *** your PATH or compiler configuration so that the native linker is
                   10726: *** used, and then restart.
                   10727: 
                   10728: _LT_EOF
                   10729:        ;;
                   10730:        *)
                   10731:          # For security reasons, it is highly recommended that you always
                   10732:          # use absolute paths for naming shared libraries, and exclude the
                   10733:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10734:          # requires that you compile everything twice, which is a pain.
                   10735:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10736:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10737:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10738:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10739:          else
                   10740:            ld_shlibs=no
                   10741:          fi
                   10742:        ;;
                   10743:       esac
                   10744:       ;;
                   10745: 
                   10746:     sunos4*)
                   10747:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10748:       wlarc=
                   10749:       hardcode_direct=yes
                   10750:       hardcode_shlibpath_var=no
                   10751:       ;;
                   10752: 
                   10753:     *)
                   10754:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10755:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10756:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10757:       else
                   10758:        ld_shlibs=no
                   10759:       fi
                   10760:       ;;
                   10761:     esac
                   10762: 
                   10763:     if test "$ld_shlibs" = no; then
                   10764:       runpath_var=
                   10765:       hardcode_libdir_flag_spec=
                   10766:       export_dynamic_flag_spec=
                   10767:       whole_archive_flag_spec=
                   10768:     fi
                   10769:   else
                   10770:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10771:     case $host_os in
                   10772:     aix3*)
                   10773:       allow_undefined_flag=unsupported
                   10774:       always_export_symbols=yes
                   10775:       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'
                   10776:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10777:       # are no directories specified by -L.
                   10778:       hardcode_minus_L=yes
                   10779:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10780:        # Neither direct hardcoding nor static linking is supported with a
                   10781:        # broken collect2.
                   10782:        hardcode_direct=unsupported
                   10783:       fi
                   10784:       ;;
                   10785: 
                   10786:     aix[4-9]*)
                   10787:       if test "$host_cpu" = ia64; then
                   10788:        # On IA64, the linker does run time linking by default, so we don't
                   10789:        # have to do anything special.
                   10790:        aix_use_runtimelinking=no
                   10791:        exp_sym_flag='-Bexport'
                   10792:        no_entry_flag=""
                   10793:       else
                   10794:        # If we're using GNU nm, then we don't want the "-C" option.
                   10795:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10796:        # Also, AIX nm treats weak defined symbols like other global
                   10797:        # defined symbols, whereas GNU nm marks them as "W".
                   10798:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10799:          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'
                   10800:        else
                   10801:          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'
                   10802:        fi
                   10803:        aix_use_runtimelinking=no
                   10804: 
                   10805:        # Test if we are trying to use run time linking or normal
                   10806:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10807:        # need to do runtime linking.
                   10808:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10809:          for ld_flag in $LDFLAGS; do
                   10810:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10811:            aix_use_runtimelinking=yes
                   10812:            break
                   10813:          fi
                   10814:          done
                   10815:          ;;
                   10816:        esac
                   10817: 
                   10818:        exp_sym_flag='-bexport'
                   10819:        no_entry_flag='-bnoentry'
                   10820:       fi
                   10821: 
                   10822:       # When large executables or shared objects are built, AIX ld can
                   10823:       # have problems creating the table of contents.  If linking a library
                   10824:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10825:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10826:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10827: 
                   10828:       archive_cmds=''
                   10829:       hardcode_direct=yes
                   10830:       hardcode_direct_absolute=yes
                   10831:       hardcode_libdir_separator=':'
                   10832:       link_all_deplibs=yes
                   10833:       file_list_spec='${wl}-f,'
                   10834: 
                   10835:       if test "$GCC" = yes; then
                   10836:        case $host_os in aix4.[012]|aix4.[012].*)
                   10837:        # We only want to do this on AIX 4.2 and lower, the check
                   10838:        # below for broken collect2 doesn't work under 4.3+
                   10839:          collect2name=`${CC} -print-prog-name=collect2`
                   10840:          if test -f "$collect2name" &&
                   10841:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10842:          then
                   10843:          # We have reworked collect2
                   10844:          :
                   10845:          else
                   10846:          # We have old collect2
                   10847:          hardcode_direct=unsupported
                   10848:          # It fails to find uninstalled libraries when the uninstalled
                   10849:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10850:          # to unsupported forces relinking
                   10851:          hardcode_minus_L=yes
                   10852:          hardcode_libdir_flag_spec='-L$libdir'
                   10853:          hardcode_libdir_separator=
                   10854:          fi
                   10855:          ;;
                   10856:        esac
                   10857:        shared_flag='-shared'
                   10858:        if test "$aix_use_runtimelinking" = yes; then
                   10859:          shared_flag="$shared_flag "'${wl}-G'
                   10860:        fi
                   10861:       else
                   10862:        # not using gcc
                   10863:        if test "$host_cpu" = ia64; then
                   10864:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10865:        # chokes on -Wl,-G. The following line is correct:
                   10866:          shared_flag='-G'
                   10867:        else
                   10868:          if test "$aix_use_runtimelinking" = yes; then
                   10869:            shared_flag='${wl}-G'
                   10870:          else
                   10871:            shared_flag='${wl}-bM:SRE'
                   10872:          fi
                   10873:        fi
                   10874:       fi
                   10875: 
                   10876:       export_dynamic_flag_spec='${wl}-bexpall'
                   10877:       # It seems that -bexpall does not export symbols beginning with
                   10878:       # underscore (_), so it is better to generate a list of symbols to export.
                   10879:       always_export_symbols=yes
                   10880:       if test "$aix_use_runtimelinking" = yes; then
                   10881:        # Warning - without using the other runtime loading flags (-brtl),
                   10882:        # -berok will link without error, but may produce a broken library.
                   10883:        allow_undefined_flag='-berok'
                   10884:         # Determine the default libpath from the value encoded in an
                   10885:         # empty executable.
                   10886:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10887:   aix_libpath=$lt_cv_aix_libpath
                   10888: else
1.150     moko     10889:   if ${lt_cv_aix_libpath_+:} false; then :
                   10890:   $as_echo_n "(cached) " >&6
1.128     moko     10891: else
1.150     moko     10892:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10893: /* end confdefs.h.  */
                   10894: 
                   10895: int
                   10896: main ()
                   10897: {
                   10898: 
                   10899:   ;
                   10900:   return 0;
                   10901: }
                   10902: _ACEOF
1.150     moko     10903: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10904: 
                   10905:   lt_aix_libpath_sed='
                   10906:       /Import File Strings/,/^$/ {
                   10907:          /^0/ {
                   10908:              s/^0  *\([^ ]*\) *$/\1/
                   10909:              p
                   10910:          }
                   10911:       }'
                   10912:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10913:   # Check for a 64-bit object if we didn't find anything.
                   10914:   if test -z "$lt_cv_aix_libpath_"; then
                   10915:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10916:   fi
                   10917: fi
1.150     moko     10918: rm -f core conftest.err conftest.$ac_objext \
                   10919:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10920:   if test -z "$lt_cv_aix_libpath_"; then
                   10921:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10922:   fi
                   10923: 
                   10924: fi
                   10925: 
                   10926:   aix_libpath=$lt_cv_aix_libpath_
                   10927: fi
                   10928: 
                   10929:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10930:         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"
                   10931:       else
                   10932:        if test "$host_cpu" = ia64; then
                   10933:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10934:          allow_undefined_flag="-z nodefs"
                   10935:          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"
                   10936:        else
                   10937:         # Determine the default libpath from the value encoded in an
                   10938:         # empty executable.
                   10939:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10940:   aix_libpath=$lt_cv_aix_libpath
                   10941: else
1.150     moko     10942:   if ${lt_cv_aix_libpath_+:} false; then :
                   10943:   $as_echo_n "(cached) " >&6
1.128     moko     10944: else
1.150     moko     10945:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10946: /* end confdefs.h.  */
                   10947: 
                   10948: int
                   10949: main ()
                   10950: {
                   10951: 
                   10952:   ;
                   10953:   return 0;
                   10954: }
                   10955: _ACEOF
1.150     moko     10956: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10957: 
                   10958:   lt_aix_libpath_sed='
                   10959:       /Import File Strings/,/^$/ {
                   10960:          /^0/ {
                   10961:              s/^0  *\([^ ]*\) *$/\1/
                   10962:              p
                   10963:          }
                   10964:       }'
                   10965:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10966:   # Check for a 64-bit object if we didn't find anything.
                   10967:   if test -z "$lt_cv_aix_libpath_"; then
                   10968:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10969:   fi
                   10970: fi
1.150     moko     10971: rm -f core conftest.err conftest.$ac_objext \
                   10972:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10973:   if test -z "$lt_cv_aix_libpath_"; then
                   10974:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10975:   fi
                   10976: 
                   10977: fi
                   10978: 
                   10979:   aix_libpath=$lt_cv_aix_libpath_
                   10980: fi
                   10981: 
                   10982:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10983:          # Warning - without using the other run time loading flags,
                   10984:          # -berok will link without error, but may produce a broken library.
                   10985:          no_undefined_flag=' ${wl}-bernotok'
                   10986:          allow_undefined_flag=' ${wl}-berok'
                   10987:          if test "$with_gnu_ld" = yes; then
                   10988:            # We only use this code for GNU lds that support --whole-archive.
                   10989:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10990:          else
                   10991:            # Exported symbols can be pulled into shared objects from archives
                   10992:            whole_archive_flag_spec='$convenience'
                   10993:          fi
                   10994:          archive_cmds_need_lc=yes
                   10995:          # This is similar to how AIX traditionally builds its shared libraries.
                   10996:          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'
                   10997:        fi
                   10998:       fi
                   10999:       ;;
                   11000: 
                   11001:     amigaos*)
                   11002:       case $host_cpu in
                   11003:       powerpc)
                   11004:             # see comment about AmigaOS4 .so support
                   11005:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11006:             archive_expsym_cmds=''
                   11007:         ;;
                   11008:       m68k)
                   11009:             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)'
                   11010:             hardcode_libdir_flag_spec='-L$libdir'
                   11011:             hardcode_minus_L=yes
                   11012:         ;;
                   11013:       esac
                   11014:       ;;
                   11015: 
                   11016:     bsdi[45]*)
                   11017:       export_dynamic_flag_spec=-rdynamic
                   11018:       ;;
                   11019: 
                   11020:     cygwin* | mingw* | pw32* | cegcc*)
                   11021:       # When not using gcc, we currently assume that we are using
                   11022:       # Microsoft Visual C++.
                   11023:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   11024:       # no search path for DLLs.
                   11025:       case $cc_basename in
                   11026:       cl*)
                   11027:        # Native MSVC
                   11028:        hardcode_libdir_flag_spec=' '
                   11029:        allow_undefined_flag=unsupported
                   11030:        always_export_symbols=yes
                   11031:        file_list_spec='@'
                   11032:        # Tell ltmain to make .lib files, not .a files.
                   11033:        libext=lib
                   11034:        # Tell ltmain to make .dll files, not .so files.
                   11035:        shrext_cmds=".dll"
                   11036:        # FIXME: Setting linknames here is a bad hack.
                   11037:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   11038:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   11039:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   11040:          else
                   11041:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   11042:          fi~
                   11043:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   11044:          linknames='
                   11045:        # The linker will not automatically build a static lib if we build a DLL.
                   11046:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   11047:        enable_shared_with_static_runtimes=yes
                   11048:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   11049:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   11050:        # Don't use ranlib
                   11051:        old_postinstall_cmds='chmod 644 $oldlib'
                   11052:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   11053:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   11054:          case $lt_outputfile in
                   11055:            *.exe|*.EXE) ;;
                   11056:            *)
                   11057:              lt_outputfile="$lt_outputfile.exe"
                   11058:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   11059:              ;;
                   11060:          esac~
                   11061:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   11062:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   11063:            $RM "$lt_outputfile.manifest";
                   11064:          fi'
                   11065:        ;;
                   11066:       *)
                   11067:        # Assume MSVC wrapper
                   11068:        hardcode_libdir_flag_spec=' '
                   11069:        allow_undefined_flag=unsupported
                   11070:        # Tell ltmain to make .lib files, not .a files.
                   11071:        libext=lib
                   11072:        # Tell ltmain to make .dll files, not .so files.
                   11073:        shrext_cmds=".dll"
                   11074:        # FIXME: Setting linknames here is a bad hack.
                   11075:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   11076:        # The linker will automatically build a .lib file if we build a DLL.
                   11077:        old_archive_from_new_cmds='true'
                   11078:        # FIXME: Should let the user specify the lib program.
                   11079:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   11080:        enable_shared_with_static_runtimes=yes
                   11081:        ;;
                   11082:       esac
                   11083:       ;;
                   11084: 
                   11085:     darwin* | rhapsody*)
                   11086: 
                   11087: 
                   11088:   archive_cmds_need_lc=no
                   11089:   hardcode_direct=no
                   11090:   hardcode_automatic=yes
                   11091:   hardcode_shlibpath_var=unsupported
                   11092:   if test "$lt_cv_ld_force_load" = "yes"; then
                   11093:     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\"`'
                   11094: 
                   11095:   else
                   11096:     whole_archive_flag_spec=''
                   11097:   fi
                   11098:   link_all_deplibs=yes
                   11099:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   11100:   case $cc_basename in
                   11101:      ifort*) _lt_dar_can_shared=yes ;;
                   11102:      *) _lt_dar_can_shared=$GCC ;;
                   11103:   esac
                   11104:   if test "$_lt_dar_can_shared" = "yes"; then
                   11105:     output_verbose_link_cmd=func_echo_all
                   11106:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   11107:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11108:     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}"
                   11109:     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}"
                   11110: 
                   11111:   else
                   11112:   ld_shlibs=no
                   11113:   fi
                   11114: 
                   11115:       ;;
                   11116: 
                   11117:     dgux*)
                   11118:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11119:       hardcode_libdir_flag_spec='-L$libdir'
                   11120:       hardcode_shlibpath_var=no
                   11121:       ;;
                   11122: 
                   11123:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11124:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11125:     # does not break anything, and helps significantly (at the cost of a little
                   11126:     # extra space).
                   11127:     freebsd2.2*)
                   11128:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11129:       hardcode_libdir_flag_spec='-R$libdir'
                   11130:       hardcode_direct=yes
                   11131:       hardcode_shlibpath_var=no
                   11132:       ;;
                   11133: 
                   11134:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   11135:     freebsd2.*)
                   11136:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11137:       hardcode_direct=yes
                   11138:       hardcode_minus_L=yes
                   11139:       hardcode_shlibpath_var=no
                   11140:       ;;
                   11141: 
                   11142:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11143:     freebsd* | dragonfly*)
                   11144:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11145:       hardcode_libdir_flag_spec='-R$libdir'
                   11146:       hardcode_direct=yes
                   11147:       hardcode_shlibpath_var=no
                   11148:       ;;
                   11149: 
                   11150:     hpux9*)
                   11151:       if test "$GCC" = yes; then
                   11152:        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'
                   11153:       else
                   11154:        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'
                   11155:       fi
                   11156:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11157:       hardcode_libdir_separator=:
                   11158:       hardcode_direct=yes
                   11159: 
                   11160:       # hardcode_minus_L: Not really in the search PATH,
                   11161:       # but as the default location of the library.
                   11162:       hardcode_minus_L=yes
                   11163:       export_dynamic_flag_spec='${wl}-E'
                   11164:       ;;
                   11165: 
                   11166:     hpux10*)
                   11167:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11168:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11169:       else
                   11170:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11171:       fi
                   11172:       if test "$with_gnu_ld" = no; then
                   11173:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11174:        hardcode_libdir_separator=:
                   11175:        hardcode_direct=yes
                   11176:        hardcode_direct_absolute=yes
                   11177:        export_dynamic_flag_spec='${wl}-E'
                   11178:        # hardcode_minus_L: Not really in the search PATH,
                   11179:        # but as the default location of the library.
                   11180:        hardcode_minus_L=yes
                   11181:       fi
                   11182:       ;;
                   11183: 
                   11184:     hpux11*)
                   11185:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11186:        case $host_cpu in
                   11187:        hppa*64*)
                   11188:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11189:          ;;
                   11190:        ia64*)
                   11191:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11192:          ;;
                   11193:        *)
                   11194:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11195:          ;;
                   11196:        esac
                   11197:       else
                   11198:        case $host_cpu in
                   11199:        hppa*64*)
                   11200:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11201:          ;;
                   11202:        ia64*)
                   11203:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11204:          ;;
                   11205:        *)
                   11206: 
                   11207:          # Older versions of the 11.00 compiler do not understand -b yet
                   11208:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     11209:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11210: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11211: if ${lt_cv_prog_compiler__b+:} false; then :
                   11212:   $as_echo_n "(cached) " >&6
1.128     moko     11213: else
                   11214:   lt_cv_prog_compiler__b=no
                   11215:    save_LDFLAGS="$LDFLAGS"
                   11216:    LDFLAGS="$LDFLAGS -b"
                   11217:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11218:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11219:      # The linker can only warn and ignore the option if not recognized
                   11220:      # So say no if there are warnings
                   11221:      if test -s conftest.err; then
                   11222:        # Append any errors to the config.log.
                   11223:        cat conftest.err 1>&5
                   11224:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11225:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11226:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11227:          lt_cv_prog_compiler__b=yes
                   11228:        fi
                   11229:      else
                   11230:        lt_cv_prog_compiler__b=yes
                   11231:      fi
                   11232:    fi
                   11233:    $RM -r conftest*
                   11234:    LDFLAGS="$save_LDFLAGS"
                   11235: 
                   11236: fi
1.150     moko     11237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11238: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     11239: 
                   11240: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11241:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11242: else
                   11243:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11244: fi
                   11245: 
                   11246:          ;;
                   11247:        esac
                   11248:       fi
                   11249:       if test "$with_gnu_ld" = no; then
                   11250:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11251:        hardcode_libdir_separator=:
                   11252: 
                   11253:        case $host_cpu in
                   11254:        hppa*64*|ia64*)
                   11255:          hardcode_direct=no
                   11256:          hardcode_shlibpath_var=no
                   11257:          ;;
                   11258:        *)
                   11259:          hardcode_direct=yes
                   11260:          hardcode_direct_absolute=yes
                   11261:          export_dynamic_flag_spec='${wl}-E'
                   11262: 
                   11263:          # hardcode_minus_L: Not really in the search PATH,
                   11264:          # but as the default location of the library.
                   11265:          hardcode_minus_L=yes
                   11266:          ;;
                   11267:        esac
                   11268:       fi
                   11269:       ;;
                   11270: 
                   11271:     irix5* | irix6* | nonstopux*)
                   11272:       if test "$GCC" = yes; then
                   11273:        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'
                   11274:        # Try to use the -exported_symbol ld option, if it does not
                   11275:        # work, assume that -exports_file does not work either and
                   11276:        # implicitly export all symbols.
                   11277:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     11278:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11279: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11280: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11281:   $as_echo_n "(cached) " >&6
1.128     moko     11282: else
                   11283:   save_LDFLAGS="$LDFLAGS"
                   11284:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     11285:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11286: /* end confdefs.h.  */
                   11287: int foo (void) { return 0; }
                   11288: _ACEOF
1.150     moko     11289: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     11290:   lt_cv_irix_exported_symbol=yes
                   11291: else
1.150     moko     11292:   lt_cv_irix_exported_symbol=no
1.128     moko     11293: fi
1.150     moko     11294: rm -f core conftest.err conftest.$ac_objext \
                   11295:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11296:            LDFLAGS="$save_LDFLAGS"
                   11297: fi
1.150     moko     11298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11299: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     11300:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11301:           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'
                   11302:        fi
                   11303:       else
                   11304:        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'
                   11305:        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'
                   11306:       fi
                   11307:       archive_cmds_need_lc='no'
                   11308:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11309:       hardcode_libdir_separator=:
                   11310:       inherit_rpath=yes
                   11311:       link_all_deplibs=yes
                   11312:       ;;
                   11313: 
                   11314:     netbsd*)
                   11315:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11316:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11317:       else
                   11318:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11319:       fi
                   11320:       hardcode_libdir_flag_spec='-R$libdir'
                   11321:       hardcode_direct=yes
                   11322:       hardcode_shlibpath_var=no
                   11323:       ;;
                   11324: 
                   11325:     newsos6)
                   11326:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11327:       hardcode_direct=yes
                   11328:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11329:       hardcode_libdir_separator=:
                   11330:       hardcode_shlibpath_var=no
                   11331:       ;;
                   11332: 
                   11333:     *nto* | *qnx*)
                   11334:       ;;
                   11335: 
                   11336:     openbsd*)
                   11337:       if test -f /usr/libexec/ld.so; then
                   11338:        hardcode_direct=yes
                   11339:        hardcode_shlibpath_var=no
                   11340:        hardcode_direct_absolute=yes
                   11341:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11342:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11343:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11344:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11345:          export_dynamic_flag_spec='${wl}-E'
                   11346:        else
                   11347:          case $host_os in
                   11348:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11349:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11350:             hardcode_libdir_flag_spec='-R$libdir'
                   11351:             ;;
                   11352:           *)
                   11353:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11354:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11355:             ;;
                   11356:          esac
                   11357:        fi
                   11358:       else
                   11359:        ld_shlibs=no
                   11360:       fi
                   11361:       ;;
                   11362: 
                   11363:     os2*)
                   11364:       hardcode_libdir_flag_spec='-L$libdir'
                   11365:       hardcode_minus_L=yes
                   11366:       allow_undefined_flag=unsupported
                   11367:       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'
                   11368:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11369:       ;;
                   11370: 
                   11371:     osf3*)
                   11372:       if test "$GCC" = yes; then
                   11373:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11374:        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'
                   11375:       else
                   11376:        allow_undefined_flag=' -expect_unresolved \*'
                   11377:        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'
                   11378:       fi
                   11379:       archive_cmds_need_lc='no'
                   11380:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11381:       hardcode_libdir_separator=:
                   11382:       ;;
                   11383: 
                   11384:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11385:       if test "$GCC" = yes; then
                   11386:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11387:        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'
                   11388:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11389:       else
                   11390:        allow_undefined_flag=' -expect_unresolved \*'
                   11391:        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'
                   11392:        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~
                   11393:        $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'
                   11394: 
                   11395:        # Both c and cxx compiler support -rpath directly
                   11396:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11397:       fi
                   11398:       archive_cmds_need_lc='no'
                   11399:       hardcode_libdir_separator=:
                   11400:       ;;
                   11401: 
                   11402:     solaris*)
                   11403:       no_undefined_flag=' -z defs'
                   11404:       if test "$GCC" = yes; then
                   11405:        wlarc='${wl}'
                   11406:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11407:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11408:          $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'
                   11409:       else
                   11410:        case `$CC -V 2>&1` in
                   11411:        *"Compilers 5.0"*)
                   11412:          wlarc=''
                   11413:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11414:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11415:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11416:          ;;
                   11417:        *)
                   11418:          wlarc='${wl}'
                   11419:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11420:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11421:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11422:          ;;
                   11423:        esac
                   11424:       fi
                   11425:       hardcode_libdir_flag_spec='-R$libdir'
                   11426:       hardcode_shlibpath_var=no
                   11427:       case $host_os in
                   11428:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11429:       *)
                   11430:        # The compiler driver will combine and reorder linker options,
                   11431:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11432:        # but is careful enough not to reorder.
                   11433:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11434:        if test "$GCC" = yes; then
                   11435:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11436:        else
                   11437:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11438:        fi
                   11439:        ;;
                   11440:       esac
                   11441:       link_all_deplibs=yes
                   11442:       ;;
                   11443: 
                   11444:     sunos4*)
                   11445:       if test "x$host_vendor" = xsequent; then
                   11446:        # Use $CC to link under sequent, because it throws in some extra .o
                   11447:        # files that make .init and .fini sections work.
                   11448:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11449:       else
                   11450:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11451:       fi
                   11452:       hardcode_libdir_flag_spec='-L$libdir'
                   11453:       hardcode_direct=yes
                   11454:       hardcode_minus_L=yes
                   11455:       hardcode_shlibpath_var=no
                   11456:       ;;
                   11457: 
                   11458:     sysv4)
                   11459:       case $host_vendor in
                   11460:        sni)
                   11461:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11462:          hardcode_direct=yes # is this really true???
                   11463:        ;;
                   11464:        siemens)
                   11465:          ## LD is ld it makes a PLAMLIB
                   11466:          ## CC just makes a GrossModule.
                   11467:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11468:          reload_cmds='$CC -r -o $output$reload_objs'
                   11469:          hardcode_direct=no
                   11470:         ;;
                   11471:        motorola)
                   11472:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11473:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11474:        ;;
                   11475:       esac
                   11476:       runpath_var='LD_RUN_PATH'
                   11477:       hardcode_shlibpath_var=no
                   11478:       ;;
                   11479: 
                   11480:     sysv4.3*)
                   11481:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11482:       hardcode_shlibpath_var=no
                   11483:       export_dynamic_flag_spec='-Bexport'
                   11484:       ;;
                   11485: 
                   11486:     sysv4*MP*)
                   11487:       if test -d /usr/nec; then
                   11488:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11489:        hardcode_shlibpath_var=no
                   11490:        runpath_var=LD_RUN_PATH
                   11491:        hardcode_runpath_var=yes
                   11492:        ld_shlibs=yes
                   11493:       fi
                   11494:       ;;
                   11495: 
                   11496:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11497:       no_undefined_flag='${wl}-z,text'
                   11498:       archive_cmds_need_lc=no
                   11499:       hardcode_shlibpath_var=no
                   11500:       runpath_var='LD_RUN_PATH'
                   11501: 
                   11502:       if test "$GCC" = yes; then
                   11503:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11504:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11505:       else
                   11506:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11507:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11508:       fi
                   11509:       ;;
                   11510: 
                   11511:     sysv5* | sco3.2v5* | sco5v6*)
                   11512:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11513:       # link with -lc, and that would cause any symbols used from libc to
                   11514:       # always be unresolved, which means just about no library would
                   11515:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11516:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11517:       # as -z defs.
                   11518:       no_undefined_flag='${wl}-z,text'
                   11519:       allow_undefined_flag='${wl}-z,nodefs'
                   11520:       archive_cmds_need_lc=no
                   11521:       hardcode_shlibpath_var=no
                   11522:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11523:       hardcode_libdir_separator=':'
                   11524:       link_all_deplibs=yes
                   11525:       export_dynamic_flag_spec='${wl}-Bexport'
                   11526:       runpath_var='LD_RUN_PATH'
                   11527: 
                   11528:       if test "$GCC" = yes; then
                   11529:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11530:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11531:       else
                   11532:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11533:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11534:       fi
                   11535:       ;;
                   11536: 
                   11537:     uts4*)
                   11538:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11539:       hardcode_libdir_flag_spec='-L$libdir'
                   11540:       hardcode_shlibpath_var=no
                   11541:       ;;
                   11542: 
                   11543:     *)
                   11544:       ld_shlibs=no
                   11545:       ;;
                   11546:     esac
                   11547: 
                   11548:     if test x$host_vendor = xsni; then
                   11549:       case $host in
                   11550:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11551:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11552:        ;;
                   11553:       esac
                   11554:     fi
                   11555:   fi
                   11556: 
1.150     moko     11557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11558: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11559: test "$ld_shlibs" = no && can_build_shared=no
                   11560: 
                   11561: with_gnu_ld=$with_gnu_ld
                   11562: 
                   11563: 
                   11564: 
                   11565: 
                   11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575: 
                   11576: 
                   11577: #
                   11578: # Do we need to explicitly link libc?
                   11579: #
                   11580: case "x$archive_cmds_need_lc" in
                   11581: x|xyes)
                   11582:   # Assume -lc should be added
                   11583:   archive_cmds_need_lc=yes
                   11584: 
                   11585:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11586:     case $archive_cmds in
                   11587:     *'~'*)
                   11588:       # FIXME: we may have to deal with multi-command sequences.
                   11589:       ;;
                   11590:     '$CC '*)
                   11591:       # Test whether the compiler implicitly links with -lc since on some
                   11592:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11593:       # to ld, don't add -lc before -lgcc.
1.150     moko     11594:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11595: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11596: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11597:   $as_echo_n "(cached) " >&6
1.128     moko     11598: else
                   11599:   $RM conftest*
                   11600:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11601: 
1.150     moko     11602:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11603:   (eval $ac_compile) 2>&5
                   11604:   ac_status=$?
1.150     moko     11605:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11606:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11607:          soname=conftest
                   11608:          lib=conftest
                   11609:          libobjs=conftest.$ac_objext
                   11610:          deplibs=
                   11611:          wl=$lt_prog_compiler_wl
                   11612:          pic_flag=$lt_prog_compiler_pic
                   11613:          compiler_flags=-v
                   11614:          linker_flags=-v
                   11615:          verstring=
                   11616:          output_objdir=.
                   11617:          libname=conftest
                   11618:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11619:          allow_undefined_flag=
1.150     moko     11620:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11621:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11622:   ac_status=$?
1.150     moko     11623:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11624:   test $ac_status = 0; }
1.128     moko     11625:          then
                   11626:            lt_cv_archive_cmds_need_lc=no
                   11627:          else
                   11628:            lt_cv_archive_cmds_need_lc=yes
                   11629:          fi
                   11630:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11631:        else
                   11632:          cat conftest.err 1>&5
                   11633:        fi
                   11634:        $RM conftest*
                   11635: 
                   11636: fi
1.150     moko     11637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11638: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11639:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11640:       ;;
                   11641:     esac
                   11642:   fi
                   11643:   ;;
                   11644: esac
                   11645: 
                   11646: 
                   11647: 
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: 
                   11666: 
                   11667: 
                   11668: 
                   11669: 
                   11670: 
                   11671: 
                   11672: 
                   11673: 
                   11674: 
                   11675: 
                   11676: 
                   11677: 
                   11678: 
                   11679: 
                   11680: 
                   11681: 
                   11682: 
                   11683: 
                   11684: 
                   11685: 
                   11686: 
                   11687: 
                   11688: 
                   11689: 
                   11690: 
                   11691: 
                   11692: 
                   11693: 
                   11694: 
                   11695: 
                   11696: 
                   11697: 
                   11698: 
                   11699: 
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706: 
                   11707: 
                   11708: 
                   11709: 
                   11710: 
                   11711: 
                   11712: 
                   11713: 
                   11714: 
                   11715: 
                   11716: 
                   11717: 
                   11718: 
                   11719: 
                   11720: 
                   11721: 
                   11722: 
                   11723: 
                   11724: 
                   11725: 
                   11726: 
                   11727: 
                   11728: 
                   11729: 
                   11730: 
                   11731: 
                   11732: 
                   11733: 
                   11734: 
                   11735: 
                   11736: 
                   11737: 
                   11738: 
                   11739: 
                   11740: 
                   11741: 
                   11742: 
                   11743: 
                   11744: 
                   11745: 
                   11746: 
                   11747: 
                   11748: 
                   11749: 
                   11750: 
                   11751: 
                   11752: 
                   11753: 
                   11754: 
                   11755: 
                   11756: 
                   11757: 
                   11758: 
                   11759: 
                   11760: 
                   11761: 
                   11762: 
                   11763: 
                   11764: 
                   11765: 
                   11766: 
                   11767: 
                   11768: 
                   11769: 
                   11770: 
                   11771: 
                   11772: 
                   11773: 
                   11774: 
                   11775: 
                   11776: 
                   11777: 
                   11778: 
                   11779: 
                   11780: 
                   11781: 
                   11782: 
                   11783: 
                   11784: 
                   11785: 
                   11786: 
                   11787: 
                   11788: 
                   11789: 
                   11790: 
                   11791: 
                   11792: 
                   11793: 
                   11794: 
                   11795: 
                   11796: 
1.150     moko     11797:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11798: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11799: 
                   11800: if test "$GCC" = yes; then
                   11801:   case $host_os in
                   11802:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11803:     *) lt_awk_arg="/^libraries:/" ;;
                   11804:   esac
                   11805:   case $host_os in
                   11806:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11807:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11808:   esac
                   11809:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11810:   case $lt_search_path_spec in
                   11811:   *\;*)
                   11812:     # if the path contains ";" then we assume it to be the separator
                   11813:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11814:     # assumed that no part of a normal pathname contains ";" but that should
                   11815:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11816:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11817:     ;;
                   11818:   *)
                   11819:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11820:     ;;
                   11821:   esac
                   11822:   # Ok, now we have the path, separated by spaces, we can step through it
                   11823:   # and add multilib dir if necessary.
                   11824:   lt_tmp_lt_search_path_spec=
                   11825:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11826:   for lt_sys_path in $lt_search_path_spec; do
                   11827:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11828:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11829:     else
                   11830:       test -d "$lt_sys_path" && \
                   11831:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11832:     fi
                   11833:   done
                   11834:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11835: BEGIN {RS=" "; FS="/|\n";} {
                   11836:   lt_foo="";
                   11837:   lt_count=0;
                   11838:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11839:     if ($lt_i != "" && $lt_i != ".") {
                   11840:       if ($lt_i == "..") {
                   11841:         lt_count++;
                   11842:       } else {
                   11843:         if (lt_count == 0) {
                   11844:           lt_foo="/" $lt_i lt_foo;
                   11845:         } else {
                   11846:           lt_count--;
                   11847:         }
                   11848:       }
                   11849:     }
                   11850:   }
                   11851:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11852:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11853: }'`
                   11854:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11855:   # for these hosts.
                   11856:   case $host_os in
                   11857:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11858:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11859:   esac
                   11860:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11861: else
                   11862:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11863: fi
                   11864: library_names_spec=
                   11865: libname_spec='lib$name'
                   11866: soname_spec=
                   11867: shrext_cmds=".so"
                   11868: postinstall_cmds=
                   11869: postuninstall_cmds=
                   11870: finish_cmds=
                   11871: finish_eval=
                   11872: shlibpath_var=
                   11873: shlibpath_overrides_runpath=unknown
                   11874: version_type=none
                   11875: dynamic_linker="$host_os ld.so"
                   11876: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11877: need_lib_prefix=unknown
                   11878: hardcode_into_libs=no
                   11879: 
                   11880: # when you set need_version to no, make sure it does not cause -set_version
                   11881: # flags to be left without arguments
                   11882: need_version=unknown
                   11883: 
                   11884: case $host_os in
                   11885: aix3*)
                   11886:   version_type=linux # correct to gnu/linux during the next big refactor
                   11887:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11888:   shlibpath_var=LIBPATH
                   11889: 
                   11890:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11891:   soname_spec='${libname}${release}${shared_ext}$major'
                   11892:   ;;
                   11893: 
                   11894: aix[4-9]*)
                   11895:   version_type=linux # correct to gnu/linux during the next big refactor
                   11896:   need_lib_prefix=no
                   11897:   need_version=no
                   11898:   hardcode_into_libs=yes
                   11899:   if test "$host_cpu" = ia64; then
                   11900:     # AIX 5 supports IA64
                   11901:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11902:     shlibpath_var=LD_LIBRARY_PATH
                   11903:   else
                   11904:     # With GCC up to 2.95.x, collect2 would create an import file
                   11905:     # for dependence libraries.  The import file would start with
                   11906:     # the line `#! .'.  This would cause the generated library to
                   11907:     # depend on `.', always an invalid library.  This was fixed in
                   11908:     # development snapshots of GCC prior to 3.0.
                   11909:     case $host_os in
                   11910:       aix4 | aix4.[01] | aix4.[01].*)
                   11911:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11912:           echo ' yes '
                   11913:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11914:        :
                   11915:       else
                   11916:        can_build_shared=no
                   11917:       fi
                   11918:       ;;
                   11919:     esac
                   11920:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11921:     # soname into executable. Probably we can add versioning support to
                   11922:     # collect2, so additional links can be useful in future.
                   11923:     if test "$aix_use_runtimelinking" = yes; then
                   11924:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11925:       # instead of lib<name>.a to let people know that these are not
                   11926:       # typical AIX shared libraries.
                   11927:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11928:     else
                   11929:       # We preserve .a as extension for shared libraries through AIX4.2
                   11930:       # and later when we are not doing run time linking.
                   11931:       library_names_spec='${libname}${release}.a $libname.a'
                   11932:       soname_spec='${libname}${release}${shared_ext}$major'
                   11933:     fi
                   11934:     shlibpath_var=LIBPATH
                   11935:   fi
                   11936:   ;;
                   11937: 
                   11938: amigaos*)
                   11939:   case $host_cpu in
                   11940:   powerpc)
                   11941:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11942:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11943:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11944:     ;;
                   11945:   m68k)
                   11946:     library_names_spec='$libname.ixlibrary $libname.a'
                   11947:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11948:     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'
                   11949:     ;;
                   11950:   esac
                   11951:   ;;
                   11952: 
                   11953: beos*)
                   11954:   library_names_spec='${libname}${shared_ext}'
                   11955:   dynamic_linker="$host_os ld.so"
                   11956:   shlibpath_var=LIBRARY_PATH
                   11957:   ;;
                   11958: 
                   11959: bsdi[45]*)
                   11960:   version_type=linux # correct to gnu/linux during the next big refactor
                   11961:   need_version=no
                   11962:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11963:   soname_spec='${libname}${release}${shared_ext}$major'
                   11964:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11965:   shlibpath_var=LD_LIBRARY_PATH
                   11966:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11967:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11968:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11969:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11970:   # libtool to hard-code these into programs
                   11971:   ;;
                   11972: 
                   11973: cygwin* | mingw* | pw32* | cegcc*)
                   11974:   version_type=windows
                   11975:   shrext_cmds=".dll"
                   11976:   need_version=no
                   11977:   need_lib_prefix=no
                   11978: 
                   11979:   case $GCC,$cc_basename in
                   11980:   yes,*)
                   11981:     # gcc
                   11982:     library_names_spec='$libname.dll.a'
                   11983:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11984:     postinstall_cmds='base_file=`basename \${file}`~
                   11985:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11986:       dldir=$destdir/`dirname \$dlpath`~
                   11987:       test -d \$dldir || mkdir -p \$dldir~
                   11988:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11989:       chmod a+x \$dldir/$dlname~
                   11990:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11991:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11992:       fi'
                   11993:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11994:       dlpath=$dir/\$dldll~
                   11995:        $RM \$dlpath'
                   11996:     shlibpath_overrides_runpath=yes
                   11997: 
                   11998:     case $host_os in
                   11999:     cygwin*)
                   12000:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   12001:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12002: 
                   12003:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   12004:       ;;
                   12005:     mingw* | cegcc*)
                   12006:       # MinGW DLLs use traditional 'lib' prefix
                   12007:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12008:       ;;
                   12009:     pw32*)
                   12010:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   12011:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12012:       ;;
                   12013:     esac
                   12014:     dynamic_linker='Win32 ld.exe'
                   12015:     ;;
                   12016: 
                   12017:   *,cl*)
                   12018:     # Native MSVC
                   12019:     libname_spec='$name'
                   12020:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12021:     library_names_spec='${libname}.dll.lib'
                   12022: 
                   12023:     case $build_os in
                   12024:     mingw*)
                   12025:       sys_lib_search_path_spec=
                   12026:       lt_save_ifs=$IFS
                   12027:       IFS=';'
                   12028:       for lt_path in $LIB
                   12029:       do
                   12030:         IFS=$lt_save_ifs
                   12031:         # Let DOS variable expansion print the short 8.3 style file name.
                   12032:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   12033:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   12034:       done
                   12035:       IFS=$lt_save_ifs
                   12036:       # Convert to MSYS style.
                   12037:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   12038:       ;;
                   12039:     cygwin*)
                   12040:       # Convert to unix form, then to dos form, then back to unix form
                   12041:       # but this time dos style (no spaces!) so that the unix form looks
                   12042:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   12043:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   12044:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   12045:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12046:       ;;
                   12047:     *)
                   12048:       sys_lib_search_path_spec="$LIB"
                   12049:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   12050:         # It is most probably a Windows format PATH.
                   12051:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   12052:       else
                   12053:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12054:       fi
                   12055:       # FIXME: find the short name or the path components, as spaces are
                   12056:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   12057:       ;;
                   12058:     esac
                   12059: 
                   12060:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12061:     postinstall_cmds='base_file=`basename \${file}`~
                   12062:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12063:       dldir=$destdir/`dirname \$dlpath`~
                   12064:       test -d \$dldir || mkdir -p \$dldir~
                   12065:       $install_prog $dir/$dlname \$dldir/$dlname'
                   12066:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12067:       dlpath=$dir/\$dldll~
                   12068:        $RM \$dlpath'
                   12069:     shlibpath_overrides_runpath=yes
                   12070:     dynamic_linker='Win32 link.exe'
                   12071:     ;;
                   12072: 
                   12073:   *)
                   12074:     # Assume MSVC wrapper
                   12075:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   12076:     dynamic_linker='Win32 ld.exe'
                   12077:     ;;
                   12078:   esac
                   12079:   # FIXME: first we should search . and the directory the executable is in
                   12080:   shlibpath_var=PATH
                   12081:   ;;
                   12082: 
                   12083: darwin* | rhapsody*)
                   12084:   dynamic_linker="$host_os dyld"
                   12085:   version_type=darwin
                   12086:   need_lib_prefix=no
                   12087:   need_version=no
                   12088:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   12089:   soname_spec='${libname}${release}${major}$shared_ext'
                   12090:   shlibpath_overrides_runpath=yes
                   12091:   shlibpath_var=DYLD_LIBRARY_PATH
                   12092:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12093: 
                   12094:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12095:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   12096:   ;;
                   12097: 
                   12098: dgux*)
                   12099:   version_type=linux # correct to gnu/linux during the next big refactor
                   12100:   need_lib_prefix=no
                   12101:   need_version=no
                   12102:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   12103:   soname_spec='${libname}${release}${shared_ext}$major'
                   12104:   shlibpath_var=LD_LIBRARY_PATH
                   12105:   ;;
                   12106: 
                   12107: freebsd* | dragonfly*)
                   12108:   # DragonFly does not have aout.  When/if they implement a new
                   12109:   # versioning mechanism, adjust this.
                   12110:   if test -x /usr/bin/objformat; then
                   12111:     objformat=`/usr/bin/objformat`
                   12112:   else
                   12113:     case $host_os in
                   12114:     freebsd[23].*) objformat=aout ;;
                   12115:     *) objformat=elf ;;
                   12116:     esac
                   12117:   fi
                   12118:   version_type=freebsd-$objformat
                   12119:   case $version_type in
                   12120:     freebsd-elf*)
                   12121:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12122:       need_version=no
                   12123:       need_lib_prefix=no
                   12124:       ;;
                   12125:     freebsd-*)
                   12126:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12127:       need_version=yes
                   12128:       ;;
                   12129:   esac
                   12130:   shlibpath_var=LD_LIBRARY_PATH
                   12131:   case $host_os in
                   12132:   freebsd2.*)
                   12133:     shlibpath_overrides_runpath=yes
                   12134:     ;;
                   12135:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12136:     shlibpath_overrides_runpath=yes
                   12137:     hardcode_into_libs=yes
                   12138:     ;;
                   12139:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12140:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12141:     shlibpath_overrides_runpath=no
                   12142:     hardcode_into_libs=yes
                   12143:     ;;
                   12144:   *) # from 4.6 on, and DragonFly
                   12145:     shlibpath_overrides_runpath=yes
                   12146:     hardcode_into_libs=yes
                   12147:     ;;
                   12148:   esac
                   12149:   ;;
                   12150: 
                   12151: gnu*)
                   12152:   version_type=linux # correct to gnu/linux during the next big refactor
                   12153:   need_lib_prefix=no
                   12154:   need_version=no
                   12155:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12156:   soname_spec='${libname}${release}${shared_ext}$major'
                   12157:   shlibpath_var=LD_LIBRARY_PATH
                   12158:   shlibpath_overrides_runpath=no
                   12159:   hardcode_into_libs=yes
                   12160:   ;;
                   12161: 
                   12162: haiku*)
                   12163:   version_type=linux # correct to gnu/linux during the next big refactor
                   12164:   need_lib_prefix=no
                   12165:   need_version=no
                   12166:   dynamic_linker="$host_os runtime_loader"
                   12167:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12168:   soname_spec='${libname}${release}${shared_ext}$major'
                   12169:   shlibpath_var=LIBRARY_PATH
                   12170:   shlibpath_overrides_runpath=yes
                   12171:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12172:   hardcode_into_libs=yes
                   12173:   ;;
                   12174: 
                   12175: hpux9* | hpux10* | hpux11*)
                   12176:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12177:   # link against other versions.
                   12178:   version_type=sunos
                   12179:   need_lib_prefix=no
                   12180:   need_version=no
                   12181:   case $host_cpu in
                   12182:   ia64*)
                   12183:     shrext_cmds='.so'
                   12184:     hardcode_into_libs=yes
                   12185:     dynamic_linker="$host_os dld.so"
                   12186:     shlibpath_var=LD_LIBRARY_PATH
                   12187:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12188:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12189:     soname_spec='${libname}${release}${shared_ext}$major'
                   12190:     if test "X$HPUX_IA64_MODE" = X32; then
                   12191:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12192:     else
                   12193:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12194:     fi
                   12195:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12196:     ;;
                   12197:   hppa*64*)
                   12198:     shrext_cmds='.sl'
                   12199:     hardcode_into_libs=yes
                   12200:     dynamic_linker="$host_os dld.sl"
                   12201:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12202:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12203:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12204:     soname_spec='${libname}${release}${shared_ext}$major'
                   12205:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12206:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12207:     ;;
                   12208:   *)
                   12209:     shrext_cmds='.sl'
                   12210:     dynamic_linker="$host_os dld.sl"
                   12211:     shlibpath_var=SHLIB_PATH
                   12212:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12213:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12214:     soname_spec='${libname}${release}${shared_ext}$major'
                   12215:     ;;
                   12216:   esac
                   12217:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12218:   postinstall_cmds='chmod 555 $lib'
                   12219:   # or fails outright, so override atomically:
                   12220:   install_override_mode=555
                   12221:   ;;
                   12222: 
                   12223: interix[3-9]*)
                   12224:   version_type=linux # correct to gnu/linux during the next big refactor
                   12225:   need_lib_prefix=no
                   12226:   need_version=no
                   12227:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12228:   soname_spec='${libname}${release}${shared_ext}$major'
                   12229:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12230:   shlibpath_var=LD_LIBRARY_PATH
                   12231:   shlibpath_overrides_runpath=no
                   12232:   hardcode_into_libs=yes
                   12233:   ;;
                   12234: 
                   12235: irix5* | irix6* | nonstopux*)
                   12236:   case $host_os in
                   12237:     nonstopux*) version_type=nonstopux ;;
                   12238:     *)
                   12239:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   12240:                version_type=linux # correct to gnu/linux during the next big refactor
                   12241:        else
                   12242:                version_type=irix
                   12243:        fi ;;
                   12244:   esac
                   12245:   need_lib_prefix=no
                   12246:   need_version=no
                   12247:   soname_spec='${libname}${release}${shared_ext}$major'
                   12248:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12249:   case $host_os in
                   12250:   irix5* | nonstopux*)
                   12251:     libsuff= shlibsuff=
                   12252:     ;;
                   12253:   *)
                   12254:     case $LD in # libtool.m4 will add one of these switches to LD
                   12255:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12256:       libsuff= shlibsuff= libmagic=32-bit;;
                   12257:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12258:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12259:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12260:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12261:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12262:     esac
                   12263:     ;;
                   12264:   esac
                   12265:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12266:   shlibpath_overrides_runpath=no
                   12267:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12268:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12269:   hardcode_into_libs=yes
                   12270:   ;;
                   12271: 
                   12272: # No shared lib support for Linux oldld, aout, or coff.
                   12273: linux*oldld* | linux*aout* | linux*coff*)
                   12274:   dynamic_linker=no
                   12275:   ;;
                   12276: 
                   12277: # This must be glibc/ELF.
                   12278: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12279:   version_type=linux # correct to gnu/linux during the next big refactor
                   12280:   need_lib_prefix=no
                   12281:   need_version=no
                   12282:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12283:   soname_spec='${libname}${release}${shared_ext}$major'
                   12284:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12285:   shlibpath_var=LD_LIBRARY_PATH
                   12286:   shlibpath_overrides_runpath=no
                   12287: 
                   12288:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     12289:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12290:   $as_echo_n "(cached) " >&6
1.128     moko     12291: else
                   12292:   lt_cv_shlibpath_overrides_runpath=no
                   12293:     save_LDFLAGS=$LDFLAGS
                   12294:     save_libdir=$libdir
                   12295:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12296:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     12297:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12298: /* end confdefs.h.  */
                   12299: 
                   12300: int
                   12301: main ()
                   12302: {
                   12303: 
                   12304:   ;
                   12305:   return 0;
                   12306: }
                   12307: _ACEOF
1.150     moko     12308: if ac_fn_c_try_link "$LINENO"; then :
                   12309:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     12310:   lt_cv_shlibpath_overrides_runpath=yes
                   12311: fi
                   12312: fi
1.150     moko     12313: rm -f core conftest.err conftest.$ac_objext \
                   12314:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12315:     LDFLAGS=$save_LDFLAGS
                   12316:     libdir=$save_libdir
                   12317: 
                   12318: fi
                   12319: 
                   12320:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12321: 
                   12322:   # This implies no fast_install, which is unacceptable.
                   12323:   # Some rework will be needed to allow for fast_install
                   12324:   # before this can be enabled.
                   12325:   hardcode_into_libs=yes
                   12326: 
                   12327:   # Append ld.so.conf contents to the search path
                   12328:   if test -f /etc/ld.so.conf; then
                   12329:     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' ' '`
                   12330:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   12331:   fi
                   12332: 
                   12333:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12334:   # powerpc, because MkLinux only supported shared libraries with the
                   12335:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12336:   # most powerpc-linux boxes support dynamic linking these days and
                   12337:   # people can always --disable-shared, the test was removed, and we
                   12338:   # assume the GNU/Linux dynamic linker is in use.
                   12339:   dynamic_linker='GNU/Linux ld.so'
                   12340:   ;;
                   12341: 
                   12342: netbsd*)
                   12343:   version_type=sunos
                   12344:   need_lib_prefix=no
                   12345:   need_version=no
                   12346:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12347:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12348:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12349:     dynamic_linker='NetBSD (a.out) ld.so'
                   12350:   else
                   12351:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12352:     soname_spec='${libname}${release}${shared_ext}$major'
                   12353:     dynamic_linker='NetBSD ld.elf_so'
                   12354:   fi
                   12355:   shlibpath_var=LD_LIBRARY_PATH
                   12356:   shlibpath_overrides_runpath=yes
                   12357:   hardcode_into_libs=yes
                   12358:   ;;
                   12359: 
                   12360: newsos6)
                   12361:   version_type=linux # correct to gnu/linux during the next big refactor
                   12362:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12363:   shlibpath_var=LD_LIBRARY_PATH
                   12364:   shlibpath_overrides_runpath=yes
                   12365:   ;;
                   12366: 
                   12367: *nto* | *qnx*)
                   12368:   version_type=qnx
                   12369:   need_lib_prefix=no
                   12370:   need_version=no
                   12371:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12372:   soname_spec='${libname}${release}${shared_ext}$major'
                   12373:   shlibpath_var=LD_LIBRARY_PATH
                   12374:   shlibpath_overrides_runpath=no
                   12375:   hardcode_into_libs=yes
                   12376:   dynamic_linker='ldqnx.so'
                   12377:   ;;
                   12378: 
                   12379: openbsd*)
                   12380:   version_type=sunos
                   12381:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12382:   need_lib_prefix=no
                   12383:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12384:   case $host_os in
                   12385:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12386:     *)                         need_version=no  ;;
                   12387:   esac
                   12388:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12389:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12390:   shlibpath_var=LD_LIBRARY_PATH
                   12391:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12392:     case $host_os in
                   12393:       openbsd2.[89] | openbsd2.[89].*)
                   12394:        shlibpath_overrides_runpath=no
                   12395:        ;;
                   12396:       *)
                   12397:        shlibpath_overrides_runpath=yes
                   12398:        ;;
                   12399:       esac
                   12400:   else
                   12401:     shlibpath_overrides_runpath=yes
                   12402:   fi
                   12403:   ;;
                   12404: 
                   12405: os2*)
                   12406:   libname_spec='$name'
                   12407:   shrext_cmds=".dll"
                   12408:   need_lib_prefix=no
                   12409:   library_names_spec='$libname${shared_ext} $libname.a'
                   12410:   dynamic_linker='OS/2 ld.exe'
                   12411:   shlibpath_var=LIBPATH
                   12412:   ;;
                   12413: 
                   12414: osf3* | osf4* | osf5*)
                   12415:   version_type=osf
                   12416:   need_lib_prefix=no
                   12417:   need_version=no
                   12418:   soname_spec='${libname}${release}${shared_ext}$major'
                   12419:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12420:   shlibpath_var=LD_LIBRARY_PATH
                   12421:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12422:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12423:   ;;
                   12424: 
                   12425: rdos*)
                   12426:   dynamic_linker=no
                   12427:   ;;
                   12428: 
                   12429: solaris*)
                   12430:   version_type=linux # correct to gnu/linux during the next big refactor
                   12431:   need_lib_prefix=no
                   12432:   need_version=no
                   12433:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12434:   soname_spec='${libname}${release}${shared_ext}$major'
                   12435:   shlibpath_var=LD_LIBRARY_PATH
                   12436:   shlibpath_overrides_runpath=yes
                   12437:   hardcode_into_libs=yes
                   12438:   # ldd complains unless libraries are executable
                   12439:   postinstall_cmds='chmod +x $lib'
                   12440:   ;;
                   12441: 
                   12442: sunos4*)
                   12443:   version_type=sunos
                   12444:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12445:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12446:   shlibpath_var=LD_LIBRARY_PATH
                   12447:   shlibpath_overrides_runpath=yes
                   12448:   if test "$with_gnu_ld" = yes; then
                   12449:     need_lib_prefix=no
                   12450:   fi
                   12451:   need_version=yes
                   12452:   ;;
                   12453: 
                   12454: sysv4 | sysv4.3*)
                   12455:   version_type=linux # correct to gnu/linux during the next big refactor
                   12456:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12457:   soname_spec='${libname}${release}${shared_ext}$major'
                   12458:   shlibpath_var=LD_LIBRARY_PATH
                   12459:   case $host_vendor in
                   12460:     sni)
                   12461:       shlibpath_overrides_runpath=no
                   12462:       need_lib_prefix=no
                   12463:       runpath_var=LD_RUN_PATH
                   12464:       ;;
                   12465:     siemens)
                   12466:       need_lib_prefix=no
                   12467:       ;;
                   12468:     motorola)
                   12469:       need_lib_prefix=no
                   12470:       need_version=no
                   12471:       shlibpath_overrides_runpath=no
                   12472:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12473:       ;;
                   12474:   esac
                   12475:   ;;
                   12476: 
                   12477: sysv4*MP*)
                   12478:   if test -d /usr/nec ;then
                   12479:     version_type=linux # correct to gnu/linux during the next big refactor
                   12480:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12481:     soname_spec='$libname${shared_ext}.$major'
                   12482:     shlibpath_var=LD_LIBRARY_PATH
                   12483:   fi
                   12484:   ;;
                   12485: 
                   12486: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12487:   version_type=freebsd-elf
                   12488:   need_lib_prefix=no
                   12489:   need_version=no
                   12490:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12491:   soname_spec='${libname}${release}${shared_ext}$major'
                   12492:   shlibpath_var=LD_LIBRARY_PATH
                   12493:   shlibpath_overrides_runpath=yes
                   12494:   hardcode_into_libs=yes
                   12495:   if test "$with_gnu_ld" = yes; then
                   12496:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12497:   else
                   12498:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12499:     case $host_os in
                   12500:       sco3.2v5*)
                   12501:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12502:        ;;
                   12503:     esac
                   12504:   fi
                   12505:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12506:   ;;
                   12507: 
                   12508: tpf*)
                   12509:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12510:   version_type=linux # correct to gnu/linux during the next big refactor
                   12511:   need_lib_prefix=no
                   12512:   need_version=no
                   12513:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12514:   shlibpath_var=LD_LIBRARY_PATH
                   12515:   shlibpath_overrides_runpath=no
                   12516:   hardcode_into_libs=yes
                   12517:   ;;
                   12518: 
                   12519: uts4*)
                   12520:   version_type=linux # correct to gnu/linux during the next big refactor
                   12521:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12522:   soname_spec='${libname}${release}${shared_ext}$major'
                   12523:   shlibpath_var=LD_LIBRARY_PATH
                   12524:   ;;
                   12525: 
                   12526: *)
                   12527:   dynamic_linker=no
                   12528:   ;;
                   12529: esac
1.150     moko     12530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12531: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12532: test "$dynamic_linker" = no && can_build_shared=no
                   12533: 
                   12534: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12535: if test "$GCC" = yes; then
                   12536:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12537: fi
                   12538: 
                   12539: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12540:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12541: fi
                   12542: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12543:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12544: fi
                   12545: 
                   12546: 
                   12547: 
                   12548: 
                   12549: 
                   12550: 
                   12551: 
                   12552: 
                   12553: 
                   12554: 
                   12555: 
                   12556: 
                   12557: 
                   12558: 
                   12559: 
                   12560: 
                   12561: 
                   12562: 
                   12563: 
                   12564: 
                   12565: 
                   12566: 
                   12567: 
                   12568: 
                   12569: 
                   12570: 
                   12571: 
                   12572: 
                   12573: 
                   12574: 
                   12575: 
                   12576: 
                   12577: 
                   12578: 
                   12579: 
                   12580: 
                   12581: 
                   12582: 
                   12583: 
                   12584: 
                   12585: 
                   12586: 
                   12587: 
                   12588: 
                   12589: 
                   12590: 
                   12591: 
                   12592: 
                   12593: 
                   12594: 
                   12595: 
                   12596: 
                   12597: 
                   12598: 
                   12599: 
                   12600: 
                   12601: 
                   12602: 
                   12603: 
                   12604: 
                   12605: 
                   12606: 
                   12607: 
                   12608: 
                   12609: 
                   12610: 
                   12611: 
                   12612: 
                   12613: 
                   12614: 
                   12615: 
                   12616: 
                   12617: 
                   12618: 
                   12619: 
                   12620: 
                   12621: 
                   12622: 
                   12623: 
                   12624: 
                   12625: 
                   12626: 
                   12627: 
                   12628: 
                   12629: 
                   12630: 
                   12631: 
                   12632: 
                   12633: 
                   12634: 
                   12635: 
                   12636: 
1.150     moko     12637:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12638: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12639: hardcode_action=
                   12640: if test -n "$hardcode_libdir_flag_spec" ||
                   12641:    test -n "$runpath_var" ||
                   12642:    test "X$hardcode_automatic" = "Xyes" ; then
                   12643: 
                   12644:   # We can hardcode non-existent directories.
                   12645:   if test "$hardcode_direct" != no &&
                   12646:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12647:      # have to relink, otherwise we might link with an installed library
                   12648:      # when we should be linking with a yet-to-be-installed one
                   12649:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12650:      test "$hardcode_minus_L" != no; then
                   12651:     # Linking always hardcodes the temporary library directory.
                   12652:     hardcode_action=relink
                   12653:   else
                   12654:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12655:     hardcode_action=immediate
                   12656:   fi
                   12657: else
                   12658:   # We cannot hardcode anything, or else we can only hardcode existing
                   12659:   # directories.
                   12660:   hardcode_action=unsupported
                   12661: fi
1.150     moko     12662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12663: $as_echo "$hardcode_action" >&6; }
1.128     moko     12664: 
                   12665: if test "$hardcode_action" = relink ||
                   12666:    test "$inherit_rpath" = yes; then
                   12667:   # Fast installation is not supported
                   12668:   enable_fast_install=no
                   12669: elif test "$shlibpath_overrides_runpath" = yes ||
                   12670:      test "$enable_shared" = no; then
                   12671:   # Fast installation is not necessary
                   12672:   enable_fast_install=needless
                   12673: fi
                   12674: 
                   12675: 
                   12676: 
                   12677: 
                   12678: 
                   12679: 
                   12680:   if test "x$enable_dlopen" != xyes; then
                   12681:   enable_dlopen=unknown
                   12682:   enable_dlopen_self=unknown
                   12683:   enable_dlopen_self_static=unknown
                   12684: else
                   12685:   lt_cv_dlopen=no
                   12686:   lt_cv_dlopen_libs=
                   12687: 
                   12688:   case $host_os in
                   12689:   beos*)
                   12690:     lt_cv_dlopen="load_add_on"
                   12691:     lt_cv_dlopen_libs=
                   12692:     lt_cv_dlopen_self=yes
                   12693:     ;;
                   12694: 
                   12695:   mingw* | pw32* | cegcc*)
                   12696:     lt_cv_dlopen="LoadLibrary"
                   12697:     lt_cv_dlopen_libs=
                   12698:     ;;
                   12699: 
                   12700:   cygwin*)
                   12701:     lt_cv_dlopen="dlopen"
                   12702:     lt_cv_dlopen_libs=
                   12703:     ;;
                   12704: 
                   12705:   darwin*)
                   12706:   # if libdl is installed we need to link against it
1.150     moko     12707:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12708: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12709: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12710:   $as_echo_n "(cached) " >&6
1.128     moko     12711: else
                   12712:   ac_check_lib_save_LIBS=$LIBS
                   12713: LIBS="-ldl  $LIBS"
1.150     moko     12714: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12715: /* end confdefs.h.  */
                   12716: 
1.150     moko     12717: /* Override any GCC internal prototype to avoid an error.
                   12718:    Use char because int might match the return type of a GCC
                   12719:    builtin and then its argument prototype would still apply.  */
1.128     moko     12720: #ifdef __cplusplus
                   12721: extern "C"
                   12722: #endif
                   12723: char dlopen ();
                   12724: int
                   12725: main ()
                   12726: {
1.150     moko     12727: return dlopen ();
1.128     moko     12728:   ;
                   12729:   return 0;
                   12730: }
                   12731: _ACEOF
1.150     moko     12732: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12733:   ac_cv_lib_dl_dlopen=yes
                   12734: else
1.150     moko     12735:   ac_cv_lib_dl_dlopen=no
1.128     moko     12736: fi
1.150     moko     12737: rm -f core conftest.err conftest.$ac_objext \
                   12738:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12739: LIBS=$ac_check_lib_save_LIBS
                   12740: fi
1.150     moko     12741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12742: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12743: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12744:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12745: else
                   12746: 
                   12747:     lt_cv_dlopen="dyld"
                   12748:     lt_cv_dlopen_libs=
                   12749:     lt_cv_dlopen_self=yes
                   12750: 
                   12751: fi
                   12752: 
                   12753:     ;;
                   12754: 
                   12755:   *)
1.150     moko     12756:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12757: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12758:   lt_cv_dlopen="shl_load"
                   12759: else
1.150     moko     12760:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12761: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12762: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12763:   $as_echo_n "(cached) " >&6
1.128     moko     12764: else
                   12765:   ac_check_lib_save_LIBS=$LIBS
                   12766: LIBS="-ldld  $LIBS"
1.150     moko     12767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12768: /* end confdefs.h.  */
                   12769: 
1.150     moko     12770: /* Override any GCC internal prototype to avoid an error.
                   12771:    Use char because int might match the return type of a GCC
                   12772:    builtin and then its argument prototype would still apply.  */
1.128     moko     12773: #ifdef __cplusplus
                   12774: extern "C"
                   12775: #endif
                   12776: char shl_load ();
                   12777: int
                   12778: main ()
                   12779: {
1.150     moko     12780: return shl_load ();
1.128     moko     12781:   ;
                   12782:   return 0;
                   12783: }
                   12784: _ACEOF
1.150     moko     12785: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12786:   ac_cv_lib_dld_shl_load=yes
                   12787: else
1.150     moko     12788:   ac_cv_lib_dld_shl_load=no
1.128     moko     12789: fi
1.150     moko     12790: rm -f core conftest.err conftest.$ac_objext \
                   12791:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12792: LIBS=$ac_check_lib_save_LIBS
                   12793: fi
1.150     moko     12794: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12795: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12796: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12797:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12798: else
1.150     moko     12799:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12800: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12801:   lt_cv_dlopen="dlopen"
                   12802: else
1.150     moko     12803:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12804: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12805: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12806:   $as_echo_n "(cached) " >&6
1.128     moko     12807: else
                   12808:   ac_check_lib_save_LIBS=$LIBS
                   12809: LIBS="-ldl  $LIBS"
1.150     moko     12810: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12811: /* end confdefs.h.  */
                   12812: 
1.150     moko     12813: /* Override any GCC internal prototype to avoid an error.
                   12814:    Use char because int might match the return type of a GCC
                   12815:    builtin and then its argument prototype would still apply.  */
1.128     moko     12816: #ifdef __cplusplus
                   12817: extern "C"
                   12818: #endif
                   12819: char dlopen ();
                   12820: int
                   12821: main ()
                   12822: {
1.150     moko     12823: return dlopen ();
1.128     moko     12824:   ;
                   12825:   return 0;
                   12826: }
                   12827: _ACEOF
1.150     moko     12828: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12829:   ac_cv_lib_dl_dlopen=yes
                   12830: else
1.150     moko     12831:   ac_cv_lib_dl_dlopen=no
1.128     moko     12832: fi
1.150     moko     12833: rm -f core conftest.err conftest.$ac_objext \
                   12834:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12835: LIBS=$ac_check_lib_save_LIBS
                   12836: fi
1.150     moko     12837: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12838: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12839: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12840:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12841: else
1.150     moko     12842:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12843: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12844: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12845:   $as_echo_n "(cached) " >&6
1.128     moko     12846: else
                   12847:   ac_check_lib_save_LIBS=$LIBS
                   12848: LIBS="-lsvld  $LIBS"
1.150     moko     12849: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12850: /* end confdefs.h.  */
                   12851: 
1.150     moko     12852: /* Override any GCC internal prototype to avoid an error.
                   12853:    Use char because int might match the return type of a GCC
                   12854:    builtin and then its argument prototype would still apply.  */
1.128     moko     12855: #ifdef __cplusplus
                   12856: extern "C"
                   12857: #endif
                   12858: char dlopen ();
                   12859: int
                   12860: main ()
                   12861: {
1.150     moko     12862: return dlopen ();
1.128     moko     12863:   ;
                   12864:   return 0;
                   12865: }
                   12866: _ACEOF
1.150     moko     12867: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12868:   ac_cv_lib_svld_dlopen=yes
                   12869: else
1.150     moko     12870:   ac_cv_lib_svld_dlopen=no
1.128     moko     12871: fi
1.150     moko     12872: rm -f core conftest.err conftest.$ac_objext \
                   12873:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12874: LIBS=$ac_check_lib_save_LIBS
                   12875: fi
1.150     moko     12876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12877: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12878: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12879:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12880: else
1.150     moko     12881:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12882: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12883: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12884:   $as_echo_n "(cached) " >&6
1.128     moko     12885: else
                   12886:   ac_check_lib_save_LIBS=$LIBS
                   12887: LIBS="-ldld  $LIBS"
1.150     moko     12888: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12889: /* end confdefs.h.  */
                   12890: 
1.150     moko     12891: /* Override any GCC internal prototype to avoid an error.
                   12892:    Use char because int might match the return type of a GCC
                   12893:    builtin and then its argument prototype would still apply.  */
1.128     moko     12894: #ifdef __cplusplus
                   12895: extern "C"
                   12896: #endif
                   12897: char dld_link ();
                   12898: int
                   12899: main ()
                   12900: {
1.150     moko     12901: return dld_link ();
1.128     moko     12902:   ;
                   12903:   return 0;
                   12904: }
                   12905: _ACEOF
1.150     moko     12906: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12907:   ac_cv_lib_dld_dld_link=yes
                   12908: else
1.150     moko     12909:   ac_cv_lib_dld_dld_link=no
                   12910: fi
                   12911: rm -f core conftest.err conftest.$ac_objext \
                   12912:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12913: LIBS=$ac_check_lib_save_LIBS
                   12914: fi
1.150     moko     12915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12916: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12917: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12918:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12919: fi
                   12920: 
                   12921: 
                   12922: fi
                   12923: 
                   12924: 
                   12925: fi
                   12926: 
                   12927: 
                   12928: fi
                   12929: 
                   12930: 
                   12931: fi
                   12932: 
                   12933: 
                   12934: fi
                   12935: 
                   12936:     ;;
                   12937:   esac
                   12938: 
                   12939:   if test "x$lt_cv_dlopen" != xno; then
                   12940:     enable_dlopen=yes
                   12941:   else
                   12942:     enable_dlopen=no
                   12943:   fi
                   12944: 
                   12945:   case $lt_cv_dlopen in
                   12946:   dlopen)
                   12947:     save_CPPFLAGS="$CPPFLAGS"
                   12948:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12949: 
                   12950:     save_LDFLAGS="$LDFLAGS"
                   12951:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12952: 
                   12953:     save_LIBS="$LIBS"
                   12954:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12955: 
1.150     moko     12956:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12957: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12958: if ${lt_cv_dlopen_self+:} false; then :
                   12959:   $as_echo_n "(cached) " >&6
1.128     moko     12960: else
                   12961:          if test "$cross_compiling" = yes; then :
                   12962:   lt_cv_dlopen_self=cross
                   12963: else
                   12964:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12965:   lt_status=$lt_dlunknown
                   12966:   cat > conftest.$ac_ext <<_LT_EOF
                   12967: #line $LINENO "configure"
                   12968: #include "confdefs.h"
                   12969: 
                   12970: #if HAVE_DLFCN_H
                   12971: #include <dlfcn.h>
                   12972: #endif
                   12973: 
                   12974: #include <stdio.h>
                   12975: 
                   12976: #ifdef RTLD_GLOBAL
                   12977: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12978: #else
                   12979: #  ifdef DL_GLOBAL
                   12980: #    define LT_DLGLOBAL                DL_GLOBAL
                   12981: #  else
                   12982: #    define LT_DLGLOBAL                0
                   12983: #  endif
                   12984: #endif
                   12985: 
                   12986: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12987:    find out it does not work in some platform. */
                   12988: #ifndef LT_DLLAZY_OR_NOW
                   12989: #  ifdef RTLD_LAZY
                   12990: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12991: #  else
                   12992: #    ifdef DL_LAZY
                   12993: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12994: #    else
                   12995: #      ifdef RTLD_NOW
                   12996: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12997: #      else
                   12998: #        ifdef DL_NOW
                   12999: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13000: #        else
                   13001: #          define LT_DLLAZY_OR_NOW     0
                   13002: #        endif
                   13003: #      endif
                   13004: #    endif
                   13005: #  endif
                   13006: #endif
                   13007: 
                   13008: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13009:    correspondingly for the symbols needed.  */
                   13010: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13011: int fnord () __attribute__((visibility("default")));
                   13012: #endif
                   13013: 
                   13014: int fnord () { return 42; }
                   13015: int main ()
                   13016: {
                   13017:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13018:   int status = $lt_dlunknown;
                   13019: 
                   13020:   if (self)
                   13021:     {
                   13022:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13023:       else
                   13024:         {
                   13025:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13026:           else puts (dlerror ());
                   13027:        }
                   13028:       /* dlclose (self); */
                   13029:     }
                   13030:   else
                   13031:     puts (dlerror ());
                   13032: 
                   13033:   return status;
                   13034: }
                   13035: _LT_EOF
1.150     moko     13036:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13037:   (eval $ac_link) 2>&5
                   13038:   ac_status=$?
1.150     moko     13039:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13040:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13041:     (./conftest; exit; ) >&5 2>/dev/null
                   13042:     lt_status=$?
                   13043:     case x$lt_status in
                   13044:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   13045:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   13046:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   13047:     esac
                   13048:   else :
                   13049:     # compilation failed
                   13050:     lt_cv_dlopen_self=no
                   13051:   fi
                   13052: fi
                   13053: rm -fr conftest*
                   13054: 
                   13055: 
                   13056: fi
1.150     moko     13057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   13058: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     13059: 
                   13060:     if test "x$lt_cv_dlopen_self" = xyes; then
                   13061:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     13062:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   13063: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   13064: if ${lt_cv_dlopen_self_static+:} false; then :
                   13065:   $as_echo_n "(cached) " >&6
1.128     moko     13066: else
                   13067:          if test "$cross_compiling" = yes; then :
                   13068:   lt_cv_dlopen_self_static=cross
                   13069: else
                   13070:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13071:   lt_status=$lt_dlunknown
                   13072:   cat > conftest.$ac_ext <<_LT_EOF
                   13073: #line $LINENO "configure"
                   13074: #include "confdefs.h"
                   13075: 
                   13076: #if HAVE_DLFCN_H
                   13077: #include <dlfcn.h>
                   13078: #endif
                   13079: 
                   13080: #include <stdio.h>
                   13081: 
                   13082: #ifdef RTLD_GLOBAL
                   13083: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13084: #else
                   13085: #  ifdef DL_GLOBAL
                   13086: #    define LT_DLGLOBAL                DL_GLOBAL
                   13087: #  else
                   13088: #    define LT_DLGLOBAL                0
                   13089: #  endif
                   13090: #endif
                   13091: 
                   13092: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13093:    find out it does not work in some platform. */
                   13094: #ifndef LT_DLLAZY_OR_NOW
                   13095: #  ifdef RTLD_LAZY
                   13096: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13097: #  else
                   13098: #    ifdef DL_LAZY
                   13099: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13100: #    else
                   13101: #      ifdef RTLD_NOW
                   13102: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13103: #      else
                   13104: #        ifdef DL_NOW
                   13105: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13106: #        else
                   13107: #          define LT_DLLAZY_OR_NOW     0
                   13108: #        endif
                   13109: #      endif
                   13110: #    endif
                   13111: #  endif
                   13112: #endif
                   13113: 
                   13114: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13115:    correspondingly for the symbols needed.  */
                   13116: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13117: int fnord () __attribute__((visibility("default")));
                   13118: #endif
                   13119: 
                   13120: int fnord () { return 42; }
                   13121: int main ()
                   13122: {
                   13123:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13124:   int status = $lt_dlunknown;
                   13125: 
                   13126:   if (self)
                   13127:     {
                   13128:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13129:       else
                   13130:         {
                   13131:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13132:           else puts (dlerror ());
                   13133:        }
                   13134:       /* dlclose (self); */
                   13135:     }
                   13136:   else
                   13137:     puts (dlerror ());
                   13138: 
                   13139:   return status;
                   13140: }
                   13141: _LT_EOF
1.150     moko     13142:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     13143:   (eval $ac_link) 2>&5
                   13144:   ac_status=$?
1.150     moko     13145:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13146:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     13147:     (./conftest; exit; ) >&5 2>/dev/null
                   13148:     lt_status=$?
                   13149:     case x$lt_status in
                   13150:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13151:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13152:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13153:     esac
                   13154:   else :
                   13155:     # compilation failed
                   13156:     lt_cv_dlopen_self_static=no
                   13157:   fi
                   13158: fi
                   13159: rm -fr conftest*
                   13160: 
                   13161: 
                   13162: fi
1.150     moko     13163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13164: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     13165:     fi
                   13166: 
                   13167:     CPPFLAGS="$save_CPPFLAGS"
                   13168:     LDFLAGS="$save_LDFLAGS"
                   13169:     LIBS="$save_LIBS"
                   13170:     ;;
                   13171:   esac
                   13172: 
                   13173:   case $lt_cv_dlopen_self in
                   13174:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13175:   *) enable_dlopen_self=unknown ;;
                   13176:   esac
                   13177: 
                   13178:   case $lt_cv_dlopen_self_static in
                   13179:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13180:   *) enable_dlopen_self_static=unknown ;;
                   13181:   esac
                   13182: fi
                   13183: 
                   13184: 
                   13185: 
                   13186: 
                   13187: 
                   13188: 
                   13189: 
                   13190: 
                   13191: 
                   13192: 
                   13193: 
                   13194: 
                   13195: 
                   13196: 
                   13197: 
                   13198: 
                   13199: 
                   13200: striplib=
                   13201: old_striplib=
1.150     moko     13202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13203: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     13204: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13205:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13206:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     13207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13208: $as_echo "yes" >&6; }
1.128     moko     13209: else
                   13210: # FIXME - insert some real tests, host_os isn't really good enough
                   13211:   case $host_os in
                   13212:   darwin*)
                   13213:     if test -n "$STRIP" ; then
                   13214:       striplib="$STRIP -x"
                   13215:       old_striplib="$STRIP -S"
1.150     moko     13216:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13217: $as_echo "yes" >&6; }
1.128     moko     13218:     else
1.150     moko     13219:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13220: $as_echo "no" >&6; }
1.128     moko     13221:     fi
                   13222:     ;;
                   13223:   *)
1.150     moko     13224:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13225: $as_echo "no" >&6; }
1.128     moko     13226:     ;;
                   13227:   esac
                   13228: fi
                   13229: 
                   13230: 
                   13231: 
                   13232: 
                   13233: 
                   13234: 
                   13235: 
                   13236: 
                   13237: 
                   13238: 
                   13239: 
                   13240: 
                   13241:   # Report which library types will actually be built
1.150     moko     13242:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13243: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13245: $as_echo "$can_build_shared" >&6; }
1.128     moko     13246: 
1.150     moko     13247:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13248: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     13249:   test "$can_build_shared" = "no" && enable_shared=no
                   13250: 
                   13251:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13252:   # are all built from PIC.
                   13253:   case $host_os in
                   13254:   aix3*)
                   13255:     test "$enable_shared" = yes && enable_static=no
                   13256:     if test -n "$RANLIB"; then
                   13257:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13258:       postinstall_cmds='$RANLIB $lib'
                   13259:     fi
                   13260:     ;;
                   13261: 
                   13262:   aix[4-9]*)
                   13263:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13264:       test "$enable_shared" = yes && enable_static=no
                   13265:     fi
                   13266:     ;;
                   13267:   esac
1.150     moko     13268:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13269: $as_echo "$enable_shared" >&6; }
1.128     moko     13270: 
1.150     moko     13271:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13272: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     13273:   # Make sure either enable_shared or enable_static is yes.
                   13274:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     13275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13276: $as_echo "$enable_static" >&6; }
1.128     moko     13277: 
                   13278: 
                   13279: 
                   13280: 
                   13281: fi
                   13282: ac_ext=c
                   13283: ac_cpp='$CPP $CPPFLAGS'
                   13284: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13285: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13286: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13287: 
                   13288: CC="$lt_save_CC"
                   13289: 
                   13290:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   13291:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   13292:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     13293:   ac_ext=cpp
1.128     moko     13294: ac_cpp='$CXXCPP $CPPFLAGS'
                   13295: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13296: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13297: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     13298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   13299: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     13300: if test -z "$CXXCPP"; then
1.150     moko     13301:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   13302:   $as_echo_n "(cached) " >&6
1.128     moko     13303: else
                   13304:       # Double quotes because CXXCPP needs to be expanded
                   13305:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   13306:     do
                   13307:       ac_preproc_ok=false
                   13308: for ac_cxx_preproc_warn_flag in '' yes
                   13309: do
                   13310:   # Use a header file that comes with gcc, so configuring glibc
                   13311:   # with a fresh cross-compiler works.
                   13312:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13313:   # <limits.h> exists even on freestanding compilers.
                   13314:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13315:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13316:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13317: /* end confdefs.h.  */
                   13318: #ifdef __STDC__
                   13319: # include <limits.h>
                   13320: #else
                   13321: # include <assert.h>
                   13322: #endif
                   13323:                     Syntax error
                   13324: _ACEOF
1.150     moko     13325: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13326: 
1.128     moko     13327: else
                   13328:   # Broken: fails on valid input.
                   13329: continue
                   13330: fi
1.150     moko     13331: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13332: 
1.150     moko     13333:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13334:   # can be detected and how.
1.150     moko     13335:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13336: /* end confdefs.h.  */
                   13337: #include <ac_nonexistent.h>
                   13338: _ACEOF
1.150     moko     13339: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13340:   # Broken: success on invalid input.
                   13341: continue
                   13342: else
                   13343:   # Passes both tests.
                   13344: ac_preproc_ok=:
                   13345: break
                   13346: fi
1.150     moko     13347: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13348: 
                   13349: done
                   13350: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13351: rm -f conftest.i conftest.err conftest.$ac_ext
                   13352: if $ac_preproc_ok; then :
1.128     moko     13353:   break
                   13354: fi
                   13355: 
                   13356:     done
                   13357:     ac_cv_prog_CXXCPP=$CXXCPP
                   13358: 
                   13359: fi
                   13360:   CXXCPP=$ac_cv_prog_CXXCPP
                   13361: else
                   13362:   ac_cv_prog_CXXCPP=$CXXCPP
                   13363: fi
1.150     moko     13364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   13365: $as_echo "$CXXCPP" >&6; }
1.128     moko     13366: ac_preproc_ok=false
                   13367: for ac_cxx_preproc_warn_flag in '' yes
                   13368: do
                   13369:   # Use a header file that comes with gcc, so configuring glibc
                   13370:   # with a fresh cross-compiler works.
                   13371:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   13372:   # <limits.h> exists even on freestanding compilers.
                   13373:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   13374:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     13375:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13376: /* end confdefs.h.  */
                   13377: #ifdef __STDC__
                   13378: # include <limits.h>
                   13379: #else
                   13380: # include <assert.h>
                   13381: #endif
                   13382:                     Syntax error
                   13383: _ACEOF
1.150     moko     13384: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13385: 
1.128     moko     13386: else
                   13387:   # Broken: fails on valid input.
                   13388: continue
                   13389: fi
1.150     moko     13390: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13391: 
1.150     moko     13392:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13393:   # can be detected and how.
1.150     moko     13394:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13395: /* end confdefs.h.  */
                   13396: #include <ac_nonexistent.h>
                   13397: _ACEOF
1.150     moko     13398: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13399:   # Broken: success on invalid input.
                   13400: continue
                   13401: else
                   13402:   # Passes both tests.
                   13403: ac_preproc_ok=:
                   13404: break
                   13405: fi
1.150     moko     13406: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13407: 
                   13408: done
                   13409: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13410: rm -f conftest.i conftest.err conftest.$ac_ext
                   13411: if $ac_preproc_ok; then :
                   13412: 
1.128     moko     13413: else
1.150     moko     13414:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13415: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13416: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13417: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13418: fi
                   13419: 
                   13420: ac_ext=c
                   13421: ac_cpp='$CPP $CPPFLAGS'
                   13422: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13423: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13424: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13425: 
                   13426: else
                   13427:   _lt_caught_CXX_error=yes
                   13428: fi
                   13429: 
1.150     moko     13430: ac_ext=cpp
1.128     moko     13431: ac_cpp='$CXXCPP $CPPFLAGS'
                   13432: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13433: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13434: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13435: 
                   13436: archive_cmds_need_lc_CXX=no
                   13437: allow_undefined_flag_CXX=
                   13438: always_export_symbols_CXX=no
                   13439: archive_expsym_cmds_CXX=
                   13440: compiler_needs_object_CXX=no
                   13441: export_dynamic_flag_spec_CXX=
                   13442: hardcode_direct_CXX=no
                   13443: hardcode_direct_absolute_CXX=no
                   13444: hardcode_libdir_flag_spec_CXX=
                   13445: hardcode_libdir_separator_CXX=
                   13446: hardcode_minus_L_CXX=no
                   13447: hardcode_shlibpath_var_CXX=unsupported
                   13448: hardcode_automatic_CXX=no
                   13449: inherit_rpath_CXX=no
                   13450: module_cmds_CXX=
                   13451: module_expsym_cmds_CXX=
                   13452: link_all_deplibs_CXX=unknown
                   13453: old_archive_cmds_CXX=$old_archive_cmds
                   13454: reload_flag_CXX=$reload_flag
                   13455: reload_cmds_CXX=$reload_cmds
                   13456: no_undefined_flag_CXX=
                   13457: whole_archive_flag_spec_CXX=
                   13458: enable_shared_with_static_runtimes_CXX=no
                   13459: 
                   13460: # Source file extension for C++ test sources.
                   13461: ac_ext=cpp
                   13462: 
                   13463: # Object file extension for compiled C++ test sources.
                   13464: objext=o
                   13465: objext_CXX=$objext
                   13466: 
                   13467: # No sense in running all these tests if we already determined that
                   13468: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13469: # are currently assumed to apply to all compilers on this platform,
                   13470: # and will be corrupted by setting them based on a non-working compiler.
                   13471: if test "$_lt_caught_CXX_error" != yes; then
                   13472:   # Code to be used in simple compile tests
                   13473:   lt_simple_compile_test_code="int some_variable = 0;"
                   13474: 
                   13475:   # Code to be used in simple link tests
                   13476:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13477: 
                   13478:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13479: 
                   13480: 
                   13481: 
                   13482: 
                   13483: 
                   13484: 
                   13485: # If no C compiler was specified, use CC.
                   13486: LTCC=${LTCC-"$CC"}
                   13487: 
                   13488: # If no C compiler flags were specified, use CFLAGS.
                   13489: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13490: 
                   13491: # Allow CC to be a program name with arguments.
                   13492: compiler=$CC
                   13493: 
                   13494: 
                   13495:   # save warnings/boilerplate of simple test code
                   13496:   ac_outfile=conftest.$ac_objext
                   13497: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13498: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13499: _lt_compiler_boilerplate=`cat conftest.err`
                   13500: $RM conftest*
                   13501: 
                   13502:   ac_outfile=conftest.$ac_objext
                   13503: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13504: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13505: _lt_linker_boilerplate=`cat conftest.err`
                   13506: $RM -r conftest*
                   13507: 
                   13508: 
                   13509:   # Allow CC to be a program name with arguments.
                   13510:   lt_save_CC=$CC
                   13511:   lt_save_CFLAGS=$CFLAGS
                   13512:   lt_save_LD=$LD
                   13513:   lt_save_GCC=$GCC
                   13514:   GCC=$GXX
                   13515:   lt_save_with_gnu_ld=$with_gnu_ld
                   13516:   lt_save_path_LD=$lt_cv_path_LD
                   13517:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13518:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13519:   else
                   13520:     $as_unset lt_cv_prog_gnu_ld
                   13521:   fi
                   13522:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13523:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13524:   else
                   13525:     $as_unset lt_cv_path_LD
                   13526:   fi
                   13527:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13528:   CC=${CXX-"c++"}
                   13529:   CFLAGS=$CXXFLAGS
                   13530:   compiler=$CC
                   13531:   compiler_CXX=$CC
                   13532:   for cc_temp in $compiler""; do
                   13533:   case $cc_temp in
                   13534:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13535:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13536:     \-*) ;;
                   13537:     *) break;;
                   13538:   esac
                   13539: done
                   13540: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13541: 
                   13542: 
                   13543:   if test -n "$compiler"; then
                   13544:     # We don't want -fno-exception when compiling C++ code, so set the
                   13545:     # no_builtin_flag separately
                   13546:     if test "$GXX" = yes; then
                   13547:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13548:     else
                   13549:       lt_prog_compiler_no_builtin_flag_CXX=
                   13550:     fi
                   13551: 
                   13552:     if test "$GXX" = yes; then
                   13553:       # Set up default GNU C++ configuration
                   13554: 
                   13555: 
                   13556: 
1.150     moko     13557: # Check whether --with-gnu-ld was given.
                   13558: if test "${with_gnu_ld+set}" = set; then :
                   13559:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13560: else
                   13561:   with_gnu_ld=no
1.150     moko     13562: fi
                   13563: 
1.128     moko     13564: ac_prog=ld
                   13565: if test "$GCC" = yes; then
                   13566:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13567:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13568: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13569:   case $host in
                   13570:   *-*-mingw*)
                   13571:     # gcc leaves a trailing carriage return which upsets mingw
                   13572:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13573:   *)
                   13574:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13575:   esac
                   13576:   case $ac_prog in
                   13577:     # Accept absolute paths.
                   13578:     [\\/]* | ?:[\\/]*)
                   13579:       re_direlt='/[^/][^/]*/\.\./'
                   13580:       # Canonicalize the pathname of ld
                   13581:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13582:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13583:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13584:       done
                   13585:       test -z "$LD" && LD="$ac_prog"
                   13586:       ;;
                   13587:   "")
                   13588:     # If it fails, then pretend we aren't using GCC.
                   13589:     ac_prog=ld
                   13590:     ;;
                   13591:   *)
                   13592:     # If it is relative, then search for the first ld in PATH.
                   13593:     with_gnu_ld=unknown
                   13594:     ;;
                   13595:   esac
                   13596: elif test "$with_gnu_ld" = yes; then
1.150     moko     13597:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13598: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13599: else
1.150     moko     13600:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13601: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13602: fi
1.150     moko     13603: if ${lt_cv_path_LD+:} false; then :
                   13604:   $as_echo_n "(cached) " >&6
1.128     moko     13605: else
                   13606:   if test -z "$LD"; then
                   13607:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13608:   for ac_dir in $PATH; do
                   13609:     IFS="$lt_save_ifs"
                   13610:     test -z "$ac_dir" && ac_dir=.
                   13611:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13612:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13613:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13614:       # but apparently some variants of GNU ld only accept -v.
                   13615:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13616:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13617:       *GNU* | *'with BFD'*)
                   13618:        test "$with_gnu_ld" != no && break
                   13619:        ;;
                   13620:       *)
                   13621:        test "$with_gnu_ld" != yes && break
                   13622:        ;;
                   13623:       esac
                   13624:     fi
                   13625:   done
                   13626:   IFS="$lt_save_ifs"
                   13627: else
                   13628:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13629: fi
                   13630: fi
                   13631: 
                   13632: LD="$lt_cv_path_LD"
                   13633: if test -n "$LD"; then
1.150     moko     13634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13635: $as_echo "$LD" >&6; }
1.128     moko     13636: else
1.150     moko     13637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13638: $as_echo "no" >&6; }
1.128     moko     13639: fi
1.150     moko     13640: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13642: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13643: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13644:   $as_echo_n "(cached) " >&6
1.128     moko     13645: else
                   13646:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13647: case `$LD -v 2>&1 </dev/null` in
                   13648: *GNU* | *'with BFD'*)
                   13649:   lt_cv_prog_gnu_ld=yes
                   13650:   ;;
                   13651: *)
                   13652:   lt_cv_prog_gnu_ld=no
                   13653:   ;;
                   13654: esac
                   13655: fi
1.150     moko     13656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13657: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13658: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13659: 
                   13660: 
                   13661: 
                   13662: 
                   13663: 
                   13664: 
                   13665: 
                   13666:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13667:       # archiving commands below assume that GNU ld is being used.
                   13668:       if test "$with_gnu_ld" = yes; then
                   13669:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13670:         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'
                   13671: 
                   13672:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13673:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13674: 
                   13675:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13676:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13677:         #     investigate it a little bit more. (MM)
                   13678:         wlarc='${wl}'
                   13679: 
                   13680:         # ancient GNU ld didn't support --whole-archive et. al.
                   13681:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13682:          $GREP 'no-whole-archive' > /dev/null; then
                   13683:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13684:         else
                   13685:           whole_archive_flag_spec_CXX=
                   13686:         fi
                   13687:       else
                   13688:         with_gnu_ld=no
                   13689:         wlarc=
                   13690: 
                   13691:         # A generic and very simple default shared library creation
                   13692:         # command for GNU C++ for the case where it uses the native
                   13693:         # linker, instead of GNU ld.  If possible, this setting should
                   13694:         # overridden to take advantage of the native linker features on
                   13695:         # the platform it is being used on.
                   13696:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13697:       fi
                   13698: 
                   13699:       # Commands to make compiler produce verbose output that lists
                   13700:       # what "hidden" libraries, object files and flags are used when
                   13701:       # linking a shared library.
                   13702:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13703: 
                   13704:     else
                   13705:       GXX=no
                   13706:       with_gnu_ld=no
                   13707:       wlarc=
                   13708:     fi
                   13709: 
                   13710:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13711:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13712: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13713:     ld_shlibs_CXX=yes
                   13714:     case $host_os in
                   13715:       aix3*)
                   13716:         # FIXME: insert proper C++ library support
                   13717:         ld_shlibs_CXX=no
                   13718:         ;;
                   13719:       aix[4-9]*)
                   13720:         if test "$host_cpu" = ia64; then
                   13721:           # On IA64, the linker does run time linking by default, so we don't
                   13722:           # have to do anything special.
                   13723:           aix_use_runtimelinking=no
                   13724:           exp_sym_flag='-Bexport'
                   13725:           no_entry_flag=""
                   13726:         else
                   13727:           aix_use_runtimelinking=no
                   13728: 
                   13729:           # Test if we are trying to use run time linking or normal
                   13730:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13731:           # need to do runtime linking.
                   13732:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13733:            for ld_flag in $LDFLAGS; do
                   13734:              case $ld_flag in
                   13735:              *-brtl*)
                   13736:                aix_use_runtimelinking=yes
                   13737:                break
                   13738:                ;;
                   13739:              esac
                   13740:            done
                   13741:            ;;
                   13742:           esac
                   13743: 
                   13744:           exp_sym_flag='-bexport'
                   13745:           no_entry_flag='-bnoentry'
                   13746:         fi
                   13747: 
                   13748:         # When large executables or shared objects are built, AIX ld can
                   13749:         # have problems creating the table of contents.  If linking a library
                   13750:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13751:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13752:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13753: 
                   13754:         archive_cmds_CXX=''
                   13755:         hardcode_direct_CXX=yes
                   13756:         hardcode_direct_absolute_CXX=yes
                   13757:         hardcode_libdir_separator_CXX=':'
                   13758:         link_all_deplibs_CXX=yes
                   13759:         file_list_spec_CXX='${wl}-f,'
                   13760: 
                   13761:         if test "$GXX" = yes; then
                   13762:           case $host_os in aix4.[012]|aix4.[012].*)
                   13763:           # We only want to do this on AIX 4.2 and lower, the check
                   13764:           # below for broken collect2 doesn't work under 4.3+
                   13765:          collect2name=`${CC} -print-prog-name=collect2`
                   13766:          if test -f "$collect2name" &&
                   13767:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13768:          then
                   13769:            # We have reworked collect2
                   13770:            :
                   13771:          else
                   13772:            # We have old collect2
                   13773:            hardcode_direct_CXX=unsupported
                   13774:            # It fails to find uninstalled libraries when the uninstalled
                   13775:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13776:            # to unsupported forces relinking
                   13777:            hardcode_minus_L_CXX=yes
                   13778:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13779:            hardcode_libdir_separator_CXX=
                   13780:          fi
                   13781:           esac
                   13782:           shared_flag='-shared'
                   13783:          if test "$aix_use_runtimelinking" = yes; then
                   13784:            shared_flag="$shared_flag "'${wl}-G'
                   13785:          fi
                   13786:         else
                   13787:           # not using gcc
                   13788:           if test "$host_cpu" = ia64; then
                   13789:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13790:          # chokes on -Wl,-G. The following line is correct:
                   13791:          shared_flag='-G'
                   13792:           else
                   13793:            if test "$aix_use_runtimelinking" = yes; then
                   13794:              shared_flag='${wl}-G'
                   13795:            else
                   13796:              shared_flag='${wl}-bM:SRE'
                   13797:            fi
                   13798:           fi
                   13799:         fi
                   13800: 
                   13801:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13802:         # It seems that -bexpall does not export symbols beginning with
                   13803:         # underscore (_), so it is better to generate a list of symbols to
                   13804:        # export.
                   13805:         always_export_symbols_CXX=yes
                   13806:         if test "$aix_use_runtimelinking" = yes; then
                   13807:           # Warning - without using the other runtime loading flags (-brtl),
                   13808:           # -berok will link without error, but may produce a broken library.
                   13809:           allow_undefined_flag_CXX='-berok'
                   13810:           # Determine the default libpath from the value encoded in an empty
                   13811:           # executable.
                   13812:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13813:   aix_libpath=$lt_cv_aix_libpath
                   13814: else
1.150     moko     13815:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13816:   $as_echo_n "(cached) " >&6
1.128     moko     13817: else
1.150     moko     13818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13819: /* end confdefs.h.  */
                   13820: 
                   13821: int
                   13822: main ()
                   13823: {
                   13824: 
                   13825:   ;
                   13826:   return 0;
                   13827: }
                   13828: _ACEOF
1.150     moko     13829: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13830: 
                   13831:   lt_aix_libpath_sed='
                   13832:       /Import File Strings/,/^$/ {
                   13833:          /^0/ {
                   13834:              s/^0  *\([^ ]*\) *$/\1/
                   13835:              p
                   13836:          }
                   13837:       }'
                   13838:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13839:   # Check for a 64-bit object if we didn't find anything.
                   13840:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13841:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13842:   fi
                   13843: fi
1.150     moko     13844: rm -f core conftest.err conftest.$ac_objext \
                   13845:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13846:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13847:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13848:   fi
                   13849: 
                   13850: fi
                   13851: 
                   13852:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13853: fi
                   13854: 
                   13855:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13856: 
                   13857:           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"
                   13858:         else
                   13859:           if test "$host_cpu" = ia64; then
                   13860:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13861:            allow_undefined_flag_CXX="-z nodefs"
                   13862:            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"
                   13863:           else
                   13864:            # Determine the default libpath from the value encoded in an
                   13865:            # empty executable.
                   13866:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13867:   aix_libpath=$lt_cv_aix_libpath
                   13868: else
1.150     moko     13869:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13870:   $as_echo_n "(cached) " >&6
1.128     moko     13871: else
1.150     moko     13872:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13873: /* end confdefs.h.  */
                   13874: 
                   13875: int
                   13876: main ()
                   13877: {
                   13878: 
                   13879:   ;
                   13880:   return 0;
                   13881: }
                   13882: _ACEOF
1.150     moko     13883: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13884: 
                   13885:   lt_aix_libpath_sed='
                   13886:       /Import File Strings/,/^$/ {
                   13887:          /^0/ {
                   13888:              s/^0  *\([^ ]*\) *$/\1/
                   13889:              p
                   13890:          }
                   13891:       }'
                   13892:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13893:   # Check for a 64-bit object if we didn't find anything.
                   13894:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13895:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13896:   fi
                   13897: fi
1.150     moko     13898: rm -f core conftest.err conftest.$ac_objext \
                   13899:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13900:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13901:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13902:   fi
                   13903: 
                   13904: fi
                   13905: 
                   13906:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13907: fi
                   13908: 
                   13909:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13910:            # Warning - without using the other run time loading flags,
                   13911:            # -berok will link without error, but may produce a broken library.
                   13912:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13913:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13914:            if test "$with_gnu_ld" = yes; then
                   13915:              # We only use this code for GNU lds that support --whole-archive.
                   13916:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13917:            else
                   13918:              # Exported symbols can be pulled into shared objects from archives
                   13919:              whole_archive_flag_spec_CXX='$convenience'
                   13920:            fi
                   13921:            archive_cmds_need_lc_CXX=yes
                   13922:            # This is similar to how AIX traditionally builds its shared
                   13923:            # libraries.
                   13924:            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'
                   13925:           fi
                   13926:         fi
                   13927:         ;;
                   13928: 
                   13929:       beos*)
                   13930:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13931:          allow_undefined_flag_CXX=unsupported
                   13932:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13933:          # support --undefined.  This deserves some investigation.  FIXME
                   13934:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13935:        else
                   13936:          ld_shlibs_CXX=no
                   13937:        fi
                   13938:        ;;
                   13939: 
                   13940:       chorus*)
                   13941:         case $cc_basename in
                   13942:           *)
                   13943:          # FIXME: insert proper C++ library support
                   13944:          ld_shlibs_CXX=no
                   13945:          ;;
                   13946:         esac
                   13947:         ;;
                   13948: 
                   13949:       cygwin* | mingw* | pw32* | cegcc*)
                   13950:        case $GXX,$cc_basename in
                   13951:        ,cl* | no,cl*)
                   13952:          # Native MSVC
                   13953:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13954:          # no search path for DLLs.
                   13955:          hardcode_libdir_flag_spec_CXX=' '
                   13956:          allow_undefined_flag_CXX=unsupported
                   13957:          always_export_symbols_CXX=yes
                   13958:          file_list_spec_CXX='@'
                   13959:          # Tell ltmain to make .lib files, not .a files.
                   13960:          libext=lib
                   13961:          # Tell ltmain to make .dll files, not .so files.
                   13962:          shrext_cmds=".dll"
                   13963:          # FIXME: Setting linknames here is a bad hack.
                   13964:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13965:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13966:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13967:            else
                   13968:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13969:            fi~
                   13970:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13971:            linknames='
                   13972:          # The linker will not automatically build a static lib if we build a DLL.
                   13973:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13974:          enable_shared_with_static_runtimes_CXX=yes
                   13975:          # Don't use ranlib
                   13976:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13977:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13978:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13979:            case $lt_outputfile in
                   13980:              *.exe|*.EXE) ;;
                   13981:              *)
                   13982:                lt_outputfile="$lt_outputfile.exe"
                   13983:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13984:                ;;
                   13985:            esac~
                   13986:            func_to_tool_file "$lt_outputfile"~
                   13987:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13988:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13989:              $RM "$lt_outputfile.manifest";
                   13990:            fi'
                   13991:          ;;
                   13992:        *)
                   13993:          # g++
                   13994:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13995:          # as there is no search path for DLLs.
                   13996:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13997:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13998:          allow_undefined_flag_CXX=unsupported
                   13999:          always_export_symbols_CXX=no
                   14000:          enable_shared_with_static_runtimes_CXX=yes
                   14001: 
                   14002:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   14003:            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'
                   14004:            # If the export-symbols file already is a .def file (1st line
                   14005:            # is EXPORTS), use it as is; otherwise, prepend...
                   14006:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   14007:              cp $export_symbols $output_objdir/$soname.def;
                   14008:            else
                   14009:              echo EXPORTS > $output_objdir/$soname.def;
                   14010:              cat $export_symbols >> $output_objdir/$soname.def;
                   14011:            fi~
                   14012:            $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'
                   14013:          else
                   14014:            ld_shlibs_CXX=no
                   14015:          fi
                   14016:          ;;
                   14017:        esac
                   14018:        ;;
                   14019:       darwin* | rhapsody*)
                   14020: 
                   14021: 
                   14022:   archive_cmds_need_lc_CXX=no
                   14023:   hardcode_direct_CXX=no
                   14024:   hardcode_automatic_CXX=yes
                   14025:   hardcode_shlibpath_var_CXX=unsupported
                   14026:   if test "$lt_cv_ld_force_load" = "yes"; then
                   14027:     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\"`'
                   14028: 
                   14029:   else
                   14030:     whole_archive_flag_spec_CXX=''
                   14031:   fi
                   14032:   link_all_deplibs_CXX=yes
                   14033:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   14034:   case $cc_basename in
                   14035:      ifort*) _lt_dar_can_shared=yes ;;
                   14036:      *) _lt_dar_can_shared=$GCC ;;
                   14037:   esac
                   14038:   if test "$_lt_dar_can_shared" = "yes"; then
                   14039:     output_verbose_link_cmd=func_echo_all
                   14040:     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}"
                   14041:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   14042:     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}"
                   14043:     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}"
                   14044:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   14045:       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}"
                   14046:       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}"
                   14047:     fi
                   14048: 
                   14049:   else
                   14050:   ld_shlibs_CXX=no
                   14051:   fi
                   14052: 
                   14053:        ;;
                   14054: 
                   14055:       dgux*)
                   14056:         case $cc_basename in
                   14057:           ec++*)
                   14058:            # FIXME: insert proper C++ library support
                   14059:            ld_shlibs_CXX=no
                   14060:            ;;
                   14061:           ghcx*)
                   14062:            # Green Hills C++ Compiler
                   14063:            # FIXME: insert proper C++ library support
                   14064:            ld_shlibs_CXX=no
                   14065:            ;;
                   14066:           *)
                   14067:            # FIXME: insert proper C++ library support
                   14068:            ld_shlibs_CXX=no
                   14069:            ;;
                   14070:         esac
                   14071:         ;;
                   14072: 
                   14073:       freebsd2.*)
                   14074:         # C++ shared libraries reported to be fairly broken before
                   14075:        # switch to ELF
                   14076:         ld_shlibs_CXX=no
                   14077:         ;;
                   14078: 
                   14079:       freebsd-elf*)
                   14080:         archive_cmds_need_lc_CXX=no
                   14081:         ;;
                   14082: 
                   14083:       freebsd* | dragonfly*)
                   14084:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   14085:         # conventions
                   14086:         ld_shlibs_CXX=yes
                   14087:         ;;
                   14088: 
                   14089:       gnu*)
                   14090:         ;;
                   14091: 
                   14092:       haiku*)
                   14093:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14094:         link_all_deplibs_CXX=yes
                   14095:         ;;
                   14096: 
                   14097:       hpux9*)
                   14098:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14099:         hardcode_libdir_separator_CXX=:
                   14100:         export_dynamic_flag_spec_CXX='${wl}-E'
                   14101:         hardcode_direct_CXX=yes
                   14102:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14103:                                             # but as the default
                   14104:                                             # location of the library.
                   14105: 
                   14106:         case $cc_basename in
                   14107:           CC*)
                   14108:             # FIXME: insert proper C++ library support
                   14109:             ld_shlibs_CXX=no
                   14110:             ;;
                   14111:           aCC*)
                   14112:             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'
                   14113:             # Commands to make compiler produce verbose output that lists
                   14114:             # what "hidden" libraries, object files and flags are used when
                   14115:             # linking a shared library.
                   14116:             #
                   14117:             # There doesn't appear to be a way to prevent this compiler from
                   14118:             # explicitly linking system object files so we need to strip them
                   14119:             # from the output so that they don't get included in the library
                   14120:             # dependencies.
                   14121:             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"'
                   14122:             ;;
                   14123:           *)
                   14124:             if test "$GXX" = yes; then
                   14125:               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'
                   14126:             else
                   14127:               # FIXME: insert proper C++ library support
                   14128:               ld_shlibs_CXX=no
                   14129:             fi
                   14130:             ;;
                   14131:         esac
                   14132:         ;;
                   14133: 
                   14134:       hpux10*|hpux11*)
                   14135:         if test $with_gnu_ld = no; then
                   14136:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   14137:          hardcode_libdir_separator_CXX=:
                   14138: 
                   14139:           case $host_cpu in
                   14140:             hppa*64*|ia64*)
                   14141:               ;;
                   14142:             *)
                   14143:              export_dynamic_flag_spec_CXX='${wl}-E'
                   14144:               ;;
                   14145:           esac
                   14146:         fi
                   14147:         case $host_cpu in
                   14148:           hppa*64*|ia64*)
                   14149:             hardcode_direct_CXX=no
                   14150:             hardcode_shlibpath_var_CXX=no
                   14151:             ;;
                   14152:           *)
                   14153:             hardcode_direct_CXX=yes
                   14154:             hardcode_direct_absolute_CXX=yes
                   14155:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   14156:                                                 # but as the default
                   14157:                                                 # location of the library.
                   14158:             ;;
                   14159:         esac
                   14160: 
                   14161:         case $cc_basename in
                   14162:           CC*)
                   14163:            # FIXME: insert proper C++ library support
                   14164:            ld_shlibs_CXX=no
                   14165:            ;;
                   14166:           aCC*)
                   14167:            case $host_cpu in
                   14168:              hppa*64*)
                   14169:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14170:                ;;
                   14171:              ia64*)
                   14172:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14173:                ;;
                   14174:              *)
                   14175:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14176:                ;;
                   14177:            esac
                   14178:            # Commands to make compiler produce verbose output that lists
                   14179:            # what "hidden" libraries, object files and flags are used when
                   14180:            # linking a shared library.
                   14181:            #
                   14182:            # There doesn't appear to be a way to prevent this compiler from
                   14183:            # explicitly linking system object files so we need to strip them
                   14184:            # from the output so that they don't get included in the library
                   14185:            # dependencies.
                   14186:            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"'
                   14187:            ;;
                   14188:           *)
                   14189:            if test "$GXX" = yes; then
                   14190:              if test $with_gnu_ld = no; then
                   14191:                case $host_cpu in
                   14192:                  hppa*64*)
                   14193:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14194:                    ;;
                   14195:                  ia64*)
                   14196:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14197:                    ;;
                   14198:                  *)
                   14199:                    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'
                   14200:                    ;;
                   14201:                esac
                   14202:              fi
                   14203:            else
                   14204:              # FIXME: insert proper C++ library support
                   14205:              ld_shlibs_CXX=no
                   14206:            fi
                   14207:            ;;
                   14208:         esac
                   14209:         ;;
                   14210: 
                   14211:       interix[3-9]*)
                   14212:        hardcode_direct_CXX=no
                   14213:        hardcode_shlibpath_var_CXX=no
                   14214:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14215:        export_dynamic_flag_spec_CXX='${wl}-E'
                   14216:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   14217:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   14218:        # default) and relocated if they conflict, which is a slow very memory
                   14219:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   14220:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   14221:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   14222:        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'
                   14223:        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'
                   14224:        ;;
                   14225:       irix5* | irix6*)
                   14226:         case $cc_basename in
                   14227:           CC*)
                   14228:            # SGI C++
                   14229:            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'
                   14230: 
                   14231:            # Archives containing C++ object files must be created using
                   14232:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   14233:            # necessary to make sure instantiated templates are included
                   14234:            # in the archive.
                   14235:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   14236:            ;;
                   14237:           *)
                   14238:            if test "$GXX" = yes; then
                   14239:              if test "$with_gnu_ld" = no; then
                   14240:                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'
                   14241:              else
                   14242:                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'
                   14243:              fi
                   14244:            fi
                   14245:            link_all_deplibs_CXX=yes
                   14246:            ;;
                   14247:         esac
                   14248:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14249:         hardcode_libdir_separator_CXX=:
                   14250:         inherit_rpath_CXX=yes
                   14251:         ;;
                   14252: 
                   14253:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14254:         case $cc_basename in
                   14255:           KCC*)
                   14256:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14257: 
                   14258:            # KCC will only create a shared library if the output file
                   14259:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14260:            # to its proper name (with version) after linking.
                   14261:            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'
                   14262:            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'
                   14263:            # Commands to make compiler produce verbose output that lists
                   14264:            # what "hidden" libraries, object files and flags are used when
                   14265:            # linking a shared library.
                   14266:            #
                   14267:            # There doesn't appear to be a way to prevent this compiler from
                   14268:            # explicitly linking system object files so we need to strip them
                   14269:            # from the output so that they don't get included in the library
                   14270:            # dependencies.
                   14271:            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"'
                   14272: 
                   14273:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14274:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14275: 
                   14276:            # Archives containing C++ object files must be created using
                   14277:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   14278:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   14279:            ;;
                   14280:          icpc* | ecpc* )
                   14281:            # Intel C++
                   14282:            with_gnu_ld=yes
                   14283:            # version 8.0 and above of icpc choke on multiply defined symbols
                   14284:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   14285:            # earlier do not add the objects themselves.
                   14286:            case `$CC -V 2>&1` in
                   14287:              *"Version 7."*)
                   14288:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14289:                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'
                   14290:                ;;
                   14291:              *)  # Version 8.0 or newer
                   14292:                tmp_idyn=
                   14293:                case $host_cpu in
                   14294:                  ia64*) tmp_idyn=' -i_dynamic';;
                   14295:                esac
                   14296:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14297:                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'
                   14298:                ;;
                   14299:            esac
                   14300:            archive_cmds_need_lc_CXX=no
                   14301:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14302:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14303:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   14304:            ;;
                   14305:           pgCC* | pgcpp*)
                   14306:             # Portland Group C++ compiler
                   14307:            case `$CC -V` in
                   14308:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   14309:              prelink_cmds_CXX='tpldir=Template.dir~
                   14310:                rm -rf $tpldir~
                   14311:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   14312:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   14313:              old_archive_cmds_CXX='tpldir=Template.dir~
                   14314:                rm -rf $tpldir~
                   14315:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   14316:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   14317:                $RANLIB $oldlib'
                   14318:              archive_cmds_CXX='tpldir=Template.dir~
                   14319:                rm -rf $tpldir~
                   14320:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14321:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14322:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   14323:                rm -rf $tpldir~
                   14324:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   14325:                $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'
                   14326:              ;;
                   14327:            *) # Version 6 and above use weak symbols
                   14328:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   14329:              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'
                   14330:              ;;
                   14331:            esac
                   14332: 
                   14333:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   14334:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14335:            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'
                   14336:             ;;
                   14337:          cxx*)
                   14338:            # Compaq C++
                   14339:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14340:            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'
                   14341: 
                   14342:            runpath_var=LD_RUN_PATH
                   14343:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14344:            hardcode_libdir_separator_CXX=:
                   14345: 
                   14346:            # Commands to make compiler produce verbose output that lists
                   14347:            # what "hidden" libraries, object files and flags are used when
                   14348:            # linking a shared library.
                   14349:            #
                   14350:            # There doesn't appear to be a way to prevent this compiler from
                   14351:            # explicitly linking system object files so we need to strip them
                   14352:            # from the output so that they don't get included in the library
                   14353:            # dependencies.
                   14354:            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'
                   14355:            ;;
                   14356:          xl* | mpixl* | bgxl*)
                   14357:            # IBM XL 8.0 on PPC, with GNU ld
                   14358:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14359:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   14360:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   14361:            if test "x$supports_anon_versioning" = xyes; then
                   14362:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   14363:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   14364:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   14365:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   14366:            fi
                   14367:            ;;
                   14368:          *)
                   14369:            case `$CC -V 2>&1 | sed 5q` in
                   14370:            *Sun\ C*)
                   14371:              # Sun C++ 5.9
                   14372:              no_undefined_flag_CXX=' -zdefs'
                   14373:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14374:              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'
                   14375:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14376:              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'
                   14377:              compiler_needs_object_CXX=yes
                   14378: 
                   14379:              # Not sure whether something based on
                   14380:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14381:              # would be better.
                   14382:              output_verbose_link_cmd='func_echo_all'
                   14383: 
                   14384:              # Archives containing C++ object files must be created using
                   14385:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14386:              # necessary to make sure instantiated templates are included
                   14387:              # in the archive.
                   14388:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14389:              ;;
                   14390:            esac
                   14391:            ;;
                   14392:        esac
                   14393:        ;;
                   14394: 
                   14395:       lynxos*)
                   14396:         # FIXME: insert proper C++ library support
                   14397:        ld_shlibs_CXX=no
                   14398:        ;;
                   14399: 
                   14400:       m88k*)
                   14401:         # FIXME: insert proper C++ library support
                   14402:         ld_shlibs_CXX=no
                   14403:        ;;
                   14404: 
                   14405:       mvs*)
                   14406:         case $cc_basename in
                   14407:           cxx*)
                   14408:            # FIXME: insert proper C++ library support
                   14409:            ld_shlibs_CXX=no
                   14410:            ;;
                   14411:          *)
                   14412:            # FIXME: insert proper C++ library support
                   14413:            ld_shlibs_CXX=no
                   14414:            ;;
                   14415:        esac
                   14416:        ;;
                   14417: 
                   14418:       netbsd*)
                   14419:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14420:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14421:          wlarc=
                   14422:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14423:          hardcode_direct_CXX=yes
                   14424:          hardcode_shlibpath_var_CXX=no
                   14425:        fi
                   14426:        # Workaround some broken pre-1.5 toolchains
                   14427:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14428:        ;;
                   14429: 
                   14430:       *nto* | *qnx*)
                   14431:         ld_shlibs_CXX=yes
                   14432:        ;;
                   14433: 
                   14434:       openbsd2*)
                   14435:         # C++ shared libraries are fairly broken
                   14436:        ld_shlibs_CXX=no
                   14437:        ;;
                   14438: 
                   14439:       openbsd*)
                   14440:        if test -f /usr/libexec/ld.so; then
                   14441:          hardcode_direct_CXX=yes
                   14442:          hardcode_shlibpath_var_CXX=no
                   14443:          hardcode_direct_absolute_CXX=yes
                   14444:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14445:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14446:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14447:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14448:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14449:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14450:          fi
                   14451:          output_verbose_link_cmd=func_echo_all
                   14452:        else
                   14453:          ld_shlibs_CXX=no
                   14454:        fi
                   14455:        ;;
                   14456: 
                   14457:       osf3* | osf4* | osf5*)
                   14458:         case $cc_basename in
                   14459:           KCC*)
                   14460:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14461: 
                   14462:            # KCC will only create a shared library if the output file
                   14463:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14464:            # to its proper name (with version) after linking.
                   14465:            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'
                   14466: 
                   14467:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14468:            hardcode_libdir_separator_CXX=:
                   14469: 
                   14470:            # Archives containing C++ object files must be created using
                   14471:            # the KAI C++ compiler.
                   14472:            case $host in
                   14473:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14474:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14475:            esac
                   14476:            ;;
                   14477:           RCC*)
                   14478:            # Rational C++ 2.4.1
                   14479:            # FIXME: insert proper C++ library support
                   14480:            ld_shlibs_CXX=no
                   14481:            ;;
                   14482:           cxx*)
                   14483:            case $host in
                   14484:              osf3*)
                   14485:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14486:                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'
                   14487:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14488:                ;;
                   14489:              *)
                   14490:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14491:                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'
                   14492:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14493:                  echo "-hidden">> $lib.exp~
                   14494:                  $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~
                   14495:                  $RM $lib.exp'
                   14496:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14497:                ;;
                   14498:            esac
                   14499: 
                   14500:            hardcode_libdir_separator_CXX=:
                   14501: 
                   14502:            # Commands to make compiler produce verbose output that lists
                   14503:            # what "hidden" libraries, object files and flags are used when
                   14504:            # linking a shared library.
                   14505:            #
                   14506:            # There doesn't appear to be a way to prevent this compiler from
                   14507:            # explicitly linking system object files so we need to strip them
                   14508:            # from the output so that they don't get included in the library
                   14509:            # dependencies.
                   14510:            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"'
                   14511:            ;;
                   14512:          *)
                   14513:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14514:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14515:              case $host in
                   14516:                osf3*)
                   14517:                  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'
                   14518:                  ;;
                   14519:                *)
                   14520:                  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'
                   14521:                  ;;
                   14522:              esac
                   14523: 
                   14524:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14525:              hardcode_libdir_separator_CXX=:
                   14526: 
                   14527:              # Commands to make compiler produce verbose output that lists
                   14528:              # what "hidden" libraries, object files and flags are used when
                   14529:              # linking a shared library.
                   14530:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14531: 
                   14532:            else
                   14533:              # FIXME: insert proper C++ library support
                   14534:              ld_shlibs_CXX=no
                   14535:            fi
                   14536:            ;;
                   14537:         esac
                   14538:         ;;
                   14539: 
                   14540:       psos*)
                   14541:         # FIXME: insert proper C++ library support
                   14542:         ld_shlibs_CXX=no
                   14543:         ;;
                   14544: 
                   14545:       sunos4*)
                   14546:         case $cc_basename in
                   14547:           CC*)
                   14548:            # Sun C++ 4.x
                   14549:            # FIXME: insert proper C++ library support
                   14550:            ld_shlibs_CXX=no
                   14551:            ;;
                   14552:           lcc*)
                   14553:            # Lucid
                   14554:            # FIXME: insert proper C++ library support
                   14555:            ld_shlibs_CXX=no
                   14556:            ;;
                   14557:           *)
                   14558:            # FIXME: insert proper C++ library support
                   14559:            ld_shlibs_CXX=no
                   14560:            ;;
                   14561:         esac
                   14562:         ;;
                   14563: 
                   14564:       solaris*)
                   14565:         case $cc_basename in
                   14566:           CC* | sunCC*)
                   14567:            # Sun C++ 4.2, 5.x and Centerline C++
                   14568:             archive_cmds_need_lc_CXX=yes
                   14569:            no_undefined_flag_CXX=' -zdefs'
                   14570:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14571:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14572:              $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'
                   14573: 
                   14574:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14575:            hardcode_shlibpath_var_CXX=no
                   14576:            case $host_os in
                   14577:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14578:              *)
                   14579:                # The compiler driver will combine and reorder linker options,
                   14580:                # but understands `-z linker_flag'.
                   14581:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14582:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14583:                ;;
                   14584:            esac
                   14585:            link_all_deplibs_CXX=yes
                   14586: 
                   14587:            output_verbose_link_cmd='func_echo_all'
                   14588: 
                   14589:            # Archives containing C++ object files must be created using
                   14590:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14591:            # necessary to make sure instantiated templates are included
                   14592:            # in the archive.
                   14593:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14594:            ;;
                   14595:           gcx*)
                   14596:            # Green Hills C++ Compiler
                   14597:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14598: 
                   14599:            # The C++ compiler must be used to create the archive.
                   14600:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14601:            ;;
                   14602:           *)
                   14603:            # GNU C++ compiler with Solaris linker
                   14604:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14605:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14606:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14607:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14608:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14609:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14610: 
                   14611:                # Commands to make compiler produce verbose output that lists
                   14612:                # what "hidden" libraries, object files and flags are used when
                   14613:                # linking a shared library.
                   14614:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14615:              else
                   14616:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14617:                # platform.
                   14618:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14619:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14620:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14621: 
                   14622:                # Commands to make compiler produce verbose output that lists
                   14623:                # what "hidden" libraries, object files and flags are used when
                   14624:                # linking a shared library.
                   14625:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14626:              fi
                   14627: 
                   14628:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14629:              case $host_os in
                   14630:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14631:                *)
                   14632:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14633:                  ;;
                   14634:              esac
                   14635:            fi
                   14636:            ;;
                   14637:         esac
                   14638:         ;;
                   14639: 
                   14640:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14641:       no_undefined_flag_CXX='${wl}-z,text'
                   14642:       archive_cmds_need_lc_CXX=no
                   14643:       hardcode_shlibpath_var_CXX=no
                   14644:       runpath_var='LD_RUN_PATH'
                   14645: 
                   14646:       case $cc_basename in
                   14647:         CC*)
                   14648:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14649:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14650:          ;;
                   14651:        *)
                   14652:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14653:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14654:          ;;
                   14655:       esac
                   14656:       ;;
                   14657: 
                   14658:       sysv5* | sco3.2v5* | sco5v6*)
                   14659:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14660:        # link with -lc, and that would cause any symbols used from libc to
                   14661:        # always be unresolved, which means just about no library would
                   14662:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14663:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14664:        # as -z defs.
                   14665:        no_undefined_flag_CXX='${wl}-z,text'
                   14666:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14667:        archive_cmds_need_lc_CXX=no
                   14668:        hardcode_shlibpath_var_CXX=no
                   14669:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14670:        hardcode_libdir_separator_CXX=':'
                   14671:        link_all_deplibs_CXX=yes
                   14672:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14673:        runpath_var='LD_RUN_PATH'
                   14674: 
                   14675:        case $cc_basename in
                   14676:           CC*)
                   14677:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14678:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14679:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14680:              '"$old_archive_cmds_CXX"
                   14681:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14682:              '"$reload_cmds_CXX"
                   14683:            ;;
                   14684:          *)
                   14685:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14686:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14687:            ;;
                   14688:        esac
                   14689:       ;;
                   14690: 
                   14691:       tandem*)
                   14692:         case $cc_basename in
                   14693:           NCC*)
                   14694:            # NonStop-UX NCC 3.20
                   14695:            # FIXME: insert proper C++ library support
                   14696:            ld_shlibs_CXX=no
                   14697:            ;;
                   14698:           *)
                   14699:            # FIXME: insert proper C++ library support
                   14700:            ld_shlibs_CXX=no
                   14701:            ;;
                   14702:         esac
                   14703:         ;;
                   14704: 
                   14705:       vxworks*)
                   14706:         # FIXME: insert proper C++ library support
                   14707:         ld_shlibs_CXX=no
                   14708:         ;;
                   14709: 
                   14710:       *)
                   14711:         # FIXME: insert proper C++ library support
                   14712:         ld_shlibs_CXX=no
                   14713:         ;;
                   14714:     esac
                   14715: 
1.150     moko     14716:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14717: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14718:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14719: 
                   14720:     GCC_CXX="$GXX"
                   14721:     LD_CXX="$LD"
                   14722: 
                   14723:     ## CAVEAT EMPTOR:
                   14724:     ## There is no encapsulation within the following macros, do not change
                   14725:     ## the running order or otherwise move them around unless you know exactly
                   14726:     ## what you are doing...
                   14727:     # Dependencies to place before and after the object being linked:
                   14728: predep_objects_CXX=
                   14729: postdep_objects_CXX=
                   14730: predeps_CXX=
                   14731: postdeps_CXX=
                   14732: compiler_lib_search_path_CXX=
                   14733: 
                   14734: cat > conftest.$ac_ext <<_LT_EOF
                   14735: class Foo
                   14736: {
                   14737: public:
                   14738:   Foo (void) { a = 0; }
                   14739: private:
                   14740:   int a;
                   14741: };
                   14742: _LT_EOF
                   14743: 
                   14744: 
                   14745: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14746: case "$CC $CFLAGS " in #(
                   14747: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14748: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14749: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14750: esac
                   14751: 
1.150     moko     14752: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14753:   (eval $ac_compile) 2>&5
                   14754:   ac_status=$?
1.150     moko     14755:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14756:   test $ac_status = 0; }; then
1.128     moko     14757:   # Parse the compiler output and extract the necessary
                   14758:   # objects, libraries and library flags.
                   14759: 
                   14760:   # Sentinel used to keep track of whether or not we are before
                   14761:   # the conftest object file.
                   14762:   pre_test_object_deps_done=no
                   14763: 
                   14764:   for p in `eval "$output_verbose_link_cmd"`; do
                   14765:     case ${prev}${p} in
                   14766: 
                   14767:     -L* | -R* | -l*)
                   14768:        # Some compilers place space between "-{L,R}" and the path.
                   14769:        # Remove the space.
                   14770:        if test $p = "-L" ||
                   14771:           test $p = "-R"; then
                   14772:         prev=$p
                   14773:         continue
                   14774:        fi
                   14775: 
                   14776:        # Expand the sysroot to ease extracting the directories later.
                   14777:        if test -z "$prev"; then
                   14778:          case $p in
                   14779:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14780:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14781:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14782:          esac
                   14783:        fi
                   14784:        case $p in
                   14785:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14786:        esac
                   14787:        if test "$pre_test_object_deps_done" = no; then
                   14788:         case ${prev} in
                   14789:         -L | -R)
                   14790:           # Internal compiler library paths should come after those
                   14791:           # provided the user.  The postdeps already come after the
                   14792:           # user supplied libs so there is no need to process them.
                   14793:           if test -z "$compiler_lib_search_path_CXX"; then
                   14794:             compiler_lib_search_path_CXX="${prev}${p}"
                   14795:           else
                   14796:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14797:           fi
                   14798:           ;;
                   14799:         # The "-l" case would never come before the object being
                   14800:         # linked, so don't bother handling this case.
                   14801:         esac
                   14802:        else
                   14803:         if test -z "$postdeps_CXX"; then
                   14804:           postdeps_CXX="${prev}${p}"
                   14805:         else
                   14806:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14807:         fi
                   14808:        fi
                   14809:        prev=
                   14810:        ;;
                   14811: 
                   14812:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14813:     *.$objext)
                   14814:        # This assumes that the test object file only shows up
                   14815:        # once in the compiler output.
                   14816:        if test "$p" = "conftest.$objext"; then
                   14817:         pre_test_object_deps_done=yes
                   14818:         continue
                   14819:        fi
                   14820: 
                   14821:        if test "$pre_test_object_deps_done" = no; then
                   14822:         if test -z "$predep_objects_CXX"; then
                   14823:           predep_objects_CXX="$p"
                   14824:         else
                   14825:           predep_objects_CXX="$predep_objects_CXX $p"
                   14826:         fi
                   14827:        else
                   14828:         if test -z "$postdep_objects_CXX"; then
                   14829:           postdep_objects_CXX="$p"
                   14830:         else
                   14831:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14832:         fi
                   14833:        fi
                   14834:        ;;
                   14835: 
                   14836:     *) ;; # Ignore the rest.
                   14837: 
                   14838:     esac
                   14839:   done
                   14840: 
                   14841:   # Clean up.
                   14842:   rm -f a.out a.exe
                   14843: else
                   14844:   echo "libtool.m4: error: problem compiling CXX test program"
                   14845: fi
                   14846: 
                   14847: $RM -f confest.$objext
                   14848: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14849: 
                   14850: # PORTME: override above test on systems where it is broken
                   14851: case $host_os in
                   14852: interix[3-9]*)
                   14853:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14854:   # hack all around it, let's just trust "g++" to DTRT.
                   14855:   predep_objects_CXX=
                   14856:   postdep_objects_CXX=
                   14857:   postdeps_CXX=
                   14858:   ;;
                   14859: 
                   14860: linux*)
                   14861:   case `$CC -V 2>&1 | sed 5q` in
                   14862:   *Sun\ C*)
                   14863:     # Sun C++ 5.9
                   14864: 
                   14865:     # The more standards-conforming stlport4 library is
                   14866:     # incompatible with the Cstd library. Avoid specifying
                   14867:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14868:     # -library=stlport4 depends on it.
                   14869:     case " $CXX $CXXFLAGS " in
                   14870:     *" -library=stlport4 "*)
                   14871:       solaris_use_stlport4=yes
                   14872:       ;;
                   14873:     esac
                   14874: 
                   14875:     if test "$solaris_use_stlport4" != yes; then
                   14876:       postdeps_CXX='-library=Cstd -library=Crun'
                   14877:     fi
                   14878:     ;;
                   14879:   esac
                   14880:   ;;
                   14881: 
                   14882: solaris*)
                   14883:   case $cc_basename in
                   14884:   CC* | sunCC*)
                   14885:     # The more standards-conforming stlport4 library is
                   14886:     # incompatible with the Cstd library. Avoid specifying
                   14887:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14888:     # -library=stlport4 depends on it.
                   14889:     case " $CXX $CXXFLAGS " in
                   14890:     *" -library=stlport4 "*)
                   14891:       solaris_use_stlport4=yes
                   14892:       ;;
                   14893:     esac
                   14894: 
                   14895:     # Adding this requires a known-good setup of shared libraries for
                   14896:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14897:     # archive will be linked into the output, leading to subtle bugs.
                   14898:     if test "$solaris_use_stlport4" != yes; then
                   14899:       postdeps_CXX='-library=Cstd -library=Crun'
                   14900:     fi
                   14901:     ;;
                   14902:   esac
                   14903:   ;;
                   14904: esac
                   14905: 
                   14906: 
                   14907: case " $postdeps_CXX " in
                   14908: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14909: esac
                   14910:  compiler_lib_search_dirs_CXX=
                   14911: if test -n "${compiler_lib_search_path_CXX}"; then
                   14912:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14913: fi
                   14914: 
                   14915: 
                   14916: 
                   14917: 
                   14918: 
                   14919: 
                   14920: 
                   14921: 
                   14922: 
                   14923: 
                   14924: 
                   14925: 
                   14926: 
                   14927: 
                   14928: 
                   14929: 
                   14930: 
                   14931: 
                   14932: 
                   14933: 
                   14934: 
                   14935: 
                   14936: 
                   14937: 
                   14938: 
                   14939: 
                   14940: 
                   14941: 
                   14942: 
                   14943: 
                   14944: 
                   14945:     lt_prog_compiler_wl_CXX=
                   14946: lt_prog_compiler_pic_CXX=
                   14947: lt_prog_compiler_static_CXX=
                   14948: 
                   14949: 
                   14950:   # C++ specific cases for pic, static, wl, etc.
                   14951:   if test "$GXX" = yes; then
                   14952:     lt_prog_compiler_wl_CXX='-Wl,'
                   14953:     lt_prog_compiler_static_CXX='-static'
                   14954: 
                   14955:     case $host_os in
                   14956:     aix*)
                   14957:       # All AIX code is PIC.
                   14958:       if test "$host_cpu" = ia64; then
                   14959:        # AIX 5 now supports IA64 processor
                   14960:        lt_prog_compiler_static_CXX='-Bstatic'
                   14961:       fi
                   14962:       ;;
                   14963: 
                   14964:     amigaos*)
                   14965:       case $host_cpu in
                   14966:       powerpc)
                   14967:             # see comment about AmigaOS4 .so support
                   14968:             lt_prog_compiler_pic_CXX='-fPIC'
                   14969:         ;;
                   14970:       m68k)
                   14971:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14972:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14973:             # like `-m68040'.
                   14974:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14975:         ;;
                   14976:       esac
                   14977:       ;;
                   14978: 
                   14979:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14980:       # PIC is the default for these OSes.
                   14981:       ;;
                   14982:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14983:       # This hack is so that the source file can tell whether it is being
                   14984:       # built for inclusion in a dll (and should export symbols for example).
                   14985:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14986:       # (--disable-auto-import) libraries
                   14987:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14988:       ;;
                   14989:     darwin* | rhapsody*)
                   14990:       # PIC is the default on this platform
                   14991:       # Common symbols not allowed in MH_DYLIB files
                   14992:       lt_prog_compiler_pic_CXX='-fno-common'
                   14993:       ;;
                   14994:     *djgpp*)
                   14995:       # DJGPP does not support shared libraries at all
                   14996:       lt_prog_compiler_pic_CXX=
                   14997:       ;;
                   14998:     haiku*)
                   14999:       # PIC is the default for Haiku.
                   15000:       # The "-static" flag exists, but is broken.
                   15001:       lt_prog_compiler_static_CXX=
                   15002:       ;;
                   15003:     interix[3-9]*)
                   15004:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   15005:       # Instead, we relocate shared libraries at runtime.
                   15006:       ;;
                   15007:     sysv4*MP*)
                   15008:       if test -d /usr/nec; then
                   15009:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   15010:       fi
                   15011:       ;;
                   15012:     hpux*)
                   15013:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   15014:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   15015:       # sets the default TLS model and affects inlining.
                   15016:       case $host_cpu in
                   15017:       hppa*64*)
                   15018:        ;;
                   15019:       *)
                   15020:        lt_prog_compiler_pic_CXX='-fPIC'
                   15021:        ;;
                   15022:       esac
                   15023:       ;;
                   15024:     *qnx* | *nto*)
                   15025:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15026:       # it will coredump.
                   15027:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15028:       ;;
                   15029:     *)
                   15030:       lt_prog_compiler_pic_CXX='-fPIC'
                   15031:       ;;
                   15032:     esac
                   15033:   else
                   15034:     case $host_os in
                   15035:       aix[4-9]*)
                   15036:        # All AIX code is PIC.
                   15037:        if test "$host_cpu" = ia64; then
                   15038:          # AIX 5 now supports IA64 processor
                   15039:          lt_prog_compiler_static_CXX='-Bstatic'
                   15040:        else
                   15041:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   15042:        fi
                   15043:        ;;
                   15044:       chorus*)
                   15045:        case $cc_basename in
                   15046:        cxch68*)
                   15047:          # Green Hills C++ Compiler
                   15048:          # _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"
                   15049:          ;;
                   15050:        esac
                   15051:        ;;
                   15052:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   15053:        # This hack is so that the source file can tell whether it is being
                   15054:        # built for inclusion in a dll (and should export symbols for example).
                   15055:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   15056:        ;;
                   15057:       dgux*)
                   15058:        case $cc_basename in
                   15059:          ec++*)
                   15060:            lt_prog_compiler_pic_CXX='-KPIC'
                   15061:            ;;
                   15062:          ghcx*)
                   15063:            # Green Hills C++ Compiler
                   15064:            lt_prog_compiler_pic_CXX='-pic'
                   15065:            ;;
                   15066:          *)
                   15067:            ;;
                   15068:        esac
                   15069:        ;;
                   15070:       freebsd* | dragonfly*)
                   15071:        # FreeBSD uses GNU C++
                   15072:        ;;
                   15073:       hpux9* | hpux10* | hpux11*)
                   15074:        case $cc_basename in
                   15075:          CC*)
                   15076:            lt_prog_compiler_wl_CXX='-Wl,'
                   15077:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15078:            if test "$host_cpu" != ia64; then
                   15079:              lt_prog_compiler_pic_CXX='+Z'
                   15080:            fi
                   15081:            ;;
                   15082:          aCC*)
                   15083:            lt_prog_compiler_wl_CXX='-Wl,'
                   15084:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   15085:            case $host_cpu in
                   15086:            hppa*64*|ia64*)
                   15087:              # +Z the default
                   15088:              ;;
                   15089:            *)
                   15090:              lt_prog_compiler_pic_CXX='+Z'
                   15091:              ;;
                   15092:            esac
                   15093:            ;;
                   15094:          *)
                   15095:            ;;
                   15096:        esac
                   15097:        ;;
                   15098:       interix*)
                   15099:        # This is c89, which is MS Visual C++ (no shared libs)
                   15100:        # Anyone wants to do a port?
                   15101:        ;;
                   15102:       irix5* | irix6* | nonstopux*)
                   15103:        case $cc_basename in
                   15104:          CC*)
                   15105:            lt_prog_compiler_wl_CXX='-Wl,'
                   15106:            lt_prog_compiler_static_CXX='-non_shared'
                   15107:            # CC pic flag -KPIC is the default.
                   15108:            ;;
                   15109:          *)
                   15110:            ;;
                   15111:        esac
                   15112:        ;;
                   15113:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15114:        case $cc_basename in
                   15115:          KCC*)
                   15116:            # KAI C++ Compiler
                   15117:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15118:            lt_prog_compiler_pic_CXX='-fPIC'
                   15119:            ;;
                   15120:          ecpc* )
                   15121:            # old Intel C++ for x86_64 which still supported -KPIC.
                   15122:            lt_prog_compiler_wl_CXX='-Wl,'
                   15123:            lt_prog_compiler_pic_CXX='-KPIC'
                   15124:            lt_prog_compiler_static_CXX='-static'
                   15125:            ;;
                   15126:          icpc* )
                   15127:            # Intel C++, used to be incompatible with GCC.
                   15128:            # ICC 10 doesn't accept -KPIC any more.
                   15129:            lt_prog_compiler_wl_CXX='-Wl,'
                   15130:            lt_prog_compiler_pic_CXX='-fPIC'
                   15131:            lt_prog_compiler_static_CXX='-static'
                   15132:            ;;
                   15133:          pgCC* | pgcpp*)
                   15134:            # Portland Group C++ compiler
                   15135:            lt_prog_compiler_wl_CXX='-Wl,'
                   15136:            lt_prog_compiler_pic_CXX='-fpic'
                   15137:            lt_prog_compiler_static_CXX='-Bstatic'
                   15138:            ;;
                   15139:          cxx*)
                   15140:            # Compaq C++
                   15141:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15142:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15143:            lt_prog_compiler_pic_CXX=
                   15144:            lt_prog_compiler_static_CXX='-non_shared'
                   15145:            ;;
                   15146:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   15147:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   15148:            lt_prog_compiler_wl_CXX='-Wl,'
                   15149:            lt_prog_compiler_pic_CXX='-qpic'
                   15150:            lt_prog_compiler_static_CXX='-qstaticlink'
                   15151:            ;;
                   15152:          *)
                   15153:            case `$CC -V 2>&1 | sed 5q` in
                   15154:            *Sun\ C*)
                   15155:              # Sun C++ 5.9
                   15156:              lt_prog_compiler_pic_CXX='-KPIC'
                   15157:              lt_prog_compiler_static_CXX='-Bstatic'
                   15158:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   15159:              ;;
                   15160:            esac
                   15161:            ;;
                   15162:        esac
                   15163:        ;;
                   15164:       lynxos*)
                   15165:        ;;
                   15166:       m88k*)
                   15167:        ;;
                   15168:       mvs*)
                   15169:        case $cc_basename in
                   15170:          cxx*)
                   15171:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   15172:            ;;
                   15173:          *)
                   15174:            ;;
                   15175:        esac
                   15176:        ;;
                   15177:       netbsd*)
                   15178:        ;;
                   15179:       *qnx* | *nto*)
                   15180:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   15181:         # it will coredump.
                   15182:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   15183:         ;;
                   15184:       osf3* | osf4* | osf5*)
                   15185:        case $cc_basename in
                   15186:          KCC*)
                   15187:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   15188:            ;;
                   15189:          RCC*)
                   15190:            # Rational C++ 2.4.1
                   15191:            lt_prog_compiler_pic_CXX='-pic'
                   15192:            ;;
                   15193:          cxx*)
                   15194:            # Digital/Compaq C++
                   15195:            lt_prog_compiler_wl_CXX='-Wl,'
                   15196:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   15197:            # Linux and Compaq Tru64 Unix objects are PIC.
                   15198:            lt_prog_compiler_pic_CXX=
                   15199:            lt_prog_compiler_static_CXX='-non_shared'
                   15200:            ;;
                   15201:          *)
                   15202:            ;;
                   15203:        esac
                   15204:        ;;
                   15205:       psos*)
                   15206:        ;;
                   15207:       solaris*)
                   15208:        case $cc_basename in
                   15209:          CC* | sunCC*)
                   15210:            # Sun C++ 4.2, 5.x and Centerline C++
                   15211:            lt_prog_compiler_pic_CXX='-KPIC'
                   15212:            lt_prog_compiler_static_CXX='-Bstatic'
                   15213:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   15214:            ;;
                   15215:          gcx*)
                   15216:            # Green Hills C++ Compiler
                   15217:            lt_prog_compiler_pic_CXX='-PIC'
                   15218:            ;;
                   15219:          *)
                   15220:            ;;
                   15221:        esac
                   15222:        ;;
                   15223:       sunos4*)
                   15224:        case $cc_basename in
                   15225:          CC*)
                   15226:            # Sun C++ 4.x
                   15227:            lt_prog_compiler_pic_CXX='-pic'
                   15228:            lt_prog_compiler_static_CXX='-Bstatic'
                   15229:            ;;
                   15230:          lcc*)
                   15231:            # Lucid
                   15232:            lt_prog_compiler_pic_CXX='-pic'
                   15233:            ;;
                   15234:          *)
                   15235:            ;;
                   15236:        esac
                   15237:        ;;
                   15238:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   15239:        case $cc_basename in
                   15240:          CC*)
                   15241:            lt_prog_compiler_wl_CXX='-Wl,'
                   15242:            lt_prog_compiler_pic_CXX='-KPIC'
                   15243:            lt_prog_compiler_static_CXX='-Bstatic'
                   15244:            ;;
                   15245:        esac
                   15246:        ;;
                   15247:       tandem*)
                   15248:        case $cc_basename in
                   15249:          NCC*)
                   15250:            # NonStop-UX NCC 3.20
                   15251:            lt_prog_compiler_pic_CXX='-KPIC'
                   15252:            ;;
                   15253:          *)
                   15254:            ;;
                   15255:        esac
                   15256:        ;;
                   15257:       vxworks*)
                   15258:        ;;
                   15259:       *)
                   15260:        lt_prog_compiler_can_build_shared_CXX=no
                   15261:        ;;
                   15262:     esac
                   15263:   fi
                   15264: 
                   15265: case $host_os in
                   15266:   # For platforms which do not support PIC, -DPIC is meaningless:
                   15267:   *djgpp*)
                   15268:     lt_prog_compiler_pic_CXX=
                   15269:     ;;
                   15270:   *)
                   15271:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   15272:     ;;
                   15273: esac
                   15274: 
1.150     moko     15275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   15276: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   15277: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   15278:   $as_echo_n "(cached) " >&6
1.128     moko     15279: else
                   15280:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   15281: fi
1.150     moko     15282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   15283: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     15284: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   15285: 
                   15286: #
                   15287: # Check to make sure the PIC flag actually works.
                   15288: #
                   15289: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     15290:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   15291: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   15292: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   15293:   $as_echo_n "(cached) " >&6
1.128     moko     15294: else
                   15295:   lt_cv_prog_compiler_pic_works_CXX=no
                   15296:    ac_outfile=conftest.$ac_objext
                   15297:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15298:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   15299:    # Insert the option either (1) after the last *FLAGS variable, or
                   15300:    # (2) before a word containing "conftest.", or (3) at the end.
                   15301:    # Note that $ac_compile itself does not contain backslashes and begins
                   15302:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15303:    # The option is referenced via a variable to avoid confusing sed.
                   15304:    lt_compile=`echo "$ac_compile" | $SED \
                   15305:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15306:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15307:    -e 's:$: $lt_compiler_flag:'`
                   15308:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15309:    (eval "$lt_compile" 2>conftest.err)
                   15310:    ac_status=$?
                   15311:    cat conftest.err >&5
                   15312:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15313:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   15314:      # The compiler can only warn and ignore the option if not recognized
                   15315:      # So say no if there are warnings other than the usual output.
                   15316:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   15317:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15318:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   15319:        lt_cv_prog_compiler_pic_works_CXX=yes
                   15320:      fi
                   15321:    fi
                   15322:    $RM conftest*
                   15323: 
                   15324: fi
1.150     moko     15325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   15326: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     15327: 
                   15328: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   15329:     case $lt_prog_compiler_pic_CXX in
                   15330:      "" | " "*) ;;
                   15331:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   15332:      esac
                   15333: else
                   15334:     lt_prog_compiler_pic_CXX=
                   15335:      lt_prog_compiler_can_build_shared_CXX=no
                   15336: fi
                   15337: 
                   15338: fi
                   15339: 
                   15340: 
                   15341: 
                   15342: 
                   15343: 
                   15344: #
                   15345: # Check to make sure the static flag actually works.
                   15346: #
                   15347: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     15348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   15349: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   15350: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   15351:   $as_echo_n "(cached) " >&6
1.128     moko     15352: else
                   15353:   lt_cv_prog_compiler_static_works_CXX=no
                   15354:    save_LDFLAGS="$LDFLAGS"
                   15355:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   15356:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   15357:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   15358:      # The linker can only warn and ignore the option if not recognized
                   15359:      # So say no if there are warnings
                   15360:      if test -s conftest.err; then
                   15361:        # Append any errors to the config.log.
                   15362:        cat conftest.err 1>&5
                   15363:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   15364:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   15365:        if diff conftest.exp conftest.er2 >/dev/null; then
                   15366:          lt_cv_prog_compiler_static_works_CXX=yes
                   15367:        fi
                   15368:      else
                   15369:        lt_cv_prog_compiler_static_works_CXX=yes
                   15370:      fi
                   15371:    fi
                   15372:    $RM -r conftest*
                   15373:    LDFLAGS="$save_LDFLAGS"
                   15374: 
                   15375: fi
1.150     moko     15376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   15377: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15378: 
                   15379: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15380:     :
                   15381: else
                   15382:     lt_prog_compiler_static_CXX=
                   15383: fi
                   15384: 
                   15385: 
                   15386: 
                   15387: 
1.150     moko     15388:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15389: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15390: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15391:   $as_echo_n "(cached) " >&6
1.128     moko     15392: else
                   15393:   lt_cv_prog_compiler_c_o_CXX=no
                   15394:    $RM -r conftest 2>/dev/null
                   15395:    mkdir conftest
                   15396:    cd conftest
                   15397:    mkdir out
                   15398:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15399: 
                   15400:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15401:    # Insert the option either (1) after the last *FLAGS variable, or
                   15402:    # (2) before a word containing "conftest.", or (3) at the end.
                   15403:    # Note that $ac_compile itself does not contain backslashes and begins
                   15404:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15405:    lt_compile=`echo "$ac_compile" | $SED \
                   15406:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15407:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15408:    -e 's:$: $lt_compiler_flag:'`
                   15409:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15410:    (eval "$lt_compile" 2>out/conftest.err)
                   15411:    ac_status=$?
                   15412:    cat out/conftest.err >&5
                   15413:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15414:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15415:    then
                   15416:      # The compiler can only warn and ignore the option if not recognized
                   15417:      # So say no if there are warnings
                   15418:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15419:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15420:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15421:        lt_cv_prog_compiler_c_o_CXX=yes
                   15422:      fi
                   15423:    fi
                   15424:    chmod u+w . 2>&5
                   15425:    $RM conftest*
                   15426:    # SGI C++ compiler will create directory out/ii_files/ for
                   15427:    # template instantiation
                   15428:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15429:    $RM out/* && rmdir out
                   15430:    cd ..
                   15431:    $RM -r conftest
                   15432:    $RM conftest*
                   15433: 
                   15434: fi
1.150     moko     15435: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15436: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15437: 
                   15438: 
                   15439: 
1.150     moko     15440:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15441: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15442: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15443:   $as_echo_n "(cached) " >&6
1.128     moko     15444: else
                   15445:   lt_cv_prog_compiler_c_o_CXX=no
                   15446:    $RM -r conftest 2>/dev/null
                   15447:    mkdir conftest
                   15448:    cd conftest
                   15449:    mkdir out
                   15450:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15451: 
                   15452:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15453:    # Insert the option either (1) after the last *FLAGS variable, or
                   15454:    # (2) before a word containing "conftest.", or (3) at the end.
                   15455:    # Note that $ac_compile itself does not contain backslashes and begins
                   15456:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15457:    lt_compile=`echo "$ac_compile" | $SED \
                   15458:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15459:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15460:    -e 's:$: $lt_compiler_flag:'`
                   15461:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15462:    (eval "$lt_compile" 2>out/conftest.err)
                   15463:    ac_status=$?
                   15464:    cat out/conftest.err >&5
                   15465:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15466:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15467:    then
                   15468:      # The compiler can only warn and ignore the option if not recognized
                   15469:      # So say no if there are warnings
                   15470:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15471:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15472:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15473:        lt_cv_prog_compiler_c_o_CXX=yes
                   15474:      fi
                   15475:    fi
                   15476:    chmod u+w . 2>&5
                   15477:    $RM conftest*
                   15478:    # SGI C++ compiler will create directory out/ii_files/ for
                   15479:    # template instantiation
                   15480:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15481:    $RM out/* && rmdir out
                   15482:    cd ..
                   15483:    $RM -r conftest
                   15484:    $RM conftest*
                   15485: 
                   15486: fi
1.150     moko     15487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15488: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15489: 
                   15490: 
                   15491: 
                   15492: 
                   15493: hard_links="nottested"
                   15494: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15495:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15496:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15497: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15498:   hard_links=yes
                   15499:   $RM conftest*
                   15500:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15501:   touch conftest.a
                   15502:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15503:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15505: $as_echo "$hard_links" >&6; }
1.128     moko     15506:   if test "$hard_links" = no; then
1.150     moko     15507:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15508: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15509:     need_locks=warn
                   15510:   fi
                   15511: else
                   15512:   need_locks=no
                   15513: fi
                   15514: 
                   15515: 
                   15516: 
1.150     moko     15517:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15518: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15519: 
                   15520:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15521:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15522:   case $host_os in
                   15523:   aix[4-9]*)
                   15524:     # If we're using GNU nm, then we don't want the "-C" option.
                   15525:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15526:     # Also, AIX nm treats weak defined symbols like other global defined
                   15527:     # symbols, whereas GNU nm marks them as "W".
                   15528:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15529:       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'
                   15530:     else
                   15531:       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'
                   15532:     fi
                   15533:     ;;
                   15534:   pw32*)
                   15535:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15536:     ;;
                   15537:   cygwin* | mingw* | cegcc*)
                   15538:     case $cc_basename in
                   15539:     cl*)
                   15540:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15541:       ;;
                   15542:     *)
                   15543:       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'
                   15544:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15545:       ;;
                   15546:     esac
                   15547:     ;;
                   15548:   *)
                   15549:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15550:     ;;
                   15551:   esac
                   15552: 
1.150     moko     15553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15554: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15555: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15556: 
                   15557: with_gnu_ld_CXX=$with_gnu_ld
                   15558: 
                   15559: 
                   15560: 
                   15561: 
                   15562: 
                   15563: 
                   15564: #
                   15565: # Do we need to explicitly link libc?
                   15566: #
                   15567: case "x$archive_cmds_need_lc_CXX" in
                   15568: x|xyes)
                   15569:   # Assume -lc should be added
                   15570:   archive_cmds_need_lc_CXX=yes
                   15571: 
                   15572:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15573:     case $archive_cmds_CXX in
                   15574:     *'~'*)
                   15575:       # FIXME: we may have to deal with multi-command sequences.
                   15576:       ;;
                   15577:     '$CC '*)
                   15578:       # Test whether the compiler implicitly links with -lc since on some
                   15579:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15580:       # to ld, don't add -lc before -lgcc.
1.150     moko     15581:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15582: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15583: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15584:   $as_echo_n "(cached) " >&6
1.128     moko     15585: else
                   15586:   $RM conftest*
                   15587:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15588: 
1.150     moko     15589:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15590:   (eval $ac_compile) 2>&5
                   15591:   ac_status=$?
1.150     moko     15592:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15593:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15594:          soname=conftest
                   15595:          lib=conftest
                   15596:          libobjs=conftest.$ac_objext
                   15597:          deplibs=
                   15598:          wl=$lt_prog_compiler_wl_CXX
                   15599:          pic_flag=$lt_prog_compiler_pic_CXX
                   15600:          compiler_flags=-v
                   15601:          linker_flags=-v
                   15602:          verstring=
                   15603:          output_objdir=.
                   15604:          libname=conftest
                   15605:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15606:          allow_undefined_flag_CXX=
1.150     moko     15607:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15608:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15609:   ac_status=$?
1.150     moko     15610:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15611:   test $ac_status = 0; }
1.128     moko     15612:          then
                   15613:            lt_cv_archive_cmds_need_lc_CXX=no
                   15614:          else
                   15615:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15616:          fi
                   15617:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15618:        else
                   15619:          cat conftest.err 1>&5
                   15620:        fi
                   15621:        $RM conftest*
                   15622: 
                   15623: fi
1.150     moko     15624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15625: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15626:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15627:       ;;
                   15628:     esac
                   15629:   fi
                   15630:   ;;
                   15631: esac
                   15632: 
                   15633: 
                   15634: 
                   15635: 
                   15636: 
                   15637: 
                   15638: 
                   15639: 
                   15640: 
                   15641: 
                   15642: 
                   15643: 
                   15644: 
                   15645: 
                   15646: 
                   15647: 
                   15648: 
                   15649: 
                   15650: 
                   15651: 
                   15652: 
                   15653: 
                   15654: 
                   15655: 
                   15656: 
                   15657: 
                   15658: 
                   15659: 
                   15660: 
                   15661: 
                   15662: 
                   15663: 
                   15664: 
                   15665: 
                   15666: 
                   15667: 
                   15668: 
                   15669: 
                   15670: 
                   15671: 
                   15672: 
                   15673: 
                   15674: 
                   15675: 
                   15676: 
                   15677: 
                   15678: 
                   15679: 
                   15680: 
                   15681: 
                   15682: 
                   15683: 
                   15684: 
                   15685: 
                   15686: 
                   15687: 
                   15688: 
                   15689: 
                   15690: 
                   15691: 
                   15692: 
                   15693: 
1.150     moko     15694:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15695: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15696: 
                   15697: library_names_spec=
                   15698: libname_spec='lib$name'
                   15699: soname_spec=
                   15700: shrext_cmds=".so"
                   15701: postinstall_cmds=
                   15702: postuninstall_cmds=
                   15703: finish_cmds=
                   15704: finish_eval=
                   15705: shlibpath_var=
                   15706: shlibpath_overrides_runpath=unknown
                   15707: version_type=none
                   15708: dynamic_linker="$host_os ld.so"
                   15709: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15710: need_lib_prefix=unknown
                   15711: hardcode_into_libs=no
                   15712: 
                   15713: # when you set need_version to no, make sure it does not cause -set_version
                   15714: # flags to be left without arguments
                   15715: need_version=unknown
                   15716: 
                   15717: case $host_os in
                   15718: aix3*)
                   15719:   version_type=linux # correct to gnu/linux during the next big refactor
                   15720:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15721:   shlibpath_var=LIBPATH
                   15722: 
                   15723:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15724:   soname_spec='${libname}${release}${shared_ext}$major'
                   15725:   ;;
                   15726: 
                   15727: aix[4-9]*)
                   15728:   version_type=linux # correct to gnu/linux during the next big refactor
                   15729:   need_lib_prefix=no
                   15730:   need_version=no
                   15731:   hardcode_into_libs=yes
                   15732:   if test "$host_cpu" = ia64; then
                   15733:     # AIX 5 supports IA64
                   15734:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15735:     shlibpath_var=LD_LIBRARY_PATH
                   15736:   else
                   15737:     # With GCC up to 2.95.x, collect2 would create an import file
                   15738:     # for dependence libraries.  The import file would start with
                   15739:     # the line `#! .'.  This would cause the generated library to
                   15740:     # depend on `.', always an invalid library.  This was fixed in
                   15741:     # development snapshots of GCC prior to 3.0.
                   15742:     case $host_os in
                   15743:       aix4 | aix4.[01] | aix4.[01].*)
                   15744:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15745:           echo ' yes '
                   15746:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15747:        :
                   15748:       else
                   15749:        can_build_shared=no
                   15750:       fi
                   15751:       ;;
                   15752:     esac
                   15753:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15754:     # soname into executable. Probably we can add versioning support to
                   15755:     # collect2, so additional links can be useful in future.
                   15756:     if test "$aix_use_runtimelinking" = yes; then
                   15757:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15758:       # instead of lib<name>.a to let people know that these are not
                   15759:       # typical AIX shared libraries.
                   15760:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15761:     else
                   15762:       # We preserve .a as extension for shared libraries through AIX4.2
                   15763:       # and later when we are not doing run time linking.
                   15764:       library_names_spec='${libname}${release}.a $libname.a'
                   15765:       soname_spec='${libname}${release}${shared_ext}$major'
                   15766:     fi
                   15767:     shlibpath_var=LIBPATH
                   15768:   fi
                   15769:   ;;
                   15770: 
                   15771: amigaos*)
                   15772:   case $host_cpu in
                   15773:   powerpc)
                   15774:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15775:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15776:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15777:     ;;
                   15778:   m68k)
                   15779:     library_names_spec='$libname.ixlibrary $libname.a'
                   15780:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15781:     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'
                   15782:     ;;
                   15783:   esac
                   15784:   ;;
                   15785: 
                   15786: beos*)
                   15787:   library_names_spec='${libname}${shared_ext}'
                   15788:   dynamic_linker="$host_os ld.so"
                   15789:   shlibpath_var=LIBRARY_PATH
                   15790:   ;;
                   15791: 
                   15792: bsdi[45]*)
                   15793:   version_type=linux # correct to gnu/linux during the next big refactor
                   15794:   need_version=no
                   15795:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15796:   soname_spec='${libname}${release}${shared_ext}$major'
                   15797:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15798:   shlibpath_var=LD_LIBRARY_PATH
                   15799:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15800:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15801:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15802:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15803:   # libtool to hard-code these into programs
                   15804:   ;;
                   15805: 
                   15806: cygwin* | mingw* | pw32* | cegcc*)
                   15807:   version_type=windows
                   15808:   shrext_cmds=".dll"
                   15809:   need_version=no
                   15810:   need_lib_prefix=no
                   15811: 
                   15812:   case $GCC,$cc_basename in
                   15813:   yes,*)
                   15814:     # gcc
                   15815:     library_names_spec='$libname.dll.a'
                   15816:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15817:     postinstall_cmds='base_file=`basename \${file}`~
                   15818:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15819:       dldir=$destdir/`dirname \$dlpath`~
                   15820:       test -d \$dldir || mkdir -p \$dldir~
                   15821:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15822:       chmod a+x \$dldir/$dlname~
                   15823:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15824:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15825:       fi'
                   15826:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15827:       dlpath=$dir/\$dldll~
                   15828:        $RM \$dlpath'
                   15829:     shlibpath_overrides_runpath=yes
                   15830: 
                   15831:     case $host_os in
                   15832:     cygwin*)
                   15833:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15834:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15835: 
                   15836:       ;;
                   15837:     mingw* | cegcc*)
                   15838:       # MinGW DLLs use traditional 'lib' prefix
                   15839:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15840:       ;;
                   15841:     pw32*)
                   15842:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15843:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15844:       ;;
                   15845:     esac
                   15846:     dynamic_linker='Win32 ld.exe'
                   15847:     ;;
                   15848: 
                   15849:   *,cl*)
                   15850:     # Native MSVC
                   15851:     libname_spec='$name'
                   15852:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15853:     library_names_spec='${libname}.dll.lib'
                   15854: 
                   15855:     case $build_os in
                   15856:     mingw*)
                   15857:       sys_lib_search_path_spec=
                   15858:       lt_save_ifs=$IFS
                   15859:       IFS=';'
                   15860:       for lt_path in $LIB
                   15861:       do
                   15862:         IFS=$lt_save_ifs
                   15863:         # Let DOS variable expansion print the short 8.3 style file name.
                   15864:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15865:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15866:       done
                   15867:       IFS=$lt_save_ifs
                   15868:       # Convert to MSYS style.
                   15869:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15870:       ;;
                   15871:     cygwin*)
                   15872:       # Convert to unix form, then to dos form, then back to unix form
                   15873:       # but this time dos style (no spaces!) so that the unix form looks
                   15874:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15875:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15876:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15877:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15878:       ;;
                   15879:     *)
                   15880:       sys_lib_search_path_spec="$LIB"
                   15881:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15882:         # It is most probably a Windows format PATH.
                   15883:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15884:       else
                   15885:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15886:       fi
                   15887:       # FIXME: find the short name or the path components, as spaces are
                   15888:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15889:       ;;
                   15890:     esac
                   15891: 
                   15892:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15893:     postinstall_cmds='base_file=`basename \${file}`~
                   15894:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15895:       dldir=$destdir/`dirname \$dlpath`~
                   15896:       test -d \$dldir || mkdir -p \$dldir~
                   15897:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15898:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15899:       dlpath=$dir/\$dldll~
                   15900:        $RM \$dlpath'
                   15901:     shlibpath_overrides_runpath=yes
                   15902:     dynamic_linker='Win32 link.exe'
                   15903:     ;;
                   15904: 
                   15905:   *)
                   15906:     # Assume MSVC wrapper
                   15907:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15908:     dynamic_linker='Win32 ld.exe'
                   15909:     ;;
                   15910:   esac
                   15911:   # FIXME: first we should search . and the directory the executable is in
                   15912:   shlibpath_var=PATH
                   15913:   ;;
                   15914: 
                   15915: darwin* | rhapsody*)
                   15916:   dynamic_linker="$host_os dyld"
                   15917:   version_type=darwin
                   15918:   need_lib_prefix=no
                   15919:   need_version=no
                   15920:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15921:   soname_spec='${libname}${release}${major}$shared_ext'
                   15922:   shlibpath_overrides_runpath=yes
                   15923:   shlibpath_var=DYLD_LIBRARY_PATH
                   15924:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15925: 
                   15926:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15927:   ;;
                   15928: 
                   15929: dgux*)
                   15930:   version_type=linux # correct to gnu/linux during the next big refactor
                   15931:   need_lib_prefix=no
                   15932:   need_version=no
                   15933:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15934:   soname_spec='${libname}${release}${shared_ext}$major'
                   15935:   shlibpath_var=LD_LIBRARY_PATH
                   15936:   ;;
                   15937: 
                   15938: freebsd* | dragonfly*)
                   15939:   # DragonFly does not have aout.  When/if they implement a new
                   15940:   # versioning mechanism, adjust this.
                   15941:   if test -x /usr/bin/objformat; then
                   15942:     objformat=`/usr/bin/objformat`
                   15943:   else
                   15944:     case $host_os in
                   15945:     freebsd[23].*) objformat=aout ;;
                   15946:     *) objformat=elf ;;
                   15947:     esac
                   15948:   fi
                   15949:   version_type=freebsd-$objformat
                   15950:   case $version_type in
                   15951:     freebsd-elf*)
                   15952:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15953:       need_version=no
                   15954:       need_lib_prefix=no
                   15955:       ;;
                   15956:     freebsd-*)
                   15957:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15958:       need_version=yes
                   15959:       ;;
                   15960:   esac
                   15961:   shlibpath_var=LD_LIBRARY_PATH
                   15962:   case $host_os in
                   15963:   freebsd2.*)
                   15964:     shlibpath_overrides_runpath=yes
                   15965:     ;;
                   15966:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15967:     shlibpath_overrides_runpath=yes
                   15968:     hardcode_into_libs=yes
                   15969:     ;;
                   15970:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15971:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15972:     shlibpath_overrides_runpath=no
                   15973:     hardcode_into_libs=yes
                   15974:     ;;
                   15975:   *) # from 4.6 on, and DragonFly
                   15976:     shlibpath_overrides_runpath=yes
                   15977:     hardcode_into_libs=yes
                   15978:     ;;
                   15979:   esac
                   15980:   ;;
                   15981: 
                   15982: gnu*)
                   15983:   version_type=linux # correct to gnu/linux during the next big refactor
                   15984:   need_lib_prefix=no
                   15985:   need_version=no
                   15986:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15987:   soname_spec='${libname}${release}${shared_ext}$major'
                   15988:   shlibpath_var=LD_LIBRARY_PATH
                   15989:   shlibpath_overrides_runpath=no
                   15990:   hardcode_into_libs=yes
                   15991:   ;;
                   15992: 
                   15993: haiku*)
                   15994:   version_type=linux # correct to gnu/linux during the next big refactor
                   15995:   need_lib_prefix=no
                   15996:   need_version=no
                   15997:   dynamic_linker="$host_os runtime_loader"
                   15998:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15999:   soname_spec='${libname}${release}${shared_ext}$major'
                   16000:   shlibpath_var=LIBRARY_PATH
                   16001:   shlibpath_overrides_runpath=yes
                   16002:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   16003:   hardcode_into_libs=yes
                   16004:   ;;
                   16005: 
                   16006: hpux9* | hpux10* | hpux11*)
                   16007:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   16008:   # link against other versions.
                   16009:   version_type=sunos
                   16010:   need_lib_prefix=no
                   16011:   need_version=no
                   16012:   case $host_cpu in
                   16013:   ia64*)
                   16014:     shrext_cmds='.so'
                   16015:     hardcode_into_libs=yes
                   16016:     dynamic_linker="$host_os dld.so"
                   16017:     shlibpath_var=LD_LIBRARY_PATH
                   16018:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16019:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16020:     soname_spec='${libname}${release}${shared_ext}$major'
                   16021:     if test "X$HPUX_IA64_MODE" = X32; then
                   16022:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   16023:     else
                   16024:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   16025:     fi
                   16026:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16027:     ;;
                   16028:   hppa*64*)
                   16029:     shrext_cmds='.sl'
                   16030:     hardcode_into_libs=yes
                   16031:     dynamic_linker="$host_os dld.sl"
                   16032:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   16033:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   16034:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16035:     soname_spec='${libname}${release}${shared_ext}$major'
                   16036:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   16037:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   16038:     ;;
                   16039:   *)
                   16040:     shrext_cmds='.sl'
                   16041:     dynamic_linker="$host_os dld.sl"
                   16042:     shlibpath_var=SHLIB_PATH
                   16043:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   16044:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16045:     soname_spec='${libname}${release}${shared_ext}$major'
                   16046:     ;;
                   16047:   esac
                   16048:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   16049:   postinstall_cmds='chmod 555 $lib'
                   16050:   # or fails outright, so override atomically:
                   16051:   install_override_mode=555
                   16052:   ;;
                   16053: 
                   16054: interix[3-9]*)
                   16055:   version_type=linux # correct to gnu/linux during the next big refactor
                   16056:   need_lib_prefix=no
                   16057:   need_version=no
                   16058:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16059:   soname_spec='${libname}${release}${shared_ext}$major'
                   16060:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   16061:   shlibpath_var=LD_LIBRARY_PATH
                   16062:   shlibpath_overrides_runpath=no
                   16063:   hardcode_into_libs=yes
                   16064:   ;;
                   16065: 
                   16066: irix5* | irix6* | nonstopux*)
                   16067:   case $host_os in
                   16068:     nonstopux*) version_type=nonstopux ;;
                   16069:     *)
                   16070:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   16071:                version_type=linux # correct to gnu/linux during the next big refactor
                   16072:        else
                   16073:                version_type=irix
                   16074:        fi ;;
                   16075:   esac
                   16076:   need_lib_prefix=no
                   16077:   need_version=no
                   16078:   soname_spec='${libname}${release}${shared_ext}$major'
                   16079:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16080:   case $host_os in
                   16081:   irix5* | nonstopux*)
                   16082:     libsuff= shlibsuff=
                   16083:     ;;
                   16084:   *)
                   16085:     case $LD in # libtool.m4 will add one of these switches to LD
                   16086:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   16087:       libsuff= shlibsuff= libmagic=32-bit;;
                   16088:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   16089:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   16090:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   16091:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   16092:     *) libsuff= shlibsuff= libmagic=never-match;;
                   16093:     esac
                   16094:     ;;
                   16095:   esac
                   16096:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   16097:   shlibpath_overrides_runpath=no
                   16098:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   16099:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   16100:   hardcode_into_libs=yes
                   16101:   ;;
                   16102: 
                   16103: # No shared lib support for Linux oldld, aout, or coff.
                   16104: linux*oldld* | linux*aout* | linux*coff*)
                   16105:   dynamic_linker=no
                   16106:   ;;
                   16107: 
                   16108: # This must be glibc/ELF.
                   16109: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16110:   version_type=linux # correct to gnu/linux during the next big refactor
                   16111:   need_lib_prefix=no
                   16112:   need_version=no
                   16113:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16114:   soname_spec='${libname}${release}${shared_ext}$major'
                   16115:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   16116:   shlibpath_var=LD_LIBRARY_PATH
                   16117:   shlibpath_overrides_runpath=no
                   16118: 
                   16119:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     16120:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   16121:   $as_echo_n "(cached) " >&6
1.128     moko     16122: else
                   16123:   lt_cv_shlibpath_overrides_runpath=no
                   16124:     save_LDFLAGS=$LDFLAGS
                   16125:     save_libdir=$libdir
                   16126:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   16127:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     16128:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16129: /* end confdefs.h.  */
                   16130: 
                   16131: int
                   16132: main ()
                   16133: {
                   16134: 
                   16135:   ;
                   16136:   return 0;
                   16137: }
                   16138: _ACEOF
1.150     moko     16139: if ac_fn_cxx_try_link "$LINENO"; then :
                   16140:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     16141:   lt_cv_shlibpath_overrides_runpath=yes
                   16142: fi
                   16143: fi
1.150     moko     16144: rm -f core conftest.err conftest.$ac_objext \
                   16145:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16146:     LDFLAGS=$save_LDFLAGS
                   16147:     libdir=$save_libdir
                   16148: 
                   16149: fi
                   16150: 
                   16151:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   16152: 
                   16153:   # This implies no fast_install, which is unacceptable.
                   16154:   # Some rework will be needed to allow for fast_install
                   16155:   # before this can be enabled.
                   16156:   hardcode_into_libs=yes
                   16157: 
                   16158:   # Append ld.so.conf contents to the search path
                   16159:   if test -f /etc/ld.so.conf; then
                   16160:     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' ' '`
                   16161:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   16162:   fi
                   16163: 
                   16164:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   16165:   # powerpc, because MkLinux only supported shared libraries with the
                   16166:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   16167:   # most powerpc-linux boxes support dynamic linking these days and
                   16168:   # people can always --disable-shared, the test was removed, and we
                   16169:   # assume the GNU/Linux dynamic linker is in use.
                   16170:   dynamic_linker='GNU/Linux ld.so'
                   16171:   ;;
                   16172: 
                   16173: netbsd*)
                   16174:   version_type=sunos
                   16175:   need_lib_prefix=no
                   16176:   need_version=no
                   16177:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   16178:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16179:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16180:     dynamic_linker='NetBSD (a.out) ld.so'
                   16181:   else
                   16182:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   16183:     soname_spec='${libname}${release}${shared_ext}$major'
                   16184:     dynamic_linker='NetBSD ld.elf_so'
                   16185:   fi
                   16186:   shlibpath_var=LD_LIBRARY_PATH
                   16187:   shlibpath_overrides_runpath=yes
                   16188:   hardcode_into_libs=yes
                   16189:   ;;
                   16190: 
                   16191: newsos6)
                   16192:   version_type=linux # correct to gnu/linux during the next big refactor
                   16193:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16194:   shlibpath_var=LD_LIBRARY_PATH
                   16195:   shlibpath_overrides_runpath=yes
                   16196:   ;;
                   16197: 
                   16198: *nto* | *qnx*)
                   16199:   version_type=qnx
                   16200:   need_lib_prefix=no
                   16201:   need_version=no
                   16202:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16203:   soname_spec='${libname}${release}${shared_ext}$major'
                   16204:   shlibpath_var=LD_LIBRARY_PATH
                   16205:   shlibpath_overrides_runpath=no
                   16206:   hardcode_into_libs=yes
                   16207:   dynamic_linker='ldqnx.so'
                   16208:   ;;
                   16209: 
                   16210: openbsd*)
                   16211:   version_type=sunos
                   16212:   sys_lib_dlsearch_path_spec="/usr/lib"
                   16213:   need_lib_prefix=no
                   16214:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   16215:   case $host_os in
                   16216:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   16217:     *)                         need_version=no  ;;
                   16218:   esac
                   16219:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16220:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   16221:   shlibpath_var=LD_LIBRARY_PATH
                   16222:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   16223:     case $host_os in
                   16224:       openbsd2.[89] | openbsd2.[89].*)
                   16225:        shlibpath_overrides_runpath=no
                   16226:        ;;
                   16227:       *)
                   16228:        shlibpath_overrides_runpath=yes
                   16229:        ;;
                   16230:       esac
                   16231:   else
                   16232:     shlibpath_overrides_runpath=yes
                   16233:   fi
                   16234:   ;;
                   16235: 
                   16236: os2*)
                   16237:   libname_spec='$name'
                   16238:   shrext_cmds=".dll"
                   16239:   need_lib_prefix=no
                   16240:   library_names_spec='$libname${shared_ext} $libname.a'
                   16241:   dynamic_linker='OS/2 ld.exe'
                   16242:   shlibpath_var=LIBPATH
                   16243:   ;;
                   16244: 
                   16245: osf3* | osf4* | osf5*)
                   16246:   version_type=osf
                   16247:   need_lib_prefix=no
                   16248:   need_version=no
                   16249:   soname_spec='${libname}${release}${shared_ext}$major'
                   16250:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16251:   shlibpath_var=LD_LIBRARY_PATH
                   16252:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   16253:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   16254:   ;;
                   16255: 
                   16256: rdos*)
                   16257:   dynamic_linker=no
                   16258:   ;;
                   16259: 
                   16260: solaris*)
                   16261:   version_type=linux # correct to gnu/linux during the next big refactor
                   16262:   need_lib_prefix=no
                   16263:   need_version=no
                   16264:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16265:   soname_spec='${libname}${release}${shared_ext}$major'
                   16266:   shlibpath_var=LD_LIBRARY_PATH
                   16267:   shlibpath_overrides_runpath=yes
                   16268:   hardcode_into_libs=yes
                   16269:   # ldd complains unless libraries are executable
                   16270:   postinstall_cmds='chmod +x $lib'
                   16271:   ;;
                   16272: 
                   16273: sunos4*)
                   16274:   version_type=sunos
                   16275:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   16276:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   16277:   shlibpath_var=LD_LIBRARY_PATH
                   16278:   shlibpath_overrides_runpath=yes
                   16279:   if test "$with_gnu_ld" = yes; then
                   16280:     need_lib_prefix=no
                   16281:   fi
                   16282:   need_version=yes
                   16283:   ;;
                   16284: 
                   16285: sysv4 | sysv4.3*)
                   16286:   version_type=linux # correct to gnu/linux during the next big refactor
                   16287:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16288:   soname_spec='${libname}${release}${shared_ext}$major'
                   16289:   shlibpath_var=LD_LIBRARY_PATH
                   16290:   case $host_vendor in
                   16291:     sni)
                   16292:       shlibpath_overrides_runpath=no
                   16293:       need_lib_prefix=no
                   16294:       runpath_var=LD_RUN_PATH
                   16295:       ;;
                   16296:     siemens)
                   16297:       need_lib_prefix=no
                   16298:       ;;
                   16299:     motorola)
                   16300:       need_lib_prefix=no
                   16301:       need_version=no
                   16302:       shlibpath_overrides_runpath=no
                   16303:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   16304:       ;;
                   16305:   esac
                   16306:   ;;
                   16307: 
                   16308: sysv4*MP*)
                   16309:   if test -d /usr/nec ;then
                   16310:     version_type=linux # correct to gnu/linux during the next big refactor
                   16311:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   16312:     soname_spec='$libname${shared_ext}.$major'
                   16313:     shlibpath_var=LD_LIBRARY_PATH
                   16314:   fi
                   16315:   ;;
                   16316: 
                   16317: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16318:   version_type=freebsd-elf
                   16319:   need_lib_prefix=no
                   16320:   need_version=no
                   16321:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   16322:   soname_spec='${libname}${release}${shared_ext}$major'
                   16323:   shlibpath_var=LD_LIBRARY_PATH
                   16324:   shlibpath_overrides_runpath=yes
                   16325:   hardcode_into_libs=yes
                   16326:   if test "$with_gnu_ld" = yes; then
                   16327:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   16328:   else
                   16329:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   16330:     case $host_os in
                   16331:       sco3.2v5*)
                   16332:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   16333:        ;;
                   16334:     esac
                   16335:   fi
                   16336:   sys_lib_dlsearch_path_spec='/usr/lib'
                   16337:   ;;
                   16338: 
                   16339: tpf*)
                   16340:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   16341:   version_type=linux # correct to gnu/linux during the next big refactor
                   16342:   need_lib_prefix=no
                   16343:   need_version=no
                   16344:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16345:   shlibpath_var=LD_LIBRARY_PATH
                   16346:   shlibpath_overrides_runpath=no
                   16347:   hardcode_into_libs=yes
                   16348:   ;;
                   16349: 
                   16350: uts4*)
                   16351:   version_type=linux # correct to gnu/linux during the next big refactor
                   16352:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   16353:   soname_spec='${libname}${release}${shared_ext}$major'
                   16354:   shlibpath_var=LD_LIBRARY_PATH
                   16355:   ;;
                   16356: 
                   16357: *)
                   16358:   dynamic_linker=no
                   16359:   ;;
                   16360: esac
1.150     moko     16361: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   16362: $as_echo "$dynamic_linker" >&6; }
1.128     moko     16363: test "$dynamic_linker" = no && can_build_shared=no
                   16364: 
                   16365: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   16366: if test "$GCC" = yes; then
                   16367:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   16368: fi
                   16369: 
                   16370: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   16371:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   16372: fi
                   16373: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   16374:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   16375: fi
                   16376: 
                   16377: 
                   16378: 
                   16379: 
                   16380: 
                   16381: 
                   16382: 
                   16383: 
                   16384: 
                   16385: 
                   16386: 
                   16387: 
                   16388: 
                   16389: 
                   16390: 
                   16391: 
                   16392: 
                   16393: 
                   16394: 
                   16395: 
                   16396: 
                   16397: 
                   16398: 
                   16399: 
                   16400: 
                   16401: 
                   16402: 
                   16403: 
                   16404: 
                   16405: 
                   16406: 
                   16407: 
                   16408: 
                   16409: 
                   16410: 
                   16411: 
                   16412: 
                   16413: 
1.150     moko     16414:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16415: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16416: hardcode_action_CXX=
                   16417: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16418:    test -n "$runpath_var_CXX" ||
                   16419:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16420: 
                   16421:   # We can hardcode non-existent directories.
                   16422:   if test "$hardcode_direct_CXX" != no &&
                   16423:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16424:      # have to relink, otherwise we might link with an installed library
                   16425:      # when we should be linking with a yet-to-be-installed one
                   16426:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16427:      test "$hardcode_minus_L_CXX" != no; then
                   16428:     # Linking always hardcodes the temporary library directory.
                   16429:     hardcode_action_CXX=relink
                   16430:   else
                   16431:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16432:     hardcode_action_CXX=immediate
                   16433:   fi
                   16434: else
                   16435:   # We cannot hardcode anything, or else we can only hardcode existing
                   16436:   # directories.
                   16437:   hardcode_action_CXX=unsupported
                   16438: fi
1.150     moko     16439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16440: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16441: 
                   16442: if test "$hardcode_action_CXX" = relink ||
                   16443:    test "$inherit_rpath_CXX" = yes; then
                   16444:   # Fast installation is not supported
                   16445:   enable_fast_install=no
                   16446: elif test "$shlibpath_overrides_runpath" = yes ||
                   16447:      test "$enable_shared" = no; then
                   16448:   # Fast installation is not necessary
                   16449:   enable_fast_install=needless
                   16450: fi
                   16451: 
                   16452: 
                   16453: 
                   16454: 
                   16455: 
                   16456: 
                   16457: 
                   16458:   fi # test -n "$compiler"
                   16459: 
                   16460:   CC=$lt_save_CC
                   16461:   CFLAGS=$lt_save_CFLAGS
                   16462:   LDCXX=$LD
                   16463:   LD=$lt_save_LD
                   16464:   GCC=$lt_save_GCC
                   16465:   with_gnu_ld=$lt_save_with_gnu_ld
                   16466:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16467:   lt_cv_path_LD=$lt_save_path_LD
                   16468:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16469:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16470: fi # test "$_lt_caught_CXX_error" != yes
                   16471: 
                   16472: ac_ext=c
                   16473: ac_cpp='$CPP $CPPFLAGS'
                   16474: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16475: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16476: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16477: 
                   16478: 
                   16479: 
                   16480: 
                   16481: 
                   16482: 
                   16483: 
                   16484: 
                   16485: 
                   16486: 
                   16487: 
                   16488: 
                   16489: 
                   16490: 
                   16491: 
1.150     moko     16492:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16493: 
                   16494: 
                   16495: 
                   16496: 
                   16497: # Only expand once:
                   16498: 
                   16499: 
1.150     moko     16500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16501: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16502: if ${libltdl_cv_shlibext+:} false; then :
                   16503:   $as_echo_n "(cached) " >&6
1.128     moko     16504: else
                   16505: 
                   16506: module=yes
                   16507: eval libltdl_cv_shlibext=$shrext_cmds
                   16508: module=no
                   16509: eval libltdl_cv_shrext=$shrext_cmds
                   16510: 
                   16511: fi
1.150     moko     16512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16513: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16514: if test -n "$libltdl_cv_shlibext"; then
                   16515: 
                   16516: cat >>confdefs.h <<_ACEOF
                   16517: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16518: _ACEOF
                   16519: 
                   16520: fi
                   16521: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16522: 
                   16523: cat >>confdefs.h <<_ACEOF
                   16524: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16525: _ACEOF
                   16526: 
                   16527: fi
                   16528: 
1.150     moko     16529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16530: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16531: if ${lt_cv_module_path_var+:} false; then :
                   16532:   $as_echo_n "(cached) " >&6
1.128     moko     16533: else
                   16534:   lt_cv_module_path_var="$shlibpath_var"
                   16535: fi
1.150     moko     16536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16537: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16538: if test -n "$lt_cv_module_path_var"; then
                   16539: 
                   16540: cat >>confdefs.h <<_ACEOF
                   16541: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16542: _ACEOF
                   16543: 
                   16544: fi
                   16545: 
1.150     moko     16546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16547: $as_echo_n "checking for the default library search path... " >&6; }
                   16548: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16549:   $as_echo_n "(cached) " >&6
1.128     moko     16550: else
                   16551:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16552: fi
1.150     moko     16553: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16554: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16555: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16556:   sys_dlsearch_path=
                   16557:   for dir in $lt_cv_sys_dlsearch_path; do
                   16558:     if test -z "$sys_dlsearch_path"; then
                   16559:       sys_dlsearch_path="$dir"
                   16560:     else
                   16561:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16562:     fi
                   16563:   done
                   16564: 
                   16565: cat >>confdefs.h <<_ACEOF
                   16566: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16567: _ACEOF
                   16568: 
                   16569: fi
                   16570: 
                   16571: 
                   16572: LT_DLLOADERS=
                   16573: 
                   16574: 
                   16575: ac_ext=c
                   16576: ac_cpp='$CPP $CPPFLAGS'
                   16577: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16578: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16579: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16580: 
                   16581: 
                   16582: LIBADD_DLOPEN=
1.150     moko     16583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16584: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16585: if ${ac_cv_search_dlopen+:} false; then :
                   16586:   $as_echo_n "(cached) " >&6
1.128     moko     16587: else
                   16588:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16589: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16590: /* end confdefs.h.  */
                   16591: 
1.150     moko     16592: /* Override any GCC internal prototype to avoid an error.
                   16593:    Use char because int might match the return type of a GCC
                   16594:    builtin and then its argument prototype would still apply.  */
1.128     moko     16595: #ifdef __cplusplus
                   16596: extern "C"
                   16597: #endif
                   16598: char dlopen ();
                   16599: int
                   16600: main ()
                   16601: {
1.150     moko     16602: return dlopen ();
1.128     moko     16603:   ;
                   16604:   return 0;
                   16605: }
                   16606: _ACEOF
1.150     moko     16607: for ac_lib in '' dl; do
                   16608:   if test -z "$ac_lib"; then
                   16609:     ac_res="none required"
                   16610:   else
                   16611:     ac_res=-l$ac_lib
                   16612:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16613:   fi
                   16614:   if ac_fn_c_try_link "$LINENO"; then :
                   16615:   ac_cv_search_dlopen=$ac_res
                   16616: fi
                   16617: rm -f core conftest.err conftest.$ac_objext \
                   16618:     conftest$ac_exeext
                   16619:   if ${ac_cv_search_dlopen+:} false; then :
                   16620:   break
1.128     moko     16621: fi
1.150     moko     16622: done
                   16623: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16624: 
                   16625: else
1.150     moko     16626:   ac_cv_search_dlopen=no
1.128     moko     16627: fi
1.150     moko     16628: rm conftest.$ac_ext
1.128     moko     16629: LIBS=$ac_func_search_save_LIBS
                   16630: fi
1.150     moko     16631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16632: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16633: ac_res=$ac_cv_search_dlopen
                   16634: if test "$ac_res" != no; then :
                   16635:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16636: 
1.150     moko     16637: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16638: 
                   16639:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16640:          LIBADD_DLOPEN="-ldl"
                   16641:        fi
                   16642:        libltdl_cv_lib_dl_dlopen="yes"
                   16643:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16644: else
1.150     moko     16645:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16646: /* end confdefs.h.  */
                   16647: #if HAVE_DLFCN_H
                   16648: #  include <dlfcn.h>
                   16649: #endif
                   16650: 
                   16651: int
                   16652: main ()
                   16653: {
                   16654: dlopen(0, 0);
                   16655:   ;
                   16656:   return 0;
                   16657: }
                   16658: _ACEOF
1.150     moko     16659: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16660: 
1.150     moko     16661: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16662: 
                   16663:            libltdl_cv_func_dlopen="yes"
                   16664:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16665: else
1.150     moko     16666:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16667: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16668: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16669:   $as_echo_n "(cached) " >&6
1.128     moko     16670: else
                   16671:   ac_check_lib_save_LIBS=$LIBS
                   16672: LIBS="-lsvld  $LIBS"
1.150     moko     16673: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16674: /* end confdefs.h.  */
                   16675: 
1.150     moko     16676: /* Override any GCC internal prototype to avoid an error.
                   16677:    Use char because int might match the return type of a GCC
                   16678:    builtin and then its argument prototype would still apply.  */
1.128     moko     16679: #ifdef __cplusplus
                   16680: extern "C"
                   16681: #endif
                   16682: char dlopen ();
                   16683: int
                   16684: main ()
                   16685: {
1.150     moko     16686: return dlopen ();
1.128     moko     16687:   ;
                   16688:   return 0;
                   16689: }
                   16690: _ACEOF
1.150     moko     16691: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16692:   ac_cv_lib_svld_dlopen=yes
                   16693: else
1.150     moko     16694:   ac_cv_lib_svld_dlopen=no
1.128     moko     16695: fi
1.150     moko     16696: rm -f core conftest.err conftest.$ac_objext \
                   16697:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16698: LIBS=$ac_check_lib_save_LIBS
                   16699: fi
1.150     moko     16700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16701: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16702: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16703: 
1.150     moko     16704: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16705: 
                   16706:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16707:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16708: fi
                   16709: 
                   16710: fi
1.150     moko     16711: rm -f core conftest.err conftest.$ac_objext \
                   16712:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16713: fi
                   16714: 
                   16715: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16716: then
                   16717:   lt_save_LIBS="$LIBS"
                   16718:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16719:   for ac_func in dlerror
                   16720: do :
                   16721:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16722: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16723:   cat >>confdefs.h <<_ACEOF
1.150     moko     16724: #define HAVE_DLERROR 1
1.128     moko     16725: _ACEOF
                   16726: 
                   16727: fi
                   16728: done
                   16729: 
                   16730:   LIBS="$lt_save_LIBS"
                   16731: fi
                   16732: 
                   16733: 
                   16734: LIBADD_SHL_LOAD=
1.150     moko     16735: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16736: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16737: 
1.150     moko     16738: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16739: 
                   16740:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16741: else
1.150     moko     16742:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16743: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16744: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16745:   $as_echo_n "(cached) " >&6
1.66      paf      16746: else
                   16747:   ac_check_lib_save_LIBS=$LIBS
                   16748: LIBS="-ldld  $LIBS"
1.150     moko     16749: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16750: /* end confdefs.h.  */
1.10      paf      16751: 
1.150     moko     16752: /* Override any GCC internal prototype to avoid an error.
                   16753:    Use char because int might match the return type of a GCC
                   16754:    builtin and then its argument prototype would still apply.  */
1.66      paf      16755: #ifdef __cplusplus
                   16756: extern "C"
                   16757: #endif
                   16758: char shl_load ();
                   16759: int
                   16760: main ()
                   16761: {
1.150     moko     16762: return shl_load ();
1.66      paf      16763:   ;
                   16764:   return 0;
                   16765: }
                   16766: _ACEOF
1.150     moko     16767: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16768:   ac_cv_lib_dld_shl_load=yes
                   16769: else
1.150     moko     16770:   ac_cv_lib_dld_shl_load=no
1.66      paf      16771: fi
1.150     moko     16772: rm -f core conftest.err conftest.$ac_objext \
                   16773:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16774: LIBS=$ac_check_lib_save_LIBS
                   16775: fi
1.150     moko     16776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16777: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16778: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16779: 
1.150     moko     16780: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16781: 
1.128     moko     16782:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16783:            LIBADD_SHL_LOAD="-ldld"
                   16784: fi
                   16785: 
                   16786: fi
                   16787: 
                   16788: 
                   16789: 
                   16790: case $host_os in
                   16791: darwin[1567].*)
                   16792: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16793:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16794: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16795: 
                   16796: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16797: 
1.150     moko     16798:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16799: fi
1.128     moko     16800: 
1.150     moko     16801:   ;;
                   16802: beos*)
1.128     moko     16803:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16804:   ;;
                   16805: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16806:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16807: "
                   16808: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16809:   ac_have_decl=1
1.128     moko     16810: else
1.150     moko     16811:   ac_have_decl=0
1.128     moko     16812: fi
                   16813: 
                   16814: cat >>confdefs.h <<_ACEOF
1.150     moko     16815: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16816: _ACEOF
                   16817: 
                   16818:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16819:   ;;
                   16820: esac
                   16821: 
1.150     moko     16822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16823: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16824: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16825:   $as_echo_n "(cached) " >&6
1.66      paf      16826: else
                   16827:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16828: LIBS="-ldld  $LIBS"
1.150     moko     16829: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16830: /* end confdefs.h.  */
1.62      paf      16831: 
1.150     moko     16832: /* Override any GCC internal prototype to avoid an error.
                   16833:    Use char because int might match the return type of a GCC
                   16834:    builtin and then its argument prototype would still apply.  */
1.66      paf      16835: #ifdef __cplusplus
                   16836: extern "C"
                   16837: #endif
1.128     moko     16838: char dld_link ();
1.66      paf      16839: int
                   16840: main ()
                   16841: {
1.150     moko     16842: return dld_link ();
1.66      paf      16843:   ;
                   16844:   return 0;
                   16845: }
                   16846: _ACEOF
1.150     moko     16847: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16848:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16849: else
1.150     moko     16850:   ac_cv_lib_dld_dld_link=no
1.128     moko     16851: fi
1.150     moko     16852: rm -f core conftest.err conftest.$ac_objext \
                   16853:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16854: LIBS=$ac_check_lib_save_LIBS
                   16855: fi
1.150     moko     16856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16857: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16858: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16859: 
1.150     moko     16860: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16861: 
                   16862:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16863: fi
                   16864: 
                   16865: 
                   16866: 
                   16867: 
                   16868: LT_DLPREOPEN=
                   16869: if test -n "$LT_DLLOADERS"
                   16870: then
                   16871:   for lt_loader in $LT_DLLOADERS; do
                   16872:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16873:   done
                   16874: 
1.150     moko     16875: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16876: 
                   16877: fi
                   16878: 
                   16879: 
                   16880: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16881: 
                   16882: 
                   16883: ac_ext=c
                   16884: ac_cpp='$CPP $CPPFLAGS'
                   16885: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16886: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16887: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16888: 
                   16889: 
1.150     moko     16890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16891: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16892: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16893:   $as_echo_n "(cached) " >&6
1.128     moko     16894: else
                   16895:   lt_cv_sys_symbol_underscore=no
                   16896:   cat > conftest.$ac_ext <<_LT_EOF
                   16897: void nm_test_func(){}
                   16898: int main(){nm_test_func;return 0;}
                   16899: _LT_EOF
1.150     moko     16900:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16901:   (eval $ac_compile) 2>&5
                   16902:   ac_status=$?
1.150     moko     16903:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16904:   test $ac_status = 0; }; then
1.128     moko     16905:     # Now try to grab the symbols.
                   16906:     ac_nlist=conftest.nm
1.150     moko     16907:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16908:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16909:   ac_status=$?
1.150     moko     16910:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16911:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16912:       # See whether the symbols have a leading underscore.
                   16913:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16914:         lt_cv_sys_symbol_underscore=yes
                   16915:       else
                   16916:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16917:          :
                   16918:         else
                   16919:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16920:         fi
                   16921:       fi
                   16922:     else
                   16923:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16924:     fi
                   16925:   else
                   16926:     echo "configure: failed program was:" >&5
                   16927:     cat conftest.c >&5
                   16928:   fi
                   16929:   rm -rf conftest*
1.29      paf      16930: 
1.66      paf      16931: fi
1.150     moko     16932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16933: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16934:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16935: 
1.62      paf      16936: 
1.128     moko     16937: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16938:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16939:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16940:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16941: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16942: if ${libltdl_cv_need_uscore+:} false; then :
                   16943:   $as_echo_n "(cached) " >&6
1.66      paf      16944: else
1.128     moko     16945:   libltdl_cv_need_uscore=unknown
                   16946:           save_LIBS="$LIBS"
                   16947:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16948:          if test "$cross_compiling" = yes; then :
                   16949:   libltdl_cv_need_uscore=cross
                   16950: else
                   16951:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16952:   lt_status=$lt_dlunknown
                   16953:   cat > conftest.$ac_ext <<_LT_EOF
                   16954: #line $LINENO "configure"
                   16955: #include "confdefs.h"
                   16956: 
1.66      paf      16957: #if HAVE_DLFCN_H
1.128     moko     16958: #include <dlfcn.h>
                   16959: #endif
                   16960: 
                   16961: #include <stdio.h>
                   16962: 
                   16963: #ifdef RTLD_GLOBAL
                   16964: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16965: #else
                   16966: #  ifdef DL_GLOBAL
                   16967: #    define LT_DLGLOBAL                DL_GLOBAL
                   16968: #  else
                   16969: #    define LT_DLGLOBAL                0
                   16970: #  endif
                   16971: #endif
                   16972: 
                   16973: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16974:    find out it does not work in some platform. */
                   16975: #ifndef LT_DLLAZY_OR_NOW
                   16976: #  ifdef RTLD_LAZY
                   16977: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16978: #  else
                   16979: #    ifdef DL_LAZY
                   16980: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16981: #    else
                   16982: #      ifdef RTLD_NOW
                   16983: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16984: #      else
                   16985: #        ifdef DL_NOW
                   16986: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16987: #        else
                   16988: #          define LT_DLLAZY_OR_NOW     0
                   16989: #        endif
                   16990: #      endif
                   16991: #    endif
                   16992: #  endif
                   16993: #endif
                   16994: 
                   16995: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16996:    correspondingly for the symbols needed.  */
                   16997: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16998: int fnord () __attribute__((visibility("default")));
1.66      paf      16999: #endif
1.62      paf      17000: 
1.128     moko     17001: int fnord () { return 42; }
                   17002: int main ()
1.66      paf      17003: {
1.128     moko     17004:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   17005:   int status = $lt_dlunknown;
                   17006: 
                   17007:   if (self)
                   17008:     {
                   17009:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   17010:       else
                   17011:         {
                   17012:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   17013:           else puts (dlerror ());
                   17014:        }
                   17015:       /* dlclose (self); */
                   17016:     }
                   17017:   else
                   17018:     puts (dlerror ());
                   17019: 
                   17020:   return status;
1.66      paf      17021: }
1.128     moko     17022: _LT_EOF
1.150     moko     17023:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     17024:   (eval $ac_link) 2>&5
1.66      paf      17025:   ac_status=$?
1.150     moko     17026:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   17027:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     17028:     (./conftest; exit; ) >&5 2>/dev/null
                   17029:     lt_status=$?
                   17030:     case x$lt_status in
                   17031:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   17032:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   17033:       x$lt_dlunknown|x*)  ;;
                   17034:     esac
                   17035:   else :
                   17036:     # compilation failed
                   17037: 
                   17038:   fi
                   17039: fi
                   17040: rm -fr conftest*
                   17041: 
                   17042:          LIBS="$save_LIBS"
                   17043: 
                   17044: fi
1.150     moko     17045: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   17046: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     17047:   fi
                   17048: fi
                   17049: 
                   17050: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      17051: 
1.150     moko     17052: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      17053: 
1.128     moko     17054: fi
                   17055: 
1.150     moko     17056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   17057: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   17058: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   17059:   $as_echo_n "(cached) " >&6
1.66      paf      17060: else
1.128     moko     17061:   # PORTME does your system automatically load deplibs for dlopen?
                   17062:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   17063:   # For now, we just catch OSes we know something about -- in the
                   17064:   # future, we'll try test this programmatically.
                   17065:   lt_cv_sys_dlopen_deplibs=unknown
                   17066:   case $host_os in
                   17067:   aix3*|aix4.1.*|aix4.2.*)
                   17068:     # Unknown whether this is true for these versions of AIX, but
                   17069:     # we want this `case' here to explicitly catch those versions.
                   17070:     lt_cv_sys_dlopen_deplibs=unknown
                   17071:     ;;
                   17072:   aix[4-9]*)
                   17073:     lt_cv_sys_dlopen_deplibs=yes
                   17074:     ;;
                   17075:   amigaos*)
                   17076:     case $host_cpu in
                   17077:     powerpc)
                   17078:       lt_cv_sys_dlopen_deplibs=no
                   17079:       ;;
                   17080:     esac
                   17081:     ;;
                   17082:   darwin*)
                   17083:     # Assuming the user has installed a libdl from somewhere, this is true
                   17084:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   17085:     lt_cv_sys_dlopen_deplibs=yes
                   17086:     ;;
                   17087:   freebsd* | dragonfly*)
                   17088:     lt_cv_sys_dlopen_deplibs=yes
                   17089:     ;;
                   17090:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   17091:     # GNU and its variants, using gnu ld.so (Glibc)
                   17092:     lt_cv_sys_dlopen_deplibs=yes
                   17093:     ;;
                   17094:   hpux10*|hpux11*)
                   17095:     lt_cv_sys_dlopen_deplibs=yes
                   17096:     ;;
                   17097:   interix*)
                   17098:     lt_cv_sys_dlopen_deplibs=yes
                   17099:     ;;
                   17100:   irix[12345]*|irix6.[01]*)
                   17101:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   17102:     # know how it worked for any of those versions.
                   17103:     lt_cv_sys_dlopen_deplibs=unknown
                   17104:     ;;
                   17105:   irix*)
                   17106:     # The case above catches anything before 6.2, and it's known that
                   17107:     # at 6.2 and later dlopen does load deplibs.
                   17108:     lt_cv_sys_dlopen_deplibs=yes
                   17109:     ;;
                   17110:   netbsd*)
                   17111:     lt_cv_sys_dlopen_deplibs=yes
                   17112:     ;;
                   17113:   openbsd*)
                   17114:     lt_cv_sys_dlopen_deplibs=yes
                   17115:     ;;
                   17116:   osf[1234]*)
                   17117:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   17118:     # it did *not* use an RPATH in a shared library to find objects the
                   17119:     # library depends on, so we explicitly say `no'.
                   17120:     lt_cv_sys_dlopen_deplibs=no
                   17121:     ;;
                   17122:   osf5.0|osf5.0a|osf5.1)
                   17123:     # dlopen *does* load deplibs and with the right loader patch applied
                   17124:     # it even uses RPATH in a shared library to search for shared objects
                   17125:     # that the library depends on, but there's no easy way to know if that
                   17126:     # patch is installed.  Since this is the case, all we can really
                   17127:     # say is unknown -- it depends on the patch being installed.  If
                   17128:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   17129:     lt_cv_sys_dlopen_deplibs=unknown
                   17130:     ;;
                   17131:   osf*)
                   17132:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   17133:     # the comments above for what we know about them.
                   17134:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   17135:     # is used to find them so we can finally say `yes'.
                   17136:     lt_cv_sys_dlopen_deplibs=yes
                   17137:     ;;
                   17138:   qnx*)
                   17139:     lt_cv_sys_dlopen_deplibs=yes
                   17140:     ;;
                   17141:   solaris*)
                   17142:     lt_cv_sys_dlopen_deplibs=yes
                   17143:     ;;
                   17144:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   17145:     libltdl_cv_sys_dlopen_deplibs=yes
                   17146:     ;;
                   17147:   esac
                   17148: 
                   17149: fi
1.150     moko     17150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   17151: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     17152: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   17153: 
1.150     moko     17154: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     17155: 
                   17156: fi
                   17157: 
                   17158: :
                   17159: 
                   17160: for ac_header in argz.h
1.150     moko     17161: do :
                   17162:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   17163: "
                   17164: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     17165:   cat >>confdefs.h <<_ACEOF
1.150     moko     17166: #define HAVE_ARGZ_H 1
1.128     moko     17167: _ACEOF
                   17168: 
1.66      paf      17169: fi
1.62      paf      17170: 
1.128     moko     17171: done
                   17172: 
1.29      paf      17173: 
1.150     moko     17174: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     17175: #  include <argz.h>
                   17176: #endif
1.150     moko     17177: "
                   17178: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      17179: 
1.128     moko     17180: cat >>confdefs.h <<_ACEOF
                   17181: #define HAVE_ERROR_T 1
1.62      paf      17182: _ACEOF
1.16      paf      17183: 
                   17184: 
1.128     moko     17185: else
1.16      paf      17186: 
1.150     moko     17187: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      17188: 
1.12      paf      17189: 
1.150     moko     17190: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      17191: 
1.66      paf      17192: fi
1.12      paf      17193: 
1.128     moko     17194: 
                   17195: ARGZ_H=
                   17196: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   17197:        argz_next argz_stringify
1.150     moko     17198: do :
                   17199:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17200: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17201: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17202:   cat >>confdefs.h <<_ACEOF
1.150     moko     17203: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17204: _ACEOF
                   17205: 
                   17206: else
                   17207:   ARGZ_H=argz.h;
                   17208: 
                   17209:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17210: 
                   17211: fi
                   17212: done
                   17213: 
                   17214: 
1.150     moko     17215: if test -z "$ARGZ_H"; then :
                   17216:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   17217: $as_echo_n "checking if argz actually works... " >&6; }
                   17218: if ${lt_cv_sys_argz_works+:} false; then :
                   17219:   $as_echo_n "(cached) " >&6
1.128     moko     17220: else
                   17221:   case $host_os in #(
                   17222:         *cygwin*)
                   17223:           lt_cv_sys_argz_works=no
                   17224:           if test "$cross_compiling" != no; then
                   17225:             lt_cv_sys_argz_works="guessing no"
                   17226:           else
                   17227:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   17228:             save_IFS=$IFS
                   17229:             IFS=-.
                   17230:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   17231:             IFS=$save_IFS
                   17232:             lt_os_major=${2-0}
                   17233:             lt_os_minor=${3-0}
                   17234:             lt_os_micro=${4-0}
                   17235:             if test "$lt_os_major" -gt 1 \
                   17236:                || { test "$lt_os_major" -eq 1 \
                   17237:                  && { test "$lt_os_minor" -gt 5 \
                   17238:                    || { test "$lt_os_minor" -eq 5 \
                   17239:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   17240:               lt_cv_sys_argz_works=yes
                   17241:             fi
                   17242:           fi
                   17243:           ;; #(
                   17244:         *) lt_cv_sys_argz_works=yes ;;
                   17245:         esac
                   17246: fi
1.150     moko     17247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   17248: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   17249:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     17250: 
1.150     moko     17251: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     17252: 
1.62      paf      17253: else
1.128     moko     17254:   ARGZ_H=argz.h
                   17255: 
                   17256: 
                   17257:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   17258: 
                   17259: fi
1.62      paf      17260: fi
1.128     moko     17261: 
                   17262: 
                   17263: 
1.150     moko     17264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   17265: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   17266: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   17267:   $as_echo_n "(cached) " >&6
1.128     moko     17268: else
                   17269:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   17270:     libltdl_cv_preloaded_symbols=yes
                   17271:   else
                   17272:     libltdl_cv_preloaded_symbols=no
                   17273:   fi
                   17274: 
1.62      paf      17275: fi
1.150     moko     17276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   17277: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     17278: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   17279: 
1.150     moko     17280: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      17281: 
                   17282: fi
                   17283: 
1.150     moko     17284: 
                   17285: 
1.128     moko     17286: # Set options
                   17287: 
                   17288: 
                   17289: 
                   17290: 
                   17291: 
                   17292: 
                   17293: 
                   17294: 
                   17295: 
                   17296: 
1.66      paf      17297: 
                   17298: 
1.150     moko     17299: # Check whether --with-included_ltdl was given.
                   17300: if test "${with_included_ltdl+set}" = set; then :
                   17301:   withval=$with_included_ltdl;
                   17302: fi
1.64      paf      17303: 
                   17304: 
1.128     moko     17305: if test "x$with_included_ltdl" != xyes; then
                   17306:   # We are not being forced to use the included libltdl sources, so
                   17307:   # decide whether there is a useful installed version we can use.
1.150     moko     17308:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     17309: 
1.150     moko     17310: "
                   17311: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   17312:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     17313:            #include <ltdl.h>
1.150     moko     17314: "
                   17315: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   17316:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   17317: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   17318: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   17319:   $as_echo_n "(cached) " >&6
1.79      paf      17320: else
1.128     moko     17321:   ac_check_lib_save_LIBS=$LIBS
                   17322: LIBS="-lltdl  $LIBS"
1.150     moko     17323: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      17324: /* end confdefs.h.  */
1.128     moko     17325: 
1.150     moko     17326: /* Override any GCC internal prototype to avoid an error.
                   17327:    Use char because int might match the return type of a GCC
                   17328:    builtin and then its argument prototype would still apply.  */
1.128     moko     17329: #ifdef __cplusplus
                   17330: extern "C"
                   17331: #endif
                   17332: char lt_dladvise_preload ();
1.79      paf      17333: int
                   17334: main ()
                   17335: {
1.150     moko     17336: return lt_dladvise_preload ();
1.79      paf      17337:   ;
                   17338:   return 0;
                   17339: }
                   17340: _ACEOF
1.150     moko     17341: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17342:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      17343: else
1.150     moko     17344:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     17345: fi
1.150     moko     17346: rm -f core conftest.err conftest.$ac_objext \
                   17347:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     17348: LIBS=$ac_check_lib_save_LIBS
1.79      paf      17349: fi
1.150     moko     17350: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   17351: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   17352: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     17353:   with_included_ltdl=no
1.79      paf      17354: else
1.128     moko     17355:   with_included_ltdl=yes
                   17356: fi
                   17357: 
1.79      paf      17358: else
1.128     moko     17359:   with_included_ltdl=yes
                   17360: fi
1.79      paf      17361: 
1.128     moko     17362: else
                   17363:   with_included_ltdl=yes
1.79      paf      17364: fi
1.128     moko     17365: 
                   17366: 
1.79      paf      17367: fi
1.128     moko     17368: 
                   17369: 
                   17370: 
                   17371: 
1.150     moko     17372: # Check whether --with-ltdl_include was given.
                   17373: if test "${with_ltdl_include+set}" = set; then :
                   17374:   withval=$with_ltdl_include;
                   17375: fi
1.128     moko     17376: 
                   17377: 
                   17378: if test -n "$with_ltdl_include"; then
                   17379:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17380:   else
1.150     moko     17381:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17382:   fi
                   17383: else
                   17384:   with_ltdl_include=no
1.79      paf      17385: fi
1.128     moko     17386: 
                   17387: 
1.150     moko     17388: # Check whether --with-ltdl_lib was given.
                   17389: if test "${with_ltdl_lib+set}" = set; then :
                   17390:   withval=$with_ltdl_lib;
                   17391: fi
1.128     moko     17392: 
                   17393: 
                   17394: if test -n "$with_ltdl_lib"; then
                   17395:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17396:   else
1.150     moko     17397:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17398:   fi
                   17399: else
                   17400:   with_ltdl_lib=no
1.79      paf      17401: fi
                   17402: 
1.128     moko     17403: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17404:   ,yes,no,no,)
                   17405:        case $enable_ltdl_convenience in
1.150     moko     17406:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17407:   "") enable_ltdl_convenience=yes
                   17408:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17409: esac
1.150     moko     17410: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17411: LTDLDEPS=$LIBLTDL
                   17412: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17413: 
                   17414: 
                   17415: 
                   17416: 
                   17417: 
                   17418: # For backwards non-gettext consistent compatibility...
                   17419: INCLTDL="$LTDLINCL"
                   17420: 
1.79      paf      17421: 
1.128     moko     17422:        ;;
                   17423:   ,no,no,no,)
                   17424:        # If the included ltdl is not to be used, then use the
                   17425:        # preinstalled libltdl we found.
1.79      paf      17426: 
1.150     moko     17427: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17428: 
1.128     moko     17429:        LIBLTDL=-lltdl
                   17430:        LTDLDEPS=
                   17431:        LTDLINCL=
                   17432:        ;;
                   17433:   ,no*,no,*)
1.150     moko     17434:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17435:        ;;
                   17436:   *)   with_included_ltdl=no
                   17437:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17438:        LTDLDEPS=
                   17439:        LTDLINCL="-I$with_ltdl_include"
                   17440:        ;;
                   17441: esac
                   17442: INCLTDL="$LTDLINCL"
                   17443: 
                   17444: # Report our decision...
1.150     moko     17445: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17446: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17448: $as_echo "$LTDLINCL" >&6; }
                   17449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17450: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17452: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17453: 
                   17454: 
                   17455: 
1.150     moko     17456: # Check whether --enable-ltdl-install was given.
                   17457: if test "${enable_ltdl_install+set}" = set; then :
                   17458:   enableval=$enable_ltdl_install;
                   17459: fi
1.128     moko     17460: 
                   17461: 
                   17462: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17463:   *yes*) ;;
                   17464:   *) enable_ltdl_convenience=yes ;;
                   17465: esac
                   17466: 
1.150     moko     17467:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17468:   INSTALL_LTDL_TRUE=
                   17469:   INSTALL_LTDL_FALSE='#'
                   17470: else
                   17471:   INSTALL_LTDL_TRUE='#'
                   17472:   INSTALL_LTDL_FALSE=
                   17473: fi
                   17474: 
1.150     moko     17475:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17476:   CONVENIENCE_LTDL_TRUE=
                   17477:   CONVENIENCE_LTDL_FALSE='#'
                   17478: else
                   17479:   CONVENIENCE_LTDL_TRUE='#'
                   17480:   CONVENIENCE_LTDL_FALSE=
                   17481: fi
                   17482: 
                   17483: 
                   17484: 
1.150     moko     17485:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17486: 
                   17487: 
                   17488: 
                   17489: 
                   17490: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17491: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17492: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17493: # definitions required by ltdl.c.
                   17494: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17495: 
                   17496: 
                   17497: 
1.150     moko     17498: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17499: do :
                   17500:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17501: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17502: "
                   17503: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17504:   cat >>confdefs.h <<_ACEOF
                   17505: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17506: _ACEOF
1.128     moko     17507: 
1.150     moko     17508: fi
1.128     moko     17509: 
1.150     moko     17510: done
1.128     moko     17511: 
                   17512: 
1.150     moko     17513: for ac_func in closedir opendir readdir
                   17514: do :
                   17515:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17516: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17517: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17518:   cat >>confdefs.h <<_ACEOF
                   17519: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17520: _ACEOF
1.66      paf      17521: 
                   17522: else
1.64      paf      17523: 
1.66      paf      17524: 
1.128     moko     17525:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17526: 
1.66      paf      17527: fi
1.128     moko     17528: done
                   17529: 
                   17530: for ac_func in strlcat strlcpy
1.150     moko     17531: do :
                   17532:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17533: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17534: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17535:   cat >>confdefs.h <<_ACEOF
1.150     moko     17536: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17537: _ACEOF
                   17538: 
                   17539: else
                   17540: 
                   17541: 
                   17542:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17543: 
1.62      paf      17544: fi
1.128     moko     17545: done
                   17546: 
                   17547: 
1.64      paf      17548: 
1.128     moko     17549: cat >>confdefs.h <<_ACEOF
                   17550: #define LT_LIBEXT "$libext"
1.62      paf      17551: _ACEOF
1.64      paf      17552: 
1.128     moko     17553: 
                   17554: name=
                   17555: eval "lt_libprefix=\"$libname_spec\""
                   17556: 
                   17557: cat >>confdefs.h <<_ACEOF
                   17558: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17559: _ACEOF
1.128     moko     17560: 
                   17561: 
                   17562: name=ltdl
                   17563: eval "LTDLOPEN=\"$libname_spec\""
                   17564: 
                   17565: 
                   17566: 
                   17567: 
                   17568: 
                   17569: 
                   17570: 
                   17571: 
                   17572: # Only expand once:
                   17573: 
                   17574: 
                   17575: 
                   17576: 
1.150     moko     17577:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17578: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17579: if ${ac_cv_c_bigendian+:} false; then :
                   17580:   $as_echo_n "(cached) " >&6
                   17581: else
                   17582:   ac_cv_c_bigendian=unknown
                   17583:     # See if we're dealing with a universal compiler.
                   17584:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17585: /* end confdefs.h.  */
                   17586: #ifndef __APPLE_CC__
                   17587:               not a universal capable compiler
                   17588:             #endif
                   17589:             typedef int dummy;
                   17590: 
                   17591: _ACEOF
                   17592: if ac_fn_c_try_compile "$LINENO"; then :
                   17593: 
                   17594:        # Check for potential -arch flags.  It is not universal unless
                   17595:        # there are at least two -arch flags with different values.
                   17596:        ac_arch=
                   17597:        ac_prev=
                   17598:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17599:         if test -n "$ac_prev"; then
                   17600:           case $ac_word in
                   17601:             i?86 | x86_64 | ppc | ppc64)
                   17602:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17603:                 ac_arch=$ac_word
                   17604:               else
                   17605:                 ac_cv_c_bigendian=universal
                   17606:                 break
                   17607:               fi
                   17608:               ;;
                   17609:           esac
                   17610:           ac_prev=
                   17611:         elif test "x$ac_word" = "x-arch"; then
                   17612:           ac_prev=arch
                   17613:         fi
                   17614:        done
                   17615: fi
                   17616: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17617:     if test $ac_cv_c_bigendian = unknown; then
                   17618:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17619:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17620: /* end confdefs.h.  */
1.128     moko     17621: #include <sys/types.h>
1.150     moko     17622:             #include <sys/param.h>
1.128     moko     17623: 
                   17624: int
                   17625: main ()
                   17626: {
1.150     moko     17627: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17628:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17629:                     && LITTLE_ENDIAN)
                   17630:              bogus endian macros
                   17631:             #endif
1.64      paf      17632: 
1.128     moko     17633:   ;
                   17634:   return 0;
                   17635: }
1.66      paf      17636: _ACEOF
1.150     moko     17637: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17638:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17639:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17640: /* end confdefs.h.  */
1.128     moko     17641: #include <sys/types.h>
1.150     moko     17642:                #include <sys/param.h>
1.64      paf      17643: 
                   17644: int
                   17645: main ()
1.128     moko     17646: {
                   17647: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17648:                 not big endian
                   17649:                #endif
1.128     moko     17650: 
                   17651:   ;
                   17652:   return 0;
1.64      paf      17653: }
                   17654: _ACEOF
1.150     moko     17655: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17656:   ac_cv_c_bigendian=yes
1.64      paf      17657: else
1.150     moko     17658:   ac_cv_c_bigendian=no
                   17659: fi
                   17660: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17661: fi
                   17662: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17663:     fi
                   17664:     if test $ac_cv_c_bigendian = unknown; then
                   17665:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17666:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17667: /* end confdefs.h.  */
                   17668: #include <limits.h>
1.64      paf      17669: 
1.150     moko     17670: int
                   17671: main ()
                   17672: {
                   17673: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17674:              bogus endian macros
                   17675:             #endif
1.66      paf      17676: 
1.150     moko     17677:   ;
                   17678:   return 0;
                   17679: }
1.62      paf      17680: _ACEOF
1.150     moko     17681: if ac_fn_c_try_compile "$LINENO"; then :
                   17682:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17683:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17684: /* end confdefs.h.  */
1.150     moko     17685: #include <limits.h>
                   17686: 
1.128     moko     17687: int
                   17688: main ()
                   17689: {
1.150     moko     17690: #ifndef _BIG_ENDIAN
                   17691:                 not big endian
                   17692:                #endif
                   17693: 
1.128     moko     17694:   ;
                   17695:   return 0;
                   17696: }
1.62      paf      17697: _ACEOF
1.150     moko     17698: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17699:   ac_cv_c_bigendian=yes
1.150     moko     17700: else
                   17701:   ac_cv_c_bigendian=no
1.128     moko     17702: fi
1.150     moko     17703: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17704: fi
1.150     moko     17705: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17706:     fi
                   17707:     if test $ac_cv_c_bigendian = unknown; then
                   17708:       # Compile a test program.
                   17709:       if test "$cross_compiling" = yes; then :
                   17710:   # Try to guess by grepping values from an object file.
                   17711:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17712: /* end confdefs.h.  */
                   17713: short int ascii_mm[] =
                   17714:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17715:                short int ascii_ii[] =
                   17716:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17717:                int use_ascii (int i) {
                   17718:                  return ascii_mm[i] + ascii_ii[i];
                   17719:                }
                   17720:                short int ebcdic_ii[] =
                   17721:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17722:                short int ebcdic_mm[] =
                   17723:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17724:                int use_ebcdic (int i) {
                   17725:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17726:                }
                   17727:                extern int foo;
1.62      paf      17728: 
1.150     moko     17729: int
                   17730: main ()
                   17731: {
                   17732: return use_ascii (foo) == use_ebcdic (foo);
                   17733:   ;
                   17734:   return 0;
                   17735: }
                   17736: _ACEOF
                   17737: if ac_fn_c_try_compile "$LINENO"; then :
                   17738:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17739:              ac_cv_c_bigendian=yes
                   17740:            fi
                   17741:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17742:              if test "$ac_cv_c_bigendian" = unknown; then
                   17743:                ac_cv_c_bigendian=no
                   17744:              else
                   17745:                # finding both strings is unlikely to happen, but who knows?
                   17746:                ac_cv_c_bigendian=unknown
                   17747:              fi
                   17748:            fi
1.128     moko     17749: fi
1.150     moko     17750: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17751: else
1.150     moko     17752:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17753: /* end confdefs.h.  */
1.150     moko     17754: $ac_includes_default
1.128     moko     17755: int
                   17756: main ()
                   17757: {
1.150     moko     17758: 
                   17759:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17760:             union
                   17761:             {
                   17762:               long int l;
                   17763:               char c[sizeof (long int)];
                   17764:             } u;
                   17765:             u.l = 1;
                   17766:             return u.c[sizeof (long int) - 1] == 1;
                   17767: 
                   17768:   ;
                   17769:   return 0;
1.128     moko     17770: }
                   17771: _ACEOF
1.150     moko     17772: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17773:   ac_cv_c_bigendian=no
                   17774: else
1.150     moko     17775:   ac_cv_c_bigendian=yes
1.128     moko     17776: fi
1.150     moko     17777: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17778:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17779: fi
1.150     moko     17780: 
                   17781:     fi
1.66      paf      17782: fi
1.150     moko     17783: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17784: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17785:  case $ac_cv_c_bigendian in #(
                   17786:    yes)
                   17787: 
                   17788: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17789: 
                   17790: ;; #(
                   17791:    no)
1.128     moko     17792: 
1.150     moko     17793: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17794: 
1.150     moko     17795:  ;; #(
                   17796:    universal)
1.128     moko     17797: 
1.150     moko     17798: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17799: 
1.150     moko     17800:      ;; #(
                   17801:    *)
                   17802:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17803:  ;;
1.150     moko     17804:  esac
1.66      paf      17805: 
                   17806: 
1.150     moko     17807: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17808: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17809: 
1.66      paf      17810: else
1.1       paf      17811: 
1.66      paf      17812: cat >>confdefs.h <<_ACEOF
1.150     moko     17813: #define size_t unsigned int
1.66      paf      17814: _ACEOF
1.62      paf      17815: 
                   17816: fi
1.66      paf      17817: 
1.156     moko     17818: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17819: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17820: 
                   17821: else
                   17822: 
                   17823: cat >>confdefs.h <<_ACEOF
                   17824: #define ssize_t int
                   17825: _ACEOF
                   17826: 
                   17827: fi
                   17828: 
1.159     moko     17829: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17830: case $ac_cv_c_uint8_t in #(
                   17831:   no|yes) ;; #(
                   17832:   *)
                   17833: 
                   17834: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17835: 
                   17836: 
                   17837: cat >>confdefs.h <<_ACEOF
                   17838: #define uint8_t $ac_cv_c_uint8_t
                   17839: _ACEOF
                   17840: ;;
                   17841:   esac
                   17842: 
1.165     moko     17843: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   17844: case $ac_cv_c_uint16_t in #(
                   17845:   no|yes) ;; #(
                   17846:   *)
                   17847: 
                   17848: 
                   17849: cat >>confdefs.h <<_ACEOF
                   17850: #define uint16_t $ac_cv_c_uint16_t
                   17851: _ACEOF
                   17852: ;;
                   17853:   esac
                   17854: 
1.156     moko     17855: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17856: case $ac_cv_c_uint32_t in #(
                   17857:   no|yes) ;; #(
                   17858:   *)
                   17859: 
                   17860: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17861: 
                   17862: 
                   17863: cat >>confdefs.h <<_ACEOF
                   17864: #define uint32_t $ac_cv_c_uint32_t
                   17865: _ACEOF
                   17866: ;;
                   17867:   esac
1.128     moko     17868: 
1.159     moko     17869: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17870: case $ac_cv_c_uint64_t in #(
                   17871:   no|yes) ;; #(
                   17872:   *)
                   17873: 
                   17874: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17875: 
                   17876: 
                   17877: cat >>confdefs.h <<_ACEOF
                   17878: #define uint64_t $ac_cv_c_uint64_t
                   17879: _ACEOF
                   17880: ;;
                   17881:   esac
                   17882: 
                   17883: 
1.161     moko     17884: ac_header_dirent=no
                   17885: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17886:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17887: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17888: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17889: if eval \${$as_ac_Header+:} false; then :
                   17890:   $as_echo_n "(cached) " >&6
                   17891: else
                   17892:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17893: /* end confdefs.h.  */
                   17894: #include <sys/types.h>
                   17895: #include <$ac_hdr>
                   17896: 
                   17897: int
                   17898: main ()
                   17899: {
                   17900: if ((DIR *) 0)
                   17901: return 0;
                   17902:   ;
                   17903:   return 0;
                   17904: }
                   17905: _ACEOF
                   17906: if ac_fn_c_try_compile "$LINENO"; then :
                   17907:   eval "$as_ac_Header=yes"
                   17908: else
                   17909:   eval "$as_ac_Header=no"
                   17910: fi
                   17911: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17912: fi
                   17913: eval ac_res=\$$as_ac_Header
                   17914:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17915: $as_echo "$ac_res" >&6; }
                   17916: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17917:   cat >>confdefs.h <<_ACEOF
                   17918: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17919: _ACEOF
                   17920: 
                   17921: ac_header_dirent=$ac_hdr; break
                   17922: fi
                   17923: 
                   17924: done
                   17925: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17926: if test $ac_header_dirent = dirent.h; then
                   17927:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17928: $as_echo_n "checking for library containing opendir... " >&6; }
                   17929: if ${ac_cv_search_opendir+:} false; then :
                   17930:   $as_echo_n "(cached) " >&6
                   17931: else
                   17932:   ac_func_search_save_LIBS=$LIBS
                   17933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17934: /* end confdefs.h.  */
                   17935: 
                   17936: /* Override any GCC internal prototype to avoid an error.
                   17937:    Use char because int might match the return type of a GCC
                   17938:    builtin and then its argument prototype would still apply.  */
                   17939: #ifdef __cplusplus
                   17940: extern "C"
                   17941: #endif
                   17942: char opendir ();
                   17943: int
                   17944: main ()
                   17945: {
                   17946: return opendir ();
                   17947:   ;
                   17948:   return 0;
                   17949: }
                   17950: _ACEOF
                   17951: for ac_lib in '' dir; do
                   17952:   if test -z "$ac_lib"; then
                   17953:     ac_res="none required"
                   17954:   else
                   17955:     ac_res=-l$ac_lib
                   17956:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17957:   fi
                   17958:   if ac_fn_c_try_link "$LINENO"; then :
                   17959:   ac_cv_search_opendir=$ac_res
                   17960: fi
                   17961: rm -f core conftest.err conftest.$ac_objext \
                   17962:     conftest$ac_exeext
                   17963:   if ${ac_cv_search_opendir+:} false; then :
                   17964:   break
                   17965: fi
                   17966: done
                   17967: if ${ac_cv_search_opendir+:} false; then :
                   17968: 
                   17969: else
                   17970:   ac_cv_search_opendir=no
                   17971: fi
                   17972: rm conftest.$ac_ext
                   17973: LIBS=$ac_func_search_save_LIBS
                   17974: fi
                   17975: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17976: $as_echo "$ac_cv_search_opendir" >&6; }
                   17977: ac_res=$ac_cv_search_opendir
                   17978: if test "$ac_res" != no; then :
                   17979:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17980: 
                   17981: fi
                   17982: 
                   17983: else
                   17984:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17985: $as_echo_n "checking for library containing opendir... " >&6; }
                   17986: if ${ac_cv_search_opendir+:} false; then :
                   17987:   $as_echo_n "(cached) " >&6
                   17988: else
                   17989:   ac_func_search_save_LIBS=$LIBS
                   17990: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17991: /* end confdefs.h.  */
                   17992: 
                   17993: /* Override any GCC internal prototype to avoid an error.
                   17994:    Use char because int might match the return type of a GCC
                   17995:    builtin and then its argument prototype would still apply.  */
                   17996: #ifdef __cplusplus
                   17997: extern "C"
                   17998: #endif
                   17999: char opendir ();
                   18000: int
                   18001: main ()
                   18002: {
                   18003: return opendir ();
                   18004:   ;
                   18005:   return 0;
                   18006: }
                   18007: _ACEOF
                   18008: for ac_lib in '' x; do
                   18009:   if test -z "$ac_lib"; then
                   18010:     ac_res="none required"
                   18011:   else
                   18012:     ac_res=-l$ac_lib
                   18013:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   18014:   fi
                   18015:   if ac_fn_c_try_link "$LINENO"; then :
                   18016:   ac_cv_search_opendir=$ac_res
                   18017: fi
                   18018: rm -f core conftest.err conftest.$ac_objext \
                   18019:     conftest$ac_exeext
                   18020:   if ${ac_cv_search_opendir+:} false; then :
                   18021:   break
                   18022: fi
                   18023: done
                   18024: if ${ac_cv_search_opendir+:} false; then :
                   18025: 
                   18026: else
                   18027:   ac_cv_search_opendir=no
                   18028: fi
                   18029: rm conftest.$ac_ext
                   18030: LIBS=$ac_func_search_save_LIBS
                   18031: fi
                   18032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   18033: $as_echo "$ac_cv_search_opendir" >&6; }
                   18034: ac_res=$ac_cv_search_opendir
                   18035: if test "$ac_res" != no; then :
                   18036:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   18037: 
                   18038: fi
                   18039: 
                   18040: fi
                   18041: 
                   18042: 
                   18043: 
                   18044:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   18045: #include <sys/types.h>
                   18046: #ifdef HAVE_DIRENT_H
                   18047: # include <dirent.h>
                   18048: #else
                   18049: # define dirent direct
                   18050: # ifdef HAVE_SYS_NDIR_H
                   18051: #  include <sys/ndir.h>
                   18052: # endif
                   18053: # ifdef HAVE_SYS_DIR_H
                   18054: #  include <sys/dir.h>
                   18055: # endif
                   18056: # ifdef HAVE_NDIR_H
                   18057: #  include <ndir.h>
                   18058: # endif
                   18059: #endif
                   18060: 
                   18061: "
                   18062: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   18063: 
                   18064: cat >>confdefs.h <<_ACEOF
                   18065: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   18066: _ACEOF
                   18067: 
                   18068: 
                   18069: fi
                   18070: 
                   18071: 
1.159     moko     18072: 
1.171     moko     18073: # Check whether --enable-largefile was given.
                   18074: if test "${enable_largefile+set}" = set; then :
                   18075:   enableval=$enable_largefile;
                   18076: fi
                   18077: 
                   18078: if test "$enable_largefile" != no; then
                   18079: 
                   18080:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   18081: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   18082: if ${ac_cv_sys_largefile_CC+:} false; then :
                   18083:   $as_echo_n "(cached) " >&6
                   18084: else
                   18085:   ac_cv_sys_largefile_CC=no
                   18086:      if test "$GCC" != yes; then
                   18087:        ac_save_CC=$CC
                   18088:        while :; do
                   18089:         # IRIX 6.2 and later do not support large files by default,
                   18090:         # so use the C compiler's -n32 option if that helps.
                   18091:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18092: /* end confdefs.h.  */
                   18093: #include <sys/types.h>
                   18094:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18095:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18096:     since some C++ compilers masquerading as C compilers
                   18097:     incorrectly reject 9223372036854775807.  */
1.191     moko     18098: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18099:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18100:                       && LARGE_OFF_T % 2147483647 == 1)
                   18101:                      ? 1 : -1];
                   18102: int
                   18103: main ()
                   18104: {
                   18105: 
                   18106:   ;
                   18107:   return 0;
                   18108: }
                   18109: _ACEOF
                   18110:         if ac_fn_c_try_compile "$LINENO"; then :
                   18111:   break
                   18112: fi
                   18113: rm -f core conftest.err conftest.$ac_objext
                   18114:         CC="$CC -n32"
                   18115:         if ac_fn_c_try_compile "$LINENO"; then :
                   18116:   ac_cv_sys_largefile_CC=' -n32'; break
                   18117: fi
                   18118: rm -f core conftest.err conftest.$ac_objext
                   18119:         break
                   18120:        done
                   18121:        CC=$ac_save_CC
                   18122:        rm -f conftest.$ac_ext
                   18123:     fi
                   18124: fi
                   18125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   18126: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   18127:   if test "$ac_cv_sys_largefile_CC" != no; then
                   18128:     CC=$CC$ac_cv_sys_largefile_CC
                   18129:   fi
                   18130: 
                   18131:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   18132: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   18133: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   18134:   $as_echo_n "(cached) " >&6
                   18135: else
                   18136:   while :; do
                   18137:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18138: /* end confdefs.h.  */
                   18139: #include <sys/types.h>
                   18140:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18141:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18142:     since some C++ compilers masquerading as C compilers
                   18143:     incorrectly reject 9223372036854775807.  */
1.191     moko     18144: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18145:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18146:                       && LARGE_OFF_T % 2147483647 == 1)
                   18147:                      ? 1 : -1];
                   18148: int
                   18149: main ()
                   18150: {
                   18151: 
                   18152:   ;
                   18153:   return 0;
                   18154: }
                   18155: _ACEOF
                   18156: if ac_fn_c_try_compile "$LINENO"; then :
                   18157:   ac_cv_sys_file_offset_bits=no; break
                   18158: fi
                   18159: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18160:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18161: /* end confdefs.h.  */
                   18162: #define _FILE_OFFSET_BITS 64
                   18163: #include <sys/types.h>
                   18164:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18165:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18166:     since some C++ compilers masquerading as C compilers
                   18167:     incorrectly reject 9223372036854775807.  */
1.191     moko     18168: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18169:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18170:                       && LARGE_OFF_T % 2147483647 == 1)
                   18171:                      ? 1 : -1];
                   18172: int
                   18173: main ()
                   18174: {
                   18175: 
                   18176:   ;
                   18177:   return 0;
                   18178: }
                   18179: _ACEOF
                   18180: if ac_fn_c_try_compile "$LINENO"; then :
                   18181:   ac_cv_sys_file_offset_bits=64; break
                   18182: fi
                   18183: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18184:   ac_cv_sys_file_offset_bits=unknown
                   18185:   break
                   18186: done
                   18187: fi
                   18188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   18189: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   18190: case $ac_cv_sys_file_offset_bits in #(
                   18191:   no | unknown) ;;
                   18192:   *)
                   18193: cat >>confdefs.h <<_ACEOF
                   18194: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   18195: _ACEOF
                   18196: ;;
                   18197: esac
                   18198: rm -rf conftest*
                   18199:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   18200:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   18201: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   18202: if ${ac_cv_sys_large_files+:} false; then :
                   18203:   $as_echo_n "(cached) " >&6
                   18204: else
                   18205:   while :; do
                   18206:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18207: /* end confdefs.h.  */
                   18208: #include <sys/types.h>
                   18209:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18210:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18211:     since some C++ compilers masquerading as C compilers
                   18212:     incorrectly reject 9223372036854775807.  */
1.191     moko     18213: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18214:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18215:                       && LARGE_OFF_T % 2147483647 == 1)
                   18216:                      ? 1 : -1];
                   18217: int
                   18218: main ()
                   18219: {
                   18220: 
                   18221:   ;
                   18222:   return 0;
                   18223: }
                   18224: _ACEOF
                   18225: if ac_fn_c_try_compile "$LINENO"; then :
                   18226:   ac_cv_sys_large_files=no; break
                   18227: fi
                   18228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18229:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18230: /* end confdefs.h.  */
                   18231: #define _LARGE_FILES 1
                   18232: #include <sys/types.h>
                   18233:  /* Check that off_t can represent 2**63 - 1 correctly.
                   18234:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   18235:     since some C++ compilers masquerading as C compilers
                   18236:     incorrectly reject 9223372036854775807.  */
1.191     moko     18237: #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
1.171     moko     18238:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   18239:                       && LARGE_OFF_T % 2147483647 == 1)
                   18240:                      ? 1 : -1];
                   18241: int
                   18242: main ()
                   18243: {
                   18244: 
                   18245:   ;
                   18246:   return 0;
                   18247: }
                   18248: _ACEOF
                   18249: if ac_fn_c_try_compile "$LINENO"; then :
                   18250:   ac_cv_sys_large_files=1; break
                   18251: fi
                   18252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18253:   ac_cv_sys_large_files=unknown
                   18254:   break
                   18255: done
                   18256: fi
                   18257: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   18258: $as_echo "$ac_cv_sys_large_files" >&6; }
                   18259: case $ac_cv_sys_large_files in #(
                   18260:   no | unknown) ;;
                   18261:   *)
                   18262: cat >>confdefs.h <<_ACEOF
                   18263: #define _LARGE_FILES $ac_cv_sys_large_files
                   18264: _ACEOF
                   18265: ;;
                   18266: esac
                   18267: rm -rf conftest*
                   18268:   fi
                   18269: 
                   18270: 
                   18271: fi
                   18272: 
                   18273: 
1.159     moko     18274: 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
                   18275: do :
                   18276:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18277: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18278: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18279:   cat >>confdefs.h <<_ACEOF
                   18280: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18281: _ACEOF
                   18282: 
                   18283: fi
1.150     moko     18284: 
1.159     moko     18285: done
                   18286: 
1.229     moko     18287: for ac_header in time.h sys/time.h assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h pthread.h
1.159     moko     18288: do :
                   18289:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18290: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18291: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18292:   cat >>confdefs.h <<_ACEOF
                   18293: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18294: _ACEOF
                   18295: 
                   18296: fi
                   18297: 
                   18298: done
                   18299: 
1.164     moko     18300: 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     18301: do :
                   18302:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18303: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18304: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18305:   cat >>confdefs.h <<_ACEOF
                   18306: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18307: _ACEOF
                   18308: 
                   18309: fi
                   18310: 
                   18311: done
                   18312: 
1.163     moko     18313: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     18314: do :
                   18315:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18316: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   18317: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      18318:   cat >>confdefs.h <<_ACEOF
1.150     moko     18319: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      18320: _ACEOF
                   18321: 
                   18322: fi
                   18323: 
1.66      paf      18324: done
1.62      paf      18325: 
                   18326: 
                   18327: 
1.66      paf      18328: case "$host" in
1.107     misha    18329:   *-freebsd4*)
                   18330: 
1.150     moko     18331: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    18332: 
                   18333:   ;;
1.195     moko     18334:   *-freebsd1*)
                   18335: 
                   18336: $as_echo "#define FREEBSD1X /**/" >>confdefs.h
                   18337: 
                   18338:   ;;
1.66      paf      18339:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     18340:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   18341: $as_echo_n "checking for main in -lxnet... " >&6; }
                   18342: if ${ac_cv_lib_xnet_main+:} false; then :
                   18343:   $as_echo_n "(cached) " >&6
1.62      paf      18344: else
1.66      paf      18345:   ac_check_lib_save_LIBS=$LIBS
                   18346: LIBS="-lxnet  $LIBS"
1.150     moko     18347: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18348: /* end confdefs.h.  */
                   18349: 
1.66      paf      18350: 
                   18351: int
                   18352: main ()
                   18353: {
1.150     moko     18354: return main ();
1.66      paf      18355:   ;
                   18356:   return 0;
                   18357: }
1.62      paf      18358: _ACEOF
1.150     moko     18359: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18360:   ac_cv_lib_xnet_main=yes
1.62      paf      18361: else
1.150     moko     18362:   ac_cv_lib_xnet_main=no
1.62      paf      18363: fi
1.150     moko     18364: rm -f core conftest.err conftest.$ac_objext \
                   18365:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18366: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18367: fi
1.150     moko     18368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   18369: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   18370: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      18371:   cat >>confdefs.h <<_ACEOF
1.66      paf      18372: #define HAVE_LIBXNET 1
1.62      paf      18373: _ACEOF
1.1       paf      18374: 
1.66      paf      18375:   LIBS="-lxnet $LIBS"
                   18376: 
1.1       paf      18377: fi
                   18378: 
1.66      paf      18379:   ;;
                   18380:   *-sunos5* | *-solaris2*)
1.150     moko     18381:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   18382: $as_echo_n "checking for main in -lsocket... " >&6; }
                   18383: if ${ac_cv_lib_socket_main+:} false; then :
                   18384:   $as_echo_n "(cached) " >&6
1.62      paf      18385: else
1.66      paf      18386:   ac_check_lib_save_LIBS=$LIBS
                   18387: LIBS="-lsocket  $LIBS"
1.150     moko     18388: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18389: /* end confdefs.h.  */
1.66      paf      18390: 
                   18391: 
1.62      paf      18392: int
                   18393: main ()
                   18394: {
1.150     moko     18395: return main ();
1.62      paf      18396:   ;
                   18397:   return 0;
                   18398: }
                   18399: _ACEOF
1.150     moko     18400: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18401:   ac_cv_lib_socket_main=yes
1.1       paf      18402: else
1.150     moko     18403:   ac_cv_lib_socket_main=no
1.1       paf      18404: fi
1.150     moko     18405: rm -f core conftest.err conftest.$ac_objext \
                   18406:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18407: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18408: fi
1.150     moko     18409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   18410: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   18411: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      18412:   cat >>confdefs.h <<_ACEOF
                   18413: #define HAVE_LIBSOCKET 1
                   18414: _ACEOF
1.1       paf      18415: 
1.66      paf      18416:   LIBS="-lsocket $LIBS"
1.1       paf      18417: 
                   18418: fi
                   18419: 
1.150     moko     18420:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   18421: $as_echo_n "checking for main in -lnsl... " >&6; }
                   18422: if ${ac_cv_lib_nsl_main+:} false; then :
                   18423:   $as_echo_n "(cached) " >&6
1.62      paf      18424: else
1.66      paf      18425:   ac_check_lib_save_LIBS=$LIBS
                   18426: LIBS="-lnsl  $LIBS"
1.150     moko     18427: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18428: /* end confdefs.h.  */
1.66      paf      18429: 
                   18430: 
1.62      paf      18431: int
                   18432: main ()
                   18433: {
1.150     moko     18434: return main ();
1.62      paf      18435:   ;
                   18436:   return 0;
                   18437: }
                   18438: _ACEOF
1.150     moko     18439: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18440:   ac_cv_lib_nsl_main=yes
1.30      paf      18441: else
1.150     moko     18442:   ac_cv_lib_nsl_main=no
1.30      paf      18443: fi
1.150     moko     18444: rm -f core conftest.err conftest.$ac_objext \
                   18445:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18446: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18447: fi
1.150     moko     18448: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18449: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18450: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18451:   cat >>confdefs.h <<_ACEOF
                   18452: #define HAVE_LIBNSL 1
                   18453: _ACEOF
1.30      paf      18454: 
1.66      paf      18455:   LIBS="-lnsl $LIBS"
1.30      paf      18456: 
                   18457: fi
                   18458: 
1.66      paf      18459:   ;;
                   18460:   *-nec-sysv4*)
1.150     moko     18461:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18462: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18463: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18464:   $as_echo_n "(cached) " >&6
1.62      paf      18465: else
1.66      paf      18466:   ac_check_lib_save_LIBS=$LIBS
                   18467: LIBS="-lnsl  $LIBS"
1.150     moko     18468: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18469: /* end confdefs.h.  */
1.66      paf      18470: 
1.150     moko     18471: /* Override any GCC internal prototype to avoid an error.
                   18472:    Use char because int might match the return type of a GCC
                   18473:    builtin and then its argument prototype would still apply.  */
1.66      paf      18474: #ifdef __cplusplus
                   18475: extern "C"
                   18476: #endif
                   18477: char gethostbyname ();
1.62      paf      18478: int
                   18479: main ()
                   18480: {
1.150     moko     18481: return gethostbyname ();
1.62      paf      18482:   ;
                   18483:   return 0;
                   18484: }
                   18485: _ACEOF
1.150     moko     18486: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18487:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18488: else
1.150     moko     18489:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18490: fi
1.150     moko     18491: rm -f core conftest.err conftest.$ac_objext \
                   18492:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18493: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18494: fi
1.150     moko     18495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18496: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18497: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18498:   cat >>confdefs.h <<_ACEOF
                   18499: #define HAVE_LIBNSL 1
                   18500: _ACEOF
1.30      paf      18501: 
1.66      paf      18502:   LIBS="-lnsl $LIBS"
1.30      paf      18503: 
                   18504: fi
                   18505: 
1.150     moko     18506:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18507: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18508: if ${ac_cv_lib_socket_socket+:} false; then :
                   18509:   $as_echo_n "(cached) " >&6
1.8       paf      18510: else
1.66      paf      18511:   ac_check_lib_save_LIBS=$LIBS
                   18512: LIBS="-lsocket  $LIBS"
1.150     moko     18513: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18514: /* end confdefs.h.  */
                   18515: 
1.150     moko     18516: /* Override any GCC internal prototype to avoid an error.
                   18517:    Use char because int might match the return type of a GCC
                   18518:    builtin and then its argument prototype would still apply.  */
1.66      paf      18519: #ifdef __cplusplus
                   18520: extern "C"
                   18521: #endif
                   18522: char socket ();
1.62      paf      18523: int
                   18524: main ()
                   18525: {
1.150     moko     18526: return socket ();
1.62      paf      18527:   ;
                   18528:   return 0;
                   18529: }
                   18530: _ACEOF
1.150     moko     18531: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18532:   ac_cv_lib_socket_socket=yes
1.8       paf      18533: else
1.150     moko     18534:   ac_cv_lib_socket_socket=no
1.8       paf      18535: fi
1.150     moko     18536: rm -f core conftest.err conftest.$ac_objext \
                   18537:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18538: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18539: fi
1.150     moko     18540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18541: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18542: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18543:   cat >>confdefs.h <<_ACEOF
1.128     moko     18544: #define HAVE_LIBSOCKET 1
1.66      paf      18545: _ACEOF
                   18546: 
1.128     moko     18547:   LIBS="-lsocket $LIBS"
1.66      paf      18548: 
1.62      paf      18549: fi
                   18550: 
1.66      paf      18551:   ;;
1.128     moko     18552:   *-cygwin*)
                   18553: 
1.150     moko     18554: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18555: 
1.66      paf      18556:   ;;
                   18557: esac
1.1       paf      18558: 
1.150     moko     18559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18560: $as_echo_n "checking for sin in -lm... " >&6; }
                   18561: if ${ac_cv_lib_m_sin+:} false; then :
                   18562:   $as_echo_n "(cached) " >&6
1.1       paf      18563: else
1.62      paf      18564:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18565: LIBS="-lm  $LIBS"
1.150     moko     18566: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18567: /* end confdefs.h.  */
                   18568: 
1.150     moko     18569: /* Override any GCC internal prototype to avoid an error.
                   18570:    Use char because int might match the return type of a GCC
                   18571:    builtin and then its argument prototype would still apply.  */
1.66      paf      18572: #ifdef __cplusplus
                   18573: extern "C"
                   18574: #endif
                   18575: char sin ();
1.62      paf      18576: int
                   18577: main ()
                   18578: {
1.150     moko     18579: return sin ();
1.62      paf      18580:   ;
                   18581:   return 0;
                   18582: }
                   18583: _ACEOF
1.150     moko     18584: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18585:   ac_cv_lib_m_sin=yes
1.62      paf      18586: else
1.150     moko     18587:   ac_cv_lib_m_sin=no
1.62      paf      18588: fi
1.150     moko     18589: rm -f core conftest.err conftest.$ac_objext \
                   18590:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18591: LIBS=$ac_check_lib_save_LIBS
                   18592: fi
1.150     moko     18593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18594: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18595: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18596:   cat >>confdefs.h <<_ACEOF
1.66      paf      18597: #define HAVE_LIBM 1
1.62      paf      18598: _ACEOF
1.1       paf      18599: 
1.66      paf      18600:   LIBS="-lm $LIBS"
1.1       paf      18601: 
                   18602: fi
                   18603: 
1.150     moko     18604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18605: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18606: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18607:   $as_echo_n "(cached) " >&6
1.1       paf      18608: else
1.62      paf      18609:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18610: LIBS="-lcrypt  $LIBS"
1.150     moko     18611: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18612: /* end confdefs.h.  */
                   18613: 
1.150     moko     18614: /* Override any GCC internal prototype to avoid an error.
                   18615:    Use char because int might match the return type of a GCC
                   18616:    builtin and then its argument prototype would still apply.  */
1.66      paf      18617: #ifdef __cplusplus
                   18618: extern "C"
                   18619: #endif
                   18620: char crypt ();
1.62      paf      18621: int
                   18622: main ()
                   18623: {
1.150     moko     18624: return crypt ();
1.62      paf      18625:   ;
                   18626:   return 0;
                   18627: }
                   18628: _ACEOF
1.150     moko     18629: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18630:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18631: else
1.150     moko     18632:   ac_cv_lib_crypt_crypt=no
1.62      paf      18633: fi
1.150     moko     18634: rm -f core conftest.err conftest.$ac_objext \
                   18635:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18636: LIBS=$ac_check_lib_save_LIBS
                   18637: fi
1.150     moko     18638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18639: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18640: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18641:   cat >>confdefs.h <<_ACEOF
1.66      paf      18642: #define HAVE_LIBCRYPT 1
1.62      paf      18643: _ACEOF
1.1       paf      18644: 
1.66      paf      18645:   LIBS="-lcrypt $LIBS"
                   18646: 
                   18647: fi
                   18648: 
                   18649: 
                   18650: 
1.221     moko     18651: for ac_func in flock fcntl lockf ftruncate fchmod
1.159     moko     18652: do :
                   18653:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18654: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18655: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18656:   cat >>confdefs.h <<_ACEOF
                   18657: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18658: _ACEOF
                   18659: 
                   18660: fi
                   18661: done
1.66      paf      18662: 
1.227     moko     18663: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv syslog
1.150     moko     18664: do :
                   18665:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18666: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18667: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18668:   cat >>confdefs.h <<_ACEOF
1.150     moko     18669: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18670: _ACEOF
1.1       paf      18671: 
1.66      paf      18672: fi
                   18673: done
                   18674: 
1.1       paf      18675: 
                   18676: 
1.159     moko     18677: 
1.67      paf      18678: pa_func=sigsetjmp
1.150     moko     18679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18680: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
1.229     moko     18681: 
                   18682:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18683: /* end confdefs.h.  */
                   18684: 
                   18685: #ifdef HAVE_SETJMP_H
                   18686: #      include <setjmp.h>
                   18687: #endif
                   18688: 
                   18689: int
                   18690: main ()
                   18691: {
                   18692: 
                   18693:         $pa_func(0,0);
                   18694: 
                   18695:   ;
                   18696:   return 0;
                   18697: }
                   18698: _ACEOF
1.150     moko     18699: if ac_fn_c_try_compile "$LINENO"; then :
                   18700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18701: $as_echo "yes" >&6; }
1.67      paf      18702: cat >>confdefs.h <<_ACEOF
1.150     moko     18703: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18704: _ACEOF
                   18705: 
                   18706: 
                   18707: else
1.150     moko     18708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18709: $as_echo "no" >&6; }
1.67      paf      18710: 
1.229     moko     18711: 
1.67      paf      18712: fi
1.150     moko     18713: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18714: 
                   18715: 
                   18716: 
1.159     moko     18717: 
1.229     moko     18718: 
1.150     moko     18719: ac_ext=cpp
1.67      paf      18720: ac_cpp='$CXXCPP $CPPFLAGS'
                   18721: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18722: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18723: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18724: 
                   18725: 
                   18726: 
1.188     moko     18727: for pa_func in trunc round sign isfinite
1.67      paf      18728: do
                   18729: 
1.150     moko     18730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18731: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
1.229     moko     18732: 
                   18733:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18734: /* end confdefs.h.  */
                   18735: 
                   18736: #ifdef HAVE_MATH_H
                   18737: #       include <math.h>
                   18738: #endif
                   18739: 
                   18740: int
                   18741: main ()
                   18742: {
                   18743: 
                   18744:         double result=$pa_func(1.6);
                   18745: 
                   18746:   ;
                   18747:   return 0;
                   18748: }
                   18749: _ACEOF
1.150     moko     18750: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18752: $as_echo "yes" >&6; }
1.67      paf      18753: cat >>confdefs.h <<_ACEOF
1.150     moko     18754: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18755: _ACEOF
1.66      paf      18756: 
1.62      paf      18757: else
1.150     moko     18758:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18759: $as_echo "no" >&6; }
1.62      paf      18760: 
1.229     moko     18761: 
1.62      paf      18762: fi
1.150     moko     18763: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18764: 
1.229     moko     18765: 
1.150     moko     18766: done
                   18767: 
                   18768: ac_ext=c
                   18769: ac_cpp='$CPP $CPPFLAGS'
                   18770: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18771: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18772: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18773: 
                   18774: 
                   18775: 
                   18776: for ac_func in qsort
                   18777: do :
                   18778:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18779: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18780:   cat >>confdefs.h <<_ACEOF
1.150     moko     18781: #define HAVE_QSORT 1
1.62      paf      18782: _ACEOF
1.1       paf      18783: 
1.66      paf      18784: else
1.150     moko     18785:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18786: fi
1.66      paf      18787: done
1.1       paf      18788: 
                   18789: 
1.62      paf      18790: 
1.159     moko     18791: 
1.177     moko     18792: ac_ext=cpp
                   18793: ac_cpp='$CXXCPP $CPPFLAGS'
                   18794: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18795: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18796: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18797: 
1.150     moko     18798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18799: $as_echo_n "checking for timezone variable... " >&6; }
1.229     moko     18800: 
                   18801:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18802: /* end confdefs.h.  */
1.66      paf      18803: #include <time.h>
1.62      paf      18804: int
                   18805: main ()
                   18806: {
1.177     moko     18807: int test=timezone;
1.62      paf      18808:   ;
                   18809:   return 0;
                   18810: }
                   18811: _ACEOF
1.177     moko     18812: if ac_fn_cxx_try_compile "$LINENO"; then :
1.150     moko     18813:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18814:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18815: $as_echo "yes" >&6; }
1.62      paf      18816: else
1.150     moko     18817:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18818: $as_echo "no" >&6; }
1.229     moko     18819: 
1.62      paf      18820: fi
1.150     moko     18821: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.229     moko     18822: 
1.177     moko     18823: ac_ext=c
                   18824: ac_cpp='$CPP $CPPFLAGS'
                   18825: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18826: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18827: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18828: 
1.1       paf      18829: 
1.176     moko     18830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18831: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
1.229     moko     18832: 
                   18833:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18834: /* end confdefs.h.  */
1.66      paf      18835: #include <time.h>
1.62      paf      18836: int
                   18837: main ()
                   18838: {
1.176     moko     18839: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18840:   ;
                   18841:   return 0;
                   18842: }
                   18843: _ACEOF
1.150     moko     18844: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18845:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18846:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18847: $as_echo "yes" >&6; }
1.62      paf      18848: else
1.150     moko     18849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18850: $as_echo "no" >&6; }
1.229     moko     18851: 
1.62      paf      18852: fi
1.150     moko     18853: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18854: 
1.229     moko     18855: 
1.176     moko     18856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18857: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
1.229     moko     18858: 
                   18859:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18860: /* end confdefs.h.  */
1.66      paf      18861: #include <time.h>
1.62      paf      18862: int
                   18863: main ()
                   18864: {
1.176     moko     18865: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18866:   ;
                   18867:   return 0;
                   18868: }
                   18869: _ACEOF
1.150     moko     18870: if ac_fn_c_try_compile "$LINENO"; then :
1.176     moko     18871:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18872:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18873: $as_echo "yes" >&6; }
1.62      paf      18874: else
1.150     moko     18875:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18876: $as_echo "no" >&6; }
1.229     moko     18877: 
1.62      paf      18878: fi
1.150     moko     18879: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18880: 
1.229     moko     18881: 
1.206     moko     18882: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettid" >&5
                   18883: $as_echo_n "checking for gettid... " >&6; }
1.229     moko     18884: 
                   18885:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.206     moko     18886: /* end confdefs.h.  */
                   18887: 
                   18888: #include <sys/types.h>
                   18889: #include <sys/syscall.h>
                   18890: 
                   18891: int
                   18892: main ()
                   18893: {
                   18894: uint tid=syscall(__NR_gettid);
                   18895:   ;
                   18896:   return 0;
                   18897: }
                   18898: _ACEOF
                   18899: if ac_fn_c_try_compile "$LINENO"; then :
                   18900:   $as_echo "#define HAVE_GETTID 1" >>confdefs.h
                   18901:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18902: $as_echo "yes" >&6; }
                   18903: else
                   18904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18905: $as_echo "no" >&6; }
1.229     moko     18906: 
1.206     moko     18907: fi
                   18908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18909: 
1.229     moko     18910: 
1.208     moko     18911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
                   18912: $as_echo_n "checking for TLS... " >&6; }
1.229     moko     18913: 
                   18914:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.208     moko     18915: /* end confdefs.h.  */
1.209     moko     18916: __thread int i=0;
1.208     moko     18917: int
                   18918: main ()
                   18919: {
1.209     moko     18920: 
1.208     moko     18921:   ;
                   18922:   return 0;
                   18923: }
                   18924: _ACEOF
                   18925: if ac_fn_c_try_compile "$LINENO"; then :
                   18926:   $as_echo "#define HAVE_TLS 1" >>confdefs.h
                   18927:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18928: $as_echo "yes" >&6; }
                   18929: else
                   18930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18931: $as_echo "no" >&6; }
1.229     moko     18932: 
1.208     moko     18933: fi
                   18934: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18935: 
1.229     moko     18936: 
1.176     moko     18937: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 0..9999 year date range support" >&5
                   18938: $as_echo_n "checking for 0..9999 year date range support... " >&6; }
                   18939: if test "$cross_compiling" = yes; then :
                   18940:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18941: $as_echo "no" >&6; }
                   18942: else
                   18943:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18944: /* end confdefs.h.  */
1.176     moko     18945: 
                   18946: #include <string.h>
1.66      paf      18947: #include <time.h>
1.176     moko     18948: 
                   18949: int main() {
                   18950:        struct tm tmL,tmH;
                   18951:        memset(&tmL, 0, sizeof(tmL));
                   18952:        memset(&tmH, 0, sizeof(tmH));
                   18953:        tmL.tm_year=-1900;
                   18954:        tmL.tm_mon=-1;
                   18955:        tmH.tm_year=9999-1900;
                   18956:        tmH.tm_mon=12-1;
                   18957:        tmH.tm_mday=31;
                   18958:        return mktime(&tmL)==-1 || mktime(&tmH)==-1;
1.62      paf      18959: }
1.176     moko     18960: 
1.62      paf      18961: _ACEOF
1.176     moko     18962: if ac_fn_c_try_run "$LINENO"; then :
                   18963:   $as_echo "#define PA_DATE64 1" >>confdefs.h
1.158     moko     18964:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18965: $as_echo "yes" >&6; }
1.62      paf      18966: else
1.150     moko     18967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18968: $as_echo "no" >&6; }
1.62      paf      18969: fi
1.176     moko     18970: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   18971:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   18972: fi
1.31      paf      18973: 
1.1       paf      18974: 
                   18975: 
                   18976: 
1.62      paf      18977: 
                   18978: 
                   18979: 
1.206     moko     18980: 
1.208     moko     18981: 
1.150     moko     18982: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18983: 
                   18984: 
1.200     moko     18985: 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      18986: 
                   18987: cat >confcache <<\_ACEOF
1.1       paf      18988: # This file is a shell script that caches the results of configure
                   18989: # tests run on this system so they can be shared between configure
1.62      paf      18990: # scripts and configure runs, see configure's option --config-cache.
                   18991: # It is not useful on other systems.  If it contains results you don't
                   18992: # want to keep, you may remove or edit it.
1.1       paf      18993: #
1.62      paf      18994: # config.status only pays attention to the cache file if you give it
                   18995: # the --recheck option to rerun configure.
1.1       paf      18996: #
1.62      paf      18997: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18998: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18999: # following values.
                   19000: 
                   19001: _ACEOF
                   19002: 
1.1       paf      19003: # The following way of writing the cache mishandles newlines in values,
                   19004: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     19005: # So, we kill variables containing newlines.
1.1       paf      19006: # Ultrix sh set writes to stderr and can't be redirected directly,
                   19007: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     19008: (
                   19009:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   19010:     eval ac_val=\$$ac_var
                   19011:     case $ac_val in #(
                   19012:     *${as_nl}*)
                   19013:       case $ac_var in #(
                   19014:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   19015: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   19016:       esac
                   19017:       case $ac_var in #(
                   19018:       _ | IFS | as_nl) ;; #(
                   19019:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   19020:       *) { eval $ac_var=; unset $ac_var;} ;;
                   19021:       esac ;;
                   19022:     esac
                   19023:   done
                   19024: 
1.62      paf      19025:   (set) 2>&1 |
1.150     moko     19026:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   19027:     *${as_nl}ac_space=\ *)
                   19028:       # `set' does not quote correctly, so add quotes: double-quote
                   19029:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      19030:       sed -n \
1.86      paf      19031:        "s/'/'\\\\''/g;
                   19032:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     19033:       ;; #(
1.62      paf      19034:     *)
                   19035:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     19036:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      19037:       ;;
1.150     moko     19038:     esac |
                   19039:     sort
                   19040: ) |
1.62      paf      19041:   sed '
1.150     moko     19042:      /^ac_cv_env_/b end
1.62      paf      19043:      t clear
1.150     moko     19044:      :clear
1.62      paf      19045:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   19046:      t end
1.150     moko     19047:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   19048:      :end' >>confcache
                   19049: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   19050:   if test -w "$cache_file"; then
                   19051:     if test "x$cache_file" != "x/dev/null"; then
                   19052:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   19053: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   19054:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   19055:        cat confcache >"$cache_file"
                   19056:       else
                   19057:         case $cache_file in #(
                   19058:         */* | ?:*)
                   19059:          mv -f confcache "$cache_file"$$ &&
                   19060:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   19061:         *)
                   19062:          mv -f confcache "$cache_file" ;;
                   19063:        esac
                   19064:       fi
                   19065:     fi
1.1       paf      19066:   else
1.150     moko     19067:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   19068: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      19069:   fi
                   19070: fi
                   19071: rm -f confcache
                   19072: 
                   19073: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   19074: # Let make expand exec_prefix.
                   19075: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   19076: 
1.62      paf      19077: DEFS=-DHAVE_CONFIG_H
                   19078: 
                   19079: ac_libobjs=
                   19080: ac_ltlibobjs=
1.229     moko     19081: U=
1.62      paf      19082: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   19083:   # 1. Remove the extension, and $U if already installed.
1.150     moko     19084:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   19085:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   19086:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   19087:   #    will be set to the directory where LIBOBJS objects are built.
                   19088:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   19089:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      19090: done
                   19091: LIBOBJS=$ac_libobjs
                   19092: 
                   19093: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      19094: 
                   19095: 
1.187     moko     19096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
                   19097: $as_echo_n "checking that generated files are newer than configure... " >&6; }
                   19098:    if test -n "$am_sleep_pid"; then
                   19099:      # Hide warnings about reused PIDs.
                   19100:      wait $am_sleep_pid 2>/dev/null
                   19101:    fi
                   19102:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
                   19103: $as_echo "done" >&6; }
1.150     moko     19104:  if test -n "$EXEEXT"; then
                   19105:   am__EXEEXT_TRUE=
                   19106:   am__EXEEXT_FALSE='#'
                   19107: else
                   19108:   am__EXEEXT_TRUE='#'
                   19109:   am__EXEEXT_FALSE=
                   19110: fi
                   19111: 
1.62      paf      19112: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     19113:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   19114: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19115: fi
1.66      paf      19116: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     19117:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   19118: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19119: fi
1.66      paf      19120: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     19121:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   19122: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19123: fi
1.122     moko     19124: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     19125:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   19126: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      19127: fi
1.128     moko     19128: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     19129:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   19130: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19131: fi
                   19132: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     19133:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   19134: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     19135: fi
1.150     moko     19136: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     19137: 
                   19138:     _ltdl_libobjs=
                   19139:     _ltdl_ltlibobjs=
                   19140:     if test -n "$_LT_LIBOBJS"; then
                   19141:       # Remove the extension.
                   19142:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   19143:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   19144:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   19145:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   19146:       done
                   19147:     fi
                   19148:     ltdl_LIBOBJS=$_ltdl_libobjs
                   19149: 
                   19150:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   19151: 
                   19152: 
1.62      paf      19153: 
1.150     moko     19154: 
                   19155: : "${CONFIG_STATUS=./config.status}"
                   19156: ac_write_fail=0
1.62      paf      19157: ac_clean_files_save=$ac_clean_files
                   19158: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     19159: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   19160: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   19161: as_write_fail=0
                   19162: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      19163: #! $SHELL
                   19164: # Generated by $as_me.
                   19165: # Run this file to recreate the current configuration.
                   19166: # Compiler output produced by configure, useful for debugging
                   19167: # configure, is in config.log if it exists.
                   19168: 
                   19169: debug=false
                   19170: ac_cs_recheck=false
                   19171: ac_cs_silent=false
1.150     moko     19172: 
1.62      paf      19173: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     19174: export SHELL
                   19175: _ASEOF
                   19176: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   19177: ## -------------------- ##
                   19178: ## M4sh Initialization. ##
                   19179: ## -------------------- ##
1.62      paf      19180: 
1.150     moko     19181: # Be more Bourne compatible
                   19182: DUALCASE=1; export DUALCASE # for MKS sh
                   19183: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      19184:   emulate sh
                   19185:   NULLCMD=:
1.150     moko     19186:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      19187:   # is contrary to our usage.  Disable this feature.
                   19188:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     19189:   setopt NO_GLOB_SUBST
                   19190: else
                   19191:   case `(set -o) 2>/dev/null` in #(
                   19192:   *posix*) :
                   19193:     set -o posix ;; #(
                   19194:   *) :
                   19195:      ;;
                   19196: esac
                   19197: fi
                   19198: 
                   19199: 
                   19200: as_nl='
                   19201: '
                   19202: export as_nl
                   19203: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   19204: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   19205: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   19206: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   19207: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   19208: # but without wasting forks for bash or zsh.
                   19209: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   19210:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19211:   as_echo='print -r --'
                   19212:   as_echo_n='print -rn --'
                   19213: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   19214:   as_echo='printf %s\n'
                   19215:   as_echo_n='printf %s'
                   19216: else
                   19217:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   19218:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   19219:     as_echo_n='/usr/ucb/echo -n'
                   19220:   else
                   19221:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   19222:     as_echo_n_body='eval
                   19223:       arg=$1;
                   19224:       case $arg in #(
                   19225:       *"$as_nl"*)
                   19226:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   19227:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   19228:       esac;
                   19229:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   19230:     '
                   19231:     export as_echo_n_body
                   19232:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   19233:   fi
                   19234:   export as_echo_body
                   19235:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      19236: fi
                   19237: 
1.150     moko     19238: # The user is always right.
                   19239: if test "${PATH_SEPARATOR+set}" != set; then
                   19240:   PATH_SEPARATOR=:
                   19241:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   19242:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   19243:       PATH_SEPARATOR=';'
                   19244:   }
1.62      paf      19245: fi
                   19246: 
                   19247: 
1.150     moko     19248: # IFS
                   19249: # We need space, tab and new line, in precisely that order.  Quoting is
                   19250: # there to prevent editors from complaining about space-tab.
                   19251: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   19252: # splitting by setting IFS to empty value.)
                   19253: IFS=" ""       $as_nl"
                   19254: 
                   19255: # Find who we are.  Look in the path if we contain no directory separator.
                   19256: as_myself=
                   19257: case $0 in #((
                   19258:   *[\\/]* ) as_myself=$0 ;;
                   19259:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   19260: for as_dir in $PATH
                   19261: do
                   19262:   IFS=$as_save_IFS
                   19263:   test -z "$as_dir" && as_dir=.
                   19264:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   19265:   done
                   19266: IFS=$as_save_IFS
                   19267: 
                   19268:      ;;
                   19269: esac
                   19270: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   19271: # in which case we are not to be found in the path.
                   19272: if test "x$as_myself" = x; then
                   19273:   as_myself=$0
                   19274: fi
                   19275: if test ! -f "$as_myself"; then
                   19276:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   19277:   exit 1
                   19278: fi
                   19279: 
                   19280: # Unset variables that we do not need and which cause bugs (e.g. in
                   19281: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   19282: # suppresses any "Segmentation fault" message there.  '((' could
                   19283: # trigger a bug in pdksh 5.2.14.
                   19284: for as_var in BASH_ENV ENV MAIL MAILPATH
                   19285: do eval test x\${$as_var+set} = xset \
                   19286:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   19287: done
1.62      paf      19288: PS1='$ '
                   19289: PS2='> '
                   19290: PS4='+ '
                   19291: 
                   19292: # NLS nuisances.
1.150     moko     19293: LC_ALL=C
                   19294: export LC_ALL
                   19295: LANGUAGE=C
                   19296: export LANGUAGE
                   19297: 
                   19298: # CDPATH.
                   19299: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19300: 
                   19301: 
                   19302: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   19303: # ----------------------------------------
                   19304: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   19305: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   19306: # script with STATUS, using 1 if that was 0.
                   19307: as_fn_error ()
                   19308: {
                   19309:   as_status=$1; test $as_status -eq 0 && as_status=1
                   19310:   if test "$4"; then
                   19311:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   19312:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   19313:   fi
                   19314:   $as_echo "$as_me: error: $2" >&2
                   19315:   as_fn_exit $as_status
                   19316: } # as_fn_error
                   19317: 
                   19318: 
                   19319: # as_fn_set_status STATUS
                   19320: # -----------------------
                   19321: # Set $? to STATUS, without forking.
                   19322: as_fn_set_status ()
                   19323: {
                   19324:   return $1
                   19325: } # as_fn_set_status
                   19326: 
                   19327: # as_fn_exit STATUS
                   19328: # -----------------
                   19329: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   19330: as_fn_exit ()
                   19331: {
                   19332:   set +e
                   19333:   as_fn_set_status $1
                   19334:   exit $1
                   19335: } # as_fn_exit
                   19336: 
                   19337: # as_fn_unset VAR
                   19338: # ---------------
                   19339: # Portably unset VAR.
                   19340: as_fn_unset ()
                   19341: {
                   19342:   { eval $1=; unset $1;}
                   19343: }
                   19344: as_unset=as_fn_unset
                   19345: # as_fn_append VAR VALUE
                   19346: # ----------------------
                   19347: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   19348: # advantage of any shell optimizations that allow amortized linear growth over
                   19349: # repeated appends, instead of the typical quadratic growth present in naive
                   19350: # implementations.
                   19351: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   19352:   eval 'as_fn_append ()
                   19353:   {
                   19354:     eval $1+=\$2
                   19355:   }'
                   19356: else
                   19357:   as_fn_append ()
                   19358:   {
                   19359:     eval $1=\$$1\$2
                   19360:   }
                   19361: fi # as_fn_append
                   19362: 
                   19363: # as_fn_arith ARG...
                   19364: # ------------------
                   19365: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   19366: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   19367: # must be portable across $(()) and expr.
                   19368: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   19369:   eval 'as_fn_arith ()
                   19370:   {
                   19371:     as_val=$(( $* ))
                   19372:   }'
                   19373: else
                   19374:   as_fn_arith ()
                   19375:   {
                   19376:     as_val=`expr "$@" || test $? -eq 1`
                   19377:   }
                   19378: fi # as_fn_arith
                   19379: 
1.1       paf      19380: 
1.150     moko     19381: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   19382:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      19383:   as_expr=expr
                   19384: else
                   19385:   as_expr=false
                   19386: fi
                   19387: 
1.150     moko     19388: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      19389:   as_basename=basename
                   19390: else
                   19391:   as_basename=false
                   19392: fi
                   19393: 
1.150     moko     19394: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   19395:   as_dirname=dirname
                   19396: else
                   19397:   as_dirname=false
                   19398: fi
1.62      paf      19399: 
1.150     moko     19400: as_me=`$as_basename -- "$0" ||
1.62      paf      19401: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   19402:         X"$0" : 'X\(//\)$' \| \
1.150     moko     19403:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   19404: $as_echo X/"$0" |
                   19405:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   19406:            s//\1/
                   19407:            q
                   19408:          }
                   19409:          /^X\/\(\/\/\)$/{
                   19410:            s//\1/
                   19411:            q
                   19412:          }
                   19413:          /^X\/\(\/\).*/{
                   19414:            s//\1/
                   19415:            q
                   19416:          }
                   19417:          s/.*/./; q'`
1.62      paf      19418: 
                   19419: # Avoid depending upon Character Ranges.
                   19420: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   19421: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   19422: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   19423: as_cr_digits='0123456789'
                   19424: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   19425: 
1.150     moko     19426: ECHO_C= ECHO_N= ECHO_T=
                   19427: case `echo -n x` in #(((((
                   19428: -n*)
                   19429:   case `echo 'xy\c'` in
                   19430:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   19431:   xy)  ECHO_C='\c';;
                   19432:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   19433:        ECHO_T='        ';;
                   19434:   esac;;
                   19435: *)
                   19436:   ECHO_N='-n';;
1.62      paf      19437: esac
                   19438: 
1.150     moko     19439: rm -f conf$$ conf$$.exe conf$$.file
                   19440: if test -d conf$$.dir; then
                   19441:   rm -f conf$$.dir/conf$$.file
1.62      paf      19442: else
1.150     moko     19443:   rm -f conf$$.dir
                   19444:   mkdir conf$$.dir 2>/dev/null
1.62      paf      19445: fi
1.150     moko     19446: if (echo >conf$$.file) 2>/dev/null; then
                   19447:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   19448:     as_ln_s='ln -s'
                   19449:     # ... but there are two gotchas:
                   19450:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   19451:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.166     moko     19452:     # In both cases, we have to default to `cp -pR'.
1.150     moko     19453:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.166     moko     19454:       as_ln_s='cp -pR'
1.150     moko     19455:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   19456:     as_ln_s=ln
                   19457:   else
1.166     moko     19458:     as_ln_s='cp -pR'
1.62      paf      19459:   fi
                   19460: else
1.166     moko     19461:   as_ln_s='cp -pR'
1.62      paf      19462: fi
1.150     moko     19463: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   19464: rmdir conf$$.dir 2>/dev/null
                   19465: 
                   19466: 
                   19467: # as_fn_mkdir_p
                   19468: # -------------
                   19469: # Create "$as_dir" as a directory, including parents if necessary.
                   19470: as_fn_mkdir_p ()
                   19471: {
                   19472: 
                   19473:   case $as_dir in #(
                   19474:   -*) as_dir=./$as_dir;;
                   19475:   esac
                   19476:   test -d "$as_dir" || eval $as_mkdir_p || {
                   19477:     as_dirs=
                   19478:     while :; do
                   19479:       case $as_dir in #(
                   19480:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   19481:       *) as_qdir=$as_dir;;
                   19482:       esac
                   19483:       as_dirs="'$as_qdir' $as_dirs"
                   19484:       as_dir=`$as_dirname -- "$as_dir" ||
                   19485: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19486:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19487:         X"$as_dir" : 'X\(//\)$' \| \
                   19488:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   19489: $as_echo X"$as_dir" |
                   19490:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19491:            s//\1/
                   19492:            q
                   19493:          }
                   19494:          /^X\(\/\/\)[^/].*/{
                   19495:            s//\1/
                   19496:            q
                   19497:          }
                   19498:          /^X\(\/\/\)$/{
                   19499:            s//\1/
                   19500:            q
                   19501:          }
                   19502:          /^X\(\/\).*/{
                   19503:            s//\1/
                   19504:            q
                   19505:          }
                   19506:          s/.*/./; q'`
                   19507:       test -d "$as_dir" && break
                   19508:     done
                   19509:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   19510:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   19511: 
1.62      paf      19512: 
1.150     moko     19513: } # as_fn_mkdir_p
1.62      paf      19514: if mkdir -p . 2>/dev/null; then
1.150     moko     19515:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      19516: else
1.86      paf      19517:   test -d ./-p && rmdir ./-p
1.62      paf      19518:   as_mkdir_p=false
                   19519: fi
                   19520: 
1.166     moko     19521: 
                   19522: # as_fn_executable_p FILE
                   19523: # -----------------------
                   19524: # Test if FILE is an executable regular file.
                   19525: as_fn_executable_p ()
                   19526: {
                   19527:   test -f "$1" && test -x "$1"
                   19528: } # as_fn_executable_p
                   19529: as_test_x='test -x'
                   19530: as_executable_p=as_fn_executable_p
1.62      paf      19531: 
                   19532: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19533: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19534: 
                   19535: # Sed expression to map a string onto a valid variable name.
1.86      paf      19536: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19537: 
                   19538: 
                   19539: exec 6>&1
1.150     moko     19540: ## ----------------------------------- ##
                   19541: ## Main body of $CONFIG_STATUS script. ##
                   19542: ## ----------------------------------- ##
                   19543: _ASEOF
                   19544: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19545: 
1.150     moko     19546: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19547: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19548: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19549: # values after options handling.
                   19550: ac_log="
1.230     moko     19551: This file was extended by parser $as_me 3.5.2b, which was
1.166     moko     19552: generated by GNU Autoconf 2.69.  Invocation command line was
1.62      paf      19553: 
                   19554:   CONFIG_FILES    = $CONFIG_FILES
                   19555:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19556:   CONFIG_LINKS    = $CONFIG_LINKS
                   19557:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19558:   $ $0 $@
                   19559: 
1.150     moko     19560: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19561: "
                   19562: 
1.62      paf      19563: _ACEOF
                   19564: 
1.150     moko     19565: case $ac_config_files in *"
                   19566: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19567: esac
1.62      paf      19568: 
1.150     moko     19569: case $ac_config_headers in *"
                   19570: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19571: esac
1.62      paf      19572: 
                   19573: 
1.150     moko     19574: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19575: # Files that config.status was made for.
                   19576: config_files="$ac_config_files"
                   19577: config_headers="$ac_config_headers"
                   19578: config_commands="$ac_config_commands"
1.62      paf      19579: 
1.150     moko     19580: _ACEOF
1.62      paf      19581: 
1.150     moko     19582: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19583: ac_cs_usage="\
1.150     moko     19584: \`$as_me' instantiates files and other configuration actions
                   19585: from templates according to the current configuration.  Unless the files
                   19586: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19587: 
1.150     moko     19588: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19589: 
                   19590:   -h, --help       print this help, then exit
1.150     moko     19591:   -V, --version    print version number and configuration settings, then exit
                   19592:       --config     print configuration, then exit
                   19593:   -q, --quiet, --silent
                   19594:                    do not print progress messages
1.62      paf      19595:   -d, --debug      don't remove temporary files
                   19596:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19597:       --file=FILE[:TEMPLATE]
                   19598:                    instantiate the configuration file FILE
                   19599:       --header=FILE[:TEMPLATE]
                   19600:                    instantiate the configuration header FILE
1.62      paf      19601: 
                   19602: Configuration files:
                   19603: $config_files
                   19604: 
                   19605: Configuration headers:
                   19606: $config_headers
                   19607: 
                   19608: Configuration commands:
                   19609: $config_commands
                   19610: 
1.150     moko     19611: Report bugs to the package provider."
                   19612: 
1.62      paf      19613: _ACEOF
1.150     moko     19614: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19615: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19616: ac_cs_version="\\
1.230     moko     19617: parser config.status 3.5.2b
1.166     moko     19618: configured by $0, generated by GNU Autoconf 2.69,
1.150     moko     19619:   with options \\"\$ac_cs_config\\"
1.62      paf      19620: 
1.166     moko     19621: Copyright (C) 2012 Free Software Foundation, Inc.
1.62      paf      19622: This config.status script is free software; the Free Software Foundation
                   19623: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19624: 
                   19625: ac_pwd='$ac_pwd'
                   19626: srcdir='$srcdir'
                   19627: INSTALL='$INSTALL'
                   19628: MKDIR_P='$MKDIR_P'
                   19629: AWK='$AWK'
                   19630: test -n "\$AWK" || AWK=awk
1.62      paf      19631: _ACEOF
                   19632: 
1.150     moko     19633: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19634: # The default lists apply if the user does not specify any file.
1.62      paf      19635: ac_need_defaults=:
                   19636: while test $# != 0
                   19637: do
                   19638:   case $1 in
1.150     moko     19639:   --*=?*)
                   19640:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19641:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19642:     ac_shift=:
                   19643:     ;;
1.150     moko     19644:   --*=)
                   19645:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19646:     ac_optarg=
                   19647:     ac_shift=:
                   19648:     ;;
                   19649:   *)
1.62      paf      19650:     ac_option=$1
                   19651:     ac_optarg=$2
                   19652:     ac_shift=shift
                   19653:     ;;
                   19654:   esac
                   19655: 
                   19656:   case $ac_option in
                   19657:   # Handling of the options.
                   19658:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19659:     ac_cs_recheck=: ;;
1.150     moko     19660:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19661:     $as_echo "$ac_cs_version"; exit ;;
                   19662:   --config | --confi | --conf | --con | --co | --c )
                   19663:     $as_echo "$ac_cs_config"; exit ;;
                   19664:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19665:     debug=: ;;
                   19666:   --file | --fil | --fi | --f )
                   19667:     $ac_shift
1.150     moko     19668:     case $ac_optarg in
                   19669:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19670:     '') as_fn_error $? "missing file argument" ;;
                   19671:     esac
                   19672:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19673:     ac_need_defaults=false;;
                   19674:   --header | --heade | --head | --hea )
                   19675:     $ac_shift
1.150     moko     19676:     case $ac_optarg in
                   19677:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19678:     esac
                   19679:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19680:     ac_need_defaults=false;;
1.150     moko     19681:   --he | --h)
                   19682:     # Conflict between --help and --header
                   19683:     as_fn_error $? "ambiguous option: \`$1'
                   19684: Try \`$0 --help' for more information.";;
                   19685:   --help | --hel | -h )
                   19686:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19687:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19688:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19689:     ac_cs_silent=: ;;
                   19690: 
                   19691:   # This is an error.
1.150     moko     19692:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19693: Try \`$0 --help' for more information." ;;
1.62      paf      19694: 
1.150     moko     19695:   *) as_fn_append ac_config_targets " $1"
                   19696:      ac_need_defaults=false ;;
1.62      paf      19697: 
                   19698:   esac
                   19699:   shift
                   19700: done
                   19701: 
                   19702: ac_configure_extra_args=
                   19703: 
                   19704: if $ac_cs_silent; then
                   19705:   exec 6>/dev/null
1.150     moko     19706:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19707: fi
                   19708: 
                   19709: _ACEOF
                   19710: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19711: if \$ac_cs_recheck; then
1.166     moko     19712:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.150     moko     19713:   shift
                   19714:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19715:   CONFIG_SHELL='$SHELL'
                   19716:   export CONFIG_SHELL
                   19717:   exec "\$@"
                   19718: fi
                   19719: 
                   19720: _ACEOF
                   19721: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19722: exec 5>>config.log
                   19723: {
                   19724:   echo
                   19725:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19726: ## Running $as_me. ##
                   19727: _ASBOX
                   19728:   $as_echo "$ac_log"
                   19729: } >&5
1.62      paf      19730: 
                   19731: _ACEOF
1.150     moko     19732: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19733: #
1.150     moko     19734: # INIT-COMMANDS
1.1       paf      19735: #
1.199     moko     19736: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.62      paf      19737: 
1.128     moko     19738: 
                   19739: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19740: # if CDPATH is set.
                   19741: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19742: 
                   19743: sed_quote_subst='$sed_quote_subst'
                   19744: double_quote_subst='$double_quote_subst'
                   19745: delay_variable_subst='$delay_variable_subst'
                   19746: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19747: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19748: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19749: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19750: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19751: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19752: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19753: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19754: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19755: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19756: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19757: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19758: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19759: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19760: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19761: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19762: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19763: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19764: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19765: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19766: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19767: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19768: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19769: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19770: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19771: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19772: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19773: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19774: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19775: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19776: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19777: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19778: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19779: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19780: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19781: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19782: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19783: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19784: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19785: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19786: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19787: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19788: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19789: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19790: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19791: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19792: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19793: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19794: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19795: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19796: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19797: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19798: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19799: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19800: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19801: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19802: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19803: 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"`'
                   19804: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19805: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19806: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19807: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19808: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19809: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19810: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19811: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19812: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19813: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19814: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19815: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19816: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19817: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19818: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19819: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19820: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19821: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19822: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19823: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19824: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19825: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19826: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19827: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19828: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19829: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19830: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19831: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19832: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19833: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19834: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19835: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19836: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19837: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19838: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19839: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19840: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19841: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19842: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19843: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19844: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19845: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19846: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19847: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19848: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19849: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19850: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19851: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19852: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19853: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19854: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19855: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19856: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19857: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19858: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19859: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19860: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19861: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19862: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19863: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19864: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19865: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19866: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19867: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19868: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19869: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19870: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19871: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19872: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19873: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19874: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19875: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19876: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19877: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19878: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19879: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19880: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19881: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19882: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19883: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19884: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19885: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19886: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19887: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19888: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19889: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19890: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19891: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19892: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19893: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19894: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19895: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19896: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19897: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19898: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19899: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19900: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19901: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19902: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19903: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19904: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19905: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19906: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19907: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19908: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19909: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19910: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19911: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19912: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19913: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19914: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19915: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19916: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19917: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19918: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19919: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19920: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19921: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19922: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19923: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19924: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19925: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19926: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19927: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19928: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19929: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19930: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19931: 
                   19932: LTCC='$LTCC'
                   19933: LTCFLAGS='$LTCFLAGS'
                   19934: compiler='$compiler_DEFAULT'
                   19935: 
                   19936: # A function that is used when there is no print builtin or printf.
                   19937: func_fallback_echo ()
                   19938: {
                   19939:   eval 'cat <<_LTECHO_EOF
                   19940: \$1
                   19941: _LTECHO_EOF'
                   19942: }
                   19943: 
                   19944: # Quote evaled strings.
                   19945: for var in AS \
                   19946: DLLTOOL \
                   19947: OBJDUMP \
                   19948: SHELL \
                   19949: ECHO \
                   19950: PATH_SEPARATOR \
                   19951: SED \
                   19952: GREP \
                   19953: EGREP \
                   19954: FGREP \
                   19955: LD \
                   19956: NM \
                   19957: LN_S \
                   19958: lt_SP2NL \
                   19959: lt_NL2SP \
                   19960: reload_flag \
                   19961: deplibs_check_method \
                   19962: file_magic_cmd \
                   19963: file_magic_glob \
                   19964: want_nocaseglob \
                   19965: sharedlib_from_linklib_cmd \
                   19966: AR \
                   19967: AR_FLAGS \
                   19968: archiver_list_spec \
                   19969: STRIP \
                   19970: RANLIB \
                   19971: CC \
                   19972: CFLAGS \
                   19973: compiler \
                   19974: lt_cv_sys_global_symbol_pipe \
                   19975: lt_cv_sys_global_symbol_to_cdecl \
                   19976: lt_cv_sys_global_symbol_to_c_name_address \
                   19977: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19978: nm_file_list_spec \
                   19979: lt_prog_compiler_no_builtin_flag \
                   19980: lt_prog_compiler_pic \
                   19981: lt_prog_compiler_wl \
                   19982: lt_prog_compiler_static \
                   19983: lt_cv_prog_compiler_c_o \
                   19984: need_locks \
                   19985: MANIFEST_TOOL \
                   19986: DSYMUTIL \
                   19987: NMEDIT \
                   19988: LIPO \
                   19989: OTOOL \
                   19990: OTOOL64 \
                   19991: shrext_cmds \
                   19992: export_dynamic_flag_spec \
                   19993: whole_archive_flag_spec \
                   19994: compiler_needs_object \
                   19995: with_gnu_ld \
                   19996: allow_undefined_flag \
                   19997: no_undefined_flag \
                   19998: hardcode_libdir_flag_spec \
                   19999: hardcode_libdir_separator \
                   20000: exclude_expsyms \
                   20001: include_expsyms \
                   20002: file_list_spec \
                   20003: variables_saved_for_relink \
                   20004: libname_spec \
                   20005: library_names_spec \
                   20006: soname_spec \
                   20007: install_override_mode \
                   20008: finish_eval \
                   20009: old_striplib \
                   20010: striplib \
                   20011: compiler_lib_search_dirs \
                   20012: predep_objects \
                   20013: postdep_objects \
                   20014: predeps \
                   20015: postdeps \
                   20016: compiler_lib_search_path \
                   20017: LD_CXX \
                   20018: reload_flag_CXX \
                   20019: compiler_CXX \
                   20020: lt_prog_compiler_no_builtin_flag_CXX \
                   20021: lt_prog_compiler_pic_CXX \
                   20022: lt_prog_compiler_wl_CXX \
                   20023: lt_prog_compiler_static_CXX \
                   20024: lt_cv_prog_compiler_c_o_CXX \
                   20025: export_dynamic_flag_spec_CXX \
                   20026: whole_archive_flag_spec_CXX \
                   20027: compiler_needs_object_CXX \
                   20028: with_gnu_ld_CXX \
                   20029: allow_undefined_flag_CXX \
                   20030: no_undefined_flag_CXX \
                   20031: hardcode_libdir_flag_spec_CXX \
                   20032: hardcode_libdir_separator_CXX \
                   20033: exclude_expsyms_CXX \
                   20034: include_expsyms_CXX \
                   20035: file_list_spec_CXX \
                   20036: compiler_lib_search_dirs_CXX \
                   20037: predep_objects_CXX \
                   20038: postdep_objects_CXX \
                   20039: predeps_CXX \
                   20040: postdeps_CXX \
                   20041: compiler_lib_search_path_CXX; do
                   20042:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20043:     *[\\\\\\\`\\"\\\$]*)
                   20044:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   20045:       ;;
                   20046:     *)
                   20047:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20048:       ;;
                   20049:     esac
                   20050: done
                   20051: 
                   20052: # Double-quote double-evaled strings.
                   20053: for var in reload_cmds \
                   20054: old_postinstall_cmds \
                   20055: old_postuninstall_cmds \
                   20056: old_archive_cmds \
                   20057: extract_expsyms_cmds \
                   20058: old_archive_from_new_cmds \
                   20059: old_archive_from_expsyms_cmds \
                   20060: archive_cmds \
                   20061: archive_expsym_cmds \
                   20062: module_cmds \
                   20063: module_expsym_cmds \
                   20064: export_symbols_cmds \
                   20065: prelink_cmds \
                   20066: postlink_cmds \
                   20067: postinstall_cmds \
                   20068: postuninstall_cmds \
                   20069: finish_cmds \
                   20070: sys_lib_search_path_spec \
                   20071: sys_lib_dlsearch_path_spec \
                   20072: reload_cmds_CXX \
                   20073: old_archive_cmds_CXX \
                   20074: old_archive_from_new_cmds_CXX \
                   20075: old_archive_from_expsyms_cmds_CXX \
                   20076: archive_cmds_CXX \
                   20077: archive_expsym_cmds_CXX \
                   20078: module_cmds_CXX \
                   20079: module_expsym_cmds_CXX \
                   20080: export_symbols_cmds_CXX \
                   20081: prelink_cmds_CXX \
                   20082: postlink_cmds_CXX; do
                   20083:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   20084:     *[\\\\\\\`\\"\\\$]*)
                   20085:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   20086:       ;;
                   20087:     *)
                   20088:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   20089:       ;;
                   20090:     esac
                   20091: done
                   20092: 
                   20093: ac_aux_dir='$ac_aux_dir'
                   20094: xsi_shell='$xsi_shell'
                   20095: lt_shell_append='$lt_shell_append'
                   20096: 
                   20097: # See if we are running on zsh, and set the options which allow our
                   20098: # commands through without removal of \ escapes INIT.
                   20099: if test -n "\${ZSH_VERSION+set}" ; then
                   20100:    setopt NO_GLOB_SUBST
                   20101: fi
                   20102: 
                   20103: 
                   20104:     PACKAGE='$PACKAGE'
                   20105:     VERSION='$VERSION'
                   20106:     TIMESTAMP='$TIMESTAMP'
                   20107:     RM='$RM'
                   20108:     ofile='$ofile'
                   20109: 
                   20110: 
                   20111: 
                   20112: 
                   20113: 
                   20114: 
1.62      paf      20115: _ACEOF
                   20116: 
1.150     moko     20117: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20118: 
1.150     moko     20119: # Handling of arguments.
1.62      paf      20120: for ac_config_target in $ac_config_targets
1.1       paf      20121: do
1.150     moko     20122:   case $ac_config_target in
                   20123:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   20124:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   20125:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   20126:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   20127:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   20128:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   20129:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   20130:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   20131:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   20132:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   20133:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   20134:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   20135:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   20136:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   20137:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   20138:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   20139:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   20140:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   20141:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   20142:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   20143:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   20144:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   20145:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
1.173     moko     20146:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   20147:     "src/lib/punycode/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/punycode/Makefile" ;;
1.150     moko     20148:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   20149:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   20150:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   20151:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   20152:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   20153:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   20154:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
1.200     moko     20155:     "etc/auto.p") CONFIG_FILES="$CONFIG_FILES etc/auto.p" ;;
1.150     moko     20156: 
                   20157:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      20158:   esac
                   20159: done
                   20160: 
1.150     moko     20161: 
1.62      paf      20162: # If the user did not use the arguments to specify the items to instantiate,
                   20163: # then the envvar interface is used.  Set only those that are not.
                   20164: # We use the long form for the default assignment because of an extremely
                   20165: # bizarre bug on SunOS 4.1.3.
                   20166: if $ac_need_defaults; then
                   20167:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   20168:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   20169:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   20170: fi
                   20171: 
                   20172: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     20173: # simply because there is no reason against having it here, and in addition,
1.62      paf      20174: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     20175: # Hook for its removal unless debugging.
                   20176: # Note that there is a small window in which the directory will not be cleaned:
                   20177: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      20178: $debug ||
                   20179: {
1.150     moko     20180:   tmp= ac_tmp=
                   20181:   trap 'exit_status=$?
                   20182:   : "${ac_tmp:=$tmp}"
                   20183:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   20184: ' 0
                   20185:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      20186: }
                   20187: # Create a (secure) tmp directory for tmp files.
                   20188: 
                   20189: {
1.150     moko     20190:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   20191:   test -d "$tmp"
1.62      paf      20192: }  ||
                   20193: {
1.150     moko     20194:   tmp=./conf$$-$RANDOM
                   20195:   (umask 077 && mkdir "$tmp")
                   20196: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   20197: ac_tmp=$tmp
                   20198: 
                   20199: # Set up the scripts for CONFIG_FILES section.
                   20200: # No need to generate them if there are no CONFIG_FILES.
                   20201: # This happens for instance with `./config.status config.h'.
                   20202: if test -n "$CONFIG_FILES"; then
                   20203: 
                   20204: 
                   20205: ac_cr=`echo X | tr X '\015'`
                   20206: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   20207: # But we know of no other shell where ac_cr would be empty at this
                   20208: # point, so we can use a bashism as a fallback.
                   20209: if test "x$ac_cr" = x; then
                   20210:   eval ac_cr=\$\'\\r\'
                   20211: fi
                   20212: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   20213: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   20214:   ac_cs_awk_cr='\\r'
                   20215: else
                   20216:   ac_cs_awk_cr=$ac_cr
                   20217: fi
                   20218: 
                   20219: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   20220: _ACEOF
                   20221: 
                   20222: 
1.62      paf      20223: {
1.150     moko     20224:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   20225:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   20226:   echo "_ACEOF"
                   20227: } >conf$$subs.sh ||
                   20228:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20229: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   20230: ac_delim='%!_!# '
                   20231: for ac_last_try in false false false false false :; do
                   20232:   . ./conf$$subs.sh ||
                   20233:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20234: 
                   20235:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   20236:   if test $ac_delim_n = $ac_delim_num; then
                   20237:     break
                   20238:   elif $ac_last_try; then
                   20239:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   20240:   else
                   20241:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   20242:   fi
                   20243: done
                   20244: rm -f conf$$subs.sh
                   20245: 
                   20246: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20247: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   20248: _ACEOF
                   20249: sed -n '
                   20250: h
                   20251: s/^/S["/; s/!.*/"]=/
                   20252: p
                   20253: g
                   20254: s/^[^!]*!//
                   20255: :repl
                   20256: t repl
                   20257: s/'"$ac_delim"'$//
                   20258: t delim
                   20259: :nl
                   20260: h
                   20261: s/\(.\{148\}\)..*/\1/
                   20262: t more1
                   20263: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   20264: p
                   20265: n
                   20266: b repl
                   20267: :more1
                   20268: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20269: p
                   20270: g
                   20271: s/.\{148\}//
                   20272: t nl
                   20273: :delim
                   20274: h
                   20275: s/\(.\{148\}\)..*/\1/
                   20276: t more2
                   20277: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   20278: p
                   20279: b
                   20280: :more2
                   20281: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   20282: p
                   20283: g
                   20284: s/.\{148\}//
                   20285: t delim
                   20286: ' <conf$$subs.awk | sed '
                   20287: /^[^""]/{
                   20288:   N
                   20289:   s/\n//
                   20290: }
                   20291: ' >>$CONFIG_STATUS || ac_write_fail=1
                   20292: rm -f conf$$subs.awk
                   20293: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20294: _ACAWK
                   20295: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   20296:   for (key in S) S_is_set[key] = 1
                   20297:   FS = ""
                   20298: 
                   20299: }
                   20300: {
                   20301:   line = $ 0
                   20302:   nfields = split(line, field, "@")
                   20303:   substed = 0
                   20304:   len = length(field[1])
                   20305:   for (i = 2; i < nfields; i++) {
                   20306:     key = field[i]
                   20307:     keylen = length(key)
                   20308:     if (S_is_set[key]) {
                   20309:       value = S[key]
                   20310:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   20311:       len += length(value) + length(field[++i])
                   20312:       substed = 1
                   20313:     } else
                   20314:       len += 1 + keylen
                   20315:   }
                   20316: 
                   20317:   print line
1.62      paf      20318: }
                   20319: 
1.150     moko     20320: _ACAWK
                   20321: _ACEOF
                   20322: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20323: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   20324:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   20325: else
                   20326:   cat
                   20327: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   20328:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      20329: _ACEOF
1.1       paf      20330: 
1.150     moko     20331: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   20332: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   20333: # trailing colons and then remove the whole line if VPATH becomes empty
                   20334: # (actually we leave an empty line to preserve line numbers).
                   20335: if test "x$srcdir" = x.; then
                   20336:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   20337: h
                   20338: s///
                   20339: s/^/:/
                   20340: s/[     ]*$/:/
                   20341: s/:\$(srcdir):/:/g
                   20342: s/:\${srcdir}:/:/g
                   20343: s/:@srcdir@:/:/g
                   20344: s/^:*//
                   20345: s/:*$//
                   20346: x
                   20347: s/\(=[  ]*\).*/\1/
                   20348: G
                   20349: s/\n//
                   20350: s/^[^=]*=[      ]*$//
                   20351: }'
                   20352: fi
1.62      paf      20353: 
1.150     moko     20354: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20355: fi # test -n "$CONFIG_FILES"
1.1       paf      20356: 
1.150     moko     20357: # Set up the scripts for CONFIG_HEADERS section.
                   20358: # No need to generate them if there are no CONFIG_HEADERS.
                   20359: # This happens for instance with `./config.status Makefile'.
                   20360: if test -n "$CONFIG_HEADERS"; then
                   20361: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   20362: BEGIN {
                   20363: _ACEOF
                   20364: 
                   20365: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   20366: # here-document in config.status, that substitutes the proper values into
                   20367: # config.h.in to produce config.h.
                   20368: 
                   20369: # Create a delimiter string that does not exist in confdefs.h, to ease
                   20370: # handling of long lines.
                   20371: ac_delim='%!_!# '
                   20372: for ac_last_try in false false :; do
                   20373:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   20374:   if test -z "$ac_tt"; then
                   20375:     break
                   20376:   elif $ac_last_try; then
                   20377:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   20378:   else
                   20379:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      20380:   fi
1.150     moko     20381: done
1.1       paf      20382: 
1.150     moko     20383: # For the awk script, D is an array of macro values keyed by name,
                   20384: # likewise P contains macro parameters if any.  Preserve backslash
                   20385: # newline sequences.
                   20386: 
                   20387: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   20388: sed -n '
                   20389: s/.\{148\}/&'"$ac_delim"'/g
                   20390: t rset
                   20391: :rset
                   20392: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   20393: t def
                   20394: d
                   20395: :def
                   20396: s/\\$//
                   20397: t bsnl
                   20398: s/["\\]/\\&/g
                   20399: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20400: D["\1"]=" \3"/p
                   20401: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   20402: d
                   20403: :bsnl
                   20404: s/["\\]/\\&/g
                   20405: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   20406: D["\1"]=" \3\\\\\\n"\\/p
                   20407: t cont
                   20408: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   20409: t cont
                   20410: d
                   20411: :cont
                   20412: n
                   20413: s/.\{148\}/&'"$ac_delim"'/g
                   20414: t clear
                   20415: :clear
                   20416: s/\\$//
                   20417: t bsnlc
                   20418: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   20419: d
                   20420: :bsnlc
                   20421: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   20422: b cont
                   20423: ' <confdefs.h | sed '
                   20424: s/'"$ac_delim"'/"\\\
                   20425: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   20426: 
                   20427: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20428:   for (key in D) D_is_set[key] = 1
                   20429:   FS = ""
                   20430: }
                   20431: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   20432:   line = \$ 0
                   20433:   split(line, arg, " ")
                   20434:   if (arg[1] == "#") {
                   20435:     defundef = arg[2]
                   20436:     mac1 = arg[3]
                   20437:   } else {
                   20438:     defundef = substr(arg[1], 2)
                   20439:     mac1 = arg[2]
                   20440:   }
                   20441:   split(mac1, mac2, "(") #)
                   20442:   macro = mac2[1]
                   20443:   prefix = substr(line, 1, index(line, defundef) - 1)
                   20444:   if (D_is_set[macro]) {
                   20445:     # Preserve the white space surrounding the "#".
                   20446:     print prefix "define", macro P[macro] D[macro]
                   20447:     next
                   20448:   } else {
                   20449:     # Replace #undef with comments.  This is necessary, for example,
                   20450:     # in the case of _POSIX_SOURCE, which is predefined and required
                   20451:     # on some systems where configure will not decide to define it.
                   20452:     if (defundef == "undef") {
                   20453:       print "/*", prefix defundef, macro, "*/"
                   20454:       next
                   20455:     }
                   20456:   }
                   20457: }
                   20458: { print }
                   20459: _ACAWK
1.62      paf      20460: _ACEOF
1.150     moko     20461: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20462:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   20463: fi # test -n "$CONFIG_HEADERS"
                   20464: 
                   20465: 
                   20466: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   20467: shift
                   20468: for ac_tag
                   20469: do
                   20470:   case $ac_tag in
                   20471:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   20472:   esac
                   20473:   case $ac_mode$ac_tag in
                   20474:   :[FHL]*:*);;
                   20475:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   20476:   :[FH]-) ac_tag=-:-;;
                   20477:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   20478:   esac
                   20479:   ac_save_IFS=$IFS
                   20480:   IFS=:
                   20481:   set x $ac_tag
                   20482:   IFS=$ac_save_IFS
                   20483:   shift
                   20484:   ac_file=$1
                   20485:   shift
                   20486: 
                   20487:   case $ac_mode in
                   20488:   :L) ac_source=$1;;
                   20489:   :[FH])
                   20490:     ac_file_inputs=
                   20491:     for ac_f
                   20492:     do
                   20493:       case $ac_f in
                   20494:       -) ac_f="$ac_tmp/stdin";;
                   20495:       *) # Look for the file first in the build tree, then in the source tree
                   20496:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   20497:         # because $ac_f cannot contain `:'.
                   20498:         test -f "$ac_f" ||
                   20499:           case $ac_f in
                   20500:           [\\/$]*) false;;
                   20501:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   20502:           esac ||
                   20503:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   20504:       esac
                   20505:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   20506:       as_fn_append ac_file_inputs " '$ac_f'"
                   20507:     done
                   20508: 
                   20509:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   20510:     # use $as_me), people would be surprised to read:
                   20511:     #    /* config.h.  Generated by config.status.  */
                   20512:     configure_input='Generated from '`
                   20513:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   20514:        `' by configure.'
                   20515:     if test x"$ac_file" != x-; then
                   20516:       configure_input="$ac_file.  $configure_input"
                   20517:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   20518: $as_echo "$as_me: creating $ac_file" >&6;}
                   20519:     fi
                   20520:     # Neutralize special characters interpreted by sed in replacement strings.
                   20521:     case $configure_input in #(
                   20522:     *\&* | *\|* | *\\* )
                   20523:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   20524:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   20525:     *) ac_sed_conf_input=$configure_input;;
                   20526:     esac
                   20527: 
                   20528:     case $ac_tag in
                   20529:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20530:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20531:     esac
                   20532:     ;;
1.1       paf      20533:   esac
                   20534: 
1.150     moko     20535:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20536: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20537:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20538:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20539:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20540: $as_echo X"$ac_file" |
                   20541:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20542:            s//\1/
                   20543:            q
                   20544:          }
                   20545:          /^X\(\/\/\)[^/].*/{
                   20546:            s//\1/
                   20547:            q
                   20548:          }
                   20549:          /^X\(\/\/\)$/{
                   20550:            s//\1/
                   20551:            q
                   20552:          }
                   20553:          /^X\(\/\).*/{
                   20554:            s//\1/
                   20555:            q
                   20556:          }
                   20557:          s/.*/./; q'`
                   20558:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20559:   ac_builddir=.
                   20560: 
1.150     moko     20561: case "$ac_dir" in
                   20562: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20563: *)
                   20564:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20565:   # A ".." for each directory in $ac_dir_suffix.
                   20566:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20567:   case $ac_top_builddir_sub in
                   20568:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20569:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20570:   esac ;;
                   20571: esac
                   20572: ac_abs_top_builddir=$ac_pwd
                   20573: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20574: # for backward compatibility:
                   20575: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20576: 
                   20577: case $srcdir in
1.150     moko     20578:   .)  # We are building in place.
1.62      paf      20579:     ac_srcdir=.
1.150     moko     20580:     ac_top_srcdir=$ac_top_builddir_sub
                   20581:     ac_abs_top_srcdir=$ac_pwd ;;
                   20582:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20583:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20584:     ac_top_srcdir=$srcdir
                   20585:     ac_abs_top_srcdir=$srcdir ;;
                   20586:   *) # Relative name.
                   20587:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20588:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20589:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20590: esac
1.150     moko     20591: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20592: 
1.62      paf      20593: 
1.150     moko     20594:   case $ac_mode in
                   20595:   :F)
                   20596:   #
                   20597:   # CONFIG_FILE
                   20598:   #
1.1       paf      20599: 
1.62      paf      20600:   case $INSTALL in
                   20601:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20602:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20603:   esac
1.150     moko     20604:   ac_MKDIR_P=$MKDIR_P
                   20605:   case $MKDIR_P in
                   20606:   [\\/$]* | ?:[\\/]* ) ;;
                   20607:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20608:   esac
                   20609: _ACEOF
1.1       paf      20610: 
1.150     moko     20611: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20612: # If the template does not know about datarootdir, expand it.
                   20613: # FIXME: This hack should be removed a few years after 2.60.
                   20614: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20615: ac_sed_dataroot='
                   20616: /datarootdir/ {
                   20617:   p
                   20618:   q
                   20619: }
                   20620: /@datadir@/p
                   20621: /@docdir@/p
                   20622: /@infodir@/p
                   20623: /@localedir@/p
                   20624: /@mandir@/p'
                   20625: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20626: *datarootdir*) ac_datarootdir_seen=yes;;
                   20627: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20628:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20629: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20630: _ACEOF
                   20631: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20632:   ac_datarootdir_hack='
                   20633:   s&@datadir@&$datadir&g
                   20634:   s&@docdir@&$docdir&g
                   20635:   s&@infodir@&$infodir&g
                   20636:   s&@localedir@&$localedir&g
                   20637:   s&@mandir@&$mandir&g
                   20638:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20639: esac
                   20640: _ACEOF
1.62      paf      20641: 
1.150     moko     20642: # Neutralize VPATH when `$srcdir' = `.'.
                   20643: # Shell code in configure.ac might set extrasub.
                   20644: # FIXME: do we really want to maintain this feature?
                   20645: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20646: ac_sed_extra="$ac_vpsub
1.62      paf      20647: $extrasub
                   20648: _ACEOF
1.150     moko     20649: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20650: :t
                   20651: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20652: s|@configure_input@|$ac_sed_conf_input|;t t
                   20653: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20654: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20655: s&@srcdir@&$ac_srcdir&;t t
                   20656: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20657: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20658: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20659: s&@builddir@&$ac_builddir&;t t
                   20660: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20661: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20662: s&@INSTALL@&$ac_INSTALL&;t t
                   20663: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20664: $ac_datarootdir_hack
                   20665: "
                   20666: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20667:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20668: 
                   20669: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20670:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20671:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20672:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20673:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20674: which seems to be undefined.  Please make sure it is defined" >&5
                   20675: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20676: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20677: 
1.150     moko     20678:   rm -f "$ac_tmp/stdin"
1.62      paf      20679:   case $ac_file in
1.150     moko     20680:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20681:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20682:   esac \
                   20683:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20684:  ;;
                   20685:   :H)
                   20686:   #
                   20687:   # CONFIG_HEADER
                   20688:   #
1.62      paf      20689:   if test x"$ac_file" != x-; then
1.150     moko     20690:     {
                   20691:       $as_echo "/* $configure_input  */" \
                   20692:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20693:     } >"$ac_tmp/config.h" \
                   20694:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20695:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20696:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20697: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20698:     else
1.150     moko     20699:       rm -f "$ac_file"
                   20700:       mv "$ac_tmp/config.h" "$ac_file" \
                   20701:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20702:     fi
                   20703:   else
1.150     moko     20704:     $as_echo "/* $configure_input  */" \
                   20705:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20706:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20707:   fi
1.150     moko     20708: # Compute "$ac_file"'s index in $config_headers.
                   20709: _am_arg="$ac_file"
1.86      paf      20710: _am_stamp_count=1
                   20711: for _am_header in $config_headers :; do
                   20712:   case $_am_header in
1.150     moko     20713:     $_am_arg | $_am_arg:* )
1.86      paf      20714:       break ;;
                   20715:     * )
                   20716:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20717:   esac
                   20718: done
1.150     moko     20719: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20720: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20721:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20722:         X"$_am_arg" : 'X\(//\)$' \| \
                   20723:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20724: $as_echo X"$_am_arg" |
                   20725:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20726:            s//\1/
                   20727:            q
                   20728:          }
                   20729:          /^X\(\/\/\)[^/].*/{
                   20730:            s//\1/
                   20731:            q
                   20732:          }
                   20733:          /^X\(\/\/\)$/{
                   20734:            s//\1/
                   20735:            q
                   20736:          }
                   20737:          /^X\(\/\).*/{
                   20738:            s//\1/
                   20739:            q
                   20740:          }
                   20741:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20742:  ;;
1.62      paf      20743: 
1.150     moko     20744:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20745: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20746:  ;;
                   20747:   esac
1.86      paf      20748: 
1.62      paf      20749: 
1.150     moko     20750:   case $ac_file$ac_mode in
                   20751:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.187     moko     20752:   # Older Autoconf quotes --file arguments for eval, but not when files
1.150     moko     20753:   # are listed without --file.  Let's play safe and only enable the eval
                   20754:   # if we detect the quoting.
1.199     moko     20755:   # TODO: see whether this extra hack can be removed once we start
                   20756:   # requiring Autoconf 2.70 or later.
                   20757:   case $CONFIG_FILES in #(
                   20758:   *\'*) :
                   20759:     eval set x "$CONFIG_FILES" ;; #(
                   20760:   *) :
                   20761:     set x $CONFIG_FILES ;; #(
                   20762:   *) :
                   20763:      ;;
                   20764: esac
1.150     moko     20765:   shift
1.199     moko     20766:   # Used to flag and report bootstrapping failures.
                   20767:   am_rc=0
                   20768:   for am_mf
1.150     moko     20769:   do
                   20770:     # Strip MF so we end up with the name of the file.
1.199     moko     20771:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
                   20772:     # Check whether this is an Automake generated Makefile which includes
                   20773:     # dependency-tracking related rules and includes.
                   20774:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.150     moko     20775:     # limit of 2048, but all sed's we know have understand at least 4000.
1.199     moko     20776:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
                   20777:       || continue
                   20778:     am_dirpart=`$as_dirname -- "$am_mf" ||
                   20779: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20780:         X"$am_mf" : 'X\(//\)[^/]' \| \
                   20781:         X"$am_mf" : 'X\(//\)$' \| \
                   20782:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20783: $as_echo X"$am_mf" |
1.150     moko     20784:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20785:            s//\1/
                   20786:            q
                   20787:          }
                   20788:          /^X\(\/\/\)[^/].*/{
                   20789:            s//\1/
                   20790:            q
                   20791:          }
                   20792:          /^X\(\/\/\)$/{
                   20793:            s//\1/
                   20794:            q
                   20795:          }
                   20796:          /^X\(\/\).*/{
                   20797:            s//\1/
                   20798:            q
                   20799:          }
                   20800:          s/.*/./; q'`
1.199     moko     20801:     am_filepart=`$as_basename -- "$am_mf" ||
                   20802: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
                   20803:         X"$am_mf" : 'X\(//\)$' \| \
                   20804:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20805: $as_echo X/"$am_mf" |
                   20806:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.150     moko     20807:            s//\1/
                   20808:            q
                   20809:          }
1.199     moko     20810:          /^X\/\(\/\/\)$/{
1.150     moko     20811:            s//\1/
                   20812:            q
                   20813:          }
1.199     moko     20814:          /^X\/\(\/\).*/{
1.150     moko     20815:            s//\1/
                   20816:            q
                   20817:          }
                   20818:          s/.*/./; q'`
1.199     moko     20819:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
                   20820:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20821:         | $MAKE -f - am--depfiles" >&5
                   20822:    (cd "$am_dirpart" \
                   20823:       && sed -e '/# am--include-marker/d' "$am_filepart" \
                   20824:         | $MAKE -f - am--depfiles) >&5 2>&5
                   20825:    ac_status=$?
                   20826:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   20827:    (exit $ac_status); } || am_rc=$?
1.62      paf      20828:   done
1.199     moko     20829:   if test $am_rc -ne 0; then
                   20830:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   20831: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   20832: as_fn_error $? "Something went wrong bootstrapping makefile fragments
1.216     moko     20833:     for automatic dependency tracking.  If GNU make was not used, consider
                   20834:     re-running the configure script with MAKE=\"gmake\" (or whatever is
                   20835:     necessary).  You can also try re-running configure with the
1.199     moko     20836:     '--disable-dependency-tracking' option to at least be able to build
                   20837:     the package (albeit without support for automatic dependency tracking).
                   20838: See \`config.log' for more details" "$LINENO" 5; }
                   20839:   fi
                   20840:   { am_dirpart=; unset am_dirpart;}
                   20841:   { am_filepart=; unset am_filepart;}
                   20842:   { am_mf=; unset am_mf;}
                   20843:   { am_rc=; unset am_rc;}
                   20844:   rm -f conftest-deps.mk
1.150     moko     20845: }
1.62      paf      20846:  ;;
1.150     moko     20847:     "libtool":C)
1.128     moko     20848: 
                   20849:     # See if we are running on zsh, and set the options which allow our
                   20850:     # commands through without removal of \ escapes.
                   20851:     if test -n "${ZSH_VERSION+set}" ; then
                   20852:       setopt NO_GLOB_SUBST
                   20853:     fi
                   20854: 
                   20855:     cfgfile="${ofile}T"
                   20856:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20857:     $RM "$cfgfile"
                   20858: 
                   20859:     cat <<_LT_EOF >> "$cfgfile"
                   20860: #! $SHELL
                   20861: 
                   20862: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20863: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20864: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20865: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20866: #
                   20867: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20868: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20869: #                 Foundation, Inc.
                   20870: #   Written by Gordon Matzigkeit, 1996
                   20871: #
                   20872: #   This file is part of GNU Libtool.
                   20873: #
                   20874: # GNU Libtool is free software; you can redistribute it and/or
                   20875: # modify it under the terms of the GNU General Public License as
                   20876: # published by the Free Software Foundation; either version 2 of
                   20877: # the License, or (at your option) any later version.
                   20878: #
                   20879: # As a special exception to the GNU General Public License,
                   20880: # if you distribute this file as part of a program or library that
                   20881: # is built using GNU Libtool, you may include this file under the
                   20882: # same distribution terms that you use for the rest of that program.
                   20883: #
                   20884: # GNU Libtool is distributed in the hope that it will be useful,
                   20885: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20886: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20887: # GNU General Public License for more details.
                   20888: #
                   20889: # You should have received a copy of the GNU General Public License
                   20890: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20891: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20892: # obtained by writing to the Free Software Foundation, Inc.,
                   20893: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20894: 
                   20895: 
                   20896: # The names of the tagged configurations supported by this script.
                   20897: available_tags="CXX "
                   20898: 
                   20899: # ### BEGIN LIBTOOL CONFIG
                   20900: 
                   20901: # Which release of libtool.m4 was used?
                   20902: macro_version=$macro_version
                   20903: macro_revision=$macro_revision
                   20904: 
                   20905: # Assembler program.
                   20906: AS=$lt_AS
                   20907: 
                   20908: # DLL creation program.
                   20909: DLLTOOL=$lt_DLLTOOL
                   20910: 
                   20911: # Object dumper program.
                   20912: OBJDUMP=$lt_OBJDUMP
                   20913: 
1.145     moko     20914: # What type of objects to build.
                   20915: pic_mode=$pic_mode
                   20916: 
1.128     moko     20917: # Whether or not to build shared libraries.
                   20918: build_libtool_libs=$enable_shared
                   20919: 
1.138     moko     20920: # Whether or not to build static libraries.
                   20921: build_old_libs=$enable_static
                   20922: 
1.128     moko     20923: # Whether or not to optimize for fast installation.
                   20924: fast_install=$enable_fast_install
                   20925: 
                   20926: # Shell to use when invoking shell scripts.
                   20927: SHELL=$lt_SHELL
                   20928: 
                   20929: # An echo program that protects backslashes.
                   20930: ECHO=$lt_ECHO
                   20931: 
                   20932: # The PATH separator for the build system.
                   20933: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20934: 
                   20935: # The host system.
                   20936: host_alias=$host_alias
                   20937: host=$host
                   20938: host_os=$host_os
                   20939: 
                   20940: # The build system.
                   20941: build_alias=$build_alias
                   20942: build=$build
                   20943: build_os=$build_os
                   20944: 
                   20945: # A sed program that does not truncate output.
                   20946: SED=$lt_SED
                   20947: 
                   20948: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20949: Xsed="\$SED -e 1s/^X//"
                   20950: 
                   20951: # A grep program that handles long lines.
                   20952: GREP=$lt_GREP
                   20953: 
                   20954: # An ERE matcher.
                   20955: EGREP=$lt_EGREP
                   20956: 
                   20957: # A literal string matcher.
                   20958: FGREP=$lt_FGREP
                   20959: 
                   20960: # A BSD- or MS-compatible name lister.
                   20961: NM=$lt_NM
                   20962: 
                   20963: # Whether we need soft or hard links.
                   20964: LN_S=$lt_LN_S
                   20965: 
                   20966: # What is the maximum length of a command?
                   20967: max_cmd_len=$max_cmd_len
                   20968: 
                   20969: # Object file suffix (normally "o").
                   20970: objext=$ac_objext
                   20971: 
                   20972: # Executable file suffix (normally "").
                   20973: exeext=$exeext
                   20974: 
                   20975: # whether the shell understands "unset".
                   20976: lt_unset=$lt_unset
                   20977: 
                   20978: # turn spaces into newlines.
                   20979: SP2NL=$lt_lt_SP2NL
                   20980: 
                   20981: # turn newlines into spaces.
                   20982: NL2SP=$lt_lt_NL2SP
                   20983: 
                   20984: # convert \$build file names to \$host format.
                   20985: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20986: 
                   20987: # convert \$build files to toolchain format.
                   20988: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20989: 
                   20990: # Method to check whether dependent libraries are shared objects.
                   20991: deplibs_check_method=$lt_deplibs_check_method
                   20992: 
                   20993: # Command to use when deplibs_check_method = "file_magic".
                   20994: file_magic_cmd=$lt_file_magic_cmd
                   20995: 
                   20996: # How to find potential files when deplibs_check_method = "file_magic".
                   20997: file_magic_glob=$lt_file_magic_glob
                   20998: 
                   20999: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   21000: want_nocaseglob=$lt_want_nocaseglob
                   21001: 
                   21002: # Command to associate shared and link libraries.
                   21003: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   21004: 
                   21005: # The archiver.
                   21006: AR=$lt_AR
                   21007: 
                   21008: # Flags to create an archive.
                   21009: AR_FLAGS=$lt_AR_FLAGS
                   21010: 
                   21011: # How to feed a file listing to the archiver.
                   21012: archiver_list_spec=$lt_archiver_list_spec
                   21013: 
                   21014: # A symbol stripping program.
                   21015: STRIP=$lt_STRIP
                   21016: 
                   21017: # Commands used to install an old-style archive.
                   21018: RANLIB=$lt_RANLIB
                   21019: old_postinstall_cmds=$lt_old_postinstall_cmds
                   21020: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   21021: 
                   21022: # Whether to use a lock for old archive extraction.
                   21023: lock_old_archive_extraction=$lock_old_archive_extraction
                   21024: 
                   21025: # A C compiler.
                   21026: LTCC=$lt_CC
                   21027: 
                   21028: # LTCC compiler flags.
                   21029: LTCFLAGS=$lt_CFLAGS
                   21030: 
                   21031: # Take the output of nm and produce a listing of raw symbols and C names.
                   21032: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   21033: 
                   21034: # Transform the output of nm in a proper C declaration.
                   21035: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   21036: 
                   21037: # Transform the output of nm in a C name address pair.
                   21038: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   21039: 
                   21040: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   21041: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   21042: 
                   21043: # Specify filename containing input files for \$NM.
                   21044: nm_file_list_spec=$lt_nm_file_list_spec
                   21045: 
                   21046: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   21047: lt_sysroot=$lt_sysroot
                   21048: 
                   21049: # The name of the directory that contains temporary libtool files.
                   21050: objdir=$objdir
                   21051: 
                   21052: # Used to examine libraries when file_magic_cmd begins with "file".
                   21053: MAGIC_CMD=$MAGIC_CMD
                   21054: 
                   21055: # Must we lock files when doing compilation?
                   21056: need_locks=$lt_need_locks
                   21057: 
                   21058: # Manifest tool.
                   21059: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   21060: 
                   21061: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   21062: DSYMUTIL=$lt_DSYMUTIL
                   21063: 
                   21064: # Tool to change global to local symbols on Mac OS X.
                   21065: NMEDIT=$lt_NMEDIT
                   21066: 
                   21067: # Tool to manipulate fat objects and archives on Mac OS X.
                   21068: LIPO=$lt_LIPO
                   21069: 
                   21070: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   21071: OTOOL=$lt_OTOOL
                   21072: 
                   21073: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   21074: OTOOL64=$lt_OTOOL64
                   21075: 
                   21076: # Old archive suffix (normally "a").
                   21077: libext=$libext
                   21078: 
                   21079: # Shared library suffix (normally ".so").
                   21080: shrext_cmds=$lt_shrext_cmds
                   21081: 
                   21082: # The commands to extract the exported symbol list from a shared archive.
                   21083: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   21084: 
                   21085: # Variables whose values should be saved in libtool wrapper scripts and
                   21086: # restored at link time.
                   21087: variables_saved_for_relink=$lt_variables_saved_for_relink
                   21088: 
                   21089: # Do we need the "lib" prefix for modules?
                   21090: need_lib_prefix=$need_lib_prefix
                   21091: 
                   21092: # Do we need a version for libraries?
                   21093: need_version=$need_version
                   21094: 
                   21095: # Library versioning type.
                   21096: version_type=$version_type
                   21097: 
                   21098: # Shared library runtime path variable.
                   21099: runpath_var=$runpath_var
                   21100: 
                   21101: # Shared library path variable.
                   21102: shlibpath_var=$shlibpath_var
                   21103: 
                   21104: # Is shlibpath searched before the hard-coded library search path?
                   21105: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   21106: 
                   21107: # Format of library name prefix.
                   21108: libname_spec=$lt_libname_spec
                   21109: 
                   21110: # List of archive names.  First name is the real one, the rest are links.
                   21111: # The last name is the one that the linker finds with -lNAME
                   21112: library_names_spec=$lt_library_names_spec
                   21113: 
                   21114: # The coded name of the library, if different from the real name.
                   21115: soname_spec=$lt_soname_spec
                   21116: 
                   21117: # Permission mode override for installation of shared libraries.
                   21118: install_override_mode=$lt_install_override_mode
                   21119: 
                   21120: # Command to use after installation of a shared archive.
                   21121: postinstall_cmds=$lt_postinstall_cmds
                   21122: 
                   21123: # Command to use after uninstallation of a shared archive.
                   21124: postuninstall_cmds=$lt_postuninstall_cmds
                   21125: 
                   21126: # Commands used to finish a libtool library installation in a directory.
                   21127: finish_cmds=$lt_finish_cmds
                   21128: 
                   21129: # As "finish_cmds", except a single script fragment to be evaled but
                   21130: # not shown.
                   21131: finish_eval=$lt_finish_eval
                   21132: 
                   21133: # Whether we should hardcode library paths into libraries.
                   21134: hardcode_into_libs=$hardcode_into_libs
                   21135: 
                   21136: # Compile-time system search path for libraries.
                   21137: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   21138: 
                   21139: # Run-time system search path for libraries.
                   21140: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   21141: 
                   21142: # Whether dlopen is supported.
                   21143: dlopen_support=$enable_dlopen
                   21144: 
                   21145: # Whether dlopen of programs is supported.
                   21146: dlopen_self=$enable_dlopen_self
                   21147: 
                   21148: # Whether dlopen of statically linked programs is supported.
                   21149: dlopen_self_static=$enable_dlopen_self_static
                   21150: 
                   21151: # Commands to strip libraries.
                   21152: old_striplib=$lt_old_striplib
                   21153: striplib=$lt_striplib
                   21154: 
                   21155: 
                   21156: # The linker used to build libraries.
                   21157: LD=$lt_LD
                   21158: 
                   21159: # How to create reloadable object files.
                   21160: reload_flag=$lt_reload_flag
                   21161: reload_cmds=$lt_reload_cmds
                   21162: 
                   21163: # Commands used to build an old-style archive.
                   21164: old_archive_cmds=$lt_old_archive_cmds
                   21165: 
                   21166: # A language specific compiler.
                   21167: CC=$lt_compiler
                   21168: 
                   21169: # Is the compiler the GNU compiler?
                   21170: with_gcc=$GCC
                   21171: 
                   21172: # Compiler flag to turn off builtin functions.
                   21173: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   21174: 
                   21175: # Additional compiler flags for building library objects.
                   21176: pic_flag=$lt_lt_prog_compiler_pic
                   21177: 
                   21178: # How to pass a linker flag through the compiler.
                   21179: wl=$lt_lt_prog_compiler_wl
                   21180: 
                   21181: # Compiler flag to prevent dynamic linking.
                   21182: link_static_flag=$lt_lt_prog_compiler_static
                   21183: 
                   21184: # Does compiler simultaneously support -c and -o options?
                   21185: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   21186: 
                   21187: # Whether or not to add -lc for building shared libraries.
                   21188: build_libtool_need_lc=$archive_cmds_need_lc
                   21189: 
                   21190: # Whether or not to disallow shared libs when runtime libs are static.
                   21191: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   21192: 
                   21193: # Compiler flag to allow reflexive dlopens.
                   21194: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   21195: 
                   21196: # Compiler flag to generate shared objects directly from archives.
                   21197: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   21198: 
                   21199: # Whether the compiler copes with passing no objects directly.
                   21200: compiler_needs_object=$lt_compiler_needs_object
                   21201: 
                   21202: # Create an old-style archive from a shared archive.
                   21203: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   21204: 
                   21205: # Create a temporary old-style archive to link instead of a shared archive.
                   21206: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   21207: 
                   21208: # Commands used to build a shared archive.
                   21209: archive_cmds=$lt_archive_cmds
                   21210: archive_expsym_cmds=$lt_archive_expsym_cmds
                   21211: 
                   21212: # Commands used to build a loadable module if different from building
                   21213: # a shared archive.
                   21214: module_cmds=$lt_module_cmds
                   21215: module_expsym_cmds=$lt_module_expsym_cmds
                   21216: 
                   21217: # Whether we are building with GNU ld or not.
                   21218: with_gnu_ld=$lt_with_gnu_ld
                   21219: 
                   21220: # Flag that allows shared libraries with undefined symbols to be built.
                   21221: allow_undefined_flag=$lt_allow_undefined_flag
                   21222: 
                   21223: # Flag that enforces no undefined symbols.
                   21224: no_undefined_flag=$lt_no_undefined_flag
                   21225: 
                   21226: # Flag to hardcode \$libdir into a binary during linking.
                   21227: # This must work even if \$libdir does not exist
                   21228: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   21229: 
                   21230: # Whether we need a single "-rpath" flag with a separated argument.
                   21231: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   21232: 
                   21233: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21234: # DIR into the resulting binary.
                   21235: hardcode_direct=$hardcode_direct
                   21236: 
                   21237: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21238: # DIR into the resulting binary and the resulting library dependency is
                   21239: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21240: # library is relocated.
                   21241: hardcode_direct_absolute=$hardcode_direct_absolute
                   21242: 
                   21243: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21244: # into the resulting binary.
                   21245: hardcode_minus_L=$hardcode_minus_L
                   21246: 
                   21247: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21248: # into the resulting binary.
                   21249: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   21250: 
                   21251: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21252: # into the library and all subsequent libraries and executables linked
                   21253: # against it.
                   21254: hardcode_automatic=$hardcode_automatic
                   21255: 
                   21256: # Set to yes if linker adds runtime paths of dependent libraries
                   21257: # to runtime path list.
                   21258: inherit_rpath=$inherit_rpath
                   21259: 
                   21260: # Whether libtool must link a program against all its dependency libraries.
                   21261: link_all_deplibs=$link_all_deplibs
                   21262: 
                   21263: # Set to "yes" if exported symbols are required.
                   21264: always_export_symbols=$always_export_symbols
                   21265: 
                   21266: # The commands to list exported symbols.
                   21267: export_symbols_cmds=$lt_export_symbols_cmds
                   21268: 
                   21269: # Symbols that should not be listed in the preloaded symbols.
                   21270: exclude_expsyms=$lt_exclude_expsyms
                   21271: 
                   21272: # Symbols that must always be exported.
                   21273: include_expsyms=$lt_include_expsyms
                   21274: 
                   21275: # Commands necessary for linking programs (against libraries) with templates.
                   21276: prelink_cmds=$lt_prelink_cmds
                   21277: 
                   21278: # Commands necessary for finishing linking programs.
                   21279: postlink_cmds=$lt_postlink_cmds
                   21280: 
                   21281: # Specify filename containing input files.
                   21282: file_list_spec=$lt_file_list_spec
                   21283: 
                   21284: # How to hardcode a shared library path into an executable.
                   21285: hardcode_action=$hardcode_action
                   21286: 
                   21287: # The directories searched by this compiler when creating a shared library.
                   21288: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   21289: 
                   21290: # Dependencies to place before and after the objects being linked to
                   21291: # create a shared library.
                   21292: predep_objects=$lt_predep_objects
                   21293: postdep_objects=$lt_postdep_objects
                   21294: predeps=$lt_predeps
                   21295: postdeps=$lt_postdeps
                   21296: 
                   21297: # The library search path used internally by the compiler when linking
                   21298: # a shared library.
                   21299: compiler_lib_search_path=$lt_compiler_lib_search_path
                   21300: 
                   21301: # ### END LIBTOOL CONFIG
                   21302: 
                   21303: _LT_EOF
                   21304: 
                   21305:   case $host_os in
                   21306:   aix3*)
                   21307:     cat <<\_LT_EOF >> "$cfgfile"
                   21308: # AIX sometimes has problems with the GCC collect2 program.  For some
                   21309: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   21310: # vanish in a puff of smoke.
                   21311: if test "X${COLLECT_NAMES+set}" != Xset; then
                   21312:   COLLECT_NAMES=
                   21313:   export COLLECT_NAMES
                   21314: fi
                   21315: _LT_EOF
                   21316:     ;;
                   21317:   esac
                   21318: 
                   21319: 
                   21320: ltmain="$ac_aux_dir/ltmain.sh"
                   21321: 
                   21322: 
                   21323:   # We use sed instead of cat because bash on DJGPP gets confused if
                   21324:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   21325:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   21326:   # is reportedly fixed, but why not run on old versions too?
                   21327:   sed '$q' "$ltmain" >> "$cfgfile" \
                   21328:      || (rm -f "$cfgfile"; exit 1)
                   21329: 
                   21330:   if test x"$xsi_shell" = xyes; then
                   21331:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   21332: func_dirname ()\
                   21333: {\
                   21334: \    case ${1} in\
                   21335: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21336: \      *  ) func_dirname_result="${3}" ;;\
                   21337: \    esac\
                   21338: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   21339:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21340:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21341: test 0 -eq $? || _lt_function_replace_fail=:
                   21342: 
                   21343: 
                   21344:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   21345: func_basename ()\
                   21346: {\
                   21347: \    func_basename_result="${1##*/}"\
                   21348: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21349:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21350:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21351: test 0 -eq $? || _lt_function_replace_fail=:
                   21352: 
                   21353: 
                   21354:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   21355: func_dirname_and_basename ()\
                   21356: {\
                   21357: \    case ${1} in\
                   21358: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   21359: \      *  ) func_dirname_result="${3}" ;;\
                   21360: \    esac\
                   21361: \    func_basename_result="${1##*/}"\
                   21362: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   21363:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21364:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21365: test 0 -eq $? || _lt_function_replace_fail=:
                   21366: 
                   21367: 
                   21368:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   21369: func_stripname ()\
                   21370: {\
                   21371: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   21372: \    # positional parameters, so assign one to ordinary parameter first.\
                   21373: \    func_stripname_result=${3}\
                   21374: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   21375: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   21376: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   21377:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21378:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21379: test 0 -eq $? || _lt_function_replace_fail=:
                   21380: 
                   21381: 
                   21382:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   21383: func_split_long_opt ()\
                   21384: {\
                   21385: \    func_split_long_opt_name=${1%%=*}\
                   21386: \    func_split_long_opt_arg=${1#*=}\
                   21387: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   21388:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21389:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21390: test 0 -eq $? || _lt_function_replace_fail=:
                   21391: 
                   21392: 
                   21393:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   21394: func_split_short_opt ()\
                   21395: {\
                   21396: \    func_split_short_opt_arg=${1#??}\
                   21397: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   21398: } # Extended-shell func_split_short_opt 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_lo2o ()$/,/^} # func_lo2o /c\
                   21405: func_lo2o ()\
                   21406: {\
                   21407: \    case ${1} in\
                   21408: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   21409: \      *)    func_lo2o_result=${1} ;;\
                   21410: \    esac\
                   21411: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   21412:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21413:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21414: test 0 -eq $? || _lt_function_replace_fail=:
                   21415: 
                   21416: 
                   21417:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   21418: func_xform ()\
                   21419: {\
                   21420:     func_xform_result=${1%.*}.lo\
                   21421: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   21422:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21423:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21424: test 0 -eq $? || _lt_function_replace_fail=:
                   21425: 
                   21426: 
                   21427:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   21428: func_arith ()\
                   21429: {\
                   21430:     func_arith_result=$(( $* ))\
                   21431: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   21432:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21433:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21434: test 0 -eq $? || _lt_function_replace_fail=:
                   21435: 
                   21436: 
                   21437:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   21438: func_len ()\
                   21439: {\
                   21440:     func_len_result=${#1}\
                   21441: } # Extended-shell func_len 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: fi
                   21447: 
                   21448: if test x"$lt_shell_append" = xyes; then
                   21449:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   21450: func_append ()\
                   21451: {\
                   21452:     eval "${1}+=\\${2}"\
                   21453: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   21454:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21455:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21456: test 0 -eq $? || _lt_function_replace_fail=:
                   21457: 
                   21458: 
                   21459:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   21460: func_append_quoted ()\
                   21461: {\
                   21462: \    func_quote_for_eval "${2}"\
                   21463: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   21464: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   21465:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21466:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21467: test 0 -eq $? || _lt_function_replace_fail=:
                   21468: 
                   21469: 
                   21470:   # Save a `func_append' function call where possible by direct use of '+='
                   21471:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   21472:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21473:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21474:   test 0 -eq $? || _lt_function_replace_fail=:
                   21475: else
                   21476:   # Save a `func_append' function call even when '+=' is not available
                   21477:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   21478:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   21479:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   21480:   test 0 -eq $? || _lt_function_replace_fail=:
                   21481: fi
                   21482: 
                   21483: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     21484:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   21485: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     21486: fi
                   21487: 
                   21488: 
                   21489:    mv -f "$cfgfile" "$ofile" ||
                   21490:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   21491:   chmod +x "$ofile"
                   21492: 
                   21493: 
                   21494:     cat <<_LT_EOF >> "$ofile"
                   21495: 
                   21496: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   21497: 
                   21498: # The linker used to build libraries.
                   21499: LD=$lt_LD_CXX
                   21500: 
                   21501: # How to create reloadable object files.
                   21502: reload_flag=$lt_reload_flag_CXX
                   21503: reload_cmds=$lt_reload_cmds_CXX
                   21504: 
                   21505: # Commands used to build an old-style archive.
                   21506: old_archive_cmds=$lt_old_archive_cmds_CXX
                   21507: 
                   21508: # A language specific compiler.
                   21509: CC=$lt_compiler_CXX
                   21510: 
                   21511: # Is the compiler the GNU compiler?
                   21512: with_gcc=$GCC_CXX
                   21513: 
                   21514: # Compiler flag to turn off builtin functions.
                   21515: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   21516: 
                   21517: # Additional compiler flags for building library objects.
                   21518: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   21519: 
                   21520: # How to pass a linker flag through the compiler.
                   21521: wl=$lt_lt_prog_compiler_wl_CXX
                   21522: 
                   21523: # Compiler flag to prevent dynamic linking.
                   21524: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   21525: 
                   21526: # Does compiler simultaneously support -c and -o options?
                   21527: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   21528: 
                   21529: # Whether or not to add -lc for building shared libraries.
                   21530: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21531: 
                   21532: # Whether or not to disallow shared libs when runtime libs are static.
                   21533: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21534: 
                   21535: # Compiler flag to allow reflexive dlopens.
                   21536: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21537: 
                   21538: # Compiler flag to generate shared objects directly from archives.
                   21539: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21540: 
                   21541: # Whether the compiler copes with passing no objects directly.
                   21542: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21543: 
                   21544: # Create an old-style archive from a shared archive.
                   21545: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21546: 
                   21547: # Create a temporary old-style archive to link instead of a shared archive.
                   21548: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21549: 
                   21550: # Commands used to build a shared archive.
                   21551: archive_cmds=$lt_archive_cmds_CXX
                   21552: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21553: 
                   21554: # Commands used to build a loadable module if different from building
                   21555: # a shared archive.
                   21556: module_cmds=$lt_module_cmds_CXX
                   21557: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21558: 
                   21559: # Whether we are building with GNU ld or not.
                   21560: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21561: 
                   21562: # Flag that allows shared libraries with undefined symbols to be built.
                   21563: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21564: 
                   21565: # Flag that enforces no undefined symbols.
                   21566: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21567: 
                   21568: # Flag to hardcode \$libdir into a binary during linking.
                   21569: # This must work even if \$libdir does not exist
                   21570: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21571: 
                   21572: # Whether we need a single "-rpath" flag with a separated argument.
                   21573: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21574: 
                   21575: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21576: # DIR into the resulting binary.
                   21577: hardcode_direct=$hardcode_direct_CXX
                   21578: 
                   21579: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21580: # DIR into the resulting binary and the resulting library dependency is
                   21581: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21582: # library is relocated.
                   21583: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21584: 
                   21585: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21586: # into the resulting binary.
                   21587: hardcode_minus_L=$hardcode_minus_L_CXX
                   21588: 
                   21589: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21590: # into the resulting binary.
                   21591: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21592: 
                   21593: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21594: # into the library and all subsequent libraries and executables linked
                   21595: # against it.
                   21596: hardcode_automatic=$hardcode_automatic_CXX
                   21597: 
                   21598: # Set to yes if linker adds runtime paths of dependent libraries
                   21599: # to runtime path list.
                   21600: inherit_rpath=$inherit_rpath_CXX
                   21601: 
                   21602: # Whether libtool must link a program against all its dependency libraries.
                   21603: link_all_deplibs=$link_all_deplibs_CXX
                   21604: 
                   21605: # Set to "yes" if exported symbols are required.
                   21606: always_export_symbols=$always_export_symbols_CXX
                   21607: 
                   21608: # The commands to list exported symbols.
                   21609: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21610: 
                   21611: # Symbols that should not be listed in the preloaded symbols.
                   21612: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21613: 
                   21614: # Symbols that must always be exported.
                   21615: include_expsyms=$lt_include_expsyms_CXX
                   21616: 
                   21617: # Commands necessary for linking programs (against libraries) with templates.
                   21618: prelink_cmds=$lt_prelink_cmds_CXX
                   21619: 
                   21620: # Commands necessary for finishing linking programs.
                   21621: postlink_cmds=$lt_postlink_cmds_CXX
                   21622: 
                   21623: # Specify filename containing input files.
                   21624: file_list_spec=$lt_file_list_spec_CXX
                   21625: 
                   21626: # How to hardcode a shared library path into an executable.
                   21627: hardcode_action=$hardcode_action_CXX
                   21628: 
                   21629: # The directories searched by this compiler when creating a shared library.
                   21630: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21631: 
                   21632: # Dependencies to place before and after the objects being linked to
                   21633: # create a shared library.
                   21634: predep_objects=$lt_predep_objects_CXX
                   21635: postdep_objects=$lt_postdep_objects_CXX
                   21636: predeps=$lt_predeps_CXX
                   21637: postdeps=$lt_postdeps_CXX
                   21638: 
                   21639: # The library search path used internally by the compiler when linking
                   21640: # a shared library.
                   21641: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21642: 
                   21643: # ### END LIBTOOL TAG CONFIG: CXX
                   21644: _LT_EOF
                   21645: 
                   21646:  ;;
1.150     moko     21647: 
1.62      paf      21648:   esac
1.150     moko     21649: done # for ac_tag
1.62      paf      21650: 
                   21651: 
1.150     moko     21652: as_fn_exit 0
1.62      paf      21653: _ACEOF
                   21654: ac_clean_files=$ac_clean_files_save
                   21655: 
1.150     moko     21656: test $ac_write_fail = 0 ||
                   21657:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21658: 
1.1       paf      21659: 
1.62      paf      21660: # configure is writing to config.log, and then calls config.status.
                   21661: # config.status does its own redirection, appending to config.log.
                   21662: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21663: # by configure, so config.status won't be able to write to it; its
                   21664: # output is simply discarded.  So we exec the FD to /dev/null,
                   21665: # effectively closing config.log, so it can be properly (re)opened and
                   21666: # appended to by config.status.  When coming back to configure, we
                   21667: # need to make the FD available again.
                   21668: if test "$no_create" != yes; then
                   21669:   ac_cs_success=:
                   21670:   ac_config_status_args=
                   21671:   test "$silent" = yes &&
                   21672:     ac_config_status_args="$ac_config_status_args --quiet"
                   21673:   exec 5>/dev/null
                   21674:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21675:   exec 5>>config.log
                   21676:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21677:   # would make configure fail if this is the last instruction.
1.150     moko     21678:   $ac_cs_success || as_fn_exit 1
1.62      paf      21679: fi
                   21680: 
                   21681: #
                   21682: # CONFIG_SUBDIRS section.
                   21683: #
1.1       paf      21684: if test "$no_recursion" != yes; then
                   21685: 
1.150     moko     21686:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21687:   # so they do not pile up.
1.1       paf      21688:   ac_sub_configure_args=
                   21689:   ac_prev=
1.150     moko     21690:   eval "set x $ac_configure_args"
                   21691:   shift
                   21692:   for ac_arg
                   21693:   do
1.1       paf      21694:     if test -n "$ac_prev"; then
                   21695:       ac_prev=
                   21696:       continue
                   21697:     fi
1.62      paf      21698:     case $ac_arg in
1.1       paf      21699:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21700:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21701:       ac_prev=cache_file ;;
                   21702:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21703:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21704:     | --c=*)
                   21705:       ;;
                   21706:     --config-cache | -C)
1.1       paf      21707:       ;;
                   21708:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21709:       ac_prev=srcdir ;;
                   21710:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21711:       ;;
1.62      paf      21712:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21713:       ac_prev=prefix ;;
                   21714:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21715:       ;;
1.150     moko     21716:     --disable-option-checking)
                   21717:       ;;
                   21718:     *)
                   21719:       case $ac_arg in
                   21720:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21721:       esac
                   21722:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21723:     esac
                   21724:   done
                   21725: 
1.62      paf      21726:   # Always prepend --prefix to ensure using the same prefix
                   21727:   # in subdir configurations.
1.150     moko     21728:   ac_arg="--prefix=$prefix"
                   21729:   case $ac_arg in
                   21730:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21731:   esac
                   21732:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21733: 
                   21734:   # Pass --silent
                   21735:   if test "$silent" = yes; then
                   21736:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21737:   fi
                   21738: 
                   21739:   # Always prepend --disable-option-checking to silence warnings, since
                   21740:   # different subdirs can have different --enable and --with options.
                   21741:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21742: 
                   21743:   ac_popdir=`pwd`
                   21744:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21745: 
                   21746:     # Do not complain, so a configure script can configure whichever
                   21747:     # parts of a large source tree are present.
1.150     moko     21748:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21749: 
1.150     moko     21750:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21751:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21752:     $as_echo "$ac_msg" >&6
                   21753:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21754:     ac_builddir=.
                   21755: 
1.150     moko     21756: case "$ac_dir" in
                   21757: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21758: *)
                   21759:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21760:   # A ".." for each directory in $ac_dir_suffix.
                   21761:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21762:   case $ac_top_builddir_sub in
                   21763:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21764:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21765:   esac ;;
                   21766: esac
                   21767: ac_abs_top_builddir=$ac_pwd
                   21768: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21769: # for backward compatibility:
                   21770: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21771: 
                   21772: case $srcdir in
1.150     moko     21773:   .)  # We are building in place.
1.62      paf      21774:     ac_srcdir=.
1.150     moko     21775:     ac_top_srcdir=$ac_top_builddir_sub
                   21776:     ac_abs_top_srcdir=$ac_pwd ;;
                   21777:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21778:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21779:     ac_top_srcdir=$srcdir
                   21780:     ac_abs_top_srcdir=$srcdir ;;
                   21781:   *) # Relative name.
                   21782:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21783:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21784:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21785: esac
1.150     moko     21786: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21787: 
                   21788: 
1.150     moko     21789:     cd "$ac_dir"
1.1       paf      21790: 
                   21791:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21792:     if test -f "$ac_srcdir/configure.gnu"; then
                   21793:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21794:     elif test -f "$ac_srcdir/configure"; then
                   21795:       ac_sub_configure=$ac_srcdir/configure
                   21796:     elif test -f "$ac_srcdir/configure.in"; then
                   21797:       # This should be Cygnus configure.
                   21798:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21799:     else
1.150     moko     21800:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21801: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21802:       ac_sub_configure=
                   21803:     fi
                   21804: 
                   21805:     # The recursion is here.
                   21806:     if test -n "$ac_sub_configure"; then
                   21807:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21808:       case $cache_file in
                   21809:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21810:       *) # Relative name.
                   21811:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21812:       esac
                   21813: 
1.150     moko     21814:       { $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
                   21815: $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      21816:       # The eval makes quoting arguments work.
1.150     moko     21817:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21818:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21819:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21820:     fi
                   21821: 
1.150     moko     21822:     cd "$ac_popdir"
1.1       paf      21823:   done
                   21824: fi
1.150     moko     21825: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21826:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21827: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21828: fi
1.1       paf      21829: 

E-mail: