Annotation of parser3/configure, revision 1.156

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.153     moko        3: # Generated by GNU Autoconf 2.68 for parser 3.4.2.
1.150     moko        4: #
                      5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
                      9: #
1.1       paf        10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.150     moko       13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.62      paf        16: 
1.150     moko       17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf        20:   emulate sh
                     21:   NULLCMD=:
1.150     moko       22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf        23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
1.150     moko       25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf        72: fi
                     73: 
1.150     moko       74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
1.62      paf        81: fi
                     82: 
                     83: 
1.150     moko       84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
                     92: as_myself=
                     93: case $0 in #((
                     94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
                    100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
                    114: fi
                    115: 
                    116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    123: done
1.62      paf       124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.150     moko      129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
                    135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    136: 
                    137: if test "x$CONFIG_SHELL" = x; then
                    138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    139:   emulate sh
                    140:   NULLCMD=:
                    141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    142:   # is contrary to our usage.  Disable this feature.
                    143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    144:   setopt NO_GLOB_SUBST
                    145: else
                    146:   case \`(set -o) 2>/dev/null\` in #(
                    147:   *posix*) :
                    148:     set -o posix ;; #(
                    149:   *) :
                    150:      ;;
                    151: esac
                    152: fi
                    153: "
                    154:   as_required="as_fn_return () { (exit \$1); }
                    155: as_fn_success () { as_fn_return 0; }
                    156: as_fn_failure () { as_fn_return 1; }
                    157: as_fn_ret_success () { return 0; }
                    158: as_fn_ret_failure () { return 1; }
                    159: 
                    160: exitcode=0
                    161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    166: 
                    167: else
                    168:   exitcode=1; echo positional parameters were not saved.
                    169: fi
                    170: test x\$exitcode = x0 || exit 1"
                    171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    175: 
                    176:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    177:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    178:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    180:     PATH=/empty FPATH=/empty; export PATH FPATH
                    181:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    182:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    183: test \$(( 1 + 1 )) = 2 || exit 1"
                    184:   if (eval "$as_required") 2>/dev/null; then :
                    185:   as_have_required=yes
                    186: else
                    187:   as_have_required=no
                    188: fi
                    189:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    190: 
                    191: else
                    192:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    193: as_found=false
                    194: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.62      paf       195: do
1.150     moko      196:   IFS=$as_save_IFS
                    197:   test -z "$as_dir" && as_dir=.
                    198:   as_found=:
                    199:   case $as_dir in #(
                    200:         /*)
                    201:           for as_base in sh bash ksh sh5; do
                    202:             # Try only shells that exist, to save several forks.
                    203:             as_shell=$as_dir/$as_base
                    204:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    205:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    206:   CONFIG_SHELL=$as_shell as_have_required=yes
                    207:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    208:   break 2
                    209: fi
                    210: fi
                    211:           done;;
                    212:        esac
                    213:   as_found=false
                    214: done
                    215: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    216:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    217:   CONFIG_SHELL=$SHELL as_have_required=yes
                    218: fi; }
                    219: IFS=$as_save_IFS
                    220: 
                    221: 
                    222:       if test "x$CONFIG_SHELL" != x; then :
                    223:   # We cannot yet assume a decent shell, so we have to provide a
                    224:        # neutralization value for shells without unset; and this also
                    225:        # works around shells that cannot unset nonexistent variables.
                    226:        # Preserve -v and -x to the replacement shell.
                    227:        BASH_ENV=/dev/null
                    228:        ENV=/dev/null
                    229:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    230:        export CONFIG_SHELL
                    231:        case $- in # ((((
                    232:          *v*x* | *x*v* ) as_opts=-vx ;;
                    233:          *v* ) as_opts=-v ;;
                    234:          *x* ) as_opts=-x ;;
                    235:          * ) as_opts= ;;
                    236:        esac
                    237:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
                    238: fi
                    239: 
                    240:     if test x$as_have_required = xno; then :
                    241:   $as_echo "$0: This script requires a shell more modern than all"
                    242:   $as_echo "$0: the shells that I found on your system."
                    243:   if test x${ZSH_VERSION+set} = xset ; then
                    244:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    245:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
1.62      paf       246:   else
1.150     moko      247:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    248: $0: including any error possibly output before this
                    249: $0: message. Then install a modern shell, or manually run
                    250: $0: the script under such a shell if you do have one."
1.62      paf       251:   fi
1.150     moko      252:   exit 1
                    253: fi
                    254: fi
                    255: fi
                    256: SHELL=${CONFIG_SHELL-/bin/sh}
                    257: export SHELL
                    258: # Unset more variables known to interfere with behavior of common tools.
                    259: CLICOLOR_FORCE= GREP_OPTIONS=
                    260: unset CLICOLOR_FORCE GREP_OPTIONS
                    261: 
                    262: ## --------------------- ##
                    263: ## M4sh Shell Functions. ##
                    264: ## --------------------- ##
                    265: # as_fn_unset VAR
                    266: # ---------------
                    267: # Portably unset VAR.
                    268: as_fn_unset ()
                    269: {
                    270:   { eval $1=; unset $1;}
                    271: }
                    272: as_unset=as_fn_unset
                    273: 
                    274: # as_fn_set_status STATUS
                    275: # -----------------------
                    276: # Set $? to STATUS, without forking.
                    277: as_fn_set_status ()
                    278: {
                    279:   return $1
                    280: } # as_fn_set_status
                    281: 
                    282: # as_fn_exit STATUS
                    283: # -----------------
                    284: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    285: as_fn_exit ()
                    286: {
                    287:   set +e
                    288:   as_fn_set_status $1
                    289:   exit $1
                    290: } # as_fn_exit
                    291: 
                    292: # as_fn_mkdir_p
                    293: # -------------
                    294: # Create "$as_dir" as a directory, including parents if necessary.
                    295: as_fn_mkdir_p ()
                    296: {
                    297: 
                    298:   case $as_dir in #(
                    299:   -*) as_dir=./$as_dir;;
                    300:   esac
                    301:   test -d "$as_dir" || eval $as_mkdir_p || {
                    302:     as_dirs=
                    303:     while :; do
                    304:       case $as_dir in #(
                    305:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    306:       *) as_qdir=$as_dir;;
                    307:       esac
                    308:       as_dirs="'$as_qdir' $as_dirs"
                    309:       as_dir=`$as_dirname -- "$as_dir" ||
                    310: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    311:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    312:         X"$as_dir" : 'X\(//\)$' \| \
                    313:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    314: $as_echo X"$as_dir" |
                    315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    316:            s//\1/
                    317:            q
                    318:          }
                    319:          /^X\(\/\/\)[^/].*/{
                    320:            s//\1/
                    321:            q
                    322:          }
                    323:          /^X\(\/\/\)$/{
                    324:            s//\1/
                    325:            q
                    326:          }
                    327:          /^X\(\/\).*/{
                    328:            s//\1/
                    329:            q
                    330:          }
                    331:          s/.*/./; q'`
                    332:       test -d "$as_dir" && break
                    333:     done
                    334:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    335:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    336: 
                    337: 
                    338: } # as_fn_mkdir_p
                    339: # as_fn_append VAR VALUE
                    340: # ----------------------
                    341: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    342: # advantage of any shell optimizations that allow amortized linear growth over
                    343: # repeated appends, instead of the typical quadratic growth present in naive
                    344: # implementations.
                    345: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    346:   eval 'as_fn_append ()
                    347:   {
                    348:     eval $1+=\$2
                    349:   }'
                    350: else
                    351:   as_fn_append ()
                    352:   {
                    353:     eval $1=\$$1\$2
                    354:   }
                    355: fi # as_fn_append
                    356: 
                    357: # as_fn_arith ARG...
                    358: # ------------------
                    359: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    360: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    361: # must be portable across $(()) and expr.
                    362: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    363:   eval 'as_fn_arith ()
                    364:   {
                    365:     as_val=$(( $* ))
                    366:   }'
                    367: else
                    368:   as_fn_arith ()
                    369:   {
                    370:     as_val=`expr "$@" || test $? -eq 1`
                    371:   }
                    372: fi # as_fn_arith
                    373: 
                    374: 
                    375: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    376: # ----------------------------------------
                    377: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    378: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    379: # script with STATUS, using 1 if that was 0.
                    380: as_fn_error ()
                    381: {
                    382:   as_status=$1; test $as_status -eq 0 && as_status=1
                    383:   if test "$4"; then
                    384:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    385:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    386:   fi
                    387:   $as_echo "$as_me: error: $2" >&2
                    388:   as_fn_exit $as_status
                    389: } # as_fn_error
1.62      paf       390: 
1.150     moko      391: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf       393:   as_expr=expr
                    394: else
                    395:   as_expr=false
                    396: fi
                    397: 
1.150     moko      398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf       399:   as_basename=basename
                    400: else
                    401:   as_basename=false
                    402: fi
                    403: 
1.150     moko      404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    405:   as_dirname=dirname
                    406: else
                    407:   as_dirname=false
                    408: fi
1.62      paf       409: 
1.150     moko      410: as_me=`$as_basename -- "$0" ||
1.62      paf       411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    412:         X"$0" : 'X\(//\)$' \| \
1.150     moko      413:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    414: $as_echo X/"$0" |
                    415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    416:            s//\1/
                    417:            q
                    418:          }
                    419:          /^X\/\(\/\/\)$/{
                    420:            s//\1/
                    421:            q
                    422:          }
                    423:          /^X\/\(\/\).*/{
                    424:            s//\1/
                    425:            q
                    426:          }
                    427:          s/.*/./; q'`
1.62      paf       428: 
                    429: # Avoid depending upon Character Ranges.
                    430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    433: as_cr_digits='0123456789'
                    434: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    435: 
                    436: 
1.150     moko      437:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    438:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    439:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    440:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    441:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    442:   sed -n '
                    443:     p
                    444:     /[$]LINENO/=
                    445:   ' <$as_myself |
1.62      paf       446:     sed '
1.150     moko      447:       s/[$]LINENO.*/&-/
                    448:       t lineno
                    449:       b
                    450:       :lineno
1.62      paf       451:       N
1.150     moko      452:       :loop
                    453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.62      paf       454:       t loop
1.150     moko      455:       s/-\n.*//
1.62      paf       456:     ' >$as_me.lineno &&
1.150     moko      457:   chmod +x "$as_me.lineno" ||
                    458:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.62      paf       459: 
                    460:   # Don't try to exec as it changes $[0], causing all sort of problems
                    461:   # (the dirname of $[0] is not the place where we might find the
1.150     moko      462:   # original and so on.  Autoconf is especially sensitive to this).
                    463:   . "./$as_me.lineno"
1.62      paf       464:   # Exit status is that of the last command.
                    465:   exit
                    466: }
                    467: 
1.150     moko      468: ECHO_C= ECHO_N= ECHO_T=
                    469: case `echo -n x` in #(((((
                    470: -n*)
                    471:   case `echo 'xy\c'` in
                    472:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    473:   xy)  ECHO_C='\c';;
                    474:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    475:        ECHO_T='        ';;
                    476:   esac;;
                    477: *)
                    478:   ECHO_N='-n';;
1.62      paf       479: esac
                    480: 
1.150     moko      481: rm -f conf$$ conf$$.exe conf$$.file
                    482: if test -d conf$$.dir; then
                    483:   rm -f conf$$.dir/conf$$.file
1.62      paf       484: else
1.150     moko      485:   rm -f conf$$.dir
                    486:   mkdir conf$$.dir 2>/dev/null
1.62      paf       487: fi
1.150     moko      488: if (echo >conf$$.file) 2>/dev/null; then
                    489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s='ln -s'
                    491:     # ... but there are two gotchas:
                    492:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    493:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    494:     # In both cases, we have to default to `cp -p'.
                    495:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    496:       as_ln_s='cp -p'
                    497:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    498:     as_ln_s=ln
                    499:   else
1.62      paf       500:     as_ln_s='cp -p'
                    501:   fi
                    502: else
                    503:   as_ln_s='cp -p'
                    504: fi
1.150     moko      505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    506: rmdir conf$$.dir 2>/dev/null
1.62      paf       507: 
                    508: if mkdir -p . 2>/dev/null; then
1.150     moko      509:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf       510: else
1.86      paf       511:   test -d ./-p && rmdir ./-p
1.62      paf       512:   as_mkdir_p=false
                    513: fi
                    514: 
1.150     moko      515: if test -x / >/dev/null 2>&1; then
                    516:   as_test_x='test -x'
                    517: else
                    518:   if ls -dL / >/dev/null 2>&1; then
                    519:     as_ls_L_option=L
                    520:   else
                    521:     as_ls_L_option=
                    522:   fi
                    523:   as_test_x='
                    524:     eval sh -c '\''
                    525:       if test -d "$1"; then
                    526:        test -d "$1/.";
                    527:       else
                    528:        case $1 in #(
                    529:        -*)set "./$1";;
                    530:        esac;
                    531:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    532:        ???[sx]*):;;*)false;;esac;fi
                    533:     '\'' sh
                    534:   '
                    535: fi
                    536: as_executable_p=$as_test_x
1.62      paf       537: 
                    538: # Sed expression to map a string onto a valid CPP name.
1.86      paf       539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       540: 
                    541: # Sed expression to map a string onto a valid variable name.
1.86      paf       542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf       543: 
1.128     moko      544: lt_ltdl_dir='src/lib/ltdl'
                    545: 
                    546: SHELL=${CONFIG_SHELL-/bin/sh}
                    547: 
                    548: lt_dlopen_dir="$lt_ltdl_dir"
                    549: 
1.1       paf       550: 
1.150     moko      551: test -n "$DJDIR" || exec 7<&0 </dev/null
                    552: exec 6>&1
                    553: 
1.62      paf       554: # Name of the host.
1.150     moko      555: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.62      paf       556: # so uname gets run too.
                    557: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    558: 
                    559: #
                    560: # Initializations.
                    561: #
1.1       paf       562: ac_default_prefix=/usr/local
1.150     moko      563: ac_clean_files=
1.62      paf       564: ac_config_libobj_dir=.
1.150     moko      565: LIBOBJS=
1.62      paf       566: cross_compiling=no
                    567: subdirs=
                    568: MFLAGS=
                    569: MAKEFLAGS=
                    570: 
                    571: # Identity of this package.
1.128     moko      572: PACKAGE_NAME='parser'
                    573: PACKAGE_TARNAME='parser'
1.153     moko      574: PACKAGE_VERSION='3.4.2'
                    575: PACKAGE_STRING='parser 3.4.2'
1.128     moko      576: PACKAGE_BUGREPORT=''
1.150     moko      577: PACKAGE_URL=''
1.62      paf       578: 
                    579: ac_unique_file="README"
                    580: # Factoring default headers for most tests.
                    581: ac_includes_default="\
                    582: #include <stdio.h>
1.150     moko      583: #ifdef HAVE_SYS_TYPES_H
1.62      paf       584: # include <sys/types.h>
                    585: #endif
1.150     moko      586: #ifdef HAVE_SYS_STAT_H
1.62      paf       587: # include <sys/stat.h>
                    588: #endif
1.150     moko      589: #ifdef STDC_HEADERS
1.62      paf       590: # include <stdlib.h>
                    591: # include <stddef.h>
                    592: #else
1.150     moko      593: # ifdef HAVE_STDLIB_H
1.62      paf       594: #  include <stdlib.h>
                    595: # endif
                    596: #endif
1.150     moko      597: #ifdef HAVE_STRING_H
                    598: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.62      paf       599: #  include <memory.h>
                    600: # endif
                    601: # include <string.h>
                    602: #endif
1.150     moko      603: #ifdef HAVE_STRINGS_H
1.62      paf       604: # include <strings.h>
                    605: #endif
1.150     moko      606: #ifdef HAVE_INTTYPES_H
1.62      paf       607: # include <inttypes.h>
                    608: #endif
1.150     moko      609: #ifdef HAVE_STDINT_H
                    610: # include <stdint.h>
                    611: #endif
                    612: #ifdef HAVE_UNISTD_H
1.62      paf       613: # include <unistd.h>
                    614: #endif"
                    615: 
1.150     moko      616: enable_option_checking=no
                    617: ac_subst_vars='ltdl_LTLIBOBJS
                    618: ltdl_LIBOBJS
                    619: am__EXEEXT_FALSE
                    620: am__EXEEXT_TRUE
                    621: LTLIBOBJS
                    622: LIBOBJS
                    623: LTDLOPEN
                    624: LT_CONFIG_H
                    625: subdirs
                    626: CONVENIENCE_LTDL_FALSE
                    627: CONVENIENCE_LTDL_TRUE
                    628: INSTALL_LTDL_FALSE
                    629: INSTALL_LTDL_TRUE
                    630: ARGZ_H
                    631: sys_symbol_underscore
                    632: LIBADD_DL
                    633: LT_DLPREOPEN
                    634: LIBADD_DLD_LINK
                    635: LIBADD_SHL_LOAD
                    636: LIBADD_DLOPEN
                    637: LT_DLLOADERS
                    638: INCLTDL
                    639: LTDLINCL
                    640: LTDLDEPS
                    641: LIBLTDL
                    642: CXXCPP
                    643: CPP
                    644: OTOOL64
                    645: OTOOL
                    646: LIPO
                    647: NMEDIT
                    648: DSYMUTIL
                    649: MANIFEST_TOOL
                    650: RANLIB
                    651: ac_ct_AR
                    652: AR
                    653: LN_S
                    654: NM
                    655: ac_ct_DUMPBIN
                    656: DUMPBIN
                    657: LD
                    658: FGREP
                    659: EGREP
                    660: GREP
                    661: SED
                    662: LIBTOOL
                    663: OBJDUMP
                    664: DLLTOOL
                    665: AS
                    666: COMPILE_APACHE_MODULE_FALSE
                    667: COMPILE_APACHE_MODULE_TRUE
                    668: APACHE_CFLAGS
                    669: APACHE_INC
                    670: APACHE
                    671: MIME_LIBS
                    672: MIME_INCLUDES
                    673: XML_LIBS
                    674: XML_INCLUDES
                    675: PCRE_LIBS
                    676: PCRE_INCLUDES
                    677: GC_LIBS
                    678: dll_extension
                    679: am__fastdepCC_FALSE
                    680: am__fastdepCC_TRUE
                    681: CCDEPMODE
                    682: ac_ct_CC
                    683: CFLAGS
                    684: CC
                    685: am__fastdepCXX_FALSE
                    686: am__fastdepCXX_TRUE
                    687: CXXDEPMODE
                    688: AMDEPBACKSLASH
                    689: AMDEP_FALSE
                    690: AMDEP_TRUE
                    691: am__quote
                    692: am__include
                    693: DEPDIR
                    694: OBJEXT
                    695: EXEEXT
                    696: ac_ct_CXX
                    697: CPPFLAGS
                    698: LDFLAGS
                    699: CXXFLAGS
                    700: CXX
                    701: YFLAGS
                    702: YACC
                    703: host_os
                    704: host_vendor
                    705: host_cpu
                    706: host
                    707: build_os
                    708: build_vendor
                    709: build_cpu
                    710: build
                    711: P3S
                    712: am__untar
                    713: am__tar
                    714: AMTAR
                    715: am__leading_dot
                    716: SET_MAKE
                    717: AWK
                    718: mkdir_p
                    719: MKDIR_P
                    720: INSTALL_STRIP_PROGRAM
                    721: STRIP
                    722: install_sh
                    723: MAKEINFO
                    724: AUTOHEADER
                    725: AUTOMAKE
                    726: AUTOCONF
                    727: ACLOCAL
                    728: VERSION
                    729: PACKAGE
                    730: CYGPATH_W
                    731: am__isrc
                    732: INSTALL_DATA
                    733: INSTALL_SCRIPT
                    734: INSTALL_PROGRAM
                    735: target_alias
                    736: host_alias
                    737: build_alias
                    738: LIBS
                    739: ECHO_T
                    740: ECHO_N
                    741: ECHO_C
                    742: DEFS
                    743: mandir
                    744: localedir
                    745: libdir
                    746: psdir
                    747: pdfdir
                    748: dvidir
                    749: htmldir
                    750: infodir
                    751: docdir
                    752: oldincludedir
                    753: includedir
                    754: localstatedir
                    755: sharedstatedir
                    756: sysconfdir
                    757: datadir
                    758: datarootdir
                    759: libexecdir
                    760: sbindir
                    761: bindir
                    762: program_transform_name
                    763: prefix
                    764: exec_prefix
                    765: PACKAGE_URL
                    766: PACKAGE_BUGREPORT
                    767: PACKAGE_STRING
                    768: PACKAGE_VERSION
                    769: PACKAGE_TARNAME
                    770: PACKAGE_NAME
                    771: PATH_SEPARATOR
                    772: SHELL'
1.62      paf       773: ac_subst_files=''
1.150     moko      774: ac_user_opts='
                    775: enable_option_checking
                    776: enable_dependency_tracking
                    777: with_build_warnings
                    778: with_assertions
                    779: with_sjlj_exceptions
                    780: enable_safe_mode
                    781: enable_execs
                    782: enable_stringstream
                    783: with_gc
                    784: with_pcre
                    785: with_xml
1.154     moko      786: with_mailreceive
1.150     moko      787: with_sendmail
                    788: with_apache
                    789: with_pic
                    790: enable_shared
                    791: enable_static
                    792: enable_fast_install
                    793: with_gnu_ld
                    794: with_sysroot
                    795: enable_libtool_lock
                    796: with_included_ltdl
                    797: with_ltdl_include
                    798: with_ltdl_lib
                    799: enable_ltdl_install
                    800: '
                    801:       ac_precious_vars='build_alias
                    802: host_alias
                    803: target_alias
                    804: YACC
                    805: YFLAGS
                    806: CXX
                    807: CXXFLAGS
                    808: LDFLAGS
                    809: LIBS
                    810: CPPFLAGS
                    811: CCC
                    812: CC
                    813: CFLAGS
                    814: CPP
                    815: CXXCPP'
                    816: ac_subdirs_all='src/lib/ltdl'
1.1       paf       817: 
                    818: # Initialize some variables set by options.
1.62      paf       819: ac_init_help=
                    820: ac_init_version=false
1.150     moko      821: ac_unrecognized_opts=
                    822: ac_unrecognized_sep=
1.1       paf       823: # The variables have the same names as the options, with
                    824: # dashes changed to underlines.
1.62      paf       825: cache_file=/dev/null
1.1       paf       826: exec_prefix=NONE
                    827: no_create=
                    828: no_recursion=
                    829: prefix=NONE
                    830: program_prefix=NONE
                    831: program_suffix=NONE
                    832: program_transform_name=s,x,x,
                    833: silent=
                    834: site=
                    835: srcdir=
                    836: verbose=
                    837: x_includes=NONE
                    838: x_libraries=NONE
1.62      paf       839: 
                    840: # Installation directory options.
                    841: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    842: # and all the variables that are supposed to be based on exec_prefix
                    843: # by default will actually change.
                    844: # Use braces instead of parens because sh, perl, etc. also accept them.
1.150     moko      845: # (The list follows the same order as the GNU Coding Standards.)
1.1       paf       846: bindir='${exec_prefix}/bin'
                    847: sbindir='${exec_prefix}/sbin'
                    848: libexecdir='${exec_prefix}/libexec'
1.150     moko      849: datarootdir='${prefix}/share'
                    850: datadir='${datarootdir}'
1.1       paf       851: sysconfdir='${prefix}/etc'
                    852: sharedstatedir='${prefix}/com'
                    853: localstatedir='${prefix}/var'
                    854: includedir='${prefix}/include'
                    855: oldincludedir='/usr/include'
1.150     moko      856: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    857: infodir='${datarootdir}/info'
                    858: htmldir='${docdir}'
                    859: dvidir='${docdir}'
                    860: pdfdir='${docdir}'
                    861: psdir='${docdir}'
                    862: libdir='${exec_prefix}/lib'
                    863: localedir='${datarootdir}/locale'
                    864: mandir='${datarootdir}/man'
1.1       paf       865: 
                    866: ac_prev=
1.150     moko      867: ac_dashdash=
1.1       paf       868: for ac_option
                    869: do
                    870:   # If the previous option needs an argument, assign it.
                    871:   if test -n "$ac_prev"; then
1.150     moko      872:     eval $ac_prev=\$ac_option
1.1       paf       873:     ac_prev=
                    874:     continue
                    875:   fi
                    876: 
1.150     moko      877:   case $ac_option in
                    878:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    879:   *=)   ac_optarg= ;;
                    880:   *)    ac_optarg=yes ;;
                    881:   esac
1.1       paf       882: 
                    883:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    884: 
1.150     moko      885:   case $ac_dashdash$ac_option in
                    886:   --)
                    887:     ac_dashdash=yes ;;
1.1       paf       888: 
                    889:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    890:     ac_prev=bindir ;;
                    891:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.62      paf       892:     bindir=$ac_optarg ;;
1.1       paf       893: 
                    894:   -build | --build | --buil | --bui | --bu)
1.62      paf       895:     ac_prev=build_alias ;;
1.1       paf       896:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.62      paf       897:     build_alias=$ac_optarg ;;
1.1       paf       898: 
                    899:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    900:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    901:     ac_prev=cache_file ;;
                    902:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    903:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.62      paf       904:     cache_file=$ac_optarg ;;
                    905: 
                    906:   --config-cache | -C)
                    907:     cache_file=config.cache ;;
1.1       paf       908: 
1.150     moko      909:   -datadir | --datadir | --datadi | --datad)
1.1       paf       910:     ac_prev=datadir ;;
1.150     moko      911:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.62      paf       912:     datadir=$ac_optarg ;;
1.1       paf       913: 
1.150     moko      914:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    915:   | --dataroo | --dataro | --datar)
                    916:     ac_prev=datarootdir ;;
                    917:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    918:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    919:     datarootdir=$ac_optarg ;;
                    920: 
1.1       paf       921:   -disable-* | --disable-*)
1.150     moko      922:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       paf       923:     # Reject names that are not valid shell variable names.
1.150     moko      924:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    925:       as_fn_error $? "invalid feature name: $ac_useropt"
                    926:     ac_useropt_orig=$ac_useropt
                    927:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    928:     case $ac_user_opts in
                    929:       *"
                    930: "enable_$ac_useropt"
                    931: "*) ;;
                    932:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    933:         ac_unrecognized_sep=', ';;
                    934:     esac
                    935:     eval enable_$ac_useropt=no ;;
                    936: 
                    937:   -docdir | --docdir | --docdi | --doc | --do)
                    938:     ac_prev=docdir ;;
                    939:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    940:     docdir=$ac_optarg ;;
                    941: 
                    942:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    943:     ac_prev=dvidir ;;
                    944:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    945:     dvidir=$ac_optarg ;;
1.1       paf       946: 
                    947:   -enable-* | --enable-*)
1.150     moko      948:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       paf       949:     # Reject names that are not valid shell variable names.
1.150     moko      950:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    951:       as_fn_error $? "invalid feature name: $ac_useropt"
                    952:     ac_useropt_orig=$ac_useropt
                    953:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    954:     case $ac_user_opts in
                    955:       *"
                    956: "enable_$ac_useropt"
                    957: "*) ;;
                    958:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    959:         ac_unrecognized_sep=', ';;
1.1       paf       960:     esac
1.150     moko      961:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       paf       962: 
                    963:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    964:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    965:   | --exec | --exe | --ex)
                    966:     ac_prev=exec_prefix ;;
                    967:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    968:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    969:   | --exec=* | --exe=* | --ex=*)
1.62      paf       970:     exec_prefix=$ac_optarg ;;
1.1       paf       971: 
                    972:   -gas | --gas | --ga | --g)
                    973:     # Obsolete; use --with-gas.
                    974:     with_gas=yes ;;
                    975: 
1.62      paf       976:   -help | --help | --hel | --he | -h)
                    977:     ac_init_help=long ;;
                    978:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    979:     ac_init_help=recursive ;;
                    980:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    981:     ac_init_help=short ;;
1.1       paf       982: 
                    983:   -host | --host | --hos | --ho)
1.62      paf       984:     ac_prev=host_alias ;;
1.1       paf       985:   -host=* | --host=* | --hos=* | --ho=*)
1.62      paf       986:     host_alias=$ac_optarg ;;
1.1       paf       987: 
1.150     moko      988:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    989:     ac_prev=htmldir ;;
                    990:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    991:   | --ht=*)
                    992:     htmldir=$ac_optarg ;;
                    993: 
1.1       paf       994:   -includedir | --includedir | --includedi | --included | --include \
                    995:   | --includ | --inclu | --incl | --inc)
                    996:     ac_prev=includedir ;;
                    997:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    998:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.62      paf       999:     includedir=$ac_optarg ;;
1.1       paf      1000: 
                   1001:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1002:     ac_prev=infodir ;;
                   1003:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.62      paf      1004:     infodir=$ac_optarg ;;
1.1       paf      1005: 
                   1006:   -libdir | --libdir | --libdi | --libd)
                   1007:     ac_prev=libdir ;;
                   1008:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.62      paf      1009:     libdir=$ac_optarg ;;
1.1       paf      1010: 
                   1011:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1012:   | --libexe | --libex | --libe)
                   1013:     ac_prev=libexecdir ;;
                   1014:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1015:   | --libexe=* | --libex=* | --libe=*)
1.62      paf      1016:     libexecdir=$ac_optarg ;;
1.1       paf      1017: 
1.150     moko     1018:   -localedir | --localedir | --localedi | --localed | --locale)
                   1019:     ac_prev=localedir ;;
                   1020:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1021:     localedir=$ac_optarg ;;
                   1022: 
1.1       paf      1023:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.150     moko     1024:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       paf      1025:     ac_prev=localstatedir ;;
                   1026:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.150     moko     1027:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.62      paf      1028:     localstatedir=$ac_optarg ;;
1.1       paf      1029: 
                   1030:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1031:     ac_prev=mandir ;;
                   1032:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.62      paf      1033:     mandir=$ac_optarg ;;
1.1       paf      1034: 
                   1035:   -nfp | --nfp | --nf)
                   1036:     # Obsolete; use --without-fp.
                   1037:     with_fp=no ;;
                   1038: 
                   1039:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.62      paf      1040:   | --no-cr | --no-c | -n)
1.1       paf      1041:     no_create=yes ;;
                   1042: 
                   1043:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1044:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1045:     no_recursion=yes ;;
                   1046: 
                   1047:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1048:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1049:   | --oldin | --oldi | --old | --ol | --o)
                   1050:     ac_prev=oldincludedir ;;
                   1051:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1052:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1053:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.62      paf      1054:     oldincludedir=$ac_optarg ;;
1.1       paf      1055: 
                   1056:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1057:     ac_prev=prefix ;;
                   1058:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.62      paf      1059:     prefix=$ac_optarg ;;
1.1       paf      1060: 
                   1061:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1062:   | --program-pre | --program-pr | --program-p)
                   1063:     ac_prev=program_prefix ;;
                   1064:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1065:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.62      paf      1066:     program_prefix=$ac_optarg ;;
1.1       paf      1067: 
                   1068:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1069:   | --program-suf | --program-su | --program-s)
                   1070:     ac_prev=program_suffix ;;
                   1071:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1072:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.62      paf      1073:     program_suffix=$ac_optarg ;;
1.1       paf      1074: 
                   1075:   -program-transform-name | --program-transform-name \
                   1076:   | --program-transform-nam | --program-transform-na \
                   1077:   | --program-transform-n | --program-transform- \
                   1078:   | --program-transform | --program-transfor \
                   1079:   | --program-transfo | --program-transf \
                   1080:   | --program-trans | --program-tran \
                   1081:   | --progr-tra | --program-tr | --program-t)
                   1082:     ac_prev=program_transform_name ;;
                   1083:   -program-transform-name=* | --program-transform-name=* \
                   1084:   | --program-transform-nam=* | --program-transform-na=* \
                   1085:   | --program-transform-n=* | --program-transform-=* \
                   1086:   | --program-transform=* | --program-transfor=* \
                   1087:   | --program-transfo=* | --program-transf=* \
                   1088:   | --program-trans=* | --program-tran=* \
                   1089:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.62      paf      1090:     program_transform_name=$ac_optarg ;;
1.1       paf      1091: 
1.150     moko     1092:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1093:     ac_prev=pdfdir ;;
                   1094:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1095:     pdfdir=$ac_optarg ;;
                   1096: 
                   1097:   -psdir | --psdir | --psdi | --psd | --ps)
                   1098:     ac_prev=psdir ;;
                   1099:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1100:     psdir=$ac_optarg ;;
                   1101: 
1.1       paf      1102:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1103:   | -silent | --silent | --silen | --sile | --sil)
                   1104:     silent=yes ;;
                   1105: 
                   1106:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1107:     ac_prev=sbindir ;;
                   1108:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1109:   | --sbi=* | --sb=*)
1.62      paf      1110:     sbindir=$ac_optarg ;;
1.1       paf      1111: 
                   1112:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1113:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1114:   | --sharedst | --shareds | --shared | --share | --shar \
                   1115:   | --sha | --sh)
                   1116:     ac_prev=sharedstatedir ;;
                   1117:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1118:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1119:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1120:   | --sha=* | --sh=*)
1.62      paf      1121:     sharedstatedir=$ac_optarg ;;
1.1       paf      1122: 
                   1123:   -site | --site | --sit)
                   1124:     ac_prev=site ;;
                   1125:   -site=* | --site=* | --sit=*)
1.62      paf      1126:     site=$ac_optarg ;;
1.1       paf      1127: 
                   1128:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1129:     ac_prev=srcdir ;;
                   1130:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.62      paf      1131:     srcdir=$ac_optarg ;;
1.1       paf      1132: 
                   1133:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1134:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1135:     ac_prev=sysconfdir ;;
                   1136:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1137:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.62      paf      1138:     sysconfdir=$ac_optarg ;;
1.1       paf      1139: 
                   1140:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.62      paf      1141:     ac_prev=target_alias ;;
1.1       paf      1142:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.62      paf      1143:     target_alias=$ac_optarg ;;
1.1       paf      1144: 
                   1145:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1146:     verbose=yes ;;
                   1147: 
1.62      paf      1148:   -version | --version | --versio | --versi | --vers | -V)
                   1149:     ac_init_version=: ;;
1.1       paf      1150: 
                   1151:   -with-* | --with-*)
1.150     moko     1152:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       paf      1153:     # Reject names that are not valid shell variable names.
1.150     moko     1154:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1155:       as_fn_error $? "invalid package name: $ac_useropt"
                   1156:     ac_useropt_orig=$ac_useropt
                   1157:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1158:     case $ac_user_opts in
                   1159:       *"
                   1160: "with_$ac_useropt"
                   1161: "*) ;;
                   1162:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1163:         ac_unrecognized_sep=', ';;
1.1       paf      1164:     esac
1.150     moko     1165:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       paf      1166: 
                   1167:   -without-* | --without-*)
1.150     moko     1168:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       paf      1169:     # Reject names that are not valid shell variable names.
1.150     moko     1170:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1171:       as_fn_error $? "invalid package name: $ac_useropt"
                   1172:     ac_useropt_orig=$ac_useropt
                   1173:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1174:     case $ac_user_opts in
                   1175:       *"
                   1176: "with_$ac_useropt"
                   1177: "*) ;;
                   1178:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1179:         ac_unrecognized_sep=', ';;
                   1180:     esac
                   1181:     eval with_$ac_useropt=no ;;
1.1       paf      1182: 
                   1183:   --x)
                   1184:     # Obsolete; use --with-x.
                   1185:     with_x=yes ;;
                   1186: 
                   1187:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1188:   | --x-incl | --x-inc | --x-in | --x-i)
                   1189:     ac_prev=x_includes ;;
                   1190:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1191:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.62      paf      1192:     x_includes=$ac_optarg ;;
1.1       paf      1193: 
                   1194:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1195:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1196:     ac_prev=x_libraries ;;
                   1197:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1198:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.62      paf      1199:     x_libraries=$ac_optarg ;;
1.1       paf      1200: 
1.150     moko     1201:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1202: Try \`$0 --help' for more information"
1.1       paf      1203:     ;;
                   1204: 
1.62      paf      1205:   *=*)
                   1206:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1207:     # Reject names that are not valid shell variable names.
1.150     moko     1208:     case $ac_envvar in #(
                   1209:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1210:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1211:     esac
                   1212:     eval $ac_envvar=\$ac_optarg
1.62      paf      1213:     export $ac_envvar ;;
                   1214: 
1.1       paf      1215:   *)
1.62      paf      1216:     # FIXME: should be removed in autoconf 3.0.
1.150     moko     1217:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.62      paf      1218:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.150     moko     1219:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1220:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       paf      1221:     ;;
                   1222: 
                   1223:   esac
                   1224: done
                   1225: 
                   1226: if test -n "$ac_prev"; then
1.62      paf      1227:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.150     moko     1228:   as_fn_error $? "missing argument to $ac_option"
1.1       paf      1229: fi
                   1230: 
1.150     moko     1231: if test -n "$ac_unrecognized_opts"; then
                   1232:   case $enable_option_checking in
                   1233:     no) ;;
                   1234:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1235:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1236:   esac
                   1237: fi
                   1238: 
                   1239: # Check all directory arguments for consistency.
                   1240: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1241:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1242:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1243:                libdir localedir mandir
1.62      paf      1244: do
1.150     moko     1245:   eval ac_val=\$$ac_var
                   1246:   # Remove trailing slashes.
1.62      paf      1247:   case $ac_val in
1.150     moko     1248:     */ )
                   1249:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1250:       eval $ac_var=\$ac_val;;
1.62      paf      1251:   esac
1.150     moko     1252:   # Be sure to have absolute directory names.
1.62      paf      1253:   case $ac_val in
1.150     moko     1254:     [\\/$]* | ?:[\\/]* )  continue;;
                   1255:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       paf      1256:   esac
1.150     moko     1257:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       paf      1258: done
                   1259: 
1.62      paf      1260: # There might be people who depend on the old broken behavior: `$host'
                   1261: # used to hold the argument of --host etc.
                   1262: # FIXME: To remove some day.
                   1263: build=$build_alias
                   1264: host=$host_alias
                   1265: target=$target_alias
                   1266: 
                   1267: # FIXME: To remove some day.
                   1268: if test "x$host_alias" != x; then
                   1269:   if test "x$build_alias" = x; then
                   1270:     cross_compiling=maybe
1.150     moko     1271:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1272:     If a cross compiler is detected then cross compile mode will be used" >&2
1.62      paf      1273:   elif test "x$build_alias" != "x$host_alias"; then
                   1274:     cross_compiling=yes
                   1275:   fi
                   1276: fi
                   1277: 
                   1278: ac_tool_prefix=
                   1279: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       paf      1280: 
1.62      paf      1281: test "$silent" = yes && exec 6>/dev/null
1.1       paf      1282: 
                   1283: 
1.150     moko     1284: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1285: ac_ls_di=`ls -di .` &&
                   1286: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1287:   as_fn_error $? "working directory cannot be determined"
                   1288: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1289:   as_fn_error $? "pwd does not report name of working directory"
                   1290: 
                   1291: 
1.1       paf      1292: # Find the source files, if location was not specified.
                   1293: if test -z "$srcdir"; then
                   1294:   ac_srcdir_defaulted=yes
1.150     moko     1295:   # Try the directory containing this script, then the parent directory.
                   1296:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1297: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1298:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1299:         X"$as_myself" : 'X\(//\)$' \| \
                   1300:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1301: $as_echo X"$as_myself" |
                   1302:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1303:            s//\1/
                   1304:            q
                   1305:          }
                   1306:          /^X\(\/\/\)[^/].*/{
                   1307:            s//\1/
                   1308:            q
                   1309:          }
                   1310:          /^X\(\/\/\)$/{
                   1311:            s//\1/
                   1312:            q
                   1313:          }
                   1314:          /^X\(\/\).*/{
                   1315:            s//\1/
                   1316:            q
                   1317:          }
                   1318:          s/.*/./; q'`
1.1       paf      1319:   srcdir=$ac_confdir
1.150     moko     1320:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       paf      1321:     srcdir=..
                   1322:   fi
                   1323: else
                   1324:   ac_srcdir_defaulted=no
                   1325: fi
1.150     moko     1326: if test ! -r "$srcdir/$ac_unique_file"; then
                   1327:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1328:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1329: fi
                   1330: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1331: ac_abs_confdir=`(
                   1332:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1333:        pwd)`
                   1334: # When building in place, set srcdir=.
                   1335: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1336:   srcdir=.
                   1337: fi
                   1338: # Remove unnecessary trailing slashes from srcdir.
                   1339: # Double slashes in file names in object file debugging info
                   1340: # mess up M-x gdb in Emacs.
                   1341: case $srcdir in
                   1342: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1343: esac
                   1344: for ac_var in $ac_precious_vars; do
                   1345:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1346:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1347:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1348:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1349: done
1.62      paf      1350: 
                   1351: #
                   1352: # Report the --help message.
                   1353: #
                   1354: if test "$ac_init_help" = "long"; then
                   1355:   # Omit some internal or obsolete options to make the list less imposing.
                   1356:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1357:   cat <<_ACEOF
1.153     moko     1358: \`configure' configures parser 3.4.2 to adapt to many kinds of systems.
1.62      paf      1359: 
                   1360: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1361: 
                   1362: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1363: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1364: 
                   1365: Defaults for the options are specified in brackets.
                   1366: 
                   1367: Configuration:
                   1368:   -h, --help              display this help and exit
                   1369:       --help=short        display options specific to this package
                   1370:       --help=recursive    display the short help of all the included packages
                   1371:   -V, --version           display version information and exit
1.150     moko     1372:   -q, --quiet, --silent   do not print \`checking ...' messages
1.62      paf      1373:       --cache-file=FILE   cache test results in FILE [disabled]
                   1374:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1375:   -n, --no-create         do not create output files
                   1376:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1377: 
                   1378: Installation directories:
                   1379:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.150     moko     1380:                           [$ac_default_prefix]
1.62      paf      1381:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.150     moko     1382:                           [PREFIX]
1.62      paf      1383: 
                   1384: By default, \`make install' will install all the files in
                   1385: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1386: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1387: for instance \`--prefix=\$HOME'.
                   1388: 
                   1389: For better control, use the options below.
                   1390: 
                   1391: Fine tuning of the installation directories:
1.150     moko     1392:   --bindir=DIR            user executables [EPREFIX/bin]
                   1393:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1394:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1395:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1396:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1397:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1398:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1399:   --includedir=DIR        C header files [PREFIX/include]
                   1400:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1401:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1402:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1403:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1404:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1405:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1406:   --docdir=DIR            documentation root [DATAROOTDIR/doc/parser]
                   1407:   --htmldir=DIR           html documentation [DOCDIR]
                   1408:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1409:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1410:   --psdir=DIR             ps documentation [DOCDIR]
1.62      paf      1411: _ACEOF
                   1412: 
                   1413:   cat <<\_ACEOF
                   1414: 
                   1415: Program names:
                   1416:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1417:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1418:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1419: 
                   1420: System types:
                   1421:   --build=BUILD     configure for building on BUILD [guessed]
                   1422:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1423: _ACEOF
                   1424: fi
                   1425: 
                   1426: if test -n "$ac_init_help"; then
1.128     moko     1427:   case $ac_init_help in
1.153     moko     1428:      short | recursive ) echo "Configuration of parser 3.4.2:";;
1.128     moko     1429:    esac
1.62      paf      1430:   cat <<\_ACEOF
                   1431: 
                   1432: Optional Features:
1.150     moko     1433:   --disable-option-checking  ignore unrecognized --enable/--with options
1.62      paf      1434:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1435:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.86      paf      1436:   --disable-dependency-tracking  speeds up one-time build
                   1437:   --enable-dependency-tracking   do not reject slow dependency extractors
1.67      paf      1438:   --disable-safe-mode    to enable reading and executing
1.62      paf      1439:                           files belonging to group+user other then effective
1.146     moko     1440:   --disable-execs        to disable any execs
1.62      paf      1441:                           (file::exec, file::cgi, unix mail:send)
1.94      misha    1442:   --disable-stringstream  to disable stringstream usage.
                   1443:                           when disabled table.save use more memory but it's safer on freebsd 4.x
1.150     moko     1444:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1445:   --enable-static[=PKGS]  build static libraries [default=yes]
1.128     moko     1446:   --enable-fast-install[=PKGS]
                   1447:                           optimize for fast installation [default=yes]
                   1448:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1449:   --enable-ltdl-install   install libltdl
1.62      paf      1450: 
                   1451: Optional Packages:
                   1452:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1453:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.71      paf      1454:   --with-build-warnings   to enable build-time compiler warnings if gcc is used
1.67      paf      1455:   --with-assertions       to enable assertions
1.128     moko     1456:   --with-sjlj-exceptions  enable simple 'throw' from dynamic library
1.146     moko     1457:   --with-gc=D             D is the directory where
1.142     moko     1458:                           Boehm garbage collecting library is installed
1.146     moko     1459:   --with-pcre=D           D is the directory where
1.142     moko     1460:                           PCRE library is installed
1.146     moko     1461:   --with-xml=D            D is the directory where
1.142     moko     1462:                           Gnome XML libraries are installed
1.154     moko     1463:   --with-mailreceive=D is the directory where
                   1464:                           Gnome MIME library is installed
1.62      paf      1465:   \"--with-sendmail=COMMAND\" forces this command to send mail.
                   1466:                           example: \"--with-sendmail=/usr/sbin/sendmail -t\"
                   1467:                           (makes parser ignore user-defined sendmail commands)
1.146     moko     1468:   --with-apache=FILE      FILE is the full path for APXS
1.122     moko     1469:                           builds apache DSO module using apxs
1.150     moko     1470:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.128     moko     1471:                           both]
                   1472:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1473:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1474:                         (or the compiler's sysroot if not specified).
                   1475:   --with-included-ltdl    use the GNU ltdl sources included here
                   1476:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                   1477:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.62      paf      1478: 
                   1479: Some influential environment variables:
1.150     moko     1480:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1481:               Defaults to the first program found out of: `bison -y', `byacc',
                   1482:               `yacc'.
                   1483:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1484:               This script will default YFLAGS to the empty string to avoid a
                   1485:               default value of `-d' given by some make applications.
1.66      paf      1486:   CXX         C++ compiler command
                   1487:   CXXFLAGS    C++ compiler flags
1.62      paf      1488:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1489:               nonstandard directory <lib dir>
1.150     moko     1490:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1491:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1492:               you have headers in a nonstandard directory <include dir>
1.66      paf      1493:   CC          C compiler command
                   1494:   CFLAGS      C compiler flags
                   1495:   CPP         C preprocessor
1.128     moko     1496:   CXXCPP      C++ preprocessor
1.62      paf      1497: 
                   1498: Use these variables to override the choices made by `configure' or to help
                   1499: it to find libraries and programs with nonstandard names/locations.
                   1500: 
1.150     moko     1501: Report bugs to the package provider.
1.62      paf      1502: _ACEOF
1.150     moko     1503: ac_status=$?
1.62      paf      1504: fi
                   1505: 
                   1506: if test "$ac_init_help" = "recursive"; then
                   1507:   # If there are subdirs, report their specific --help.
                   1508:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.150     moko     1509:     test -d "$ac_dir" ||
                   1510:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1511:       continue
1.62      paf      1512:     ac_builddir=.
                   1513: 
1.150     moko     1514: case "$ac_dir" in
                   1515: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1516: *)
                   1517:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1518:   # A ".." for each directory in $ac_dir_suffix.
                   1519:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1520:   case $ac_top_builddir_sub in
                   1521:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1522:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1523:   esac ;;
                   1524: esac
                   1525: ac_abs_top_builddir=$ac_pwd
                   1526: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1527: # for backward compatibility:
                   1528: ac_top_builddir=$ac_top_build_prefix
1.62      paf      1529: 
                   1530: case $srcdir in
1.150     moko     1531:   .)  # We are building in place.
1.62      paf      1532:     ac_srcdir=.
1.150     moko     1533:     ac_top_srcdir=$ac_top_builddir_sub
                   1534:     ac_abs_top_srcdir=$ac_pwd ;;
                   1535:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      1536:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     1537:     ac_top_srcdir=$srcdir
                   1538:     ac_abs_top_srcdir=$srcdir ;;
                   1539:   *) # Relative name.
                   1540:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1541:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1542:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      1543: esac
1.150     moko     1544: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.62      paf      1545: 
1.150     moko     1546:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1547:     # Check for guested configure.
                   1548:     if test -f "$ac_srcdir/configure.gnu"; then
                   1549:       echo &&
                   1550:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1551:     elif test -f "$ac_srcdir/configure"; then
                   1552:       echo &&
                   1553:       $SHELL "$ac_srcdir/configure" --help=recursive
1.62      paf      1554:     else
1.150     moko     1555:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1556:     fi || ac_status=$?
                   1557:     cd "$ac_pwd" || { ac_status=$?; break; }
1.62      paf      1558:   done
                   1559: fi
                   1560: 
1.150     moko     1561: test -n "$ac_init_help" && exit $ac_status
1.62      paf      1562: if $ac_init_version; then
                   1563:   cat <<\_ACEOF
1.153     moko     1564: parser configure 3.4.2
1.150     moko     1565: generated by GNU Autoconf 2.68
1.62      paf      1566: 
1.150     moko     1567: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      1568: This configure script is free software; the Free Software Foundation
                   1569: gives unlimited permission to copy, distribute and modify it.
                   1570: _ACEOF
1.150     moko     1571:   exit
1.62      paf      1572: fi
                   1573: 
1.150     moko     1574: ## ------------------------ ##
                   1575: ## Autoconf initialization. ##
                   1576: ## ------------------------ ##
                   1577: 
                   1578: # ac_fn_cxx_try_compile LINENO
                   1579: # ----------------------------
                   1580: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1581: ac_fn_cxx_try_compile ()
1.62      paf      1582: {
1.150     moko     1583:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1584:   rm -f conftest.$ac_objext
                   1585:   if { { ac_try="$ac_compile"
                   1586: case "(($ac_try" in
                   1587:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1588:   *) ac_try_echo=$ac_try;;
                   1589: esac
                   1590: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1591: $as_echo "$ac_try_echo"; } >&5
                   1592:   (eval "$ac_compile") 2>conftest.err
                   1593:   ac_status=$?
                   1594:   if test -s conftest.err; then
                   1595:     grep -v '^ *+' conftest.err >conftest.er1
                   1596:     cat conftest.er1 >&5
                   1597:     mv -f conftest.er1 conftest.err
                   1598:   fi
                   1599:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1600:   test $ac_status = 0; } && {
                   1601:         test -z "$ac_cxx_werror_flag" ||
                   1602:         test ! -s conftest.err
                   1603:        } && test -s conftest.$ac_objext; then :
                   1604:   ac_retval=0
                   1605: else
                   1606:   $as_echo "$as_me: failed program was:" >&5
                   1607: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      1608: 
1.150     moko     1609:        ac_retval=1
                   1610: fi
                   1611:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1612:   as_fn_set_status $ac_retval
1.62      paf      1613: 
1.150     moko     1614: } # ac_fn_cxx_try_compile
                   1615: 
                   1616: # ac_fn_c_try_compile LINENO
                   1617: # --------------------------
                   1618: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1619: ac_fn_c_try_compile ()
                   1620: {
                   1621:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1622:   rm -f conftest.$ac_objext
                   1623:   if { { ac_try="$ac_compile"
                   1624: case "(($ac_try" in
                   1625:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1626:   *) ac_try_echo=$ac_try;;
                   1627: esac
                   1628: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1629: $as_echo "$ac_try_echo"; } >&5
                   1630:   (eval "$ac_compile") 2>conftest.err
                   1631:   ac_status=$?
                   1632:   if test -s conftest.err; then
                   1633:     grep -v '^ *+' conftest.err >conftest.er1
                   1634:     cat conftest.er1 >&5
                   1635:     mv -f conftest.er1 conftest.err
                   1636:   fi
                   1637:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1638:   test $ac_status = 0; } && {
                   1639:         test -z "$ac_c_werror_flag" ||
                   1640:         test ! -s conftest.err
                   1641:        } && test -s conftest.$ac_objext; then :
                   1642:   ac_retval=0
                   1643: else
                   1644:   $as_echo "$as_me: failed program was:" >&5
                   1645: sed 's/^/| /' conftest.$ac_ext >&5
                   1646: 
                   1647:        ac_retval=1
                   1648: fi
                   1649:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1650:   as_fn_set_status $ac_retval
                   1651: 
                   1652: } # ac_fn_c_try_compile
                   1653: 
                   1654: # ac_fn_c_try_link LINENO
                   1655: # -----------------------
                   1656: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1657: ac_fn_c_try_link ()
                   1658: {
                   1659:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1660:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1661:   if { { ac_try="$ac_link"
                   1662: case "(($ac_try" in
                   1663:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1664:   *) ac_try_echo=$ac_try;;
                   1665: esac
                   1666: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1667: $as_echo "$ac_try_echo"; } >&5
                   1668:   (eval "$ac_link") 2>conftest.err
                   1669:   ac_status=$?
                   1670:   if test -s conftest.err; then
                   1671:     grep -v '^ *+' conftest.err >conftest.er1
                   1672:     cat conftest.er1 >&5
                   1673:     mv -f conftest.er1 conftest.err
                   1674:   fi
                   1675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1676:   test $ac_status = 0; } && {
                   1677:         test -z "$ac_c_werror_flag" ||
                   1678:         test ! -s conftest.err
                   1679:        } && test -s conftest$ac_exeext && {
                   1680:         test "$cross_compiling" = yes ||
                   1681:         $as_test_x conftest$ac_exeext
                   1682:        }; then :
                   1683:   ac_retval=0
                   1684: else
                   1685:   $as_echo "$as_me: failed program was:" >&5
                   1686: sed 's/^/| /' conftest.$ac_ext >&5
                   1687: 
                   1688:        ac_retval=1
                   1689: fi
                   1690:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1691:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1692:   # interfere with the next link command; also delete a directory that is
                   1693:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1694:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1695:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1696:   as_fn_set_status $ac_retval
                   1697: 
                   1698: } # ac_fn_c_try_link
                   1699: 
                   1700: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1701: # -------------------------------------------------------
                   1702: # Tests whether HEADER exists and can be compiled using the include files in
                   1703: # INCLUDES, setting the cache variable VAR accordingly.
                   1704: ac_fn_c_check_header_compile ()
                   1705: {
                   1706:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1707:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1708: $as_echo_n "checking for $2... " >&6; }
                   1709: if eval \${$3+:} false; then :
                   1710:   $as_echo_n "(cached) " >&6
                   1711: else
                   1712:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1713: /* end confdefs.h.  */
                   1714: $4
                   1715: #include <$2>
                   1716: _ACEOF
                   1717: if ac_fn_c_try_compile "$LINENO"; then :
                   1718:   eval "$3=yes"
                   1719: else
                   1720:   eval "$3=no"
                   1721: fi
                   1722: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1723: fi
                   1724: eval ac_res=\$$3
                   1725:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1726: $as_echo "$ac_res" >&6; }
                   1727:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1728: 
                   1729: } # ac_fn_c_check_header_compile
                   1730: 
                   1731: # ac_fn_c_try_cpp LINENO
                   1732: # ----------------------
                   1733: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1734: ac_fn_c_try_cpp ()
                   1735: {
                   1736:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1737:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1738: case "(($ac_try" in
                   1739:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1740:   *) ac_try_echo=$ac_try;;
                   1741: esac
                   1742: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1743: $as_echo "$ac_try_echo"; } >&5
                   1744:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1745:   ac_status=$?
                   1746:   if test -s conftest.err; then
                   1747:     grep -v '^ *+' conftest.err >conftest.er1
                   1748:     cat conftest.er1 >&5
                   1749:     mv -f conftest.er1 conftest.err
                   1750:   fi
                   1751:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1752:   test $ac_status = 0; } > conftest.i && {
                   1753:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1754:         test ! -s conftest.err
                   1755:        }; then :
                   1756:   ac_retval=0
                   1757: else
                   1758:   $as_echo "$as_me: failed program was:" >&5
                   1759: sed 's/^/| /' conftest.$ac_ext >&5
                   1760: 
                   1761:     ac_retval=1
                   1762: fi
                   1763:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1764:   as_fn_set_status $ac_retval
                   1765: 
                   1766: } # ac_fn_c_try_cpp
                   1767: 
                   1768: # ac_fn_c_try_run LINENO
                   1769: # ----------------------
                   1770: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1771: # that executables *can* be run.
                   1772: ac_fn_c_try_run ()
                   1773: {
                   1774:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1775:   if { { ac_try="$ac_link"
                   1776: case "(($ac_try" in
                   1777:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1778:   *) ac_try_echo=$ac_try;;
                   1779: esac
                   1780: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1781: $as_echo "$ac_try_echo"; } >&5
                   1782:   (eval "$ac_link") 2>&5
                   1783:   ac_status=$?
                   1784:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1785:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1786:   { { case "(($ac_try" in
                   1787:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1788:   *) ac_try_echo=$ac_try;;
                   1789: esac
                   1790: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1791: $as_echo "$ac_try_echo"; } >&5
                   1792:   (eval "$ac_try") 2>&5
                   1793:   ac_status=$?
                   1794:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1795:   test $ac_status = 0; }; }; then :
                   1796:   ac_retval=0
                   1797: else
                   1798:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1799:        $as_echo "$as_me: failed program was:" >&5
                   1800: sed 's/^/| /' conftest.$ac_ext >&5
                   1801: 
                   1802:        ac_retval=$ac_status
                   1803: fi
                   1804:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1805:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1806:   as_fn_set_status $ac_retval
                   1807: 
                   1808: } # ac_fn_c_try_run
                   1809: 
                   1810: # ac_fn_c_check_func LINENO FUNC VAR
                   1811: # ----------------------------------
                   1812: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1813: ac_fn_c_check_func ()
                   1814: {
                   1815:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1816:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1817: $as_echo_n "checking for $2... " >&6; }
                   1818: if eval \${$3+:} false; then :
                   1819:   $as_echo_n "(cached) " >&6
                   1820: else
                   1821:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1822: /* end confdefs.h.  */
                   1823: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1824:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1825: #define $2 innocuous_$2
                   1826: 
                   1827: /* System header to define __stub macros and hopefully few prototypes,
                   1828:     which can conflict with char $2 (); below.
                   1829:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1830:     <limits.h> exists even on freestanding compilers.  */
                   1831: 
                   1832: #ifdef __STDC__
                   1833: # include <limits.h>
                   1834: #else
                   1835: # include <assert.h>
                   1836: #endif
                   1837: 
                   1838: #undef $2
                   1839: 
                   1840: /* Override any GCC internal prototype to avoid an error.
                   1841:    Use char because int might match the return type of a GCC
                   1842:    builtin and then its argument prototype would still apply.  */
                   1843: #ifdef __cplusplus
                   1844: extern "C"
                   1845: #endif
                   1846: char $2 ();
                   1847: /* The GNU C library defines this for functions which it implements
                   1848:     to always fail with ENOSYS.  Some functions are actually named
                   1849:     something starting with __ and the normal name is an alias.  */
                   1850: #if defined __stub_$2 || defined __stub___$2
                   1851: choke me
                   1852: #endif
                   1853: 
                   1854: int
                   1855: main ()
                   1856: {
                   1857: return $2 ();
                   1858:   ;
                   1859:   return 0;
                   1860: }
                   1861: _ACEOF
                   1862: if ac_fn_c_try_link "$LINENO"; then :
                   1863:   eval "$3=yes"
                   1864: else
                   1865:   eval "$3=no"
                   1866: fi
                   1867: rm -f core conftest.err conftest.$ac_objext \
                   1868:     conftest$ac_exeext conftest.$ac_ext
                   1869: fi
                   1870: eval ac_res=\$$3
                   1871:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1872: $as_echo "$ac_res" >&6; }
                   1873:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1874: 
                   1875: } # ac_fn_c_check_func
                   1876: 
                   1877: # ac_fn_cxx_try_cpp LINENO
                   1878: # ------------------------
                   1879: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1880: ac_fn_cxx_try_cpp ()
                   1881: {
                   1882:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1883:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1884: case "(($ac_try" in
                   1885:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1886:   *) ac_try_echo=$ac_try;;
                   1887: esac
                   1888: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1889: $as_echo "$ac_try_echo"; } >&5
                   1890:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1891:   ac_status=$?
                   1892:   if test -s conftest.err; then
                   1893:     grep -v '^ *+' conftest.err >conftest.er1
                   1894:     cat conftest.er1 >&5
                   1895:     mv -f conftest.er1 conftest.err
                   1896:   fi
                   1897:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1898:   test $ac_status = 0; } > conftest.i && {
                   1899:         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
                   1900:         test ! -s conftest.err
                   1901:        }; then :
                   1902:   ac_retval=0
                   1903: else
                   1904:   $as_echo "$as_me: failed program was:" >&5
                   1905: sed 's/^/| /' conftest.$ac_ext >&5
                   1906: 
                   1907:     ac_retval=1
                   1908: fi
                   1909:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1910:   as_fn_set_status $ac_retval
                   1911: 
                   1912: } # ac_fn_cxx_try_cpp
                   1913: 
                   1914: # ac_fn_cxx_try_link LINENO
                   1915: # -------------------------
                   1916: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1917: ac_fn_cxx_try_link ()
                   1918: {
                   1919:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1920:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1921:   if { { ac_try="$ac_link"
                   1922: case "(($ac_try" in
                   1923:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1924:   *) ac_try_echo=$ac_try;;
                   1925: esac
                   1926: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1927: $as_echo "$ac_try_echo"; } >&5
                   1928:   (eval "$ac_link") 2>conftest.err
                   1929:   ac_status=$?
                   1930:   if test -s conftest.err; then
                   1931:     grep -v '^ *+' conftest.err >conftest.er1
                   1932:     cat conftest.er1 >&5
                   1933:     mv -f conftest.er1 conftest.err
                   1934:   fi
                   1935:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1936:   test $ac_status = 0; } && {
                   1937:         test -z "$ac_cxx_werror_flag" ||
                   1938:         test ! -s conftest.err
                   1939:        } && test -s conftest$ac_exeext && {
                   1940:         test "$cross_compiling" = yes ||
                   1941:         $as_test_x conftest$ac_exeext
                   1942:        }; then :
                   1943:   ac_retval=0
                   1944: else
                   1945:   $as_echo "$as_me: failed program was:" >&5
                   1946: sed 's/^/| /' conftest.$ac_ext >&5
                   1947: 
                   1948:        ac_retval=1
                   1949: fi
                   1950:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1951:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1952:   # interfere with the next link command; also delete a directory that is
                   1953:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1954:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1955:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1956:   as_fn_set_status $ac_retval
                   1957: 
                   1958: } # ac_fn_cxx_try_link
                   1959: 
                   1960: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1961: # ---------------------------------------------
                   1962: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1963: # accordingly.
                   1964: ac_fn_c_check_decl ()
                   1965: {
                   1966:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1967:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1968:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1969:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1970: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1971: if eval \${$3+:} false; then :
                   1972:   $as_echo_n "(cached) " >&6
                   1973: else
                   1974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1975: /* end confdefs.h.  */
                   1976: $4
                   1977: int
                   1978: main ()
                   1979: {
                   1980: #ifndef $as_decl_name
                   1981: #ifdef __cplusplus
                   1982:   (void) $as_decl_use;
                   1983: #else
                   1984:   (void) $as_decl_name;
                   1985: #endif
                   1986: #endif
                   1987: 
                   1988:   ;
                   1989:   return 0;
                   1990: }
                   1991: _ACEOF
                   1992: if ac_fn_c_try_compile "$LINENO"; then :
                   1993:   eval "$3=yes"
                   1994: else
                   1995:   eval "$3=no"
                   1996: fi
                   1997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1998: fi
                   1999: eval ac_res=\$$3
                   2000:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2001: $as_echo "$ac_res" >&6; }
                   2002:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2003: 
                   2004: } # ac_fn_c_check_decl
                   2005: 
                   2006: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2007: # -------------------------------------------
                   2008: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2009: # variable VAR accordingly.
                   2010: ac_fn_c_check_type ()
                   2011: {
                   2012:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2013:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2014: $as_echo_n "checking for $2... " >&6; }
                   2015: if eval \${$3+:} false; then :
                   2016:   $as_echo_n "(cached) " >&6
                   2017: else
                   2018:   eval "$3=no"
                   2019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2020: /* end confdefs.h.  */
                   2021: $4
                   2022: int
                   2023: main ()
                   2024: {
                   2025: if (sizeof ($2))
                   2026:         return 0;
                   2027:   ;
                   2028:   return 0;
                   2029: }
                   2030: _ACEOF
                   2031: if ac_fn_c_try_compile "$LINENO"; then :
                   2032:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2033: /* end confdefs.h.  */
                   2034: $4
                   2035: int
                   2036: main ()
                   2037: {
                   2038: if (sizeof (($2)))
                   2039:            return 0;
                   2040:   ;
                   2041:   return 0;
                   2042: }
                   2043: _ACEOF
                   2044: if ac_fn_c_try_compile "$LINENO"; then :
                   2045: 
                   2046: else
                   2047:   eval "$3=yes"
                   2048: fi
                   2049: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2050: fi
                   2051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2052: fi
                   2053: eval ac_res=\$$3
                   2054:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2055: $as_echo "$ac_res" >&6; }
                   2056:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2057: 
                   2058: } # ac_fn_c_check_type
                   2059: 
1.156   ! moko     2060: # ac_fn_c_find_uintX_t LINENO BITS VAR
        !          2061: # ------------------------------------
        !          2062: # Finds an unsigned integer type with width BITS, setting cache variable VAR
        !          2063: # accordingly.
        !          2064: ac_fn_c_find_uintX_t ()
        !          2065: {
        !          2066:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          2067:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
        !          2068: $as_echo_n "checking for uint$2_t... " >&6; }
        !          2069: if eval \${$3+:} false; then :
        !          2070:   $as_echo_n "(cached) " >&6
        !          2071: else
        !          2072:   eval "$3=no"
        !          2073:      # Order is important - never check a type that is potentially smaller
        !          2074:      # than half of the expected target width.
        !          2075:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
        !          2076:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
        !          2077:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2078: /* end confdefs.h.  */
        !          2079: $ac_includes_default
        !          2080: int
        !          2081: main ()
        !          2082: {
        !          2083: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
        !          2084: test_array [0] = 0
        !          2085: 
        !          2086:   ;
        !          2087:   return 0;
        !          2088: }
        !          2089: _ACEOF
        !          2090: if ac_fn_c_try_compile "$LINENO"; then :
        !          2091:   case $ac_type in #(
        !          2092:   uint$2_t) :
        !          2093:     eval "$3=yes" ;; #(
        !          2094:   *) :
        !          2095:     eval "$3=\$ac_type" ;;
        !          2096: esac
        !          2097: fi
        !          2098: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          2099:        if eval test \"x\$"$3"\" = x"no"; then :
        !          2100: 
        !          2101: else
        !          2102:   break
        !          2103: fi
        !          2104:      done
        !          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_find_uintX_t
        !          2112: 
1.150     moko     2113: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2114: # -------------------------------------------------------
                   2115: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2116: # the include files in INCLUDES and setting the cache variable VAR
                   2117: # accordingly.
                   2118: ac_fn_c_check_header_mongrel ()
                   2119: {
                   2120:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2121:   if eval \${$3+:} false; then :
                   2122:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2123: $as_echo_n "checking for $2... " >&6; }
                   2124: if eval \${$3+:} false; then :
                   2125:   $as_echo_n "(cached) " >&6
                   2126: fi
                   2127: eval ac_res=\$$3
                   2128:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2129: $as_echo "$ac_res" >&6; }
                   2130: else
                   2131:   # Is the header compilable?
                   2132: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2133: $as_echo_n "checking $2 usability... " >&6; }
                   2134: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2135: /* end confdefs.h.  */
                   2136: $4
                   2137: #include <$2>
                   2138: _ACEOF
                   2139: if ac_fn_c_try_compile "$LINENO"; then :
                   2140:   ac_header_compiler=yes
                   2141: else
                   2142:   ac_header_compiler=no
                   2143: fi
                   2144: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2145: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2146: $as_echo "$ac_header_compiler" >&6; }
                   2147: 
                   2148: # Is the header present?
                   2149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2150: $as_echo_n "checking $2 presence... " >&6; }
                   2151: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2152: /* end confdefs.h.  */
                   2153: #include <$2>
                   2154: _ACEOF
                   2155: if ac_fn_c_try_cpp "$LINENO"; then :
                   2156:   ac_header_preproc=yes
                   2157: else
                   2158:   ac_header_preproc=no
                   2159: fi
                   2160: rm -f conftest.err conftest.i conftest.$ac_ext
                   2161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2162: $as_echo "$ac_header_preproc" >&6; }
                   2163: 
                   2164: # So?  What about this header?
                   2165: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2166:   yes:no: )
                   2167:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2168: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2169:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2170: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2171:     ;;
                   2172:   no:yes:* )
                   2173:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2174: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2175:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2176: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2177:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2178: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2179:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2180: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2181:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2182: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2183:     ;;
                   2184: esac
                   2185:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2186: $as_echo_n "checking for $2... " >&6; }
                   2187: if eval \${$3+:} false; then :
                   2188:   $as_echo_n "(cached) " >&6
                   2189: else
                   2190:   eval "$3=\$ac_header_compiler"
                   2191: fi
                   2192: eval ac_res=\$$3
                   2193:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2194: $as_echo "$ac_res" >&6; }
                   2195: fi
                   2196:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2197: 
                   2198: } # ac_fn_c_check_header_mongrel
                   2199: cat >config.log <<_ACEOF
                   2200: This file contains any messages produced by compilers while
                   2201: running configure, to aid debugging if configure makes a mistake.
                   2202: 
1.153     moko     2203: It was created by parser $as_me 3.4.2, which was
1.150     moko     2204: generated by GNU Autoconf 2.68.  Invocation command line was
                   2205: 
                   2206:   $ $0 $@
                   2207: 
                   2208: _ACEOF
                   2209: exec 5>>config.log
                   2210: {
                   2211: cat <<_ASUNAME
                   2212: ## --------- ##
                   2213: ## Platform. ##
                   2214: ## --------- ##
                   2215: 
                   2216: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2217: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2218: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2219: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2220: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2221: 
                   2222: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2223: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2224: 
                   2225: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2226: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2227: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2228: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2229: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2230: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2231: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2232: 
                   2233: _ASUNAME
                   2234: 
                   2235: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2236: for as_dir in $PATH
                   2237: do
                   2238:   IFS=$as_save_IFS
                   2239:   test -z "$as_dir" && as_dir=.
1.150     moko     2240:     $as_echo "PATH: $as_dir"
                   2241:   done
                   2242: IFS=$as_save_IFS
1.1       paf      2243: 
1.62      paf      2244: } >&5
                   2245: 
                   2246: cat >&5 <<_ACEOF
                   2247: 
                   2248: 
                   2249: ## ----------- ##
                   2250: ## Core tests. ##
                   2251: ## ----------- ##
                   2252: 
                   2253: _ACEOF
                   2254: 
                   2255: 
                   2256: # Keep a trace of the command line.
                   2257: # Strip out --no-create and --no-recursion so they do not pile up.
                   2258: # Strip out --silent because we don't want to record it for future runs.
                   2259: # Also quote any args containing shell meta-characters.
                   2260: # Make two passes to allow for proper duplicate-argument suppression.
                   2261: ac_configure_args=
                   2262: ac_configure_args0=
                   2263: ac_configure_args1=
                   2264: ac_must_keep_next=false
                   2265: for ac_pass in 1 2
                   2266: do
                   2267:   for ac_arg
                   2268:   do
                   2269:     case $ac_arg in
                   2270:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2271:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2272:     | -silent | --silent | --silen | --sile | --sil)
                   2273:       continue ;;
1.150     moko     2274:     *\'*)
                   2275:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2276:     esac
                   2277:     case $ac_pass in
1.150     moko     2278:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2279:     2)
1.150     moko     2280:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2281:       if test $ac_must_keep_next = true; then
1.86      paf      2282:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2283:       else
1.86      paf      2284:        case $ac_arg in
                   2285:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2286:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2287:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2288:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2289:            case "$ac_configure_args0 " in
                   2290:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2291:            esac
                   2292:            ;;
                   2293:          -* ) ac_must_keep_next=true ;;
                   2294:        esac
1.62      paf      2295:       fi
1.150     moko     2296:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2297:       ;;
                   2298:     esac
                   2299:   done
                   2300: done
1.150     moko     2301: { ac_configure_args0=; unset ac_configure_args0;}
                   2302: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2303: 
                   2304: # When interrupted or exit'd, cleanup temporary files, and complete
                   2305: # config.log.  We remove comments because anyway the quotes in there
                   2306: # would cause problems or look ugly.
1.150     moko     2307: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2308: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2309: trap 'exit_status=$?
                   2310:   # Save into config.log some information that might help in debugging.
                   2311:   {
                   2312:     echo
                   2313: 
1.150     moko     2314:     $as_echo "## ---------------- ##
1.62      paf      2315: ## Cache variables. ##
1.150     moko     2316: ## ---------------- ##"
1.62      paf      2317:     echo
                   2318:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2319: (
                   2320:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2321:     eval ac_val=\$$ac_var
                   2322:     case $ac_val in #(
                   2323:     *${as_nl}*)
                   2324:       case $ac_var in #(
                   2325:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2326: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2327:       esac
                   2328:       case $ac_var in #(
                   2329:       _ | IFS | as_nl) ;; #(
                   2330:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2331:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2332:       esac ;;
                   2333:     esac
                   2334:   done
1.62      paf      2335:   (set) 2>&1 |
1.150     moko     2336:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2337:     *${as_nl}ac_space=\ *)
1.62      paf      2338:       sed -n \
1.150     moko     2339:        "s/'\''/'\''\\\\'\'''\''/g;
                   2340:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2341:       ;; #(
1.62      paf      2342:     *)
1.150     moko     2343:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2344:       ;;
1.150     moko     2345:     esac |
                   2346:     sort
                   2347: )
1.62      paf      2348:     echo
                   2349: 
1.150     moko     2350:     $as_echo "## ----------------- ##
1.62      paf      2351: ## Output variables. ##
1.150     moko     2352: ## ----------------- ##"
1.62      paf      2353:     echo
                   2354:     for ac_var in $ac_subst_vars
                   2355:     do
1.150     moko     2356:       eval ac_val=\$$ac_var
                   2357:       case $ac_val in
                   2358:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2359:       esac
                   2360:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2361:     done | sort
                   2362:     echo
                   2363: 
                   2364:     if test -n "$ac_subst_files"; then
1.150     moko     2365:       $as_echo "## ------------------- ##
                   2366: ## File substitutions. ##
                   2367: ## ------------------- ##"
1.62      paf      2368:       echo
                   2369:       for ac_var in $ac_subst_files
                   2370:       do
1.150     moko     2371:        eval ac_val=\$$ac_var
                   2372:        case $ac_val in
                   2373:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2374:        esac
                   2375:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2376:       done | sort
                   2377:       echo
                   2378:     fi
                   2379: 
                   2380:     if test -s confdefs.h; then
1.150     moko     2381:       $as_echo "## ----------- ##
1.62      paf      2382: ## confdefs.h. ##
1.150     moko     2383: ## ----------- ##"
1.62      paf      2384:       echo
1.150     moko     2385:       cat confdefs.h
1.62      paf      2386:       echo
                   2387:     fi
                   2388:     test "$ac_signal" != 0 &&
1.150     moko     2389:       $as_echo "$as_me: caught signal $ac_signal"
                   2390:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2391:   } >&5
1.150     moko     2392:   rm -f core *.core core.conftest.* &&
                   2393:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2394:     exit $exit_status
1.150     moko     2395: ' 0
1.62      paf      2396: for ac_signal in 1 2 13 15; do
1.150     moko     2397:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2398: done
                   2399: ac_signal=0
                   2400: 
                   2401: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2402: rm -f -r conftest* confdefs.h
                   2403: 
                   2404: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2405: 
                   2406: # Predefined preprocessor variables.
                   2407: 
                   2408: cat >>confdefs.h <<_ACEOF
                   2409: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2410: _ACEOF
                   2411: 
                   2412: cat >>confdefs.h <<_ACEOF
                   2413: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2414: _ACEOF
                   2415: 
                   2416: cat >>confdefs.h <<_ACEOF
                   2417: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2418: _ACEOF
                   2419: 
                   2420: cat >>confdefs.h <<_ACEOF
                   2421: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2422: _ACEOF
                   2423: 
1.150     moko     2424: cat >>confdefs.h <<_ACEOF
                   2425: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2426: _ACEOF
1.62      paf      2427: 
                   2428: cat >>confdefs.h <<_ACEOF
1.150     moko     2429: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2430: _ACEOF
                   2431: 
                   2432: 
                   2433: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2434: # Prefer an explicitly selected file to automatically selected ones.
                   2435: ac_site_file1=NONE
                   2436: ac_site_file2=NONE
                   2437: if test -n "$CONFIG_SITE"; then
                   2438:   # We do not want a PATH search for config.site.
                   2439:   case $CONFIG_SITE in #((
                   2440:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2441:     */*) ac_site_file1=$CONFIG_SITE;;
                   2442:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2443:   esac
                   2444: elif test "x$prefix" != xNONE; then
                   2445:   ac_site_file1=$prefix/share/config.site
                   2446:   ac_site_file2=$prefix/etc/config.site
                   2447: else
                   2448:   ac_site_file1=$ac_default_prefix/share/config.site
                   2449:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2450: fi
                   2451: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2452: do
                   2453:   test "x$ac_site_file" = xNONE && continue
                   2454:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2455:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2456: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2457:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2458:     . "$ac_site_file" \
                   2459:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2460: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2461: as_fn_error $? "failed to load site script $ac_site_file
                   2462: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2463:   fi
                   2464: done
                   2465: 
                   2466: if test -r "$cache_file"; then
1.150     moko     2467:   # Some versions of bash will fail to source /dev/null (special files
                   2468:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2469:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2470:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2471: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2472:     case $cache_file in
1.150     moko     2473:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2474:       *)                      . "./$cache_file";;
1.62      paf      2475:     esac
                   2476:   fi
1.1       paf      2477: else
1.150     moko     2478:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2479: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2480:   >$cache_file
                   2481: fi
                   2482: 
                   2483: # Check that the precious variables saved in the cache have kept the same
                   2484: # value.
                   2485: ac_cache_corrupted=false
1.150     moko     2486: for ac_var in $ac_precious_vars; do
1.62      paf      2487:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2488:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2489:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2490:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2491:   case $ac_old_set,$ac_new_set in
                   2492:     set,)
1.150     moko     2493:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2494: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2495:       ac_cache_corrupted=: ;;
                   2496:     ,set)
1.150     moko     2497:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2498: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2499:       ac_cache_corrupted=: ;;
                   2500:     ,);;
                   2501:     *)
                   2502:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2503:        # differences in whitespace do not lead to failure.
                   2504:        ac_old_val_w=`echo x $ac_old_val`
                   2505:        ac_new_val_w=`echo x $ac_new_val`
                   2506:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2507:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2508: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2509:          ac_cache_corrupted=:
                   2510:        else
                   2511:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2512: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2513:          eval $ac_var=\$ac_old_val
                   2514:        fi
                   2515:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2516: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2517:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2518: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2519:       fi;;
                   2520:   esac
                   2521:   # Pass precious variables to config.status.
                   2522:   if test "$ac_new_set" = set; then
                   2523:     case $ac_new_val in
1.150     moko     2524:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2525:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2526:     esac
                   2527:     case " $ac_configure_args " in
                   2528:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2529:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2530:     esac
                   2531:   fi
                   2532: done
                   2533: if $ac_cache_corrupted; then
1.150     moko     2534:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2535: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2536:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2537: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2538:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2539: fi
                   2540: ## -------------------- ##
                   2541: ## Main body of script. ##
                   2542: ## -------------------- ##
1.1       paf      2543: 
                   2544: ac_ext=c
                   2545: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2546: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2547: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2548: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2549: 
                   2550: 
                   2551: 
                   2552: 
                   2553: 
1.150     moko     2554: am__api_version='1.11'
1.62      paf      2555: 
1.1       paf      2556: ac_aux_dir=
1.150     moko     2557: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2558:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2559:     ac_aux_dir=$ac_dir
                   2560:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2561:     break
1.150     moko     2562:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2563:     ac_aux_dir=$ac_dir
                   2564:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2565:     break
1.150     moko     2566:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2567:     ac_aux_dir=$ac_dir
                   2568:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2569:     break
1.1       paf      2570:   fi
                   2571: done
                   2572: if test -z "$ac_aux_dir"; then
1.150     moko     2573:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2574: fi
                   2575: 
                   2576: # These three variables are undocumented and unsupported,
                   2577: # and are intended to be withdrawn in a future Autoconf release.
                   2578: # They can cause serious problems if a builder's source tree is in a directory
                   2579: # whose full name contains unusual characters.
                   2580: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2581: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2582: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2583: 
1.1       paf      2584: 
                   2585: # Find a good install program.  We prefer a C program (faster),
                   2586: # so one script is as good as another.  But avoid the broken or
                   2587: # incompatible versions:
                   2588: # SysV /etc/install, /usr/sbin/install
                   2589: # SunOS /usr/etc/install
                   2590: # IRIX /sbin/install
                   2591: # AIX /bin/install
1.62      paf      2592: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2593: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2594: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2595: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2596: # OS/2's system install, which has a completely different semantic
1.1       paf      2597: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2598: # Reject install programs that cannot install multiple files.
                   2599: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2600: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2601: if test -z "$INSTALL"; then
1.150     moko     2602: if ${ac_cv_path_install+:} false; then :
                   2603:   $as_echo_n "(cached) " >&6
1.1       paf      2604: else
1.62      paf      2605:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2606: for as_dir in $PATH
                   2607: do
                   2608:   IFS=$as_save_IFS
                   2609:   test -z "$as_dir" && as_dir=.
1.150     moko     2610:     # Account for people who put trailing slashes in PATH elements.
                   2611: case $as_dir/ in #((
                   2612:   ./ | .// | /[cC]/* | \
1.62      paf      2613:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2614:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2615:   /usr/ucb/* ) ;;
                   2616:   *)
                   2617:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2618:     # Don't use installbsd from OSF since it installs stuff as root
                   2619:     # by default.
                   2620:     for ac_prog in ginstall scoinst install; do
                   2621:       for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     2622:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.86      paf      2623:          if test $ac_prog = install &&
                   2624:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2625:            # AIX install.  It has an incompatible calling convention.
                   2626:            :
                   2627:          elif test $ac_prog = install &&
                   2628:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2629:            # program-specific install script used by HP pwplus--don't use.
                   2630:            :
                   2631:          else
1.150     moko     2632:            rm -rf conftest.one conftest.two conftest.dir
                   2633:            echo one > conftest.one
                   2634:            echo two > conftest.two
                   2635:            mkdir conftest.dir
                   2636:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2637:              test -s conftest.one && test -s conftest.two &&
                   2638:              test -s conftest.dir/conftest.one &&
                   2639:              test -s conftest.dir/conftest.two
                   2640:            then
                   2641:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2642:              break 3
                   2643:            fi
1.86      paf      2644:          fi
                   2645:        fi
1.1       paf      2646:       done
1.62      paf      2647:     done
                   2648:     ;;
                   2649: esac
                   2650: 
1.150     moko     2651:   done
                   2652: IFS=$as_save_IFS
                   2653: 
                   2654: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2655: 
                   2656: fi
                   2657:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2658:     INSTALL=$ac_cv_path_install
1.1       paf      2659:   else
1.150     moko     2660:     # As a last resort, use the slow shell script.  Don't cache a
                   2661:     # value for INSTALL within a source directory, because that will
1.1       paf      2662:     # break other packages using the cache if that directory is
1.150     moko     2663:     # removed, or if the value is a relative name.
1.62      paf      2664:     INSTALL=$ac_install_sh
1.1       paf      2665:   fi
                   2666: fi
1.150     moko     2667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2668: $as_echo "$INSTALL" >&6; }
1.1       paf      2669: 
                   2670: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2671: # It thinks the first close brace ends the variable substitution.
                   2672: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2673: 
1.62      paf      2674: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2675: 
                   2676: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2677: 
1.150     moko     2678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2679: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2680: # Just in case
                   2681: sleep 1
1.62      paf      2682: echo timestamp > conftest.file
1.150     moko     2683: # Reject unsafe characters in $srcdir or the absolute working directory
                   2684: # name.  Accept space and tab only in the latter.
                   2685: am_lf='
                   2686: '
                   2687: case `pwd` in
                   2688:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2689:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2690: esac
                   2691: case $srcdir in
                   2692:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2693:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2694: esac
                   2695: 
1.1       paf      2696: # Do `set' in a subshell so we don't clobber the current shell's
                   2697: # arguments.  Must try -L first in case configure is actually a
                   2698: # symlink; some systems play weird games with the mod time of symlinks
                   2699: # (eg FreeBSD returns the mod time of the symlink's containing
                   2700: # directory).
                   2701: if (
1.150     moko     2702:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2703:    if test "$*" = "X"; then
                   2704:       # -L didn't work.
1.150     moko     2705:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2706:    fi
1.62      paf      2707:    rm -f conftest.file
                   2708:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2709:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2710: 
                   2711:       # If neither matched, then we have a broken ls.  This can happen
                   2712:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2713:       # broken ls alias from the environment.  This has actually
                   2714:       # happened.  Such a system could not be considered "sane".
1.150     moko     2715:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2716: alias in your environment" "$LINENO" 5
1.1       paf      2717:    fi
                   2718: 
1.62      paf      2719:    test "$2" = conftest.file
1.1       paf      2720:    )
                   2721: then
                   2722:    # Ok.
                   2723:    :
                   2724: else
1.150     moko     2725:    as_fn_error $? "newly created file is older than distributed files!
                   2726: Check your system clock" "$LINENO" 5
1.1       paf      2727: fi
1.150     moko     2728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2729: $as_echo "yes" >&6; }
1.1       paf      2730: test "$program_prefix" != NONE &&
1.150     moko     2731:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2732: # Use a double $ so make ignores it.
                   2733: test "$program_suffix" != NONE &&
1.150     moko     2734:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2735: # Double any \ or $.
1.62      paf      2736: # By default was `s,x,x', remove it if useless.
1.150     moko     2737: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2738: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2739: 
                   2740: # expand $ac_aux_dir to an absolute path
                   2741: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2742: 
1.150     moko     2743: if test x"${MISSING+set}" != xset; then
                   2744:   case $am_aux_dir in
                   2745:   *\ * | *\    *)
                   2746:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2747:   *)
                   2748:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2749:   esac
                   2750: fi
1.62      paf      2751: # Use eval to expand $SHELL
                   2752: if eval "$MISSING --run true"; then
                   2753:   am_missing_run="$MISSING --run "
                   2754: else
                   2755:   am_missing_run=
1.150     moko     2756:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2757: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2758: fi
                   2759: 
1.150     moko     2760: if test x"${install_sh}" != xset; then
                   2761:   case $am_aux_dir in
                   2762:   *\ * | *\    *)
                   2763:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2764:   *)
                   2765:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2766:   esac
1.86      paf      2767: fi
                   2768: 
1.150     moko     2769: # Installed binaries are usually stripped using `strip' when the user
                   2770: # run `make install-strip'.  However `strip' might not be the right
                   2771: # tool to use in cross-compilation environments, therefore Automake
                   2772: # will honor the `STRIP' environment variable to overrule this program.
                   2773: if test "$cross_compiling" != no; then
                   2774:   if test -n "$ac_tool_prefix"; then
                   2775:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2776: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2778: $as_echo_n "checking for $ac_word... " >&6; }
                   2779: if ${ac_cv_prog_STRIP+:} false; then :
                   2780:   $as_echo_n "(cached) " >&6
                   2781: else
                   2782:   if test -n "$STRIP"; then
                   2783:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2784: else
                   2785: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2786: for as_dir in $PATH
                   2787: do
                   2788:   IFS=$as_save_IFS
                   2789:   test -z "$as_dir" && as_dir=.
                   2790:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2791:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2792:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2793:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2794:     break 2
                   2795:   fi
                   2796: done
                   2797:   done
                   2798: IFS=$as_save_IFS
                   2799: 
                   2800: fi
                   2801: fi
                   2802: STRIP=$ac_cv_prog_STRIP
                   2803: if test -n "$STRIP"; then
                   2804:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2805: $as_echo "$STRIP" >&6; }
                   2806: else
                   2807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2808: $as_echo "no" >&6; }
                   2809: fi
                   2810: 
                   2811: 
                   2812: fi
                   2813: if test -z "$ac_cv_prog_STRIP"; then
                   2814:   ac_ct_STRIP=$STRIP
                   2815:   # Extract the first word of "strip", so it can be a program name with args.
                   2816: set dummy strip; ac_word=$2
                   2817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2818: $as_echo_n "checking for $ac_word... " >&6; }
                   2819: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2820:   $as_echo_n "(cached) " >&6
                   2821: else
                   2822:   if test -n "$ac_ct_STRIP"; then
                   2823:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2824: else
                   2825: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2826: for as_dir in $PATH
                   2827: do
                   2828:   IFS=$as_save_IFS
                   2829:   test -z "$as_dir" && as_dir=.
                   2830:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2831:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2832:     ac_cv_prog_ac_ct_STRIP="strip"
                   2833:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2834:     break 2
                   2835:   fi
                   2836: done
                   2837:   done
                   2838: IFS=$as_save_IFS
                   2839: 
                   2840: fi
                   2841: fi
                   2842: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2843: if test -n "$ac_ct_STRIP"; then
                   2844:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2845: $as_echo "$ac_ct_STRIP" >&6; }
                   2846: else
                   2847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2848: $as_echo "no" >&6; }
                   2849: fi
                   2850: 
                   2851:   if test "x$ac_ct_STRIP" = x; then
                   2852:     STRIP=":"
                   2853:   else
                   2854:     case $cross_compiling:$ac_tool_warned in
                   2855: yes:)
                   2856: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2857: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2858: ac_tool_warned=yes ;;
                   2859: esac
                   2860:     STRIP=$ac_ct_STRIP
                   2861:   fi
                   2862: else
                   2863:   STRIP="$ac_cv_prog_STRIP"
                   2864: fi
                   2865: 
                   2866: fi
                   2867: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2868: 
                   2869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2870: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2871: if test -z "$MKDIR_P"; then
                   2872:   if ${ac_cv_path_mkdir+:} false; then :
                   2873:   $as_echo_n "(cached) " >&6
                   2874: else
                   2875:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2876: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2877: do
                   2878:   IFS=$as_save_IFS
                   2879:   test -z "$as_dir" && as_dir=.
                   2880:     for ac_prog in mkdir gmkdir; do
                   2881:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2882:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2883:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2884:             'mkdir (GNU coreutils) '* | \
                   2885:             'mkdir (coreutils) '* | \
                   2886:             'mkdir (fileutils) '4.1*)
                   2887:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2888:               break 3;;
                   2889:           esac
                   2890:         done
                   2891:        done
                   2892:   done
                   2893: IFS=$as_save_IFS
                   2894: 
                   2895: fi
                   2896: 
                   2897:   test -d ./--version && rmdir ./--version
                   2898:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2899:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2900:   else
                   2901:     # As a last resort, use the slow shell script.  Don't cache a
                   2902:     # value for MKDIR_P within a source directory, because that will
                   2903:     # break other packages using the cache if that directory is
                   2904:     # removed, or if the value is a relative name.
                   2905:     MKDIR_P="$ac_install_sh -d"
                   2906:   fi
                   2907: fi
                   2908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2909: $as_echo "$MKDIR_P" >&6; }
                   2910: 
                   2911: mkdir_p="$MKDIR_P"
                   2912: case $mkdir_p in
                   2913:   [\\/$]* | ?:[\\/]*) ;;
                   2914:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2915: esac
                   2916: 
                   2917: for ac_prog in gawk mawk nawk awk
1.62      paf      2918: do
                   2919:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2920: set dummy $ac_prog; ac_word=$2
1.150     moko     2921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2922: $as_echo_n "checking for $ac_word... " >&6; }
                   2923: if ${ac_cv_prog_AWK+:} false; then :
                   2924:   $as_echo_n "(cached) " >&6
1.62      paf      2925: else
                   2926:   if test -n "$AWK"; then
                   2927:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2928: else
                   2929: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2930: for as_dir in $PATH
                   2931: do
                   2932:   IFS=$as_save_IFS
                   2933:   test -z "$as_dir" && as_dir=.
1.150     moko     2934:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2935:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      2936:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     2937:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      2938:     break 2
                   2939:   fi
                   2940: done
1.150     moko     2941:   done
                   2942: IFS=$as_save_IFS
1.62      paf      2943: 
                   2944: fi
                   2945: fi
                   2946: AWK=$ac_cv_prog_AWK
                   2947: if test -n "$AWK"; then
1.150     moko     2948:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2949: $as_echo "$AWK" >&6; }
1.62      paf      2950: else
1.150     moko     2951:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2952: $as_echo "no" >&6; }
1.62      paf      2953: fi
1.1       paf      2954: 
1.150     moko     2955: 
1.62      paf      2956:   test -n "$AWK" && break
                   2957: done
1.1       paf      2958: 
1.150     moko     2959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2960: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2961: set x ${MAKE-make}
                   2962: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2963: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2964:   $as_echo_n "(cached) " >&6
1.1       paf      2965: else
1.62      paf      2966:   cat >conftest.make <<\_ACEOF
1.150     moko     2967: SHELL = /bin/sh
1.1       paf      2968: all:
1.150     moko     2969:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      2970: _ACEOF
1.150     moko     2971: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2972: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2973:   *@@@%%%=?*=@@@%%%*)
                   2974:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2975:   *)
                   2976:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2977: esac
1.62      paf      2978: rm -f conftest.make
1.1       paf      2979: fi
1.150     moko     2980: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2981:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2982: $as_echo "yes" >&6; }
1.1       paf      2983:   SET_MAKE=
                   2984: else
1.150     moko     2985:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2986: $as_echo "no" >&6; }
1.1       paf      2987:   SET_MAKE="MAKE=${MAKE-make}"
                   2988: fi
                   2989: 
1.86      paf      2990: rm -rf .tst 2>/dev/null
                   2991: mkdir .tst 2>/dev/null
                   2992: if test -d .tst; then
                   2993:   am__leading_dot=.
                   2994: else
                   2995:   am__leading_dot=_
                   2996: fi
                   2997: rmdir .tst 2>/dev/null
                   2998: 
1.150     moko     2999: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3000:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3001:   # is not polluted with repeated "-I."
                   3002:   am__isrc=' -I$(srcdir)'
                   3003:   # test to see if srcdir already configured
                   3004:   if test -f $srcdir/config.status; then
                   3005:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3006:   fi
1.62      paf      3007: fi
                   3008: 
                   3009: # test whether we have cygpath
                   3010: if test -z "$CYGPATH_W"; then
                   3011:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3012:     CYGPATH_W='cygpath -w'
                   3013:   else
                   3014:     CYGPATH_W=echo
                   3015:   fi
                   3016: fi
                   3017: 
                   3018: 
                   3019: # Define the identity of the package.
1.128     moko     3020:  PACKAGE='parser'
1.153     moko     3021:  VERSION='3.4.2'
1.128     moko     3022: 
                   3023: 
                   3024: cat >>confdefs.h <<_ACEOF
                   3025: #define PACKAGE "$PACKAGE"
                   3026: _ACEOF
1.1       paf      3027: 
                   3028: 
1.128     moko     3029: cat >>confdefs.h <<_ACEOF
                   3030: #define VERSION "$VERSION"
                   3031: _ACEOF
                   3032: 
1.62      paf      3033: # Some tools Automake needs.
                   3034: 
                   3035: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3036: 
                   3037: 
                   3038: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3039: 
                   3040: 
                   3041: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3042: 
                   3043: 
                   3044: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3045: 
                   3046: 
                   3047: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3048: 
1.62      paf      3049: # We need awk for the "check" target.  The system "awk" is bad on
                   3050: # some platforms.
1.86      paf      3051: # Always define AMTAR for backward compatibility.
                   3052: 
                   3053: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3054: 
                   3055: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3056: 
                   3057: 
1.62      paf      3058: 
1.1       paf      3059: 
                   3060: 
                   3061: 
1.128     moko     3062: 
1.12      paf      3063: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3064: 
                   3065: 
1.128     moko     3066: 
1.41      paf      3067: # Make sure we can run config.sub.
1.150     moko     3068: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3069:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3070: 
1.150     moko     3071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3072: $as_echo_n "checking build system type... " >&6; }
                   3073: if ${ac_cv_build+:} false; then :
                   3074:   $as_echo_n "(cached) " >&6
                   3075: else
                   3076:   ac_build_alias=$build_alias
                   3077: test "x$ac_build_alias" = x &&
                   3078:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3079: test "x$ac_build_alias" = x &&
                   3080:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3081: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3082:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3083: 
                   3084: fi
                   3085: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3086: $as_echo "$ac_cv_build" >&6; }
                   3087: case $ac_cv_build in
                   3088: *-*-*) ;;
                   3089: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3090: esac
                   3091: build=$ac_cv_build
                   3092: ac_save_IFS=$IFS; IFS='-'
                   3093: set x $ac_cv_build
                   3094: shift
                   3095: build_cpu=$1
                   3096: build_vendor=$2
                   3097: shift; shift
                   3098: # Remember, the first character of IFS is used to create $*,
                   3099: # except with old shells:
                   3100: build_os=$*
                   3101: IFS=$ac_save_IFS
                   3102: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3103: 
                   3104: 
                   3105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3106: $as_echo_n "checking host system type... " >&6; }
                   3107: if ${ac_cv_host+:} false; then :
                   3108:   $as_echo_n "(cached) " >&6
                   3109: else
                   3110:   if test "x$host_alias" = x; then
                   3111:   ac_cv_host=$ac_cv_build
                   3112: else
                   3113:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3114:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3115: fi
                   3116: 
                   3117: fi
1.150     moko     3118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3119: $as_echo "$ac_cv_host" >&6; }
                   3120: case $ac_cv_host in
                   3121: *-*-*) ;;
                   3122: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3123: esac
1.62      paf      3124: host=$ac_cv_host
1.150     moko     3125: ac_save_IFS=$IFS; IFS='-'
                   3126: set x $ac_cv_host
                   3127: shift
                   3128: host_cpu=$1
                   3129: host_vendor=$2
                   3130: shift; shift
                   3131: # Remember, the first character of IFS is used to create $*,
                   3132: # except with old shells:
                   3133: host_os=$*
                   3134: IFS=$ac_save_IFS
                   3135: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3136: 
                   3137: 
                   3138: 
1.148     moko     3139: cat >>confdefs.h <<_ACEOF
                   3140: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3141: _ACEOF
                   3142: 
                   3143: 
1.41      paf      3144: 
1.67      paf      3145: case $host_os in
                   3146:   *cygwin* )
1.150     moko     3147: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3148: ;;
                   3149: esac
1.41      paf      3150: 
1.128     moko     3151: 
1.1       paf      3152: 
1.62      paf      3153: for ac_prog in gawk mawk nawk awk
1.41      paf      3154: do
1.62      paf      3155:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3156: set dummy $ac_prog; ac_word=$2
1.150     moko     3157: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3158: $as_echo_n "checking for $ac_word... " >&6; }
                   3159: if ${ac_cv_prog_AWK+:} false; then :
                   3160:   $as_echo_n "(cached) " >&6
1.41      paf      3161: else
                   3162:   if test -n "$AWK"; then
                   3163:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3164: else
1.62      paf      3165: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3166: for as_dir in $PATH
                   3167: do
                   3168:   IFS=$as_save_IFS
                   3169:   test -z "$as_dir" && as_dir=.
1.150     moko     3170:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3171:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3172:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3173:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3174:     break 2
                   3175:   fi
                   3176: done
1.150     moko     3177:   done
                   3178: IFS=$as_save_IFS
1.62      paf      3179: 
1.41      paf      3180: fi
                   3181: fi
1.62      paf      3182: AWK=$ac_cv_prog_AWK
1.41      paf      3183: if test -n "$AWK"; then
1.150     moko     3184:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3185: $as_echo "$AWK" >&6; }
1.41      paf      3186: else
1.150     moko     3187:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3188: $as_echo "no" >&6; }
1.41      paf      3189: fi
                   3190: 
1.150     moko     3191: 
1.62      paf      3192:   test -n "$AWK" && break
1.41      paf      3193: done
                   3194: 
                   3195: 
                   3196: for ac_prog in 'bison -y' byacc
                   3197: do
1.62      paf      3198:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3199: set dummy $ac_prog; ac_word=$2
1.150     moko     3200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3201: $as_echo_n "checking for $ac_word... " >&6; }
                   3202: if ${ac_cv_prog_YACC+:} false; then :
                   3203:   $as_echo_n "(cached) " >&6
1.41      paf      3204: else
                   3205:   if test -n "$YACC"; then
                   3206:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3207: else
1.62      paf      3208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3209: for as_dir in $PATH
                   3210: do
                   3211:   IFS=$as_save_IFS
                   3212:   test -z "$as_dir" && as_dir=.
1.150     moko     3213:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3214:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3215:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3216:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3217:     break 2
                   3218:   fi
                   3219: done
1.150     moko     3220:   done
                   3221: IFS=$as_save_IFS
1.62      paf      3222: 
1.41      paf      3223: fi
                   3224: fi
1.62      paf      3225: YACC=$ac_cv_prog_YACC
1.41      paf      3226: if test -n "$YACC"; then
1.150     moko     3227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3228: $as_echo "$YACC" >&6; }
1.41      paf      3229: else
1.150     moko     3230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3231: $as_echo "no" >&6; }
1.41      paf      3232: fi
                   3233: 
1.150     moko     3234: 
1.62      paf      3235:   test -n "$YACC" && break
1.41      paf      3236: done
                   3237: test -n "$YACC" || YACC="yacc"
                   3238: 
                   3239: if test "$YACC" != "bison -y"; then
1.150     moko     3240:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3241: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3242: else
1.150     moko     3243:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3244: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3245:        oldIFS=$IFS; IFS=.
                   3246:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3247:        IFS=$oldIFS
                   3248:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3249:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3250: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3251:        fi
1.150     moko     3252:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3253: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3254: fi
                   3255: 
1.150     moko     3256: ac_ext=cpp
1.66      paf      3257: ac_cpp='$CXXCPP $CPPFLAGS'
                   3258: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3259: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3260: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3261: if test -z "$CXX"; then
                   3262:   if test -n "$CCC"; then
                   3263:     CXX=$CCC
                   3264:   else
                   3265:     if test -n "$ac_tool_prefix"; then
                   3266:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3267:   do
                   3268:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3269: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3271: $as_echo_n "checking for $ac_word... " >&6; }
                   3272: if ${ac_cv_prog_CXX+:} false; then :
                   3273:   $as_echo_n "(cached) " >&6
1.62      paf      3274: else
1.66      paf      3275:   if test -n "$CXX"; then
                   3276:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3277: else
                   3278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3279: for as_dir in $PATH
                   3280: do
                   3281:   IFS=$as_save_IFS
                   3282:   test -z "$as_dir" && as_dir=.
1.150     moko     3283:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3284:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3285:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3286:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3287:     break 2
                   3288:   fi
                   3289: done
1.150     moko     3290:   done
                   3291: IFS=$as_save_IFS
1.62      paf      3292: 
                   3293: fi
                   3294: fi
1.66      paf      3295: CXX=$ac_cv_prog_CXX
                   3296: if test -n "$CXX"; then
1.150     moko     3297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3298: $as_echo "$CXX" >&6; }
1.62      paf      3299: else
1.150     moko     3300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3301: $as_echo "no" >&6; }
1.41      paf      3302: fi
                   3303: 
1.150     moko     3304: 
1.66      paf      3305:     test -n "$CXX" && break
                   3306:   done
1.62      paf      3307: fi
1.66      paf      3308: if test -z "$CXX"; then
                   3309:   ac_ct_CXX=$CXX
1.150     moko     3310:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3311: do
                   3312:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3313: set dummy $ac_prog; ac_word=$2
1.150     moko     3314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3315: $as_echo_n "checking for $ac_word... " >&6; }
                   3316: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3317:   $as_echo_n "(cached) " >&6
1.62      paf      3318: else
1.66      paf      3319:   if test -n "$ac_ct_CXX"; then
                   3320:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3321: else
                   3322: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3323: for as_dir in $PATH
                   3324: do
                   3325:   IFS=$as_save_IFS
                   3326:   test -z "$as_dir" && as_dir=.
1.150     moko     3327:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3328:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3329:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3330:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3331:     break 2
                   3332:   fi
                   3333: done
1.150     moko     3334:   done
                   3335: IFS=$as_save_IFS
1.62      paf      3336: 
                   3337: fi
                   3338: fi
1.66      paf      3339: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3340: if test -n "$ac_ct_CXX"; then
1.150     moko     3341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3342: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3343: else
1.150     moko     3344:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3345: $as_echo "no" >&6; }
1.62      paf      3346: fi
                   3347: 
1.150     moko     3348: 
1.66      paf      3349:   test -n "$ac_ct_CXX" && break
                   3350: done
                   3351: 
1.150     moko     3352:   if test "x$ac_ct_CXX" = x; then
                   3353:     CXX="g++"
                   3354:   else
                   3355:     case $cross_compiling:$ac_tool_warned in
                   3356: yes:)
                   3357: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3358: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3359: ac_tool_warned=yes ;;
                   3360: esac
                   3361:     CXX=$ac_ct_CXX
                   3362:   fi
1.62      paf      3363: fi
                   3364: 
1.150     moko     3365:   fi
                   3366: fi
1.66      paf      3367: # Provide some information about the compiler.
1.150     moko     3368: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3369: set X $ac_compile
                   3370: ac_compiler=$2
                   3371: for ac_option in --version -v -V -qversion; do
                   3372:   { { ac_try="$ac_compiler $ac_option >&5"
                   3373: case "(($ac_try" in
                   3374:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3375:   *) ac_try_echo=$ac_try;;
                   3376: esac
                   3377: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3378: $as_echo "$ac_try_echo"; } >&5
                   3379:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3380:   ac_status=$?
1.150     moko     3381:   if test -s conftest.err; then
                   3382:     sed '10a\
                   3383: ... rest of stderr output deleted ...
                   3384:          10q' conftest.err >conftest.er1
                   3385:     cat conftest.er1 >&5
                   3386:   fi
                   3387:   rm -f conftest.er1 conftest.err
                   3388:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3389:   test $ac_status = 0; }
                   3390: done
1.66      paf      3391: 
1.150     moko     3392: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3393: /* end confdefs.h.  */
                   3394: 
                   3395: int
                   3396: main ()
                   3397: {
                   3398: 
                   3399:   ;
                   3400:   return 0;
                   3401: }
                   3402: _ACEOF
                   3403: ac_clean_files_save=$ac_clean_files
1.150     moko     3404: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3405: # Try to create an executable without -o first, disregard a.out.
                   3406: # It will help us diagnose broken compilers, and finding out an intuition
                   3407: # of exeext.
1.150     moko     3408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3409: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3410: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3411: 
                   3412: # The possible output files:
                   3413: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3414: 
                   3415: ac_rmfiles=
                   3416: for ac_file in $ac_files
                   3417: do
                   3418:   case $ac_file in
                   3419:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3420:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3421:   esac
                   3422: done
                   3423: rm -f $ac_rmfiles
                   3424: 
                   3425: if { { ac_try="$ac_link_default"
                   3426: case "(($ac_try" in
                   3427:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3428:   *) ac_try_echo=$ac_try;;
                   3429: esac
                   3430: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3431: $as_echo "$ac_try_echo"; } >&5
                   3432:   (eval "$ac_link_default") 2>&5
                   3433:   ac_status=$?
                   3434:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3435:   test $ac_status = 0; }; then :
                   3436:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3437: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3438: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3439: # so that the user can short-circuit this test for compilers unknown to
                   3440: # Autoconf.
                   3441: for ac_file in $ac_files ''
1.62      paf      3442: do
1.66      paf      3443:   test -f "$ac_file" || continue
                   3444:   case $ac_file in
1.150     moko     3445:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3446:        ;;
1.66      paf      3447:     [ab].out )
1.86      paf      3448:        # We found the default executable, but exeext='' is most
                   3449:        # certainly right.
                   3450:        break;;
1.66      paf      3451:     *.* )
1.150     moko     3452:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3453:        then :; else
                   3454:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3455:        fi
                   3456:        # We set ac_cv_exeext here because the later test for it is not
                   3457:        # safe: cross compilers may not add the suffix if given an `-o'
                   3458:        # argument, so we may need to know it at that point already.
                   3459:        # Even if this section looks crufty: it has the advantage of
                   3460:        # actually working.
1.86      paf      3461:        break;;
1.66      paf      3462:     * )
1.86      paf      3463:        break;;
1.66      paf      3464:   esac
1.62      paf      3465: done
1.150     moko     3466: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3467: 
1.66      paf      3468: else
1.150     moko     3469:   ac_file=''
                   3470: fi
                   3471: if test -z "$ac_file"; then :
                   3472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3473: $as_echo "no" >&6; }
                   3474: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3475: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3476: 
1.150     moko     3477: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3478: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3479: as_fn_error 77 "C++ compiler cannot create executables
                   3480: See \`config.log' for more details" "$LINENO" 5; }
                   3481: else
                   3482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3483: $as_echo "yes" >&6; }
1.1       paf      3484: fi
1.150     moko     3485: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3486: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3487: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3488: $as_echo "$ac_file" >&6; }
1.66      paf      3489: ac_exeext=$ac_cv_exeext
1.62      paf      3490: 
1.150     moko     3491: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3492: ac_clean_files=$ac_clean_files_save
1.150     moko     3493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3494: $as_echo_n "checking for suffix of executables... " >&6; }
                   3495: if { { ac_try="$ac_link"
                   3496: case "(($ac_try" in
                   3497:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3498:   *) ac_try_echo=$ac_try;;
                   3499: esac
                   3500: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3501: $as_echo "$ac_try_echo"; } >&5
                   3502:   (eval "$ac_link") 2>&5
1.62      paf      3503:   ac_status=$?
1.150     moko     3504:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3505:   test $ac_status = 0; }; then :
1.62      paf      3506:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3507: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3508: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3509: # `rm'.
                   3510: for ac_file in conftest.exe conftest conftest.*; do
                   3511:   test -f "$ac_file" || continue
                   3512:   case $ac_file in
1.150     moko     3513:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3514:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3515:          break;;
1.62      paf      3516:     * ) break;;
                   3517:   esac
                   3518: done
                   3519: else
1.150     moko     3520:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3521: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3522: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3523: See \`config.log' for more details" "$LINENO" 5; }
                   3524: fi
                   3525: rm -f conftest conftest$ac_cv_exeext
                   3526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3527: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3528: 
                   3529: rm -f conftest.$ac_ext
                   3530: EXEEXT=$ac_cv_exeext
                   3531: ac_exeext=$EXEEXT
1.150     moko     3532: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3533: /* end confdefs.h.  */
                   3534: #include <stdio.h>
                   3535: int
                   3536: main ()
                   3537: {
                   3538: FILE *f = fopen ("conftest.out", "w");
                   3539:  return ferror (f) || fclose (f) != 0;
                   3540: 
                   3541:   ;
                   3542:   return 0;
                   3543: }
                   3544: _ACEOF
                   3545: ac_clean_files="$ac_clean_files conftest.out"
                   3546: # Check that the compiler produces executables we can run.  If not, either
                   3547: # the compiler is broken, or we cross compile.
                   3548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3549: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3550: if test "$cross_compiling" != yes; then
                   3551:   { { ac_try="$ac_link"
                   3552: case "(($ac_try" in
                   3553:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3554:   *) ac_try_echo=$ac_try;;
                   3555: esac
                   3556: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3557: $as_echo "$ac_try_echo"; } >&5
                   3558:   (eval "$ac_link") 2>&5
                   3559:   ac_status=$?
                   3560:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3561:   test $ac_status = 0; }
                   3562:   if { ac_try='./conftest$ac_cv_exeext'
                   3563:   { { case "(($ac_try" in
                   3564:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3565:   *) ac_try_echo=$ac_try;;
                   3566: esac
                   3567: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3568: $as_echo "$ac_try_echo"; } >&5
                   3569:   (eval "$ac_try") 2>&5
                   3570:   ac_status=$?
                   3571:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3572:   test $ac_status = 0; }; }; then
                   3573:     cross_compiling=no
                   3574:   else
                   3575:     if test "$cross_compiling" = maybe; then
                   3576:        cross_compiling=yes
                   3577:     else
                   3578:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3579: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3580: as_fn_error $? "cannot run C++ compiled programs.
                   3581: If you meant to cross compile, use \`--host'.
                   3582: See \`config.log' for more details" "$LINENO" 5; }
                   3583:     fi
                   3584:   fi
                   3585: fi
                   3586: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3587: $as_echo "$cross_compiling" >&6; }
                   3588: 
                   3589: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3590: ac_clean_files=$ac_clean_files_save
                   3591: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3592: $as_echo_n "checking for suffix of object files... " >&6; }
                   3593: if ${ac_cv_objext+:} false; then :
                   3594:   $as_echo_n "(cached) " >&6
1.62      paf      3595: else
1.150     moko     3596:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3597: /* end confdefs.h.  */
                   3598: 
                   3599: int
                   3600: main ()
                   3601: {
                   3602: 
                   3603:   ;
                   3604:   return 0;
                   3605: }
                   3606: _ACEOF
                   3607: rm -f conftest.o conftest.obj
1.150     moko     3608: if { { ac_try="$ac_compile"
                   3609: case "(($ac_try" in
                   3610:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3611:   *) ac_try_echo=$ac_try;;
                   3612: esac
                   3613: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3614: $as_echo "$ac_try_echo"; } >&5
                   3615:   (eval "$ac_compile") 2>&5
                   3616:   ac_status=$?
                   3617:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3618:   test $ac_status = 0; }; then :
                   3619:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3620:   test -f "$ac_file" || continue;
1.62      paf      3621:   case $ac_file in
1.150     moko     3622:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3623:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3624:        break;;
                   3625:   esac
                   3626: done
                   3627: else
1.150     moko     3628:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3629: sed 's/^/| /' conftest.$ac_ext >&5
                   3630: 
1.150     moko     3631: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3632: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3633: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3634: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3635: fi
                   3636: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3637: fi
1.150     moko     3638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3639: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3640: OBJEXT=$ac_cv_objext
                   3641: ac_objext=$OBJEXT
1.150     moko     3642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3643: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3644: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3645:   $as_echo_n "(cached) " >&6
1.62      paf      3646: else
1.150     moko     3647:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3648: /* end confdefs.h.  */
1.66      paf      3649: 
1.62      paf      3650: int
                   3651: main ()
                   3652: {
1.66      paf      3653: #ifndef __GNUC__
                   3654:        choke me
                   3655: #endif
                   3656: 
1.62      paf      3657:   ;
                   3658:   return 0;
                   3659: }
                   3660: _ACEOF
1.150     moko     3661: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3662:   ac_compiler_gnu=yes
1.62      paf      3663: else
1.150     moko     3664:   ac_compiler_gnu=no
1.1       paf      3665: fi
1.150     moko     3666: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3667: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3668: 
                   3669: fi
1.150     moko     3670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3671: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3672: if test $ac_compiler_gnu = yes; then
                   3673:   GXX=yes
                   3674: else
                   3675:   GXX=
                   3676: fi
1.66      paf      3677: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3678: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3680: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3681: if ${ac_cv_prog_cxx_g+:} false; then :
                   3682:   $as_echo_n "(cached) " >&6
                   3683: else
                   3684:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3685:    ac_cxx_werror_flag=yes
                   3686:    ac_cv_prog_cxx_g=no
                   3687:    CXXFLAGS="-g"
                   3688:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3689: /* end confdefs.h.  */
1.1       paf      3690: 
1.66      paf      3691: int
                   3692: main ()
                   3693: {
1.1       paf      3694: 
1.66      paf      3695:   ;
                   3696:   return 0;
                   3697: }
1.62      paf      3698: _ACEOF
1.150     moko     3699: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3700:   ac_cv_prog_cxx_g=yes
                   3701: else
1.150     moko     3702:   CXXFLAGS=""
                   3703:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3704: /* end confdefs.h.  */
1.66      paf      3705: 
1.62      paf      3706: int
                   3707: main ()
                   3708: {
1.150     moko     3709: 
1.62      paf      3710:   ;
                   3711:   return 0;
                   3712: }
                   3713: _ACEOF
1.150     moko     3714: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3715: 
1.1       paf      3716: else
1.150     moko     3717:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3718:         CXXFLAGS="-g"
                   3719:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3720: /* end confdefs.h.  */
1.62      paf      3721: 
                   3722: int
                   3723: main ()
                   3724: {
1.150     moko     3725: 
1.62      paf      3726:   ;
                   3727:   return 0;
                   3728: }
                   3729: _ACEOF
1.150     moko     3730: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3731:   ac_cv_prog_cxx_g=yes
                   3732: fi
                   3733: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3734: fi
                   3735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3736: fi
                   3737: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3738:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3739: fi
                   3740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3741: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3742: if test "$ac_test_CXXFLAGS" = set; then
                   3743:   CXXFLAGS=$ac_save_CXXFLAGS
                   3744: elif test $ac_cv_prog_cxx_g = yes; then
                   3745:   if test "$GXX" = yes; then
                   3746:     CXXFLAGS="-g -O2"
                   3747:   else
                   3748:     CXXFLAGS="-g"
                   3749:   fi
1.1       paf      3750: else
1.150     moko     3751:   if test "$GXX" = yes; then
                   3752:     CXXFLAGS="-O2"
                   3753:   else
                   3754:     CXXFLAGS=
                   3755:   fi
1.1       paf      3756: fi
1.62      paf      3757: ac_ext=c
                   3758: ac_cpp='$CPP $CPPFLAGS'
                   3759: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3760: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3761: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3762: DEPDIR="${am__leading_dot}deps"
1.62      paf      3763: 
1.150     moko     3764: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3765: 
                   3766: 
                   3767: am_make=${MAKE-make}
                   3768: cat > confinc << 'END'
1.86      paf      3769: am__doit:
1.150     moko     3770:        @echo this is the am__doit target
1.86      paf      3771: .PHONY: am__doit
1.62      paf      3772: END
                   3773: # If we don't find an include directive, just comment out the code.
1.150     moko     3774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3775: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3776: am__include="#"
                   3777: am__quote=
                   3778: _am_result=none
                   3779: # First try GNU make style include.
                   3780: echo "include confinc" > confmf
1.150     moko     3781: # Ignore all kinds of additional output from `make'.
                   3782: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3783: *the\ am__doit\ target*)
                   3784:   am__include=include
                   3785:   am__quote=
                   3786:   _am_result=GNU
                   3787:   ;;
                   3788: esac
1.62      paf      3789: # Now try BSD make style include.
                   3790: if test "$am__include" = "#"; then
                   3791:    echo '.include "confinc"' > confmf
1.150     moko     3792:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3793:    *the\ am__doit\ target*)
                   3794:      am__include=.include
                   3795:      am__quote="\""
                   3796:      _am_result=BSD
                   3797:      ;;
                   3798:    esac
1.62      paf      3799: fi
                   3800: 
                   3801: 
1.150     moko     3802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3803: $as_echo "$_am_result" >&6; }
1.62      paf      3804: rm -f confinc confmf
                   3805: 
1.150     moko     3806: # Check whether --enable-dependency-tracking was given.
                   3807: if test "${enable_dependency_tracking+set}" = set; then :
                   3808:   enableval=$enable_dependency_tracking;
                   3809: fi
1.62      paf      3810: 
                   3811: if test "x$enable_dependency_tracking" != xno; then
                   3812:   am_depcomp="$ac_aux_dir/depcomp"
                   3813:   AMDEPBACKSLASH='\'
1.1       paf      3814: fi
1.150     moko     3815:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3816:   AMDEP_TRUE=
                   3817:   AMDEP_FALSE='#'
                   3818: else
                   3819:   AMDEP_TRUE='#'
                   3820:   AMDEP_FALSE=
                   3821: fi
1.1       paf      3822: 
                   3823: 
                   3824: 
1.66      paf      3825: depcc="$CXX"  am_compiler_list=
1.1       paf      3826: 
1.150     moko     3827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3828: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3829: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3830:   $as_echo_n "(cached) " >&6
1.62      paf      3831: else
                   3832:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3833:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3834:   # making bogus files that we don't know about and never remove.  For
                   3835:   # instance it was reported that on HP-UX the gcc test will end up
                   3836:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3837:   # in D'.
                   3838:   mkdir conftest.dir
                   3839:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3840:   # using a relative directory.
                   3841:   cp "$am_depcomp" conftest.dir
                   3842:   cd conftest.dir
1.86      paf      3843:   # We will build objects and dependencies in a subdirectory because
                   3844:   # it helps to detect inapplicable dependency modes.  For instance
                   3845:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3846:   # side effect of compilation, but ICC will put the dependencies in
                   3847:   # the current directory while Tru64 will put them in the object
                   3848:   # directory.
                   3849:   mkdir sub
1.1       paf      3850: 
1.66      paf      3851:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3852:   if test "$am_compiler_list" = ""; then
                   3853:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3854:   fi
1.150     moko     3855:   am__universal=false
                   3856:   case " $depcc " in #(
                   3857:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3858:      esac
                   3859: 
1.62      paf      3860:   for depmode in $am_compiler_list; do
1.86      paf      3861:     # Setup a source with many dependencies, because some compilers
                   3862:     # like to wrap large dependency lists on column 80 (with \), and
                   3863:     # we should not choose a depcomp mode which is confused by this.
                   3864:     #
1.62      paf      3865:     # We need to recreate these files for each test, as the compiler may
                   3866:     # overwrite some of them when testing with obscure command lines.
                   3867:     # This happens at least with the AIX C compiler.
1.86      paf      3868:     : > sub/conftest.c
                   3869:     for i in 1 2 3 4 5 6; do
                   3870:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3871:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3872:       # Solaris 8's {/usr,}/bin/sh.
                   3873:       touch sub/conftst$i.h
                   3874:     done
                   3875:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3876: 
1.150     moko     3877:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3878:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3879:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3880:     # versions had trouble with output in subdirs
                   3881:     am__obj=sub/conftest.${OBJEXT-o}
                   3882:     am__minus_obj="-o $am__obj"
1.62      paf      3883:     case $depmode in
1.150     moko     3884:     gcc)
                   3885:       # This depmode causes a compiler race in universal mode.
                   3886:       test "$am__universal" = false || continue
                   3887:       ;;
1.62      paf      3888:     nosideeffect)
                   3889:       # after this tag, mechanisms are not by side-effect, so they'll
                   3890:       # only be used when explicitly requested
                   3891:       if test "x$enable_dependency_tracking" = xyes; then
                   3892:        continue
                   3893:       else
                   3894:        break
                   3895:       fi
                   3896:       ;;
1.150     moko     3897:     msvisualcpp | msvcmsys)
                   3898:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3899:       # not run yet.  These depmodes are late enough in the game, and
                   3900:       # so weak that their functioning should not be impacted.
                   3901:       am__obj=conftest.${OBJEXT-o}
                   3902:       am__minus_obj=
                   3903:       ;;
1.62      paf      3904:     none) break ;;
                   3905:     esac
                   3906:     if depmode=$depmode \
1.150     moko     3907:        source=sub/conftest.c object=$am__obj \
1.86      paf      3908:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     3909:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3910:          >/dev/null 2>conftest.err &&
1.150     moko     3911:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3912:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     3913:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3914:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3915:       # icc doesn't choke on unknown options, it will just issue warnings
                   3916:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3917:       # that says an option was ignored or not supported.
                   3918:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3919:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3920:       # The diagnosis changed in icc 8.0:
                   3921:       #   icc: Command line remark: option '-MP' not supported
                   3922:       if (grep 'ignoring option' conftest.err ||
                   3923:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3924:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3925:         break
                   3926:       fi
1.66      paf      3927:     fi
                   3928:   done
                   3929: 
                   3930:   cd ..
                   3931:   rm -rf conftest.dir
                   3932: else
                   3933:   am_cv_CXX_dependencies_compiler_type=none
                   3934: fi
                   3935: 
                   3936: fi
1.150     moko     3937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3938: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      3939: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3940: 
1.150     moko     3941:  if
1.66      paf      3942:   test "x$enable_dependency_tracking" != xno \
                   3943:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   3944:   am__fastdepCXX_TRUE=
                   3945:   am__fastdepCXX_FALSE='#'
                   3946: else
                   3947:   am__fastdepCXX_TRUE='#'
                   3948:   am__fastdepCXX_FALSE=
                   3949: fi
                   3950: 
                   3951: 
                   3952: ac_ext=c
                   3953: ac_cpp='$CPP $CPPFLAGS'
                   3954: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3955: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3956: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3957: if test -n "$ac_tool_prefix"; then
                   3958:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3959: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     3960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3961: $as_echo_n "checking for $ac_word... " >&6; }
                   3962: if ${ac_cv_prog_CC+:} false; then :
                   3963:   $as_echo_n "(cached) " >&6
1.66      paf      3964: else
                   3965:   if test -n "$CC"; then
                   3966:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3967: else
                   3968: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3969: for as_dir in $PATH
                   3970: do
                   3971:   IFS=$as_save_IFS
                   3972:   test -z "$as_dir" && as_dir=.
1.150     moko     3973:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3974:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3975:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     3976:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      3977:     break 2
                   3978:   fi
                   3979: done
1.150     moko     3980:   done
                   3981: IFS=$as_save_IFS
1.66      paf      3982: 
                   3983: fi
                   3984: fi
                   3985: CC=$ac_cv_prog_CC
                   3986: if test -n "$CC"; then
1.150     moko     3987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3988: $as_echo "$CC" >&6; }
1.66      paf      3989: else
1.150     moko     3990:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3991: $as_echo "no" >&6; }
1.66      paf      3992: fi
                   3993: 
1.150     moko     3994: 
1.66      paf      3995: fi
                   3996: if test -z "$ac_cv_prog_CC"; then
                   3997:   ac_ct_CC=$CC
                   3998:   # Extract the first word of "gcc", so it can be a program name with args.
                   3999: set dummy gcc; ac_word=$2
1.150     moko     4000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4001: $as_echo_n "checking for $ac_word... " >&6; }
                   4002: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4003:   $as_echo_n "(cached) " >&6
1.66      paf      4004: else
                   4005:   if test -n "$ac_ct_CC"; then
                   4006:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4007: else
                   4008: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4009: for as_dir in $PATH
                   4010: do
                   4011:   IFS=$as_save_IFS
                   4012:   test -z "$as_dir" && as_dir=.
1.150     moko     4013:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4014:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4015:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4016:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4017:     break 2
                   4018:   fi
                   4019: done
1.150     moko     4020:   done
                   4021: IFS=$as_save_IFS
1.66      paf      4022: 
                   4023: fi
                   4024: fi
                   4025: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4026: if test -n "$ac_ct_CC"; then
1.150     moko     4027:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4028: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4029: else
1.150     moko     4030:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4031: $as_echo "no" >&6; }
1.62      paf      4032: fi
                   4033: 
1.150     moko     4034:   if test "x$ac_ct_CC" = x; then
                   4035:     CC=""
                   4036:   else
                   4037:     case $cross_compiling:$ac_tool_warned in
                   4038: yes:)
                   4039: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4040: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4041: ac_tool_warned=yes ;;
                   4042: esac
                   4043:     CC=$ac_ct_CC
                   4044:   fi
1.66      paf      4045: else
                   4046:   CC="$ac_cv_prog_CC"
1.1       paf      4047: fi
1.62      paf      4048: 
1.66      paf      4049: if test -z "$CC"; then
1.150     moko     4050:           if test -n "$ac_tool_prefix"; then
                   4051:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4052: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4054: $as_echo_n "checking for $ac_word... " >&6; }
                   4055: if ${ac_cv_prog_CC+:} false; then :
                   4056:   $as_echo_n "(cached) " >&6
1.66      paf      4057: else
                   4058:   if test -n "$CC"; then
                   4059:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4060: else
                   4061: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4062: for as_dir in $PATH
                   4063: do
                   4064:   IFS=$as_save_IFS
                   4065:   test -z "$as_dir" && as_dir=.
1.150     moko     4066:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4067:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4068:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4069:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4070:     break 2
                   4071:   fi
                   4072: done
1.150     moko     4073:   done
                   4074: IFS=$as_save_IFS
1.62      paf      4075: 
1.66      paf      4076: fi
                   4077: fi
                   4078: CC=$ac_cv_prog_CC
                   4079: if test -n "$CC"; then
1.150     moko     4080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4081: $as_echo "$CC" >&6; }
1.62      paf      4082: else
1.150     moko     4083:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4084: $as_echo "no" >&6; }
1.1       paf      4085: fi
                   4086: 
1.150     moko     4087: 
1.66      paf      4088:   fi
1.1       paf      4089: fi
1.66      paf      4090: if test -z "$CC"; then
                   4091:   # Extract the first word of "cc", so it can be a program name with args.
                   4092: set dummy cc; ac_word=$2
1.150     moko     4093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4094: $as_echo_n "checking for $ac_word... " >&6; }
                   4095: if ${ac_cv_prog_CC+:} false; then :
                   4096:   $as_echo_n "(cached) " >&6
1.66      paf      4097: else
                   4098:   if test -n "$CC"; then
                   4099:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4100: else
                   4101:   ac_prog_rejected=no
                   4102: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4103: for as_dir in $PATH
                   4104: do
                   4105:   IFS=$as_save_IFS
                   4106:   test -z "$as_dir" && as_dir=.
1.150     moko     4107:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4108:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4109:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4110:        ac_prog_rejected=yes
                   4111:        continue
                   4112:      fi
                   4113:     ac_cv_prog_CC="cc"
1.150     moko     4114:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4115:     break 2
                   4116:   fi
                   4117: done
1.150     moko     4118:   done
                   4119: IFS=$as_save_IFS
1.62      paf      4120: 
1.66      paf      4121: if test $ac_prog_rejected = yes; then
                   4122:   # We found a bogon in the path, so make sure we never use it.
                   4123:   set dummy $ac_cv_prog_CC
                   4124:   shift
                   4125:   if test $# != 0; then
                   4126:     # We chose a different compiler from the bogus one.
                   4127:     # However, it has the same basename, so the bogon will be chosen
                   4128:     # first if we set CC to just the basename; use the full file name.
                   4129:     shift
                   4130:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4131:   fi
                   4132: fi
                   4133: fi
                   4134: fi
                   4135: CC=$ac_cv_prog_CC
                   4136: if test -n "$CC"; then
1.150     moko     4137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4138: $as_echo "$CC" >&6; }
1.66      paf      4139: else
1.150     moko     4140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4141: $as_echo "no" >&6; }
1.1       paf      4142: fi
                   4143: 
1.150     moko     4144: 
1.66      paf      4145: fi
                   4146: if test -z "$CC"; then
                   4147:   if test -n "$ac_tool_prefix"; then
1.150     moko     4148:   for ac_prog in cl.exe
1.62      paf      4149:   do
                   4150:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4151: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4153: $as_echo_n "checking for $ac_word... " >&6; }
                   4154: if ${ac_cv_prog_CC+:} false; then :
                   4155:   $as_echo_n "(cached) " >&6
1.62      paf      4156: else
1.66      paf      4157:   if test -n "$CC"; then
                   4158:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4159: else
                   4160: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4161: for as_dir in $PATH
                   4162: do
                   4163:   IFS=$as_save_IFS
                   4164:   test -z "$as_dir" && as_dir=.
1.150     moko     4165:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4166:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4167:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4168:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4169:     break 2
                   4170:   fi
                   4171: done
1.150     moko     4172:   done
                   4173: IFS=$as_save_IFS
1.1       paf      4174: 
1.62      paf      4175: fi
                   4176: fi
1.66      paf      4177: CC=$ac_cv_prog_CC
                   4178: if test -n "$CC"; then
1.150     moko     4179:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4180: $as_echo "$CC" >&6; }
1.1       paf      4181: else
1.150     moko     4182:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4183: $as_echo "no" >&6; }
1.1       paf      4184: fi
                   4185: 
1.150     moko     4186: 
1.66      paf      4187:     test -n "$CC" && break
1.62      paf      4188:   done
                   4189: fi
1.66      paf      4190: if test -z "$CC"; then
                   4191:   ac_ct_CC=$CC
1.150     moko     4192:   for ac_prog in cl.exe
1.62      paf      4193: do
                   4194:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4195: set dummy $ac_prog; ac_word=$2
1.150     moko     4196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4197: $as_echo_n "checking for $ac_word... " >&6; }
                   4198: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4199:   $as_echo_n "(cached) " >&6
1.62      paf      4200: else
1.66      paf      4201:   if test -n "$ac_ct_CC"; then
                   4202:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4203: else
1.62      paf      4204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4205: for as_dir in $PATH
                   4206: do
                   4207:   IFS=$as_save_IFS
                   4208:   test -z "$as_dir" && as_dir=.
1.150     moko     4209:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4210:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4211:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4212:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4213:     break 2
                   4214:   fi
                   4215: done
1.150     moko     4216:   done
                   4217: IFS=$as_save_IFS
1.62      paf      4218: 
                   4219: fi
                   4220: fi
1.66      paf      4221: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4222: if test -n "$ac_ct_CC"; then
1.150     moko     4223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4224: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4225: else
1.150     moko     4226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4227: $as_echo "no" >&6; }
1.1       paf      4228: fi
                   4229: 
1.150     moko     4230: 
1.66      paf      4231:   test -n "$ac_ct_CC" && break
                   4232: done
                   4233: 
1.150     moko     4234:   if test "x$ac_ct_CC" = x; then
                   4235:     CC=""
                   4236:   else
                   4237:     case $cross_compiling:$ac_tool_warned in
                   4238: yes:)
                   4239: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4240: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4241: ac_tool_warned=yes ;;
                   4242: esac
                   4243:     CC=$ac_ct_CC
                   4244:   fi
1.66      paf      4245: fi
                   4246: 
                   4247: fi
1.62      paf      4248: 
1.1       paf      4249: 
1.150     moko     4250: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4251: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4252: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4253: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4254: 
                   4255: # Provide some information about the compiler.
1.150     moko     4256: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4257: set X $ac_compile
                   4258: ac_compiler=$2
                   4259: for ac_option in --version -v -V -qversion; do
                   4260:   { { ac_try="$ac_compiler $ac_option >&5"
                   4261: case "(($ac_try" in
                   4262:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4263:   *) ac_try_echo=$ac_try;;
                   4264: esac
                   4265: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4266: $as_echo "$ac_try_echo"; } >&5
                   4267:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4268:   ac_status=$?
1.150     moko     4269:   if test -s conftest.err; then
                   4270:     sed '10a\
                   4271: ... rest of stderr output deleted ...
                   4272:          10q' conftest.err >conftest.er1
                   4273:     cat conftest.er1 >&5
                   4274:   fi
                   4275:   rm -f conftest.er1 conftest.err
                   4276:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4277:   test $ac_status = 0; }
                   4278: done
                   4279: 
                   4280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4281: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4282: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4283:   $as_echo_n "(cached) " >&6
1.62      paf      4284: else
1.150     moko     4285:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4286: /* end confdefs.h.  */
                   4287: 
                   4288: int
                   4289: main ()
                   4290: {
                   4291: #ifndef __GNUC__
                   4292:        choke me
                   4293: #endif
                   4294: 
                   4295:   ;
                   4296:   return 0;
                   4297: }
                   4298: _ACEOF
1.150     moko     4299: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4300:   ac_compiler_gnu=yes
                   4301: else
1.150     moko     4302:   ac_compiler_gnu=no
1.62      paf      4303: fi
1.150     moko     4304: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4305: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4306: 
                   4307: fi
1.150     moko     4308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4309: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4310: if test $ac_compiler_gnu = yes; then
                   4311:   GCC=yes
                   4312: else
                   4313:   GCC=
                   4314: fi
1.66      paf      4315: ac_test_CFLAGS=${CFLAGS+set}
                   4316: ac_save_CFLAGS=$CFLAGS
1.150     moko     4317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4318: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4319: if ${ac_cv_prog_cc_g+:} false; then :
                   4320:   $as_echo_n "(cached) " >&6
                   4321: else
                   4322:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4323:    ac_c_werror_flag=yes
                   4324:    ac_cv_prog_cc_g=no
                   4325:    CFLAGS="-g"
                   4326:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4327: /* end confdefs.h.  */
                   4328: 
                   4329: int
                   4330: main ()
                   4331: {
                   4332: 
                   4333:   ;
                   4334:   return 0;
                   4335: }
                   4336: _ACEOF
1.150     moko     4337: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4338:   ac_cv_prog_cc_g=yes
1.62      paf      4339: else
1.150     moko     4340:   CFLAGS=""
                   4341:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4342: /* end confdefs.h.  */
                   4343: 
                   4344: int
                   4345: main ()
                   4346: {
1.62      paf      4347: 
1.150     moko     4348:   ;
                   4349:   return 0;
                   4350: }
                   4351: _ACEOF
                   4352: if ac_fn_c_try_compile "$LINENO"; then :
                   4353: 
                   4354: else
                   4355:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4356:         CFLAGS="-g"
                   4357:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4358: /* end confdefs.h.  */
                   4359: 
                   4360: int
                   4361: main ()
                   4362: {
                   4363: 
                   4364:   ;
                   4365:   return 0;
                   4366: }
                   4367: _ACEOF
                   4368: if ac_fn_c_try_compile "$LINENO"; then :
                   4369:   ac_cv_prog_cc_g=yes
                   4370: fi
                   4371: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4372: fi
1.150     moko     4373: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4374: fi
1.150     moko     4375: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4376:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4377: fi
                   4378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4379: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4380: if test "$ac_test_CFLAGS" = set; then
                   4381:   CFLAGS=$ac_save_CFLAGS
                   4382: elif test $ac_cv_prog_cc_g = yes; then
                   4383:   if test "$GCC" = yes; then
                   4384:     CFLAGS="-g -O2"
1.1       paf      4385:   else
1.66      paf      4386:     CFLAGS="-g"
1.1       paf      4387:   fi
                   4388: else
1.66      paf      4389:   if test "$GCC" = yes; then
                   4390:     CFLAGS="-O2"
1.1       paf      4391:   else
1.66      paf      4392:     CFLAGS=
1.1       paf      4393:   fi
                   4394: fi
1.150     moko     4395: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4396: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4397: if ${ac_cv_prog_cc_c89+:} false; then :
                   4398:   $as_echo_n "(cached) " >&6
1.66      paf      4399: else
1.150     moko     4400:   ac_cv_prog_cc_c89=no
1.66      paf      4401: ac_save_CC=$CC
1.150     moko     4402: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4403: /* end confdefs.h.  */
                   4404: #include <stdarg.h>
                   4405: #include <stdio.h>
                   4406: #include <sys/types.h>
                   4407: #include <sys/stat.h>
                   4408: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4409: struct buf { int x; };
                   4410: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4411: static char *e (p, i)
                   4412:      char **p;
                   4413:      int i;
                   4414: {
                   4415:   return p[i];
                   4416: }
                   4417: static char *f (char * (*g) (char **, int), char **p, ...)
                   4418: {
                   4419:   char *s;
                   4420:   va_list v;
                   4421:   va_start (v,p);
                   4422:   s = g (p, va_arg (v,int));
                   4423:   va_end (v);
                   4424:   return s;
                   4425: }
1.86      paf      4426: 
                   4427: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4428:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4429:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4430:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4431:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4432:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4433:    that's true only with -std.  */
1.86      paf      4434: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4435: 
1.150     moko     4436: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4437:    inside strings and character constants.  */
                   4438: #define FOO(x) 'x'
                   4439: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4440: 
1.66      paf      4441: int test (int i, double x);
                   4442: struct s1 {int (*f) (int a);};
                   4443: struct s2 {int (*f) (double a);};
                   4444: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4445: int argc;
                   4446: char **argv;
                   4447: int
                   4448: main ()
                   4449: {
                   4450: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4451:   ;
                   4452:   return 0;
                   4453: }
                   4454: _ACEOF
1.150     moko     4455: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4456:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4457: do
                   4458:   CC="$ac_save_CC $ac_arg"
1.150     moko     4459:   if ac_fn_c_try_compile "$LINENO"; then :
                   4460:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4461: fi
1.150     moko     4462: rm -f core conftest.err conftest.$ac_objext
                   4463:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4464: done
1.150     moko     4465: rm -f conftest.$ac_ext
1.66      paf      4466: CC=$ac_save_CC
                   4467: 
                   4468: fi
1.150     moko     4469: # AC_CACHE_VAL
                   4470: case "x$ac_cv_prog_cc_c89" in
                   4471:   x)
                   4472:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4473: $as_echo "none needed" >&6; } ;;
                   4474:   xno)
                   4475:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4476: $as_echo "unsupported" >&6; } ;;
1.66      paf      4477:   *)
1.150     moko     4478:     CC="$CC $ac_cv_prog_cc_c89"
                   4479:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4480: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4481: esac
1.150     moko     4482: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4483: 
                   4484: fi
1.66      paf      4485: 
1.62      paf      4486: ac_ext=c
                   4487: ac_cpp='$CPP $CPPFLAGS'
                   4488: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4489: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4490: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4491: 
1.66      paf      4492: depcc="$CC"   am_compiler_list=
1.62      paf      4493: 
1.150     moko     4494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4495: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4496: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4497:   $as_echo_n "(cached) " >&6
1.62      paf      4498: else
                   4499:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4500:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4501:   # making bogus files that we don't know about and never remove.  For
                   4502:   # instance it was reported that on HP-UX the gcc test will end up
                   4503:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4504:   # in D'.
                   4505:   mkdir conftest.dir
                   4506:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4507:   # using a relative directory.
                   4508:   cp "$am_depcomp" conftest.dir
                   4509:   cd conftest.dir
1.86      paf      4510:   # We will build objects and dependencies in a subdirectory because
                   4511:   # it helps to detect inapplicable dependency modes.  For instance
                   4512:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4513:   # side effect of compilation, but ICC will put the dependencies in
                   4514:   # the current directory while Tru64 will put them in the object
                   4515:   # directory.
                   4516:   mkdir sub
1.62      paf      4517: 
1.66      paf      4518:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4519:   if test "$am_compiler_list" = ""; then
                   4520:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4521:   fi
1.150     moko     4522:   am__universal=false
                   4523:   case " $depcc " in #(
                   4524:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4525:      esac
                   4526: 
1.62      paf      4527:   for depmode in $am_compiler_list; do
1.86      paf      4528:     # Setup a source with many dependencies, because some compilers
                   4529:     # like to wrap large dependency lists on column 80 (with \), and
                   4530:     # we should not choose a depcomp mode which is confused by this.
                   4531:     #
1.62      paf      4532:     # We need to recreate these files for each test, as the compiler may
                   4533:     # overwrite some of them when testing with obscure command lines.
                   4534:     # This happens at least with the AIX C compiler.
1.86      paf      4535:     : > sub/conftest.c
                   4536:     for i in 1 2 3 4 5 6; do
                   4537:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4538:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4539:       # Solaris 8's {/usr,}/bin/sh.
                   4540:       touch sub/conftst$i.h
                   4541:     done
                   4542:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4543: 
1.150     moko     4544:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4545:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4546:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4547:     # versions had trouble with output in subdirs
                   4548:     am__obj=sub/conftest.${OBJEXT-o}
                   4549:     am__minus_obj="-o $am__obj"
1.62      paf      4550:     case $depmode in
1.150     moko     4551:     gcc)
                   4552:       # This depmode causes a compiler race in universal mode.
                   4553:       test "$am__universal" = false || continue
                   4554:       ;;
1.62      paf      4555:     nosideeffect)
                   4556:       # after this tag, mechanisms are not by side-effect, so they'll
                   4557:       # only be used when explicitly requested
                   4558:       if test "x$enable_dependency_tracking" = xyes; then
                   4559:        continue
                   4560:       else
                   4561:        break
                   4562:       fi
                   4563:       ;;
1.150     moko     4564:     msvisualcpp | msvcmsys)
                   4565:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4566:       # not run yet.  These depmodes are late enough in the game, and
                   4567:       # so weak that their functioning should not be impacted.
                   4568:       am__obj=conftest.${OBJEXT-o}
                   4569:       am__minus_obj=
                   4570:       ;;
1.62      paf      4571:     none) break ;;
                   4572:     esac
1.66      paf      4573:     if depmode=$depmode \
1.150     moko     4574:        source=sub/conftest.c object=$am__obj \
1.86      paf      4575:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4576:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4577:          >/dev/null 2>conftest.err &&
1.150     moko     4578:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4579:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4580:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4581:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4582:       # icc doesn't choke on unknown options, it will just issue warnings
                   4583:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4584:       # that says an option was ignored or not supported.
                   4585:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4586:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4587:       # The diagnosis changed in icc 8.0:
                   4588:       #   icc: Command line remark: option '-MP' not supported
                   4589:       if (grep 'ignoring option' conftest.err ||
                   4590:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4591:         am_cv_CC_dependencies_compiler_type=$depmode
                   4592:         break
                   4593:       fi
1.66      paf      4594:     fi
                   4595:   done
                   4596: 
                   4597:   cd ..
                   4598:   rm -rf conftest.dir
                   4599: else
                   4600:   am_cv_CC_dependencies_compiler_type=none
                   4601: fi
                   4602: 
                   4603: fi
1.150     moko     4604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4605: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4606: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4607: 
1.150     moko     4608:  if
1.66      paf      4609:   test "x$enable_dependency_tracking" != xno \
                   4610:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4611:   am__fastdepCC_TRUE=
                   4612:   am__fastdepCC_FALSE='#'
                   4613: else
                   4614:   am__fastdepCC_TRUE='#'
                   4615:   am__fastdepCC_FALSE=
                   4616: fi
                   4617: 
                   4618: 
1.128     moko     4619: 
1.66      paf      4620: ac_ext=c
                   4621: ac_cpp='$CPP $CPPFLAGS'
                   4622: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4623: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4624: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4625: 
1.67      paf      4626: 
1.62      paf      4627: 
1.150     moko     4628: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4629: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4630: case "$host_os" in
                   4631: cygwin)
                   4632:        dll_extension=dll
                   4633:        ;;
                   4634: *)
                   4635:        dll_extension=so
1.66      paf      4636: esac
1.150     moko     4637: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4638: $as_echo "$dll_extension" >&6; }
1.1       paf      4639: 
1.71      paf      4640: 
                   4641: 
                   4642: 
1.150     moko     4643: # Check whether --with-build-warnings was given.
                   4644: if test "${with_build_warnings+set}" = set; then :
                   4645:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4646: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.71      paf      4647:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   4648: 
1.150     moko     4649: fi
                   4650: 
1.1       paf      4651: 
                   4652: 
1.150     moko     4653: # Check whether --with-assertions was given.
                   4654: if test "${with_assertions+set}" = set; then :
                   4655:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4656: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4657: 
                   4658: else
                   4659: 
1.150     moko     4660: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4661: 
1.67      paf      4662: 
1.150     moko     4663: fi
1.67      paf      4664: 
                   4665: 
1.94      misha    4666: 
1.150     moko     4667: # Check whether --with-sjlj-exceptions was given.
                   4668: if test "${with_sjlj_exceptions+set}" = set; then :
                   4669:   withval=$with_sjlj_exceptions;
                   4670: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4671: 
                   4672: 
1.150     moko     4673: fi
1.128     moko     4674: 
                   4675: 
1.62      paf      4676: 
1.150     moko     4677: # Check whether --enable-safe-mode was given.
                   4678: if test "${enable_safe_mode+set}" = set; then :
                   4679:   enableval=$enable_safe_mode;
1.67      paf      4680:        SAFE_MODE=$enableval
1.60      paf      4681: 
1.1       paf      4682: 
1.150     moko     4683: fi
                   4684: 
1.128     moko     4685: 
1.60      paf      4686: if test "$SAFE_MODE" = "no"; then
1.150     moko     4687:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4688: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4689: else
1.62      paf      4690: 
1.150     moko     4691: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4692: 
                   4693: fi
                   4694: 
1.94      misha    4695: 
1.150     moko     4696: # Check whether --enable-execs was given.
                   4697: if test "${enable_execs+set}" = set; then :
                   4698:   enableval=$enable_execs;
1.13      paf      4699: if test "$enableval" = "no"; then
1.150     moko     4700:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4701: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4702: 
1.150     moko     4703: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4704: 
                   4705: fi
                   4706: 
                   4707: 
1.150     moko     4708: fi
1.13      paf      4709: 
1.60      paf      4710: 
1.94      misha    4711: 
1.150     moko     4712: # Check whether --enable-stringstream was given.
                   4713: if test "${enable_stringstream+set}" = set; then :
                   4714:   enableval=$enable_stringstream;
1.94      misha    4715: if test "$enableval" = "no"; then
1.150     moko     4716:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   4717: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4718: 
1.150     moko     4719: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4720: 
                   4721: fi
                   4722: 
                   4723: 
1.150     moko     4724: fi
1.94      misha    4725: 
                   4726: 
1.62      paf      4727: 
1.17      paf      4728: 
1.150     moko     4729: # Check whether --with-gc was given.
                   4730: if test "${with_gc+set}" = set; then :
                   4731:   withval=$with_gc;
1.17      paf      4732: 
1.142     moko     4733:        GC=$withval
                   4734:        GC_LIBS="$GC/libgc.la"
                   4735: 
                   4736:        if test -f $GC_LIBS; then
                   4737:                GC_OK="yes"
                   4738:        else
                   4739:                GC_LIBS="-L$GC -lgc"
                   4740:        fi
1.62      paf      4741: 
1.151     moko     4742:        if test "$GC" = "yes"; then
                   4743:                GC=""
                   4744:                GC_LIBS="-lgc"
                   4745:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   4746: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   4747:        fi
                   4748: 
1.142     moko     4749: else
1.17      paf      4750: 
1.142     moko     4751:        GC_LIBS="-lgc"
1.150     moko     4752:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   4753: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   4754: 
                   4755: fi
1.17      paf      4756: 
                   4757: 
1.142     moko     4758: if test -z "$GC_OK"; then
1.150     moko     4759:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   4760: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4761:        SAVE_LIBS=$LIBS
                   4762:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4763: 
1.150     moko     4764: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4765: /* end confdefs.h.  */
1.142     moko     4766:  extern int GC_dont_gc;
1.67      paf      4767: int
                   4768: main ()
                   4769: {
1.142     moko     4770:  GC_dont_gc=0;
1.67      paf      4771:   ;
                   4772:   return 0;
                   4773: }
                   4774: _ACEOF
1.150     moko     4775: if ac_fn_c_try_link "$LINENO"; then :
                   4776:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4777: $as_echo "yes" >&6; }
1.67      paf      4778: 
                   4779: else
1.150     moko     4780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4781: $as_echo "no" >&6; }
1.142     moko     4782:                if test -z "$GC"; then
1.151     moko     4783:                        as_fn_error $? "please specify path to libgc: --with-gc=D" "$LINENO" 5
1.142     moko     4784:                else
1.150     moko     4785:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4786:                fi
1.67      paf      4787: 
                   4788: fi
1.150     moko     4789: rm -f core conftest.err conftest.$ac_objext \
                   4790:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4791:        LIBS=$SAVE_LIBS
                   4792: fi
1.67      paf      4793: 
                   4794: 
1.1       paf      4795: 
1.15      paf      4796: 
1.142     moko     4797: 
1.150     moko     4798: # Check whether --with-pcre was given.
                   4799: if test "${with_pcre+set}" = set; then :
                   4800:   withval=$with_pcre;
1.100     misha    4801:        PCRE=$withval
1.142     moko     4802:        PCRE_INCLUDES="-I$PCRE/include"
                   4803:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4804: 
1.142     moko     4805:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4806:                PCRE_OK="yes"
                   4807:        else
                   4808:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4809:        fi
                   4810: 
1.151     moko     4811:        if test "$PCRE" = "yes"; then
                   4812:                PCRE=""
                   4813:                PCRE_LIBS="-lpcre"
                   4814:                PCRE_INCLUDES=""
                   4815:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   4816: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   4817:        fi
1.142     moko     4818: 
                   4819: else
                   4820: 
                   4821:        PCRE_LIBS="-lpcre"
1.149     moko     4822:        PCRE_INCLUDES=""
1.150     moko     4823:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   4824: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   4825: 
                   4826: fi
1.100     misha    4827: 
                   4828: 
1.142     moko     4829: if test -z "$PCRE_OK"; then
1.150     moko     4830:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   4831: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4832:        SAVE_LIBS=$LIBS
                   4833:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     4834:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4835: /* end confdefs.h.  */
                   4836:  #include <pcre.h>
                   4837: int
                   4838: main ()
                   4839: {
                   4840:  const char *v=pcre_version();
                   4841:   ;
                   4842:   return 0;
                   4843: }
                   4844: _ACEOF
1.150     moko     4845: if ac_fn_c_try_link "$LINENO"; then :
                   4846:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4847: $as_echo "yes" >&6; }
1.142     moko     4848: 
                   4849: else
1.150     moko     4850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4851: $as_echo "no" >&6; }
1.142     moko     4852:                if test -z "$PCRE"; then
1.151     moko     4853:                        as_fn_error $? "please specify path to PCRE: --with-pcre=D" "$LINENO" 5
1.142     moko     4854:                else
1.150     moko     4855:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4856:                fi
                   4857: 
                   4858: fi
1.150     moko     4859: rm -f core conftest.err conftest.$ac_objext \
                   4860:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4861:        LIBS=$SAVE_LIBS
                   4862: fi
1.100     misha    4863: 
                   4864: 
                   4865: 
                   4866: 
1.66      paf      4867: 
                   4868: 
1.150     moko     4869: # Check whether --with-xml was given.
                   4870: if test "${with_xml+set}" = set; then :
                   4871:   withval=$with_xml;
1.66      paf      4872: 
1.142     moko     4873:        XML=$withval
                   4874:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4875: 
                   4876:        if test -z "$XML" -o "$XML" = "yes"; then
                   4877:                XML=""
                   4878:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     4879:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   4880: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4881:        else
                   4882:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4883: 
1.142     moko     4884:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4885:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4886:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4887:                        XML_OK="yes"
                   4888:                fi
1.67      paf      4889:        fi
1.66      paf      4890: 
1.142     moko     4891:        if test -z "$XML_OK"; then
1.150     moko     4892:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   4893: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4894:                SAVE_LIBS=$LIBS
                   4895:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     4896:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4897: /* end confdefs.h.  */
                   4898:  #include <libxslt/xslt.h>
                   4899: int
                   4900: main ()
                   4901: {
                   4902:  const char *v=xsltEngineVersion;
                   4903:   ;
                   4904:   return 0;
                   4905: }
                   4906: _ACEOF
1.150     moko     4907: if ac_fn_c_try_link "$LINENO"; then :
                   4908:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4909: $as_echo "yes" >&6; }
1.142     moko     4910: 
                   4911: else
1.150     moko     4912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4913: $as_echo "no" >&6; }
1.142     moko     4914:                        if test -z "$XML"; then
1.151     moko     4915:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=D" "$LINENO" 5
1.142     moko     4916:                        else
1.150     moko     4917:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     4918:                        fi
                   4919: 
                   4920: fi
1.150     moko     4921: rm -f core conftest.err conftest.$ac_objext \
                   4922:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4923:                LIBS=$SAVE_LIBS
1.67      paf      4924:        fi
1.66      paf      4925: 
1.150     moko     4926: $as_echo "#define XML /**/" >>confdefs.h
                   4927: 
1.66      paf      4928: 
1.150     moko     4929: fi
1.66      paf      4930: 
1.90      paf      4931: 
1.66      paf      4932: 
                   4933: 
                   4934: 
                   4935: 
1.90      paf      4936: 
1.154     moko     4937: # Check whether --with-mailreceive was given.
                   4938: if test "${with_mailreceive+set}" = set; then :
                   4939:   withval=$with_mailreceive;
                   4940:        MIME=$withval
1.155     moko     4941:        GLIB="glib-2.0"
1.154     moko     4942:        GMIME="gmime-2.4"
                   4943: 
                   4944:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   4945:                MIME=""
                   4946:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   4947:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   4948:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   4949: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   4950:        else
1.155     moko     4951:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     4952:                MIME_LIBS="-l$GMIME"
                   4953:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   4954:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     4955:                        if test -f $MIME/lib/lib$GLIB.la; then
                   4956:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   4957:                        else
                   4958:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   4959:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   4960:                        fi
1.154     moko     4961:                        MIME_OK="yes"
                   4962:                fi
1.67      paf      4963:        fi
1.66      paf      4964: 
1.154     moko     4965:        if test -z "$MIME_OK"; then
                   4966:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   4967: $as_echo_n "checking for mime... " >&6; }
                   4968:                SAVE_LIBS=$LIBS
                   4969:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   4970:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4971: /* end confdefs.h.  */
                   4972:  #include <gmime/gmime.h>
                   4973: int
                   4974: main ()
                   4975: {
                   4976:  guint v=gmime_major_version;
                   4977:   ;
                   4978:   return 0;
                   4979: }
                   4980: _ACEOF
                   4981: if ac_fn_c_try_link "$LINENO"; then :
                   4982:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4983: $as_echo "yes" >&6; }
1.66      paf      4984: 
1.154     moko     4985: else
                   4986:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4987: $as_echo "no" >&6; }
                   4988:                        if test -z "$MIME"; then
                   4989:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5
                   4990:                        else
                   4991:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      4992:                        fi
1.66      paf      4993: 
1.150     moko     4994: fi
1.154     moko     4995: rm -f core conftest.err conftest.$ac_objext \
                   4996:     conftest$ac_exeext conftest.$ac_ext
                   4997:                LIBS=$SAVE_LIBS
1.67      paf      4998:        fi
1.66      paf      4999: 
1.150     moko     5000: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5001: 
                   5002: 
1.154     moko     5003: fi
1.66      paf      5004: 
                   5005: 
                   5006: 
                   5007: 
                   5008: 
                   5009: 
                   5010: 
1.150     moko     5011: # Check whether --with-sendmail was given.
                   5012: if test "${with_sendmail+set}" = set; then :
                   5013:   withval=$with_sendmail;
1.66      paf      5014: cat >>confdefs.h <<_ACEOF
                   5015: #define PA_FORCED_SENDMAIL "$withval"
                   5016: _ACEOF
                   5017: 
                   5018: 
1.150     moko     5019: fi
1.66      paf      5020: 
                   5021: 
                   5022: 
1.122     moko     5023: 
1.150     moko     5024: # Check whether --with-apache was given.
                   5025: if test "${with_apache+set}" = set; then :
                   5026:   withval=$with_apache;
1.122     moko     5027:        APXS=$withval
                   5028: 
                   5029:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5030:                APXS=`which apxs 2>/dev/null`
1.142     moko     5031:                if test -z "$APXS"; then
                   5032:                        APXS=`which apxs2 2>/dev/null`
                   5033:                fi
                   5034:        fi
1.122     moko     5035: 
                   5036:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5037: 
                   5038:        if test -z "$APACHE"; then
1.150     moko     5039:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5040:        fi
1.7       paf      5041: 
1.122     moko     5042:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5043:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5044:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5045:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5046: 
1.150     moko     5047: fi
1.7       paf      5048: 
                   5049: 
1.62      paf      5050: 
1.122     moko     5051: 
1.150     moko     5052:  if test -n "$APACHE"; then
1.122     moko     5053:   COMPILE_APACHE_MODULE_TRUE=
                   5054:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5055: else
1.122     moko     5056:   COMPILE_APACHE_MODULE_TRUE='#'
                   5057:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5058: fi
1.1       paf      5059: 
                   5060: 
                   5061: 
1.62      paf      5062: 
                   5063: 
1.7       paf      5064: 
1.1       paf      5065: 
                   5066: 
                   5067: 
1.62      paf      5068: 
1.128     moko     5069: case `pwd` in
                   5070:   *\ * | *\    *)
1.150     moko     5071:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5072: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5073: esac
                   5074: 
                   5075: 
                   5076: 
                   5077: macro_version='2.4.2'
                   5078: macro_revision='1.3337'
                   5079: 
                   5080: 
                   5081: 
                   5082: 
                   5083: 
                   5084: 
                   5085: 
                   5086: 
                   5087: 
                   5088: 
                   5089: 
                   5090: 
                   5091: 
                   5092: ltmain="$ac_aux_dir/ltmain.sh"
                   5093: 
                   5094: # Backslashify metacharacters that are still active within
                   5095: # double-quoted strings.
                   5096: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5097: 
1.128     moko     5098: # Same as above, but do not quote variable references.
                   5099: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5100: 
1.128     moko     5101: # Sed substitution to delay expansion of an escaped shell variable in a
                   5102: # double_quote_subst'ed string.
                   5103: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5104: 
1.128     moko     5105: # Sed substitution to delay expansion of an escaped single quote.
                   5106: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5107: 
1.128     moko     5108: # Sed substitution to avoid accidental globbing in evaled expressions
                   5109: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5110: 
1.128     moko     5111: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5112: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5113: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5114: 
1.150     moko     5115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5116: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5117: # Test print first, because it will be a builtin if present.
                   5118: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5119:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5120:   ECHO='print -r --'
                   5121: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5122:   ECHO='printf %s\n'
                   5123: else
                   5124:   # Use this function as a fallback that always works.
                   5125:   func_fallback_echo ()
                   5126:   {
                   5127:     eval 'cat <<_LTECHO_EOF
                   5128: $1
                   5129: _LTECHO_EOF'
                   5130:   }
                   5131:   ECHO='func_fallback_echo'
                   5132: fi
1.86      paf      5133: 
1.128     moko     5134: # func_echo_all arg...
                   5135: # Invoke $ECHO with all args, space-separated.
                   5136: func_echo_all ()
1.66      paf      5137: {
1.128     moko     5138:     $ECHO ""
1.66      paf      5139: }
1.10      paf      5140: 
1.128     moko     5141: case "$ECHO" in
1.150     moko     5142:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5143: $as_echo "printf" >&6; } ;;
                   5144:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5145: $as_echo "print -r" >&6; } ;;
                   5146:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5147: $as_echo "cat" >&6; } ;;
1.128     moko     5148: esac
                   5149: 
                   5150: 
                   5151: 
                   5152: 
                   5153: 
                   5154: 
                   5155: 
                   5156: 
                   5157: 
                   5158: 
                   5159: 
                   5160: 
                   5161: 
                   5162: 
1.150     moko     5163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5164: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5165: if ${ac_cv_path_SED+:} false; then :
                   5166:   $as_echo_n "(cached) " >&6
                   5167: else
                   5168:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5169:      for ac_i in 1 2 3 4 5 6 7; do
                   5170:        ac_script="$ac_script$as_nl$ac_script"
                   5171:      done
                   5172:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5173:      { ac_script=; unset ac_script;}
                   5174:      if test -z "$SED"; then
                   5175:   ac_path_SED_found=false
                   5176:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5177:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5178: for as_dir in $PATH
                   5179: do
                   5180:   IFS=$as_save_IFS
                   5181:   test -z "$as_dir" && as_dir=.
1.150     moko     5182:     for ac_prog in sed gsed; do
1.128     moko     5183:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5184:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5185:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5186: # Check for GNU ac_path_SED and select it if it is found.
                   5187:   # Check for GNU $ac_path_SED
                   5188: case `"$ac_path_SED" --version 2>&1` in
                   5189: *GNU*)
                   5190:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5191: *)
                   5192:   ac_count=0
                   5193:   $as_echo_n 0123456789 >"conftest.in"
                   5194:   while :
                   5195:   do
                   5196:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5197:     mv "conftest.tmp" "conftest.in"
                   5198:     cp "conftest.in" "conftest.nl"
                   5199:     $as_echo '' >> "conftest.nl"
                   5200:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5201:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5202:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5203:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5204:       # Best one so far, save it but keep looking for a better one
                   5205:       ac_cv_path_SED="$ac_path_SED"
                   5206:       ac_path_SED_max=$ac_count
                   5207:     fi
                   5208:     # 10*(2^10) chars as input seems more than enough
                   5209:     test $ac_count -gt 10 && break
                   5210:   done
                   5211:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5212: esac
                   5213: 
                   5214:       $ac_path_SED_found && break 3
1.128     moko     5215:     done
                   5216:   done
1.150     moko     5217:   done
1.128     moko     5218: IFS=$as_save_IFS
1.150     moko     5219:   if test -z "$ac_cv_path_SED"; then
                   5220:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5221:   fi
1.150     moko     5222: else
                   5223:   ac_cv_path_SED=$SED
                   5224: fi
1.10      paf      5225: 
1.66      paf      5226: fi
1.150     moko     5227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5228: $as_echo "$ac_cv_path_SED" >&6; }
                   5229:  SED="$ac_cv_path_SED"
                   5230:   rm -f conftest.sed
1.128     moko     5231: 
                   5232: test -z "$SED" && SED=sed
                   5233: Xsed="$SED -e 1s/^X//"
1.10      paf      5234: 
1.128     moko     5235: 
                   5236: 
                   5237: 
                   5238: 
                   5239: 
                   5240: 
                   5241: 
                   5242: 
                   5243: 
                   5244: 
1.150     moko     5245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5246: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5247: if ${ac_cv_path_GREP+:} false; then :
                   5248:   $as_echo_n "(cached) " >&6
                   5249: else
                   5250:   if test -z "$GREP"; then
                   5251:   ac_path_GREP_found=false
                   5252:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5253:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5254: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5255: do
                   5256:   IFS=$as_save_IFS
                   5257:   test -z "$as_dir" && as_dir=.
                   5258:     for ac_prog in grep ggrep; do
                   5259:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5260:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5261:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5262: # Check for GNU ac_path_GREP and select it if it is found.
                   5263:   # Check for GNU $ac_path_GREP
                   5264: case `"$ac_path_GREP" --version 2>&1` in
                   5265: *GNU*)
                   5266:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5267: *)
                   5268:   ac_count=0
                   5269:   $as_echo_n 0123456789 >"conftest.in"
                   5270:   while :
                   5271:   do
                   5272:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5273:     mv "conftest.tmp" "conftest.in"
                   5274:     cp "conftest.in" "conftest.nl"
                   5275:     $as_echo 'GREP' >> "conftest.nl"
                   5276:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5277:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5278:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5279:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5280:       # Best one so far, save it but keep looking for a better one
                   5281:       ac_cv_path_GREP="$ac_path_GREP"
                   5282:       ac_path_GREP_max=$ac_count
1.128     moko     5283:     fi
1.150     moko     5284:     # 10*(2^10) chars as input seems more than enough
                   5285:     test $ac_count -gt 10 && break
                   5286:   done
                   5287:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5288: esac
                   5289: 
                   5290:       $ac_path_GREP_found && break 3
                   5291:     done
                   5292:   done
                   5293:   done
                   5294: IFS=$as_save_IFS
                   5295:   if test -z "$ac_cv_path_GREP"; then
                   5296:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5297:   fi
                   5298: else
                   5299:   ac_cv_path_GREP=$GREP
                   5300: fi
                   5301: 
1.128     moko     5302: fi
1.150     moko     5303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5304: $as_echo "$ac_cv_path_GREP" >&6; }
                   5305:  GREP="$ac_cv_path_GREP"
                   5306: 
                   5307: 
                   5308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5309: $as_echo_n "checking for egrep... " >&6; }
                   5310: if ${ac_cv_path_EGREP+:} false; then :
                   5311:   $as_echo_n "(cached) " >&6
                   5312: else
                   5313:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5314:    then ac_cv_path_EGREP="$GREP -E"
                   5315:    else
                   5316:      if test -z "$EGREP"; then
                   5317:   ac_path_EGREP_found=false
                   5318:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5319:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5320: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5321: do
                   5322:   IFS=$as_save_IFS
                   5323:   test -z "$as_dir" && as_dir=.
                   5324:     for ac_prog in egrep; do
                   5325:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5326:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5327:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5328: # Check for GNU ac_path_EGREP and select it if it is found.
                   5329:   # Check for GNU $ac_path_EGREP
                   5330: case `"$ac_path_EGREP" --version 2>&1` in
                   5331: *GNU*)
                   5332:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5333: *)
                   5334:   ac_count=0
                   5335:   $as_echo_n 0123456789 >"conftest.in"
                   5336:   while :
                   5337:   do
                   5338:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5339:     mv "conftest.tmp" "conftest.in"
                   5340:     cp "conftest.in" "conftest.nl"
                   5341:     $as_echo 'EGREP' >> "conftest.nl"
                   5342:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5343:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5344:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5345:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5346:       # Best one so far, save it but keep looking for a better one
                   5347:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5348:       ac_path_EGREP_max=$ac_count
                   5349:     fi
                   5350:     # 10*(2^10) chars as input seems more than enough
                   5351:     test $ac_count -gt 10 && break
                   5352:   done
                   5353:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5354: esac
1.128     moko     5355: 
1.150     moko     5356:       $ac_path_EGREP_found && break 3
                   5357:     done
                   5358:   done
                   5359:   done
                   5360: IFS=$as_save_IFS
                   5361:   if test -z "$ac_cv_path_EGREP"; then
                   5362:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5363:   fi
                   5364: else
                   5365:   ac_cv_path_EGREP=$EGREP
                   5366: fi
1.128     moko     5367: 
1.150     moko     5368:    fi
                   5369: fi
                   5370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5371: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5372:  EGREP="$ac_cv_path_EGREP"
                   5373: 
                   5374: 
                   5375: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5376: $as_echo_n "checking for fgrep... " >&6; }
                   5377: if ${ac_cv_path_FGREP+:} false; then :
                   5378:   $as_echo_n "(cached) " >&6
                   5379: else
                   5380:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5381:    then ac_cv_path_FGREP="$GREP -F"
                   5382:    else
                   5383:      if test -z "$FGREP"; then
                   5384:   ac_path_FGREP_found=false
                   5385:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5386:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5387: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5388: do
                   5389:   IFS=$as_save_IFS
                   5390:   test -z "$as_dir" && as_dir=.
                   5391:     for ac_prog in fgrep; do
                   5392:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5393:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5394:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5395: # Check for GNU ac_path_FGREP and select it if it is found.
                   5396:   # Check for GNU $ac_path_FGREP
                   5397: case `"$ac_path_FGREP" --version 2>&1` in
                   5398: *GNU*)
                   5399:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5400: *)
                   5401:   ac_count=0
                   5402:   $as_echo_n 0123456789 >"conftest.in"
                   5403:   while :
                   5404:   do
                   5405:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5406:     mv "conftest.tmp" "conftest.in"
                   5407:     cp "conftest.in" "conftest.nl"
                   5408:     $as_echo 'FGREP' >> "conftest.nl"
                   5409:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5410:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5411:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5412:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5413:       # Best one so far, save it but keep looking for a better one
                   5414:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5415:       ac_path_FGREP_max=$ac_count
1.128     moko     5416:     fi
1.150     moko     5417:     # 10*(2^10) chars as input seems more than enough
                   5418:     test $ac_count -gt 10 && break
                   5419:   done
                   5420:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5421: esac
                   5422: 
                   5423:       $ac_path_FGREP_found && break 3
                   5424:     done
                   5425:   done
                   5426:   done
                   5427: IFS=$as_save_IFS
                   5428:   if test -z "$ac_cv_path_FGREP"; then
                   5429:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5430:   fi
                   5431: else
                   5432:   ac_cv_path_FGREP=$FGREP
                   5433: fi
                   5434: 
                   5435:    fi
1.128     moko     5436: fi
1.150     moko     5437: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5438: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5439:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5440: 
                   5441: 
                   5442: test -z "$GREP" && GREP=grep
                   5443: 
                   5444: 
                   5445: 
                   5446: 
                   5447: 
                   5448: 
                   5449: 
                   5450: 
                   5451: 
                   5452: 
                   5453: 
                   5454: 
                   5455: 
                   5456: 
                   5457: 
                   5458: 
                   5459: 
                   5460: 
                   5461: 
1.150     moko     5462: # Check whether --with-gnu-ld was given.
                   5463: if test "${with_gnu_ld+set}" = set; then :
                   5464:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5465: else
                   5466:   with_gnu_ld=no
1.150     moko     5467: fi
                   5468: 
1.128     moko     5469: ac_prog=ld
                   5470: if test "$GCC" = yes; then
                   5471:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5472:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5473: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5474:   case $host in
                   5475:   *-*-mingw*)
                   5476:     # gcc leaves a trailing carriage return which upsets mingw
                   5477:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5478:   *)
                   5479:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5480:   esac
                   5481:   case $ac_prog in
                   5482:     # Accept absolute paths.
                   5483:     [\\/]* | ?:[\\/]*)
                   5484:       re_direlt='/[^/][^/]*/\.\./'
                   5485:       # Canonicalize the pathname of ld
                   5486:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5487:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5488:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5489:       done
                   5490:       test -z "$LD" && LD="$ac_prog"
                   5491:       ;;
                   5492:   "")
                   5493:     # If it fails, then pretend we aren't using GCC.
                   5494:     ac_prog=ld
                   5495:     ;;
                   5496:   *)
                   5497:     # If it is relative, then search for the first ld in PATH.
                   5498:     with_gnu_ld=unknown
                   5499:     ;;
                   5500:   esac
                   5501: elif test "$with_gnu_ld" = yes; then
1.150     moko     5502:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5503: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5504: else
1.150     moko     5505:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5506: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5507: fi
1.150     moko     5508: if ${lt_cv_path_LD+:} false; then :
                   5509:   $as_echo_n "(cached) " >&6
1.128     moko     5510: else
                   5511:   if test -z "$LD"; then
                   5512:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5513:   for ac_dir in $PATH; do
                   5514:     IFS="$lt_save_ifs"
                   5515:     test -z "$ac_dir" && ac_dir=.
                   5516:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5517:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5518:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5519:       # but apparently some variants of GNU ld only accept -v.
                   5520:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5521:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5522:       *GNU* | *'with BFD'*)
                   5523:        test "$with_gnu_ld" != no && break
                   5524:        ;;
                   5525:       *)
                   5526:        test "$with_gnu_ld" != yes && break
                   5527:        ;;
                   5528:       esac
                   5529:     fi
                   5530:   done
                   5531:   IFS="$lt_save_ifs"
                   5532: else
                   5533:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5534: fi
                   5535: fi
                   5536: 
                   5537: LD="$lt_cv_path_LD"
                   5538: if test -n "$LD"; then
1.150     moko     5539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5540: $as_echo "$LD" >&6; }
1.128     moko     5541: else
1.150     moko     5542:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5543: $as_echo "no" >&6; }
1.128     moko     5544: fi
1.150     moko     5545: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5547: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5548: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5549:   $as_echo_n "(cached) " >&6
1.128     moko     5550: else
                   5551:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5552: case `$LD -v 2>&1 </dev/null` in
                   5553: *GNU* | *'with BFD'*)
                   5554:   lt_cv_prog_gnu_ld=yes
                   5555:   ;;
                   5556: *)
                   5557:   lt_cv_prog_gnu_ld=no
                   5558:   ;;
                   5559: esac
                   5560: fi
1.150     moko     5561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5562: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5563: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5564: 
                   5565: 
                   5566: 
                   5567: 
                   5568: 
                   5569: 
                   5570: 
                   5571: 
                   5572: 
1.150     moko     5573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5574: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5575: if ${lt_cv_path_NM+:} false; then :
                   5576:   $as_echo_n "(cached) " >&6
1.128     moko     5577: else
                   5578:   if test -n "$NM"; then
                   5579:   # Let the user override the test.
                   5580:   lt_cv_path_NM="$NM"
                   5581: else
                   5582:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5583:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5584:     lt_nm_to_check="$lt_nm_to_check nm"
                   5585:   fi
                   5586:   for lt_tmp_nm in $lt_nm_to_check; do
                   5587:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5588:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5589:       IFS="$lt_save_ifs"
                   5590:       test -z "$ac_dir" && ac_dir=.
                   5591:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5592:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5593:        # Check to see if the nm accepts a BSD-compat flag.
                   5594:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5595:        #   nm: unknown option "B" ignored
                   5596:        # Tru64's nm complains that /dev/null is an invalid object file
                   5597:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5598:        */dev/null* | *'Invalid file or object type'*)
                   5599:          lt_cv_path_NM="$tmp_nm -B"
                   5600:          break
                   5601:          ;;
                   5602:        *)
                   5603:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5604:          */dev/null*)
                   5605:            lt_cv_path_NM="$tmp_nm -p"
                   5606:            break
                   5607:            ;;
                   5608:          *)
                   5609:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5610:            continue # so that we can try to find one that supports BSD flags
                   5611:            ;;
                   5612:          esac
                   5613:          ;;
                   5614:        esac
                   5615:       fi
                   5616:     done
                   5617:     IFS="$lt_save_ifs"
                   5618:   done
                   5619:   : ${lt_cv_path_NM=no}
                   5620: fi
                   5621: fi
1.150     moko     5622: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5623: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5624: if test "$lt_cv_path_NM" != "no"; then
                   5625:   NM="$lt_cv_path_NM"
                   5626: else
                   5627:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5628:   if test -n "$DUMPBIN"; then :
                   5629:     # Let the user override the test.
                   5630:   else
                   5631:     if test -n "$ac_tool_prefix"; then
                   5632:   for ac_prog in dumpbin "link -dump"
                   5633:   do
                   5634:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5635: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5637: $as_echo_n "checking for $ac_word... " >&6; }
                   5638: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5639:   $as_echo_n "(cached) " >&6
1.128     moko     5640: else
                   5641:   if test -n "$DUMPBIN"; then
                   5642:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5643: else
                   5644: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5645: for as_dir in $PATH
                   5646: do
                   5647:   IFS=$as_save_IFS
                   5648:   test -z "$as_dir" && as_dir=.
1.150     moko     5649:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5650:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5651:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5652:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5653:     break 2
                   5654:   fi
                   5655: done
1.150     moko     5656:   done
                   5657: IFS=$as_save_IFS
1.128     moko     5658: 
                   5659: fi
                   5660: fi
                   5661: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5662: if test -n "$DUMPBIN"; then
1.150     moko     5663:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5664: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5665: else
1.150     moko     5666:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5667: $as_echo "no" >&6; }
1.128     moko     5668: fi
                   5669: 
1.150     moko     5670: 
1.128     moko     5671:     test -n "$DUMPBIN" && break
                   5672:   done
                   5673: fi
                   5674: if test -z "$DUMPBIN"; then
                   5675:   ac_ct_DUMPBIN=$DUMPBIN
                   5676:   for ac_prog in dumpbin "link -dump"
                   5677: do
                   5678:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5679: set dummy $ac_prog; ac_word=$2
1.150     moko     5680: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5681: $as_echo_n "checking for $ac_word... " >&6; }
                   5682: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5683:   $as_echo_n "(cached) " >&6
1.128     moko     5684: else
                   5685:   if test -n "$ac_ct_DUMPBIN"; then
                   5686:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5687: else
                   5688: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5689: for as_dir in $PATH
                   5690: do
                   5691:   IFS=$as_save_IFS
                   5692:   test -z "$as_dir" && as_dir=.
1.150     moko     5693:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5694:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5695:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5696:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5697:     break 2
                   5698:   fi
                   5699: done
1.150     moko     5700:   done
                   5701: IFS=$as_save_IFS
1.128     moko     5702: 
                   5703: fi
                   5704: fi
                   5705: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5706: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5707:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5708: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5709: else
1.150     moko     5710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5711: $as_echo "no" >&6; }
1.128     moko     5712: fi
                   5713: 
1.150     moko     5714: 
1.128     moko     5715:   test -n "$ac_ct_DUMPBIN" && break
                   5716: done
                   5717: 
1.150     moko     5718:   if test "x$ac_ct_DUMPBIN" = x; then
                   5719:     DUMPBIN=":"
                   5720:   else
                   5721:     case $cross_compiling:$ac_tool_warned in
                   5722: yes:)
                   5723: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5724: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5725: ac_tool_warned=yes ;;
                   5726: esac
                   5727:     DUMPBIN=$ac_ct_DUMPBIN
                   5728:   fi
1.128     moko     5729: fi
                   5730: 
                   5731:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5732:     *COFF*)
                   5733:       DUMPBIN="$DUMPBIN -symbols"
                   5734:       ;;
                   5735:     *)
                   5736:       DUMPBIN=:
                   5737:       ;;
                   5738:     esac
                   5739:   fi
                   5740: 
                   5741:   if test "$DUMPBIN" != ":"; then
                   5742:     NM="$DUMPBIN"
                   5743:   fi
                   5744: fi
                   5745: test -z "$NM" && NM=nm
                   5746: 
                   5747: 
                   5748: 
                   5749: 
                   5750: 
                   5751: 
1.150     moko     5752: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5753: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5754: if ${lt_cv_nm_interface+:} false; then :
                   5755:   $as_echo_n "(cached) " >&6
1.128     moko     5756: else
                   5757:   lt_cv_nm_interface="BSD nm"
                   5758:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5759:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5760:   (eval "$ac_compile" 2>conftest.err)
                   5761:   cat conftest.err >&5
                   5762:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5763:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5764:   cat conftest.err >&5
                   5765:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5766:   cat conftest.out >&5
                   5767:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5768:     lt_cv_nm_interface="MS dumpbin"
                   5769:   fi
                   5770:   rm -f conftest*
                   5771: fi
1.150     moko     5772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5773: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5774: 
1.150     moko     5775: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5776: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5777: LN_S=$as_ln_s
                   5778: if test "$LN_S" = "ln -s"; then
1.150     moko     5779:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5780: $as_echo "yes" >&6; }
1.128     moko     5781: else
1.150     moko     5782:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5783: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5784: fi
                   5785: 
                   5786: # find the maximum length of command line arguments
1.150     moko     5787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5788: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5789: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5790:   $as_echo_n "(cached) " >&6
1.128     moko     5791: else
                   5792:     i=0
                   5793:   teststring="ABCD"
                   5794: 
                   5795:   case $build_os in
                   5796:   msdosdjgpp*)
                   5797:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5798:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5799:     # during glob expansion).  Even if it were fixed, the result of this
                   5800:     # check would be larger than it should be.
                   5801:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5802:     ;;
                   5803: 
                   5804:   gnu*)
                   5805:     # Under GNU Hurd, this test is not required because there is
                   5806:     # no limit to the length of command line arguments.
                   5807:     # Libtool will interpret -1 as no limit whatsoever
                   5808:     lt_cv_sys_max_cmd_len=-1;
                   5809:     ;;
                   5810: 
                   5811:   cygwin* | mingw* | cegcc*)
                   5812:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5813:     # about 5 minutes as the teststring grows exponentially.
                   5814:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5815:     # you end up with a "frozen" computer, even though with patience
                   5816:     # the test eventually succeeds (with a max line length of 256k).
                   5817:     # Instead, let's just punt: use the minimum linelength reported by
                   5818:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5819:     lt_cv_sys_max_cmd_len=8192;
                   5820:     ;;
                   5821: 
                   5822:   mint*)
                   5823:     # On MiNT this can take a long time and run out of memory.
                   5824:     lt_cv_sys_max_cmd_len=8192;
                   5825:     ;;
                   5826: 
                   5827:   amigaos*)
                   5828:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5829:     # So we just punt and use a minimum line length of 8192.
                   5830:     lt_cv_sys_max_cmd_len=8192;
                   5831:     ;;
                   5832: 
                   5833:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5834:     # This has been around since 386BSD, at least.  Likely further.
                   5835:     if test -x /sbin/sysctl; then
                   5836:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5837:     elif test -x /usr/sbin/sysctl; then
                   5838:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5839:     else
                   5840:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5841:     fi
                   5842:     # And add a safety zone
                   5843:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5844:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5845:     ;;
                   5846: 
                   5847:   interix*)
                   5848:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5849:     lt_cv_sys_max_cmd_len=196608
                   5850:     ;;
                   5851: 
                   5852:   os2*)
                   5853:     # The test takes a long time on OS/2.
                   5854:     lt_cv_sys_max_cmd_len=8192
                   5855:     ;;
                   5856: 
                   5857:   osf*)
                   5858:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5859:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5860:     # nice to cause kernel panics so lets avoid the loop below.
                   5861:     # First set a reasonable default.
                   5862:     lt_cv_sys_max_cmd_len=16384
                   5863:     #
                   5864:     if test -x /sbin/sysconfig; then
                   5865:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5866:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5867:       esac
                   5868:     fi
                   5869:     ;;
                   5870:   sco3.2v5*)
                   5871:     lt_cv_sys_max_cmd_len=102400
                   5872:     ;;
                   5873:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5874:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5875:     if test -n "$kargmax"; then
                   5876:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5877:     else
                   5878:       lt_cv_sys_max_cmd_len=32768
                   5879:     fi
                   5880:     ;;
                   5881:   *)
                   5882:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5883:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5884:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5885:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5886:     else
                   5887:       # Make teststring a little bigger before we do anything with it.
                   5888:       # a 1K string should be a reasonable start.
                   5889:       for i in 1 2 3 4 5 6 7 8 ; do
                   5890:         teststring=$teststring$teststring
                   5891:       done
                   5892:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5893:       # If test is not a shell built-in, we'll probably end up computing a
                   5894:       # maximum length that is only half of the actual maximum length, but
                   5895:       # we can't tell.
                   5896:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5897:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5898:              test $i != 17 # 1/2 MB should be enough
                   5899:       do
                   5900:         i=`expr $i + 1`
                   5901:         teststring=$teststring$teststring
                   5902:       done
                   5903:       # Only check the string length outside the loop.
                   5904:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5905:       teststring=
                   5906:       # Add a significant safety factor because C++ compilers can tack on
                   5907:       # massive amounts of additional arguments before passing them to the
                   5908:       # linker.  It appears as though 1/2 is a usable value.
                   5909:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5910:     fi
                   5911:     ;;
                   5912:   esac
                   5913: 
                   5914: fi
                   5915: 
                   5916: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     5917:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5918: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5919: else
1.150     moko     5920:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5921: $as_echo "none" >&6; }
1.128     moko     5922: fi
                   5923: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5924: 
                   5925: 
                   5926: 
                   5927: 
                   5928: 
                   5929: 
                   5930: : ${CP="cp -f"}
                   5931: : ${MV="mv -f"}
                   5932: : ${RM="rm -f"}
                   5933: 
1.150     moko     5934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5935: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5936: # Try some XSI features
                   5937: xsi_shell=no
                   5938: ( _lt_dummy="a/b/c"
                   5939:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5940:       = c,a/b,b/c, \
                   5941:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5942:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5943:   && xsi_shell=yes
1.150     moko     5944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5945: $as_echo "$xsi_shell" >&6; }
1.128     moko     5946: 
                   5947: 
1.150     moko     5948: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5949: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     5950: lt_shell_append=no
                   5951: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5952:     >/dev/null 2>&1 \
                   5953:   && lt_shell_append=yes
1.150     moko     5954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5955: $as_echo "$lt_shell_append" >&6; }
1.128     moko     5956: 
                   5957: 
                   5958: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5959:   lt_unset=unset
                   5960: else
                   5961:   lt_unset=false
                   5962: fi
                   5963: 
                   5964: 
                   5965: 
                   5966: 
                   5967: 
                   5968: # test EBCDIC or ASCII
                   5969: case `echo X|tr X '\101'` in
                   5970:  A) # ASCII based system
                   5971:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5972:   lt_SP2NL='tr \040 \012'
                   5973:   lt_NL2SP='tr \015\012 \040\040'
                   5974:   ;;
                   5975:  *) # EBCDIC based system
                   5976:   lt_SP2NL='tr \100 \n'
                   5977:   lt_NL2SP='tr \r\n \100\100'
                   5978:   ;;
                   5979: esac
                   5980: 
                   5981: 
                   5982: 
                   5983: 
                   5984: 
                   5985: 
                   5986: 
                   5987: 
                   5988: 
1.150     moko     5989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5990: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5991: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5992:   $as_echo_n "(cached) " >&6
1.128     moko     5993: else
                   5994:   case $host in
                   5995:   *-*-mingw* )
                   5996:     case $build in
                   5997:       *-*-mingw* ) # actually msys
                   5998:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5999:         ;;
                   6000:       *-*-cygwin* )
                   6001:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6002:         ;;
                   6003:       * ) # otherwise, assume *nix
                   6004:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6005:         ;;
                   6006:     esac
                   6007:     ;;
                   6008:   *-*-cygwin* )
                   6009:     case $build in
                   6010:       *-*-mingw* ) # actually msys
                   6011:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6012:         ;;
                   6013:       *-*-cygwin* )
                   6014:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6015:         ;;
                   6016:       * ) # otherwise, assume *nix
                   6017:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6018:         ;;
                   6019:     esac
                   6020:     ;;
                   6021:   * ) # unhandled hosts (and "normal" native builds)
                   6022:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6023:     ;;
                   6024: esac
                   6025: 
                   6026: fi
                   6027: 
                   6028: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6030: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6031: 
                   6032: 
                   6033: 
                   6034: 
                   6035: 
1.150     moko     6036: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6037: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6038: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6039:   $as_echo_n "(cached) " >&6
1.128     moko     6040: else
                   6041:   #assume ordinary cross tools, or native build.
                   6042: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6043: case $host in
                   6044:   *-*-mingw* )
                   6045:     case $build in
                   6046:       *-*-mingw* ) # actually msys
                   6047:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6048:         ;;
                   6049:     esac
                   6050:     ;;
                   6051: esac
                   6052: 
                   6053: fi
                   6054: 
                   6055: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6057: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6058: 
                   6059: 
                   6060: 
                   6061: 
                   6062: 
1.150     moko     6063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6064: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6065: if ${lt_cv_ld_reload_flag+:} false; then :
                   6066:   $as_echo_n "(cached) " >&6
1.128     moko     6067: else
                   6068:   lt_cv_ld_reload_flag='-r'
                   6069: fi
1.150     moko     6070: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6071: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6072: reload_flag=$lt_cv_ld_reload_flag
                   6073: case $reload_flag in
                   6074: "" | " "*) ;;
                   6075: *) reload_flag=" $reload_flag" ;;
                   6076: esac
                   6077: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6078: case $host_os in
                   6079:   cygwin* | mingw* | pw32* | cegcc*)
                   6080:     if test "$GCC" != yes; then
                   6081:       reload_cmds=false
                   6082:     fi
                   6083:     ;;
                   6084:   darwin*)
                   6085:     if test "$GCC" = yes; then
                   6086:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6087:     else
                   6088:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6089:     fi
                   6090:     ;;
                   6091: esac
                   6092: 
                   6093: 
                   6094: 
                   6095: 
                   6096: 
                   6097: 
                   6098: 
                   6099: 
                   6100: 
                   6101: if test -n "$ac_tool_prefix"; then
                   6102:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6103: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6105: $as_echo_n "checking for $ac_word... " >&6; }
                   6106: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6107:   $as_echo_n "(cached) " >&6
1.128     moko     6108: else
                   6109:   if test -n "$OBJDUMP"; then
                   6110:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6111: else
                   6112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6113: for as_dir in $PATH
                   6114: do
                   6115:   IFS=$as_save_IFS
                   6116:   test -z "$as_dir" && as_dir=.
1.150     moko     6117:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6119:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6121:     break 2
                   6122:   fi
                   6123: done
1.150     moko     6124:   done
                   6125: IFS=$as_save_IFS
1.128     moko     6126: 
                   6127: fi
                   6128: fi
                   6129: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6130: if test -n "$OBJDUMP"; then
1.150     moko     6131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6132: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6133: else
1.150     moko     6134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6135: $as_echo "no" >&6; }
1.128     moko     6136: fi
                   6137: 
1.150     moko     6138: 
1.128     moko     6139: fi
                   6140: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6141:   ac_ct_OBJDUMP=$OBJDUMP
                   6142:   # Extract the first word of "objdump", so it can be a program name with args.
                   6143: set dummy objdump; ac_word=$2
1.150     moko     6144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6145: $as_echo_n "checking for $ac_word... " >&6; }
                   6146: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6147:   $as_echo_n "(cached) " >&6
1.128     moko     6148: else
                   6149:   if test -n "$ac_ct_OBJDUMP"; then
                   6150:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6151: else
                   6152: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6153: for as_dir in $PATH
                   6154: do
                   6155:   IFS=$as_save_IFS
                   6156:   test -z "$as_dir" && as_dir=.
1.150     moko     6157:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6158:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6159:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6160:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6161:     break 2
                   6162:   fi
                   6163: done
1.150     moko     6164:   done
                   6165: IFS=$as_save_IFS
1.128     moko     6166: 
                   6167: fi
                   6168: fi
                   6169: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6170: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6171:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6172: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6173: else
1.150     moko     6174:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6175: $as_echo "no" >&6; }
1.128     moko     6176: fi
                   6177: 
1.150     moko     6178:   if test "x$ac_ct_OBJDUMP" = x; then
                   6179:     OBJDUMP="false"
                   6180:   else
                   6181:     case $cross_compiling:$ac_tool_warned in
                   6182: yes:)
                   6183: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6184: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6185: ac_tool_warned=yes ;;
                   6186: esac
                   6187:     OBJDUMP=$ac_ct_OBJDUMP
                   6188:   fi
1.128     moko     6189: else
                   6190:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6191: fi
                   6192: 
                   6193: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6194: 
                   6195: 
                   6196: 
                   6197: 
                   6198: 
                   6199: 
1.150     moko     6200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6201: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6202: if ${lt_cv_deplibs_check_method+:} false; then :
                   6203:   $as_echo_n "(cached) " >&6
1.128     moko     6204: else
                   6205:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6206: lt_cv_file_magic_test_file=
                   6207: lt_cv_deplibs_check_method='unknown'
                   6208: # Need to set the preceding variable on all platforms that support
                   6209: # interlibrary dependencies.
                   6210: # 'none' -- dependencies not supported.
                   6211: # `unknown' -- same as none, but documents that we really don't know.
                   6212: # 'pass_all' -- all dependencies passed with no checks.
                   6213: # 'test_compile' -- check by making test program.
                   6214: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6215: # which responds to the $file_magic_cmd with a given extended regex.
                   6216: # If you have `file' or equivalent on your system and you're not sure
                   6217: # whether `pass_all' will *always* work, you probably want this one.
                   6218: 
                   6219: case $host_os in
                   6220: aix[4-9]*)
                   6221:   lt_cv_deplibs_check_method=pass_all
                   6222:   ;;
                   6223: 
                   6224: beos*)
                   6225:   lt_cv_deplibs_check_method=pass_all
                   6226:   ;;
                   6227: 
                   6228: bsdi[45]*)
                   6229:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6230:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6231:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6232:   ;;
                   6233: 
                   6234: cygwin*)
                   6235:   # func_win32_libid is a shell function defined in ltmain.sh
                   6236:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6237:   lt_cv_file_magic_cmd='func_win32_libid'
                   6238:   ;;
                   6239: 
                   6240: mingw* | pw32*)
                   6241:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6242:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6243:   # unless we find 'file', for example because we are cross-compiling.
                   6244:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6245:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6246:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6247:     lt_cv_file_magic_cmd='func_win32_libid'
                   6248:   else
                   6249:     # Keep this pattern in sync with the one in func_win32_libid.
                   6250:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6251:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6252:   fi
                   6253:   ;;
                   6254: 
                   6255: cegcc*)
                   6256:   # use the weaker test based on 'objdump'. See mingw*.
                   6257:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6258:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6259:   ;;
                   6260: 
                   6261: darwin* | rhapsody*)
                   6262:   lt_cv_deplibs_check_method=pass_all
                   6263:   ;;
                   6264: 
                   6265: freebsd* | dragonfly*)
                   6266:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6267:     case $host_cpu in
                   6268:     i*86 )
                   6269:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6270:       # Let's accept both of them until this is cleared up.
                   6271:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6272:       lt_cv_file_magic_cmd=/usr/bin/file
                   6273:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6274:       ;;
                   6275:     esac
                   6276:   else
                   6277:     lt_cv_deplibs_check_method=pass_all
                   6278:   fi
                   6279:   ;;
                   6280: 
                   6281: gnu*)
                   6282:   lt_cv_deplibs_check_method=pass_all
                   6283:   ;;
                   6284: 
                   6285: haiku*)
                   6286:   lt_cv_deplibs_check_method=pass_all
                   6287:   ;;
                   6288: 
                   6289: hpux10.20* | hpux11*)
                   6290:   lt_cv_file_magic_cmd=/usr/bin/file
                   6291:   case $host_cpu in
                   6292:   ia64*)
                   6293:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6294:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6295:     ;;
                   6296:   hppa*64*)
                   6297:     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]'
                   6298:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6299:     ;;
                   6300:   *)
                   6301:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6302:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6303:     ;;
                   6304:   esac
                   6305:   ;;
                   6306: 
                   6307: interix[3-9]*)
                   6308:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6309:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6310:   ;;
                   6311: 
                   6312: irix5* | irix6* | nonstopux*)
                   6313:   case $LD in
                   6314:   *-32|*"-32 ") libmagic=32-bit;;
                   6315:   *-n32|*"-n32 ") libmagic=N32;;
                   6316:   *-64|*"-64 ") libmagic=64-bit;;
                   6317:   *) libmagic=never-match;;
                   6318:   esac
                   6319:   lt_cv_deplibs_check_method=pass_all
                   6320:   ;;
                   6321: 
                   6322: # This must be glibc/ELF.
                   6323: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6324:   lt_cv_deplibs_check_method=pass_all
                   6325:   ;;
                   6326: 
                   6327: netbsd*)
                   6328:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6329:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6330:   else
                   6331:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6332:   fi
                   6333:   ;;
                   6334: 
                   6335: newos6*)
                   6336:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6337:   lt_cv_file_magic_cmd=/usr/bin/file
                   6338:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6339:   ;;
                   6340: 
                   6341: *nto* | *qnx*)
                   6342:   lt_cv_deplibs_check_method=pass_all
                   6343:   ;;
                   6344: 
                   6345: openbsd*)
                   6346:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6347:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6348:   else
                   6349:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6350:   fi
                   6351:   ;;
                   6352: 
                   6353: osf3* | osf4* | osf5*)
                   6354:   lt_cv_deplibs_check_method=pass_all
                   6355:   ;;
                   6356: 
                   6357: rdos*)
                   6358:   lt_cv_deplibs_check_method=pass_all
                   6359:   ;;
                   6360: 
                   6361: solaris*)
                   6362:   lt_cv_deplibs_check_method=pass_all
                   6363:   ;;
                   6364: 
                   6365: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6366:   lt_cv_deplibs_check_method=pass_all
                   6367:   ;;
                   6368: 
                   6369: sysv4 | sysv4.3*)
                   6370:   case $host_vendor in
                   6371:   motorola)
                   6372:     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]'
                   6373:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6374:     ;;
                   6375:   ncr)
                   6376:     lt_cv_deplibs_check_method=pass_all
                   6377:     ;;
                   6378:   sequent)
                   6379:     lt_cv_file_magic_cmd='/bin/file'
                   6380:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6381:     ;;
                   6382:   sni)
                   6383:     lt_cv_file_magic_cmd='/bin/file'
                   6384:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6385:     lt_cv_file_magic_test_file=/lib/libc.so
                   6386:     ;;
                   6387:   siemens)
                   6388:     lt_cv_deplibs_check_method=pass_all
                   6389:     ;;
                   6390:   pc)
                   6391:     lt_cv_deplibs_check_method=pass_all
                   6392:     ;;
                   6393:   esac
                   6394:   ;;
                   6395: 
                   6396: tpf*)
                   6397:   lt_cv_deplibs_check_method=pass_all
                   6398:   ;;
                   6399: esac
                   6400: 
                   6401: fi
1.150     moko     6402: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6403: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6404: 
                   6405: file_magic_glob=
                   6406: want_nocaseglob=no
                   6407: if test "$build" = "$host"; then
                   6408:   case $host_os in
                   6409:   mingw* | pw32*)
                   6410:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6411:       want_nocaseglob=yes
                   6412:     else
                   6413:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6414:     fi
                   6415:     ;;
                   6416:   esac
                   6417: fi
                   6418: 
                   6419: file_magic_cmd=$lt_cv_file_magic_cmd
                   6420: deplibs_check_method=$lt_cv_deplibs_check_method
                   6421: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6422: 
                   6423: 
                   6424: 
                   6425: 
                   6426: 
                   6427: 
                   6428: 
                   6429: 
                   6430: 
                   6431: 
                   6432: 
                   6433: 
                   6434: 
                   6435: 
                   6436: 
                   6437: 
                   6438: 
                   6439: 
                   6440: 
                   6441: 
                   6442: 
                   6443: 
                   6444: if test -n "$ac_tool_prefix"; then
                   6445:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6446: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6448: $as_echo_n "checking for $ac_word... " >&6; }
                   6449: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6450:   $as_echo_n "(cached) " >&6
1.128     moko     6451: else
                   6452:   if test -n "$DLLTOOL"; then
                   6453:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6454: else
                   6455: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6456: for as_dir in $PATH
                   6457: do
                   6458:   IFS=$as_save_IFS
                   6459:   test -z "$as_dir" && as_dir=.
1.150     moko     6460:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6461:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6462:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6463:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6464:     break 2
                   6465:   fi
                   6466: done
1.150     moko     6467:   done
                   6468: IFS=$as_save_IFS
1.128     moko     6469: 
                   6470: fi
                   6471: fi
                   6472: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6473: if test -n "$DLLTOOL"; then
1.150     moko     6474:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6475: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6476: else
1.150     moko     6477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6478: $as_echo "no" >&6; }
1.128     moko     6479: fi
                   6480: 
1.150     moko     6481: 
1.128     moko     6482: fi
                   6483: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6484:   ac_ct_DLLTOOL=$DLLTOOL
                   6485:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6486: set dummy dlltool; ac_word=$2
1.150     moko     6487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6488: $as_echo_n "checking for $ac_word... " >&6; }
                   6489: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6490:   $as_echo_n "(cached) " >&6
1.128     moko     6491: else
                   6492:   if test -n "$ac_ct_DLLTOOL"; then
                   6493:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6494: else
                   6495: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6496: for as_dir in $PATH
                   6497: do
                   6498:   IFS=$as_save_IFS
                   6499:   test -z "$as_dir" && as_dir=.
1.150     moko     6500:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6501:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6502:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6503:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6504:     break 2
                   6505:   fi
                   6506: done
1.150     moko     6507:   done
                   6508: IFS=$as_save_IFS
1.128     moko     6509: 
                   6510: fi
                   6511: fi
                   6512: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6513: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6515: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6516: else
1.150     moko     6517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6518: $as_echo "no" >&6; }
1.128     moko     6519: fi
                   6520: 
1.150     moko     6521:   if test "x$ac_ct_DLLTOOL" = x; then
                   6522:     DLLTOOL="false"
                   6523:   else
                   6524:     case $cross_compiling:$ac_tool_warned in
                   6525: yes:)
                   6526: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6527: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6528: ac_tool_warned=yes ;;
                   6529: esac
                   6530:     DLLTOOL=$ac_ct_DLLTOOL
                   6531:   fi
1.128     moko     6532: else
                   6533:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6534: fi
                   6535: 
                   6536: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6537: 
                   6538: 
                   6539: 
                   6540: 
                   6541: 
                   6542: 
                   6543: 
1.150     moko     6544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6545: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6546: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6547:   $as_echo_n "(cached) " >&6
1.128     moko     6548: else
                   6549:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6550: 
                   6551: case $host_os in
                   6552: cygwin* | mingw* | pw32* | cegcc*)
                   6553:   # two different shell functions defined in ltmain.sh
                   6554:   # decide which to use based on capabilities of $DLLTOOL
                   6555:   case `$DLLTOOL --help 2>&1` in
                   6556:   *--identify-strict*)
                   6557:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6558:     ;;
                   6559:   *)
                   6560:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6561:     ;;
                   6562:   esac
                   6563:   ;;
                   6564: *)
                   6565:   # fallback: assume linklib IS sharedlib
                   6566:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6567:   ;;
                   6568: esac
                   6569: 
                   6570: fi
1.150     moko     6571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6572: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6573: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6574: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6575: 
                   6576: 
                   6577: 
                   6578: 
                   6579: 
                   6580: 
                   6581: 
                   6582: if test -n "$ac_tool_prefix"; then
                   6583:   for ac_prog in ar
                   6584:   do
                   6585:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6586: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6588: $as_echo_n "checking for $ac_word... " >&6; }
                   6589: if ${ac_cv_prog_AR+:} false; then :
                   6590:   $as_echo_n "(cached) " >&6
1.128     moko     6591: else
                   6592:   if test -n "$AR"; then
                   6593:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6594: else
                   6595: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6596: for as_dir in $PATH
                   6597: do
                   6598:   IFS=$as_save_IFS
                   6599:   test -z "$as_dir" && as_dir=.
1.150     moko     6600:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6601:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6602:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6603:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6604:     break 2
                   6605:   fi
                   6606: done
1.150     moko     6607:   done
                   6608: IFS=$as_save_IFS
1.128     moko     6609: 
                   6610: fi
                   6611: fi
                   6612: AR=$ac_cv_prog_AR
                   6613: if test -n "$AR"; then
1.150     moko     6614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6615: $as_echo "$AR" >&6; }
1.128     moko     6616: else
1.150     moko     6617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6618: $as_echo "no" >&6; }
1.128     moko     6619: fi
                   6620: 
1.150     moko     6621: 
1.128     moko     6622:     test -n "$AR" && break
                   6623:   done
                   6624: fi
                   6625: if test -z "$AR"; then
                   6626:   ac_ct_AR=$AR
                   6627:   for ac_prog in ar
                   6628: do
                   6629:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6630: set dummy $ac_prog; ac_word=$2
1.150     moko     6631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6632: $as_echo_n "checking for $ac_word... " >&6; }
                   6633: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6634:   $as_echo_n "(cached) " >&6
1.128     moko     6635: else
                   6636:   if test -n "$ac_ct_AR"; then
                   6637:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6638: else
                   6639: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6640: for as_dir in $PATH
                   6641: do
                   6642:   IFS=$as_save_IFS
                   6643:   test -z "$as_dir" && as_dir=.
1.150     moko     6644:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6645:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6646:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6647:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6648:     break 2
                   6649:   fi
                   6650: done
1.150     moko     6651:   done
                   6652: IFS=$as_save_IFS
1.128     moko     6653: 
                   6654: fi
                   6655: fi
                   6656: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6657: if test -n "$ac_ct_AR"; then
1.150     moko     6658:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6659: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6660: else
1.150     moko     6661:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6662: $as_echo "no" >&6; }
1.128     moko     6663: fi
                   6664: 
1.150     moko     6665: 
1.128     moko     6666:   test -n "$ac_ct_AR" && break
                   6667: done
                   6668: 
1.150     moko     6669:   if test "x$ac_ct_AR" = x; then
                   6670:     AR="false"
                   6671:   else
                   6672:     case $cross_compiling:$ac_tool_warned in
                   6673: yes:)
                   6674: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6675: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6676: ac_tool_warned=yes ;;
                   6677: esac
                   6678:     AR=$ac_ct_AR
                   6679:   fi
1.128     moko     6680: fi
                   6681: 
                   6682: : ${AR=ar}
                   6683: : ${AR_FLAGS=cru}
                   6684: 
                   6685: 
                   6686: 
                   6687: 
                   6688: 
                   6689: 
                   6690: 
                   6691: 
                   6692: 
                   6693: 
                   6694: 
1.150     moko     6695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6696: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6697: if ${lt_cv_ar_at_file+:} false; then :
                   6698:   $as_echo_n "(cached) " >&6
1.128     moko     6699: else
                   6700:   lt_cv_ar_at_file=no
1.150     moko     6701:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6702: /* end confdefs.h.  */
                   6703: 
                   6704: int
                   6705: main ()
                   6706: {
                   6707: 
                   6708:   ;
                   6709:   return 0;
                   6710: }
                   6711: _ACEOF
1.150     moko     6712: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6713:   echo conftest.$ac_objext > conftest.lst
                   6714:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6715:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6716:   (eval $lt_ar_try) 2>&5
                   6717:   ac_status=$?
1.150     moko     6718:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6719:   test $ac_status = 0; }
1.128     moko     6720:       if test "$ac_status" -eq 0; then
                   6721:        # Ensure the archiver fails upon bogus file names.
                   6722:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6723:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6724:   (eval $lt_ar_try) 2>&5
                   6725:   ac_status=$?
1.150     moko     6726:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6727:   test $ac_status = 0; }
1.128     moko     6728:        if test "$ac_status" -ne 0; then
                   6729:           lt_cv_ar_at_file=@
                   6730:         fi
                   6731:       fi
                   6732:       rm -f conftest.* libconftest.a
                   6733: 
                   6734: fi
1.150     moko     6735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6736: 
                   6737: fi
1.150     moko     6738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6739: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6740: 
                   6741: if test "x$lt_cv_ar_at_file" = xno; then
                   6742:   archiver_list_spec=
                   6743: else
                   6744:   archiver_list_spec=$lt_cv_ar_at_file
                   6745: fi
                   6746: 
                   6747: 
                   6748: 
                   6749: 
                   6750: 
                   6751: 
                   6752: 
                   6753: if test -n "$ac_tool_prefix"; then
                   6754:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6755: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6757: $as_echo_n "checking for $ac_word... " >&6; }
                   6758: if ${ac_cv_prog_STRIP+:} false; then :
                   6759:   $as_echo_n "(cached) " >&6
1.128     moko     6760: else
                   6761:   if test -n "$STRIP"; then
                   6762:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6763: else
                   6764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6765: for as_dir in $PATH
                   6766: do
                   6767:   IFS=$as_save_IFS
                   6768:   test -z "$as_dir" && as_dir=.
1.150     moko     6769:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6770:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6771:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6772:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6773:     break 2
                   6774:   fi
                   6775: done
1.150     moko     6776:   done
                   6777: IFS=$as_save_IFS
1.128     moko     6778: 
                   6779: fi
                   6780: fi
                   6781: STRIP=$ac_cv_prog_STRIP
                   6782: if test -n "$STRIP"; then
1.150     moko     6783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6784: $as_echo "$STRIP" >&6; }
1.128     moko     6785: else
1.150     moko     6786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6787: $as_echo "no" >&6; }
1.128     moko     6788: fi
                   6789: 
1.150     moko     6790: 
1.128     moko     6791: fi
                   6792: if test -z "$ac_cv_prog_STRIP"; then
                   6793:   ac_ct_STRIP=$STRIP
                   6794:   # Extract the first word of "strip", so it can be a program name with args.
                   6795: set dummy strip; ac_word=$2
1.150     moko     6796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6797: $as_echo_n "checking for $ac_word... " >&6; }
                   6798: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6799:   $as_echo_n "(cached) " >&6
1.128     moko     6800: else
                   6801:   if test -n "$ac_ct_STRIP"; then
                   6802:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6803: else
                   6804: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6805: for as_dir in $PATH
                   6806: do
                   6807:   IFS=$as_save_IFS
                   6808:   test -z "$as_dir" && as_dir=.
1.150     moko     6809:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6810:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6811:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6812:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6813:     break 2
                   6814:   fi
                   6815: done
1.150     moko     6816:   done
                   6817: IFS=$as_save_IFS
1.128     moko     6818: 
                   6819: fi
                   6820: fi
                   6821: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6822: if test -n "$ac_ct_STRIP"; then
1.150     moko     6823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6824: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6825: else
1.150     moko     6826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6827: $as_echo "no" >&6; }
1.128     moko     6828: fi
                   6829: 
1.150     moko     6830:   if test "x$ac_ct_STRIP" = x; then
                   6831:     STRIP=":"
                   6832:   else
                   6833:     case $cross_compiling:$ac_tool_warned in
                   6834: yes:)
                   6835: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6836: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6837: ac_tool_warned=yes ;;
                   6838: esac
                   6839:     STRIP=$ac_ct_STRIP
                   6840:   fi
1.128     moko     6841: else
                   6842:   STRIP="$ac_cv_prog_STRIP"
                   6843: fi
                   6844: 
                   6845: test -z "$STRIP" && STRIP=:
                   6846: 
                   6847: 
                   6848: 
                   6849: 
                   6850: 
                   6851: 
                   6852: if test -n "$ac_tool_prefix"; then
                   6853:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6854: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6856: $as_echo_n "checking for $ac_word... " >&6; }
                   6857: if ${ac_cv_prog_RANLIB+:} false; then :
                   6858:   $as_echo_n "(cached) " >&6
1.128     moko     6859: else
                   6860:   if test -n "$RANLIB"; then
                   6861:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6862: else
                   6863: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6864: for as_dir in $PATH
                   6865: do
                   6866:   IFS=$as_save_IFS
                   6867:   test -z "$as_dir" && as_dir=.
1.150     moko     6868:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6869:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6870:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6871:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6872:     break 2
                   6873:   fi
                   6874: done
1.150     moko     6875:   done
                   6876: IFS=$as_save_IFS
1.128     moko     6877: 
                   6878: fi
                   6879: fi
                   6880: RANLIB=$ac_cv_prog_RANLIB
                   6881: if test -n "$RANLIB"; then
1.150     moko     6882:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6883: $as_echo "$RANLIB" >&6; }
1.128     moko     6884: else
1.150     moko     6885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6886: $as_echo "no" >&6; }
1.128     moko     6887: fi
                   6888: 
1.150     moko     6889: 
1.128     moko     6890: fi
                   6891: if test -z "$ac_cv_prog_RANLIB"; then
                   6892:   ac_ct_RANLIB=$RANLIB
                   6893:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6894: set dummy ranlib; ac_word=$2
1.150     moko     6895: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6896: $as_echo_n "checking for $ac_word... " >&6; }
                   6897: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6898:   $as_echo_n "(cached) " >&6
1.128     moko     6899: else
                   6900:   if test -n "$ac_ct_RANLIB"; then
                   6901:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6902: else
                   6903: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6904: for as_dir in $PATH
                   6905: do
                   6906:   IFS=$as_save_IFS
                   6907:   test -z "$as_dir" && as_dir=.
1.150     moko     6908:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6909:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6910:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     6911:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6912:     break 2
                   6913:   fi
                   6914: done
1.150     moko     6915:   done
                   6916: IFS=$as_save_IFS
1.128     moko     6917: 
                   6918: fi
                   6919: fi
                   6920: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6921: if test -n "$ac_ct_RANLIB"; then
1.150     moko     6922:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6923: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6924: else
1.150     moko     6925:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6926: $as_echo "no" >&6; }
1.128     moko     6927: fi
                   6928: 
1.150     moko     6929:   if test "x$ac_ct_RANLIB" = x; then
                   6930:     RANLIB=":"
                   6931:   else
                   6932:     case $cross_compiling:$ac_tool_warned in
                   6933: yes:)
                   6934: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6935: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6936: ac_tool_warned=yes ;;
                   6937: esac
                   6938:     RANLIB=$ac_ct_RANLIB
                   6939:   fi
1.128     moko     6940: else
                   6941:   RANLIB="$ac_cv_prog_RANLIB"
                   6942: fi
                   6943: 
                   6944: test -z "$RANLIB" && RANLIB=:
                   6945: 
                   6946: 
                   6947: 
                   6948: 
                   6949: 
                   6950: 
                   6951: # Determine commands to create old-style static archives.
                   6952: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6953: old_postinstall_cmds='chmod 644 $oldlib'
                   6954: old_postuninstall_cmds=
                   6955: 
                   6956: if test -n "$RANLIB"; then
                   6957:   case $host_os in
                   6958:   openbsd*)
                   6959:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   6960:     ;;
                   6961:   *)
                   6962:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   6963:     ;;
                   6964:   esac
                   6965:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   6966: fi
                   6967: 
                   6968: case $host_os in
                   6969:   darwin*)
                   6970:     lock_old_archive_extraction=yes ;;
                   6971:   *)
                   6972:     lock_old_archive_extraction=no ;;
                   6973: esac
                   6974: 
                   6975: 
                   6976: 
                   6977: 
                   6978: 
                   6979: 
                   6980: 
                   6981: 
                   6982: 
                   6983: 
                   6984: 
                   6985: 
                   6986: 
                   6987: 
                   6988: 
                   6989: 
                   6990: 
                   6991: 
                   6992: 
                   6993: 
                   6994: 
                   6995: 
                   6996: 
                   6997: 
                   6998: 
                   6999: 
                   7000: 
                   7001: 
                   7002: 
                   7003: 
                   7004: 
                   7005: 
                   7006: 
                   7007: 
                   7008: 
                   7009: 
                   7010: 
                   7011: 
                   7012: 
                   7013: # If no C compiler was specified, use CC.
                   7014: LTCC=${LTCC-"$CC"}
                   7015: 
                   7016: # If no C compiler flags were specified, use CFLAGS.
                   7017: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7018: 
                   7019: # Allow CC to be a program name with arguments.
                   7020: compiler=$CC
                   7021: 
                   7022: 
                   7023: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7025: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7026: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7027:   $as_echo_n "(cached) " >&6
1.128     moko     7028: else
                   7029: 
                   7030: # These are sane defaults that work on at least a few old systems.
                   7031: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7032: 
                   7033: # Character class describing NM global symbol codes.
                   7034: symcode='[BCDEGRST]'
                   7035: 
                   7036: # Regexp to match symbols that can be accessed directly from C.
                   7037: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7038: 
                   7039: # Define system-specific variables.
                   7040: case $host_os in
                   7041: aix*)
                   7042:   symcode='[BCDT]'
                   7043:   ;;
                   7044: cygwin* | mingw* | pw32* | cegcc*)
                   7045:   symcode='[ABCDGISTW]'
                   7046:   ;;
                   7047: hpux*)
                   7048:   if test "$host_cpu" = ia64; then
                   7049:     symcode='[ABCDEGRST]'
                   7050:   fi
                   7051:   ;;
                   7052: irix* | nonstopux*)
                   7053:   symcode='[BCDEGRST]'
                   7054:   ;;
                   7055: osf*)
                   7056:   symcode='[BCDEGQRST]'
                   7057:   ;;
                   7058: solaris*)
                   7059:   symcode='[BDRT]'
                   7060:   ;;
                   7061: sco3.2v5*)
                   7062:   symcode='[DT]'
                   7063:   ;;
                   7064: sysv4.2uw2*)
                   7065:   symcode='[DT]'
                   7066:   ;;
                   7067: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7068:   symcode='[ABDT]'
                   7069:   ;;
                   7070: sysv4)
                   7071:   symcode='[DFNSTU]'
                   7072:   ;;
                   7073: esac
                   7074: 
                   7075: # If we're using GNU nm, then use its standard symbol codes.
                   7076: case `$NM -V 2>&1` in
                   7077: *GNU* | *'with BFD'*)
                   7078:   symcode='[ABCDGIRSTW]' ;;
                   7079: esac
                   7080: 
                   7081: # Transform an extracted symbol line into a proper C declaration.
                   7082: # Some systems (esp. on ia64) link data and code symbols differently,
                   7083: # so use this general approach.
                   7084: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7085: 
                   7086: # Transform an extracted symbol line into symbol name and symbol address
                   7087: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7088: 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'"
                   7089: 
                   7090: # Handle CRLF in mingw tool chain
                   7091: opt_cr=
                   7092: case $build_os in
                   7093: mingw*)
                   7094:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7095:   ;;
                   7096: esac
                   7097: 
                   7098: # Try without a prefix underscore, then with it.
                   7099: for ac_symprfx in "" "_"; do
                   7100: 
                   7101:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7102:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7103: 
                   7104:   # Write the raw and C identifiers.
                   7105:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7106:     # Fake it for dumpbin and say T for any non-static function
                   7107:     # and D for any global variable.
                   7108:     # Also find C++ and __fastcall symbols from MSVC++,
                   7109:     # which start with @ or ?.
                   7110:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7111: "     {last_section=section; section=\$ 3};"\
                   7112: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7113: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7114: "     \$ 0!~/External *\|/{next};"\
                   7115: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7116: "     {if(hide[section]) next};"\
                   7117: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7118: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7119: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7120: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7121: "     ' prfx=^$ac_symprfx"
                   7122:   else
                   7123:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7124:   fi
                   7125:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7126: 
                   7127:   # Check to see that the pipe works correctly.
                   7128:   pipe_works=no
                   7129: 
                   7130:   rm -f conftest*
                   7131:   cat > conftest.$ac_ext <<_LT_EOF
                   7132: #ifdef __cplusplus
                   7133: extern "C" {
                   7134: #endif
                   7135: char nm_test_var;
                   7136: void nm_test_func(void);
                   7137: void nm_test_func(void){}
                   7138: #ifdef __cplusplus
                   7139: }
                   7140: #endif
                   7141: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7142: _LT_EOF
                   7143: 
1.150     moko     7144:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7145:   (eval $ac_compile) 2>&5
                   7146:   ac_status=$?
1.150     moko     7147:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7148:   test $ac_status = 0; }; then
1.128     moko     7149:     # Now try to grab the symbols.
                   7150:     nlist=conftest.nm
1.150     moko     7151:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7152:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7153:   ac_status=$?
1.150     moko     7154:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7155:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7156:       # Try sorting and uniquifying the output.
                   7157:       if sort "$nlist" | uniq > "$nlist"T; then
                   7158:        mv -f "$nlist"T "$nlist"
                   7159:       else
                   7160:        rm -f "$nlist"T
                   7161:       fi
                   7162: 
                   7163:       # Make sure that we snagged all the symbols we need.
                   7164:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7165:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7166:          cat <<_LT_EOF > conftest.$ac_ext
                   7167: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7168: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7169: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7170:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7171: # define LT_DLSYM_CONST
                   7172: #elif defined(__osf__)
                   7173: /* This system does not cope well with relocations in const data.  */
                   7174: # define LT_DLSYM_CONST
                   7175: #else
                   7176: # define LT_DLSYM_CONST const
                   7177: #endif
                   7178: 
                   7179: #ifdef __cplusplus
                   7180: extern "C" {
                   7181: #endif
                   7182: 
                   7183: _LT_EOF
                   7184:          # Now generate the symbol file.
                   7185:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7186: 
                   7187:          cat <<_LT_EOF >> conftest.$ac_ext
                   7188: 
                   7189: /* The mapping between symbol names and symbols.  */
                   7190: LT_DLSYM_CONST struct {
                   7191:   const char *name;
                   7192:   void       *address;
                   7193: }
                   7194: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7195: {
                   7196:   { "@PROGRAM@", (void *) 0 },
                   7197: _LT_EOF
                   7198:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7199:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7200:   {0, (void *) 0}
                   7201: };
                   7202: 
                   7203: /* This works around a problem in FreeBSD linker */
                   7204: #ifdef FREEBSD_WORKAROUND
                   7205: static const void *lt_preloaded_setup() {
                   7206:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7207: }
                   7208: #endif
                   7209: 
                   7210: #ifdef __cplusplus
                   7211: }
                   7212: #endif
                   7213: _LT_EOF
                   7214:          # Now try linking the two files.
                   7215:          mv conftest.$ac_objext conftstm.$ac_objext
                   7216:          lt_globsym_save_LIBS=$LIBS
                   7217:          lt_globsym_save_CFLAGS=$CFLAGS
                   7218:          LIBS="conftstm.$ac_objext"
                   7219:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7220:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7221:   (eval $ac_link) 2>&5
                   7222:   ac_status=$?
1.150     moko     7223:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7224:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7225:            pipe_works=yes
                   7226:          fi
                   7227:          LIBS=$lt_globsym_save_LIBS
                   7228:          CFLAGS=$lt_globsym_save_CFLAGS
                   7229:        else
                   7230:          echo "cannot find nm_test_func in $nlist" >&5
                   7231:        fi
                   7232:       else
                   7233:        echo "cannot find nm_test_var in $nlist" >&5
                   7234:       fi
                   7235:     else
                   7236:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7237:     fi
                   7238:   else
                   7239:     echo "$progname: failed program was:" >&5
                   7240:     cat conftest.$ac_ext >&5
                   7241:   fi
                   7242:   rm -rf conftest* conftst*
                   7243: 
                   7244:   # Do not use the global_symbol_pipe unless it works.
                   7245:   if test "$pipe_works" = yes; then
                   7246:     break
                   7247:   else
                   7248:     lt_cv_sys_global_symbol_pipe=
                   7249:   fi
                   7250: done
                   7251: 
                   7252: fi
                   7253: 
                   7254: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7255:   lt_cv_sys_global_symbol_to_cdecl=
                   7256: fi
                   7257: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7258:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7259: $as_echo "failed" >&6; }
1.128     moko     7260: else
1.150     moko     7261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7262: $as_echo "ok" >&6; }
1.128     moko     7263: fi
                   7264: 
                   7265: # Response file support.
                   7266: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7267:   nm_file_list_spec='@'
                   7268: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7269:   nm_file_list_spec='@'
                   7270: fi
                   7271: 
                   7272: 
                   7273: 
                   7274: 
                   7275: 
                   7276: 
                   7277: 
                   7278: 
                   7279: 
                   7280: 
                   7281: 
                   7282: 
                   7283: 
                   7284: 
                   7285: 
                   7286: 
                   7287: 
                   7288: 
                   7289: 
                   7290: 
                   7291: 
                   7292: 
                   7293: 
                   7294: 
                   7295: 
                   7296: 
                   7297: 
1.150     moko     7298: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7299: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7300: 
1.150     moko     7301: # Check whether --with-sysroot was given.
                   7302: if test "${with_sysroot+set}" = set; then :
                   7303:   withval=$with_sysroot;
1.128     moko     7304: else
                   7305:   with_sysroot=no
1.150     moko     7306: fi
                   7307: 
1.128     moko     7308: 
                   7309: lt_sysroot=
                   7310: case ${with_sysroot} in #(
                   7311:  yes)
                   7312:    if test "$GCC" = yes; then
                   7313:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7314:    fi
                   7315:    ;; #(
                   7316:  /*)
                   7317:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7318:    ;; #(
                   7319:  no|'')
                   7320:    ;; #(
                   7321:  *)
1.150     moko     7322:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7323: $as_echo "${with_sysroot}" >&6; }
                   7324:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7325:    ;;
                   7326: esac
                   7327: 
1.150     moko     7328:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7329: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7330: 
                   7331: 
                   7332: 
                   7333: 
                   7334: 
1.150     moko     7335: # Check whether --enable-libtool-lock was given.
                   7336: if test "${enable_libtool_lock+set}" = set; then :
                   7337:   enableval=$enable_libtool_lock;
                   7338: fi
1.128     moko     7339: 
                   7340: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7341: 
                   7342: # Some flags need to be propagated to the compiler or linker for good
                   7343: # libtool support.
                   7344: case $host in
                   7345: ia64-*-hpux*)
                   7346:   # Find out which ABI we are using.
                   7347:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7348:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7349:   (eval $ac_compile) 2>&5
                   7350:   ac_status=$?
1.150     moko     7351:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7352:   test $ac_status = 0; }; then
1.128     moko     7353:     case `/usr/bin/file conftest.$ac_objext` in
                   7354:       *ELF-32*)
                   7355:        HPUX_IA64_MODE="32"
                   7356:        ;;
                   7357:       *ELF-64*)
                   7358:        HPUX_IA64_MODE="64"
                   7359:        ;;
                   7360:     esac
                   7361:   fi
                   7362:   rm -rf conftest*
                   7363:   ;;
                   7364: *-*-irix6*)
                   7365:   # Find out which ABI we are using.
                   7366:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7367:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7368:   (eval $ac_compile) 2>&5
                   7369:   ac_status=$?
1.150     moko     7370:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7371:   test $ac_status = 0; }; then
1.128     moko     7372:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7373:       case `/usr/bin/file conftest.$ac_objext` in
                   7374:        *32-bit*)
                   7375:          LD="${LD-ld} -melf32bsmip"
                   7376:          ;;
                   7377:        *N32*)
                   7378:          LD="${LD-ld} -melf32bmipn32"
                   7379:          ;;
                   7380:        *64-bit*)
                   7381:          LD="${LD-ld} -melf64bmip"
                   7382:        ;;
                   7383:       esac
                   7384:     else
                   7385:       case `/usr/bin/file conftest.$ac_objext` in
                   7386:        *32-bit*)
                   7387:          LD="${LD-ld} -32"
                   7388:          ;;
                   7389:        *N32*)
                   7390:          LD="${LD-ld} -n32"
                   7391:          ;;
                   7392:        *64-bit*)
                   7393:          LD="${LD-ld} -64"
                   7394:          ;;
                   7395:       esac
                   7396:     fi
                   7397:   fi
                   7398:   rm -rf conftest*
                   7399:   ;;
                   7400: 
                   7401: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7402: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7403:   # Find out which ABI we are using.
                   7404:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7405:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7406:   (eval $ac_compile) 2>&5
                   7407:   ac_status=$?
1.150     moko     7408:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7409:   test $ac_status = 0; }; then
1.128     moko     7410:     case `/usr/bin/file conftest.o` in
                   7411:       *32-bit*)
                   7412:        case $host in
                   7413:          x86_64-*kfreebsd*-gnu)
                   7414:            LD="${LD-ld} -m elf_i386_fbsd"
                   7415:            ;;
                   7416:          x86_64-*linux*)
                   7417:            LD="${LD-ld} -m elf_i386"
                   7418:            ;;
                   7419:          ppc64-*linux*|powerpc64-*linux*)
                   7420:            LD="${LD-ld} -m elf32ppclinux"
                   7421:            ;;
                   7422:          s390x-*linux*)
                   7423:            LD="${LD-ld} -m elf_s390"
                   7424:            ;;
                   7425:          sparc64-*linux*)
                   7426:            LD="${LD-ld} -m elf32_sparc"
                   7427:            ;;
                   7428:        esac
                   7429:        ;;
                   7430:       *64-bit*)
                   7431:        case $host in
                   7432:          x86_64-*kfreebsd*-gnu)
                   7433:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7434:            ;;
                   7435:          x86_64-*linux*)
                   7436:            LD="${LD-ld} -m elf_x86_64"
                   7437:            ;;
                   7438:          ppc*-*linux*|powerpc*-*linux*)
                   7439:            LD="${LD-ld} -m elf64ppc"
                   7440:            ;;
                   7441:          s390*-*linux*|s390*-*tpf*)
                   7442:            LD="${LD-ld} -m elf64_s390"
                   7443:            ;;
                   7444:          sparc*-*linux*)
                   7445:            LD="${LD-ld} -m elf64_sparc"
                   7446:            ;;
                   7447:        esac
                   7448:        ;;
                   7449:     esac
                   7450:   fi
                   7451:   rm -rf conftest*
                   7452:   ;;
                   7453: 
                   7454: *-*-sco3.2v5*)
                   7455:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7456:   SAVE_CFLAGS="$CFLAGS"
                   7457:   CFLAGS="$CFLAGS -belf"
1.150     moko     7458:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7459: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7460: if ${lt_cv_cc_needs_belf+:} false; then :
                   7461:   $as_echo_n "(cached) " >&6
1.128     moko     7462: else
                   7463:   ac_ext=c
                   7464: ac_cpp='$CPP $CPPFLAGS'
                   7465: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7466: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7467: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7468: 
1.150     moko     7469:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7470: /* end confdefs.h.  */
                   7471: 
                   7472: int
                   7473: main ()
                   7474: {
                   7475: 
                   7476:   ;
                   7477:   return 0;
                   7478: }
                   7479: _ACEOF
1.150     moko     7480: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7481:   lt_cv_cc_needs_belf=yes
                   7482: else
1.150     moko     7483:   lt_cv_cc_needs_belf=no
1.128     moko     7484: fi
1.150     moko     7485: rm -f core conftest.err conftest.$ac_objext \
                   7486:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7487:      ac_ext=c
                   7488: ac_cpp='$CPP $CPPFLAGS'
                   7489: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7490: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7491: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7492: 
                   7493: fi
1.150     moko     7494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7495: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7496:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7497:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7498:     CFLAGS="$SAVE_CFLAGS"
                   7499:   fi
                   7500:   ;;
                   7501: *-*solaris*)
                   7502:   # Find out which ABI we are using.
                   7503:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7504:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7505:   (eval $ac_compile) 2>&5
                   7506:   ac_status=$?
1.150     moko     7507:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7508:   test $ac_status = 0; }; then
1.128     moko     7509:     case `/usr/bin/file conftest.o` in
                   7510:     *64-bit*)
                   7511:       case $lt_cv_prog_gnu_ld in
                   7512:       yes*)
                   7513:         case $host in
                   7514:         i?86-*-solaris*)
                   7515:           LD="${LD-ld} -m elf_x86_64"
                   7516:           ;;
                   7517:         sparc*-*-solaris*)
                   7518:           LD="${LD-ld} -m elf64_sparc"
                   7519:           ;;
                   7520:         esac
                   7521:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7522:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7523:           LD="${LD-ld}_sol2"
                   7524:         fi
                   7525:         ;;
                   7526:       *)
                   7527:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7528:          LD="${LD-ld} -64"
                   7529:        fi
                   7530:        ;;
                   7531:       esac
                   7532:       ;;
                   7533:     esac
                   7534:   fi
                   7535:   rm -rf conftest*
                   7536:   ;;
                   7537: esac
                   7538: 
                   7539: need_locks="$enable_libtool_lock"
                   7540: 
                   7541: if test -n "$ac_tool_prefix"; then
                   7542:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7543: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7545: $as_echo_n "checking for $ac_word... " >&6; }
                   7546: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7547:   $as_echo_n "(cached) " >&6
1.128     moko     7548: else
                   7549:   if test -n "$MANIFEST_TOOL"; then
                   7550:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7551: else
                   7552: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7553: for as_dir in $PATH
                   7554: do
                   7555:   IFS=$as_save_IFS
                   7556:   test -z "$as_dir" && as_dir=.
1.150     moko     7557:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7558:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7559:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7560:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7561:     break 2
                   7562:   fi
                   7563: done
1.150     moko     7564:   done
                   7565: IFS=$as_save_IFS
1.128     moko     7566: 
                   7567: fi
                   7568: fi
                   7569: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7570: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7571:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7572: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7573: else
1.150     moko     7574:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7575: $as_echo "no" >&6; }
1.128     moko     7576: fi
                   7577: 
1.150     moko     7578: 
1.128     moko     7579: fi
                   7580: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7581:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7582:   # Extract the first word of "mt", so it can be a program name with args.
                   7583: set dummy mt; ac_word=$2
1.150     moko     7584: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7585: $as_echo_n "checking for $ac_word... " >&6; }
                   7586: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7587:   $as_echo_n "(cached) " >&6
1.128     moko     7588: else
                   7589:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7590:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7591: else
                   7592: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7593: for as_dir in $PATH
                   7594: do
                   7595:   IFS=$as_save_IFS
                   7596:   test -z "$as_dir" && as_dir=.
1.150     moko     7597:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7598:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7599:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7600:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7601:     break 2
                   7602:   fi
                   7603: done
1.150     moko     7604:   done
                   7605: IFS=$as_save_IFS
1.128     moko     7606: 
                   7607: fi
                   7608: fi
                   7609: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7610: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7611:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7612: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7613: else
1.150     moko     7614:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7615: $as_echo "no" >&6; }
1.128     moko     7616: fi
                   7617: 
1.150     moko     7618:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7619:     MANIFEST_TOOL=":"
                   7620:   else
                   7621:     case $cross_compiling:$ac_tool_warned in
                   7622: yes:)
                   7623: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7624: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7625: ac_tool_warned=yes ;;
                   7626: esac
                   7627:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7628:   fi
1.128     moko     7629: else
                   7630:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7631: fi
                   7632: 
                   7633: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7635: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7636: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7637:   $as_echo_n "(cached) " >&6
1.128     moko     7638: else
                   7639:   lt_cv_path_mainfest_tool=no
                   7640:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7641:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7642:   cat conftest.err >&5
                   7643:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7644:     lt_cv_path_mainfest_tool=yes
                   7645:   fi
                   7646:   rm -f conftest*
                   7647: fi
1.150     moko     7648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7649: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7650: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7651:   MANIFEST_TOOL=:
                   7652: fi
                   7653: 
                   7654: 
                   7655: 
                   7656: 
                   7657: 
                   7658: 
                   7659:   case $host_os in
                   7660:     rhapsody* | darwin*)
                   7661:     if test -n "$ac_tool_prefix"; then
                   7662:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7663: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7665: $as_echo_n "checking for $ac_word... " >&6; }
                   7666: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7667:   $as_echo_n "(cached) " >&6
1.128     moko     7668: else
                   7669:   if test -n "$DSYMUTIL"; then
                   7670:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7671: else
                   7672: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7673: for as_dir in $PATH
                   7674: do
                   7675:   IFS=$as_save_IFS
                   7676:   test -z "$as_dir" && as_dir=.
1.150     moko     7677:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7678:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7679:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7680:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7681:     break 2
                   7682:   fi
                   7683: done
1.150     moko     7684:   done
                   7685: IFS=$as_save_IFS
1.128     moko     7686: 
                   7687: fi
                   7688: fi
                   7689: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7690: if test -n "$DSYMUTIL"; then
1.150     moko     7691:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7692: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7693: else
1.150     moko     7694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7695: $as_echo "no" >&6; }
1.128     moko     7696: fi
                   7697: 
1.150     moko     7698: 
1.128     moko     7699: fi
                   7700: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7701:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7702:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7703: set dummy dsymutil; ac_word=$2
1.150     moko     7704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7705: $as_echo_n "checking for $ac_word... " >&6; }
                   7706: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7707:   $as_echo_n "(cached) " >&6
1.128     moko     7708: else
                   7709:   if test -n "$ac_ct_DSYMUTIL"; then
                   7710:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7711: else
                   7712: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7713: for as_dir in $PATH
                   7714: do
                   7715:   IFS=$as_save_IFS
                   7716:   test -z "$as_dir" && as_dir=.
1.150     moko     7717:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7718:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7719:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7720:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7721:     break 2
                   7722:   fi
                   7723: done
1.150     moko     7724:   done
                   7725: IFS=$as_save_IFS
1.128     moko     7726: 
                   7727: fi
                   7728: fi
                   7729: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7730: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7732: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7733: else
1.150     moko     7734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7735: $as_echo "no" >&6; }
1.128     moko     7736: fi
                   7737: 
1.150     moko     7738:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7739:     DSYMUTIL=":"
                   7740:   else
                   7741:     case $cross_compiling:$ac_tool_warned in
                   7742: yes:)
                   7743: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7744: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7745: ac_tool_warned=yes ;;
                   7746: esac
                   7747:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7748:   fi
1.128     moko     7749: else
                   7750:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7751: fi
                   7752: 
                   7753:     if test -n "$ac_tool_prefix"; then
                   7754:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7755: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7757: $as_echo_n "checking for $ac_word... " >&6; }
                   7758: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7759:   $as_echo_n "(cached) " >&6
1.128     moko     7760: else
                   7761:   if test -n "$NMEDIT"; then
                   7762:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7763: else
                   7764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7765: for as_dir in $PATH
                   7766: do
                   7767:   IFS=$as_save_IFS
                   7768:   test -z "$as_dir" && as_dir=.
1.150     moko     7769:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7770:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7771:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7772:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7773:     break 2
                   7774:   fi
                   7775: done
1.150     moko     7776:   done
                   7777: IFS=$as_save_IFS
1.128     moko     7778: 
                   7779: fi
                   7780: fi
                   7781: NMEDIT=$ac_cv_prog_NMEDIT
                   7782: if test -n "$NMEDIT"; then
1.150     moko     7783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7784: $as_echo "$NMEDIT" >&6; }
1.128     moko     7785: else
1.150     moko     7786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7787: $as_echo "no" >&6; }
1.128     moko     7788: fi
                   7789: 
1.150     moko     7790: 
1.128     moko     7791: fi
                   7792: if test -z "$ac_cv_prog_NMEDIT"; then
                   7793:   ac_ct_NMEDIT=$NMEDIT
                   7794:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7795: set dummy nmedit; ac_word=$2
1.150     moko     7796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7797: $as_echo_n "checking for $ac_word... " >&6; }
                   7798: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7799:   $as_echo_n "(cached) " >&6
1.128     moko     7800: else
                   7801:   if test -n "$ac_ct_NMEDIT"; then
                   7802:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7803: else
                   7804: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7805: for as_dir in $PATH
                   7806: do
                   7807:   IFS=$as_save_IFS
                   7808:   test -z "$as_dir" && as_dir=.
1.150     moko     7809:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7810:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7811:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7812:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7813:     break 2
                   7814:   fi
                   7815: done
1.150     moko     7816:   done
                   7817: IFS=$as_save_IFS
1.128     moko     7818: 
                   7819: fi
                   7820: fi
                   7821: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7822: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7824: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7825: else
1.150     moko     7826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7827: $as_echo "no" >&6; }
1.128     moko     7828: fi
                   7829: 
1.150     moko     7830:   if test "x$ac_ct_NMEDIT" = x; then
                   7831:     NMEDIT=":"
                   7832:   else
                   7833:     case $cross_compiling:$ac_tool_warned in
                   7834: yes:)
                   7835: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7836: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7837: ac_tool_warned=yes ;;
                   7838: esac
                   7839:     NMEDIT=$ac_ct_NMEDIT
                   7840:   fi
1.128     moko     7841: else
                   7842:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7843: fi
                   7844: 
                   7845:     if test -n "$ac_tool_prefix"; then
                   7846:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7847: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7849: $as_echo_n "checking for $ac_word... " >&6; }
                   7850: if ${ac_cv_prog_LIPO+:} false; then :
                   7851:   $as_echo_n "(cached) " >&6
1.128     moko     7852: else
                   7853:   if test -n "$LIPO"; then
                   7854:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7855: else
                   7856: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7857: for as_dir in $PATH
                   7858: do
                   7859:   IFS=$as_save_IFS
                   7860:   test -z "$as_dir" && as_dir=.
1.150     moko     7861:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7862:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7863:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7864:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7865:     break 2
                   7866:   fi
                   7867: done
1.150     moko     7868:   done
                   7869: IFS=$as_save_IFS
1.128     moko     7870: 
                   7871: fi
                   7872: fi
                   7873: LIPO=$ac_cv_prog_LIPO
                   7874: if test -n "$LIPO"; then
1.150     moko     7875:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7876: $as_echo "$LIPO" >&6; }
1.128     moko     7877: else
1.150     moko     7878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7879: $as_echo "no" >&6; }
1.128     moko     7880: fi
                   7881: 
1.150     moko     7882: 
1.128     moko     7883: fi
                   7884: if test -z "$ac_cv_prog_LIPO"; then
                   7885:   ac_ct_LIPO=$LIPO
                   7886:   # Extract the first word of "lipo", so it can be a program name with args.
                   7887: set dummy lipo; ac_word=$2
1.150     moko     7888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7889: $as_echo_n "checking for $ac_word... " >&6; }
                   7890: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7891:   $as_echo_n "(cached) " >&6
1.128     moko     7892: else
                   7893:   if test -n "$ac_ct_LIPO"; then
                   7894:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7895: else
                   7896: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7897: for as_dir in $PATH
                   7898: do
                   7899:   IFS=$as_save_IFS
                   7900:   test -z "$as_dir" && as_dir=.
1.150     moko     7901:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7902:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7903:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     7904:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7905:     break 2
                   7906:   fi
                   7907: done
1.150     moko     7908:   done
                   7909: IFS=$as_save_IFS
1.128     moko     7910: 
                   7911: fi
                   7912: fi
                   7913: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7914: if test -n "$ac_ct_LIPO"; then
1.150     moko     7915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7916: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7917: else
1.150     moko     7918:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7919: $as_echo "no" >&6; }
1.128     moko     7920: fi
                   7921: 
1.150     moko     7922:   if test "x$ac_ct_LIPO" = x; then
                   7923:     LIPO=":"
                   7924:   else
                   7925:     case $cross_compiling:$ac_tool_warned in
                   7926: yes:)
                   7927: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7928: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7929: ac_tool_warned=yes ;;
                   7930: esac
                   7931:     LIPO=$ac_ct_LIPO
                   7932:   fi
1.128     moko     7933: else
                   7934:   LIPO="$ac_cv_prog_LIPO"
                   7935: fi
                   7936: 
                   7937:     if test -n "$ac_tool_prefix"; then
                   7938:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7939: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     7940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7941: $as_echo_n "checking for $ac_word... " >&6; }
                   7942: if ${ac_cv_prog_OTOOL+:} false; then :
                   7943:   $as_echo_n "(cached) " >&6
1.128     moko     7944: else
                   7945:   if test -n "$OTOOL"; then
                   7946:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7947: else
                   7948: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7949: for as_dir in $PATH
                   7950: do
                   7951:   IFS=$as_save_IFS
                   7952:   test -z "$as_dir" && as_dir=.
1.150     moko     7953:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7954:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7955:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     7956:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7957:     break 2
                   7958:   fi
                   7959: done
1.150     moko     7960:   done
                   7961: IFS=$as_save_IFS
1.128     moko     7962: 
                   7963: fi
                   7964: fi
                   7965: OTOOL=$ac_cv_prog_OTOOL
                   7966: if test -n "$OTOOL"; then
1.150     moko     7967:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7968: $as_echo "$OTOOL" >&6; }
1.128     moko     7969: else
1.150     moko     7970:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7971: $as_echo "no" >&6; }
1.128     moko     7972: fi
                   7973: 
1.150     moko     7974: 
1.128     moko     7975: fi
                   7976: if test -z "$ac_cv_prog_OTOOL"; then
                   7977:   ac_ct_OTOOL=$OTOOL
                   7978:   # Extract the first word of "otool", so it can be a program name with args.
                   7979: set dummy otool; ac_word=$2
1.150     moko     7980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7981: $as_echo_n "checking for $ac_word... " >&6; }
                   7982: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7983:   $as_echo_n "(cached) " >&6
1.128     moko     7984: else
                   7985:   if test -n "$ac_ct_OTOOL"; then
                   7986:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7987: else
                   7988: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7989: for as_dir in $PATH
                   7990: do
                   7991:   IFS=$as_save_IFS
                   7992:   test -z "$as_dir" && as_dir=.
1.150     moko     7993:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7994:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7995:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     7996:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7997:     break 2
                   7998:   fi
                   7999: done
1.150     moko     8000:   done
                   8001: IFS=$as_save_IFS
1.128     moko     8002: 
                   8003: fi
                   8004: fi
                   8005: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8006: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8007:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8008: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8009: else
1.150     moko     8010:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8011: $as_echo "no" >&6; }
1.128     moko     8012: fi
                   8013: 
1.150     moko     8014:   if test "x$ac_ct_OTOOL" = x; then
                   8015:     OTOOL=":"
                   8016:   else
                   8017:     case $cross_compiling:$ac_tool_warned in
                   8018: yes:)
                   8019: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8020: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8021: ac_tool_warned=yes ;;
                   8022: esac
                   8023:     OTOOL=$ac_ct_OTOOL
                   8024:   fi
1.128     moko     8025: else
                   8026:   OTOOL="$ac_cv_prog_OTOOL"
                   8027: fi
                   8028: 
                   8029:     if test -n "$ac_tool_prefix"; then
                   8030:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8031: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8033: $as_echo_n "checking for $ac_word... " >&6; }
                   8034: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8035:   $as_echo_n "(cached) " >&6
1.128     moko     8036: else
                   8037:   if test -n "$OTOOL64"; then
                   8038:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8039: else
                   8040: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8041: for as_dir in $PATH
                   8042: do
                   8043:   IFS=$as_save_IFS
                   8044:   test -z "$as_dir" && as_dir=.
1.150     moko     8045:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8046:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8047:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8048:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8049:     break 2
                   8050:   fi
                   8051: done
1.150     moko     8052:   done
                   8053: IFS=$as_save_IFS
1.128     moko     8054: 
                   8055: fi
                   8056: fi
                   8057: OTOOL64=$ac_cv_prog_OTOOL64
                   8058: if test -n "$OTOOL64"; then
1.150     moko     8059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8060: $as_echo "$OTOOL64" >&6; }
1.128     moko     8061: else
1.150     moko     8062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8063: $as_echo "no" >&6; }
1.128     moko     8064: fi
                   8065: 
1.150     moko     8066: 
1.128     moko     8067: fi
                   8068: if test -z "$ac_cv_prog_OTOOL64"; then
                   8069:   ac_ct_OTOOL64=$OTOOL64
                   8070:   # Extract the first word of "otool64", so it can be a program name with args.
                   8071: set dummy otool64; ac_word=$2
1.150     moko     8072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8073: $as_echo_n "checking for $ac_word... " >&6; }
                   8074: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8075:   $as_echo_n "(cached) " >&6
1.128     moko     8076: else
                   8077:   if test -n "$ac_ct_OTOOL64"; then
                   8078:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8079: else
                   8080: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8081: for as_dir in $PATH
                   8082: do
                   8083:   IFS=$as_save_IFS
                   8084:   test -z "$as_dir" && as_dir=.
1.150     moko     8085:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8086:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8087:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8088:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8089:     break 2
                   8090:   fi
                   8091: done
1.150     moko     8092:   done
                   8093: IFS=$as_save_IFS
1.128     moko     8094: 
                   8095: fi
                   8096: fi
                   8097: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8098: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8100: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8101: else
1.150     moko     8102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8103: $as_echo "no" >&6; }
1.128     moko     8104: fi
                   8105: 
1.150     moko     8106:   if test "x$ac_ct_OTOOL64" = x; then
                   8107:     OTOOL64=":"
                   8108:   else
                   8109:     case $cross_compiling:$ac_tool_warned in
                   8110: yes:)
                   8111: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8112: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8113: ac_tool_warned=yes ;;
                   8114: esac
                   8115:     OTOOL64=$ac_ct_OTOOL64
                   8116:   fi
1.128     moko     8117: else
                   8118:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8119: fi
                   8120: 
                   8121: 
                   8122: 
                   8123: 
                   8124: 
                   8125: 
                   8126: 
                   8127: 
                   8128: 
                   8129: 
                   8130: 
                   8131: 
                   8132: 
                   8133: 
                   8134: 
                   8135: 
                   8136: 
                   8137: 
                   8138: 
                   8139: 
                   8140: 
                   8141: 
                   8142: 
                   8143: 
                   8144: 
                   8145: 
                   8146: 
1.150     moko     8147:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8148: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8149: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8150:   $as_echo_n "(cached) " >&6
1.128     moko     8151: else
                   8152:   lt_cv_apple_cc_single_mod=no
                   8153:       if test -z "${LT_MULTI_MODULE}"; then
                   8154:        # By default we will add the -single_module flag. You can override
                   8155:        # by either setting the environment variable LT_MULTI_MODULE
                   8156:        # non-empty at configure time, or by adding -multi_module to the
                   8157:        # link flags.
                   8158:        rm -rf libconftest.dylib*
                   8159:        echo "int foo(void){return 1;}" > conftest.c
                   8160:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8161: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8162:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8163:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8164:         _lt_result=$?
                   8165:        # If there is a non-empty error log, and "single_module"
                   8166:        # appears in it, assume the flag caused a linker warning
                   8167:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8168:          cat conftest.err >&5
                   8169:        # Otherwise, if the output was created with a 0 exit code from
                   8170:        # the compiler, it worked.
                   8171:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8172:          lt_cv_apple_cc_single_mod=yes
                   8173:        else
                   8174:          cat conftest.err >&5
                   8175:        fi
                   8176:        rm -rf libconftest.dylib*
                   8177:        rm -f conftest.*
                   8178:       fi
                   8179: fi
1.150     moko     8180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8181: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8182: 
1.150     moko     8183:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8184: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8185: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8186:   $as_echo_n "(cached) " >&6
1.128     moko     8187: else
                   8188:   lt_cv_ld_exported_symbols_list=no
                   8189:       save_LDFLAGS=$LDFLAGS
                   8190:       echo "_main" > conftest.sym
                   8191:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8192:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8193: /* end confdefs.h.  */
                   8194: 
                   8195: int
                   8196: main ()
                   8197: {
                   8198: 
                   8199:   ;
                   8200:   return 0;
                   8201: }
                   8202: _ACEOF
1.150     moko     8203: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8204:   lt_cv_ld_exported_symbols_list=yes
                   8205: else
1.150     moko     8206:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8207: fi
1.150     moko     8208: rm -f core conftest.err conftest.$ac_objext \
                   8209:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8210:        LDFLAGS="$save_LDFLAGS"
                   8211: 
                   8212: fi
1.150     moko     8213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8214: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8215: 
1.150     moko     8216:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8217: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8218: if ${lt_cv_ld_force_load+:} false; then :
                   8219:   $as_echo_n "(cached) " >&6
1.128     moko     8220: else
                   8221:   lt_cv_ld_force_load=no
                   8222:       cat > conftest.c << _LT_EOF
                   8223: int forced_loaded() { return 2;}
                   8224: _LT_EOF
                   8225:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8226:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8227:       echo "$AR cru libconftest.a conftest.o" >&5
                   8228:       $AR cru libconftest.a conftest.o 2>&5
                   8229:       echo "$RANLIB libconftest.a" >&5
                   8230:       $RANLIB libconftest.a 2>&5
                   8231:       cat > conftest.c << _LT_EOF
                   8232: int main() { return 0;}
                   8233: _LT_EOF
                   8234:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8235:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8236:       _lt_result=$?
                   8237:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8238:        cat conftest.err >&5
                   8239:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8240:        lt_cv_ld_force_load=yes
                   8241:       else
                   8242:        cat conftest.err >&5
                   8243:       fi
                   8244:         rm -f conftest.err libconftest.a conftest conftest.c
                   8245:         rm -rf conftest.dSYM
                   8246: 
                   8247: fi
1.150     moko     8248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8249: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8250:     case $host_os in
                   8251:     rhapsody* | darwin1.[012])
                   8252:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8253:     darwin1.*)
                   8254:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8255:     darwin*) # darwin 5.x on
                   8256:       # if running on 10.5 or later, the deployment target defaults
                   8257:       # to the OS version, if on x86, and 10.4, the deployment
                   8258:       # target defaults to 10.4. Don't you love it?
                   8259:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8260:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8261:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8262:        10.[012]*)
                   8263:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8264:        10.*)
                   8265:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8266:       esac
                   8267:     ;;
                   8268:   esac
                   8269:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8270:       _lt_dar_single_mod='$single_module'
                   8271:     fi
                   8272:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8273:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8274:     else
                   8275:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8276:     fi
                   8277:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8278:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8279:     else
                   8280:       _lt_dsymutil=
                   8281:     fi
                   8282:     ;;
                   8283:   esac
                   8284: 
                   8285: ac_ext=c
                   8286: ac_cpp='$CPP $CPPFLAGS'
                   8287: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8288: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8289: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8291: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8292: # On Suns, sometimes $CPP names a directory.
                   8293: if test -n "$CPP" && test -d "$CPP"; then
                   8294:   CPP=
                   8295: fi
                   8296: if test -z "$CPP"; then
1.150     moko     8297:   if ${ac_cv_prog_CPP+:} false; then :
                   8298:   $as_echo_n "(cached) " >&6
1.128     moko     8299: else
                   8300:       # Double quotes because CPP needs to be expanded
                   8301:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8302:     do
                   8303:       ac_preproc_ok=false
                   8304: for ac_c_preproc_warn_flag in '' yes
                   8305: do
                   8306:   # Use a header file that comes with gcc, so configuring glibc
                   8307:   # with a fresh cross-compiler works.
                   8308:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8309:   # <limits.h> exists even on freestanding compilers.
                   8310:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8311:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8312:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8313: /* end confdefs.h.  */
                   8314: #ifdef __STDC__
                   8315: # include <limits.h>
                   8316: #else
                   8317: # include <assert.h>
                   8318: #endif
                   8319:                     Syntax error
                   8320: _ACEOF
1.150     moko     8321: if ac_fn_c_try_cpp "$LINENO"; then :
                   8322: 
1.128     moko     8323: else
                   8324:   # Broken: fails on valid input.
                   8325: continue
                   8326: fi
1.150     moko     8327: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8328: 
1.150     moko     8329:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8330:   # can be detected and how.
1.150     moko     8331:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8332: /* end confdefs.h.  */
                   8333: #include <ac_nonexistent.h>
                   8334: _ACEOF
1.150     moko     8335: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8336:   # Broken: success on invalid input.
                   8337: continue
                   8338: else
                   8339:   # Passes both tests.
                   8340: ac_preproc_ok=:
                   8341: break
                   8342: fi
1.150     moko     8343: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8344: 
                   8345: done
                   8346: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8347: rm -f conftest.i conftest.err conftest.$ac_ext
                   8348: if $ac_preproc_ok; then :
1.128     moko     8349:   break
                   8350: fi
                   8351: 
                   8352:     done
                   8353:     ac_cv_prog_CPP=$CPP
                   8354: 
                   8355: fi
                   8356:   CPP=$ac_cv_prog_CPP
                   8357: else
                   8358:   ac_cv_prog_CPP=$CPP
                   8359: fi
1.150     moko     8360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8361: $as_echo "$CPP" >&6; }
1.128     moko     8362: ac_preproc_ok=false
                   8363: for ac_c_preproc_warn_flag in '' yes
                   8364: do
                   8365:   # Use a header file that comes with gcc, so configuring glibc
                   8366:   # with a fresh cross-compiler works.
                   8367:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8368:   # <limits.h> exists even on freestanding compilers.
                   8369:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8370:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8371:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8372: /* end confdefs.h.  */
                   8373: #ifdef __STDC__
                   8374: # include <limits.h>
                   8375: #else
                   8376: # include <assert.h>
                   8377: #endif
                   8378:                     Syntax error
                   8379: _ACEOF
1.150     moko     8380: if ac_fn_c_try_cpp "$LINENO"; then :
                   8381: 
1.128     moko     8382: else
                   8383:   # Broken: fails on valid input.
                   8384: continue
                   8385: fi
1.150     moko     8386: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8387: 
1.150     moko     8388:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8389:   # can be detected and how.
1.150     moko     8390:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8391: /* end confdefs.h.  */
                   8392: #include <ac_nonexistent.h>
                   8393: _ACEOF
1.150     moko     8394: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8395:   # Broken: success on invalid input.
                   8396: continue
                   8397: else
                   8398:   # Passes both tests.
                   8399: ac_preproc_ok=:
                   8400: break
                   8401: fi
1.150     moko     8402: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8403: 
                   8404: done
                   8405: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8406: rm -f conftest.i conftest.err conftest.$ac_ext
                   8407: if $ac_preproc_ok; then :
                   8408: 
1.128     moko     8409: else
1.150     moko     8410:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8411: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8412: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8413: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8414: fi
                   8415: 
                   8416: ac_ext=c
                   8417: ac_cpp='$CPP $CPPFLAGS'
                   8418: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8419: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8420: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8421: 
                   8422: 
1.150     moko     8423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8424: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8425: if ${ac_cv_header_stdc+:} false; then :
                   8426:   $as_echo_n "(cached) " >&6
1.128     moko     8427: else
1.150     moko     8428:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8429: /* end confdefs.h.  */
                   8430: #include <stdlib.h>
                   8431: #include <stdarg.h>
                   8432: #include <string.h>
                   8433: #include <float.h>
                   8434: 
                   8435: int
                   8436: main ()
                   8437: {
                   8438: 
                   8439:   ;
                   8440:   return 0;
                   8441: }
                   8442: _ACEOF
1.150     moko     8443: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8444:   ac_cv_header_stdc=yes
                   8445: else
1.150     moko     8446:   ac_cv_header_stdc=no
1.128     moko     8447: fi
1.150     moko     8448: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8449: 
                   8450: if test $ac_cv_header_stdc = yes; then
                   8451:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8452:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8453: /* end confdefs.h.  */
                   8454: #include <string.h>
                   8455: 
                   8456: _ACEOF
                   8457: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8458:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8459: 
1.128     moko     8460: else
                   8461:   ac_cv_header_stdc=no
                   8462: fi
                   8463: rm -f conftest*
                   8464: 
                   8465: fi
                   8466: 
                   8467: if test $ac_cv_header_stdc = yes; then
                   8468:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8469:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8470: /* end confdefs.h.  */
                   8471: #include <stdlib.h>
                   8472: 
                   8473: _ACEOF
                   8474: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8475:   $EGREP "free" >/dev/null 2>&1; then :
                   8476: 
1.128     moko     8477: else
                   8478:   ac_cv_header_stdc=no
                   8479: fi
                   8480: rm -f conftest*
                   8481: 
                   8482: fi
                   8483: 
                   8484: if test $ac_cv_header_stdc = yes; then
                   8485:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8486:   if test "$cross_compiling" = yes; then :
1.128     moko     8487:   :
                   8488: else
1.150     moko     8489:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8490: /* end confdefs.h.  */
                   8491: #include <ctype.h>
1.150     moko     8492: #include <stdlib.h>
1.128     moko     8493: #if ((' ' & 0x0FF) == 0x020)
                   8494: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8495: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8496: #else
                   8497: # define ISLOWER(c) \
                   8498:                   (('a' <= (c) && (c) <= 'i') \
                   8499:                     || ('j' <= (c) && (c) <= 'r') \
                   8500:                     || ('s' <= (c) && (c) <= 'z'))
                   8501: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8502: #endif
                   8503: 
                   8504: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8505: int
                   8506: main ()
                   8507: {
                   8508:   int i;
                   8509:   for (i = 0; i < 256; i++)
                   8510:     if (XOR (islower (i), ISLOWER (i))
                   8511:        || toupper (i) != TOUPPER (i))
1.150     moko     8512:       return 2;
                   8513:   return 0;
1.128     moko     8514: }
                   8515: _ACEOF
1.150     moko     8516: if ac_fn_c_try_run "$LINENO"; then :
                   8517: 
1.128     moko     8518: else
1.150     moko     8519:   ac_cv_header_stdc=no
1.128     moko     8520: fi
1.150     moko     8521: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8522:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8523: fi
1.150     moko     8524: 
1.128     moko     8525: fi
                   8526: fi
1.150     moko     8527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8528: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8529: if test $ac_cv_header_stdc = yes; then
                   8530: 
1.150     moko     8531: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8532: 
                   8533: fi
                   8534: 
                   8535: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8536: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8537:                  inttypes.h stdint.h unistd.h
                   8538: do :
                   8539:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8540: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8541: "
                   8542: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8543:   cat >>confdefs.h <<_ACEOF
                   8544: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8545: _ACEOF
1.128     moko     8546: 
1.150     moko     8547: fi
1.128     moko     8548: 
1.150     moko     8549: done
1.128     moko     8550: 
                   8551: 
1.150     moko     8552: for ac_header in dlfcn.h
                   8553: do :
                   8554:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8555: "
                   8556: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8557:   cat >>confdefs.h <<_ACEOF
                   8558: #define HAVE_DLFCN_H 1
                   8559: _ACEOF
1.128     moko     8560: 
1.150     moko     8561: fi
1.128     moko     8562: 
1.150     moko     8563: done
1.128     moko     8564: 
                   8565: 
                   8566: 
                   8567: 
1.150     moko     8568: func_stripname_cnf ()
                   8569: {
                   8570:   case ${2} in
                   8571:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8572:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8573:   esac
                   8574: } # func_stripname_cnf
1.128     moko     8575: 
                   8576: 
                   8577: 
                   8578: 
                   8579: 
                   8580: # Set options
                   8581: enable_dlopen=yes
                   8582: enable_win32_dll=yes
                   8583: 
                   8584: case $host in
                   8585: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8586:   if test -n "$ac_tool_prefix"; then
                   8587:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8588: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8590: $as_echo_n "checking for $ac_word... " >&6; }
                   8591: if ${ac_cv_prog_AS+:} false; then :
                   8592:   $as_echo_n "(cached) " >&6
1.128     moko     8593: else
                   8594:   if test -n "$AS"; then
                   8595:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8596: else
                   8597: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8598: for as_dir in $PATH
                   8599: do
                   8600:   IFS=$as_save_IFS
                   8601:   test -z "$as_dir" && as_dir=.
1.150     moko     8602:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8603:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8604:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8605:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8606:     break 2
                   8607:   fi
                   8608: done
1.150     moko     8609:   done
                   8610: IFS=$as_save_IFS
1.128     moko     8611: 
                   8612: fi
                   8613: fi
                   8614: AS=$ac_cv_prog_AS
                   8615: if test -n "$AS"; then
1.150     moko     8616:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8617: $as_echo "$AS" >&6; }
1.128     moko     8618: else
1.150     moko     8619:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8620: $as_echo "no" >&6; }
1.128     moko     8621: fi
                   8622: 
1.150     moko     8623: 
1.128     moko     8624: fi
                   8625: if test -z "$ac_cv_prog_AS"; then
                   8626:   ac_ct_AS=$AS
                   8627:   # Extract the first word of "as", so it can be a program name with args.
                   8628: set dummy as; ac_word=$2
1.150     moko     8629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8630: $as_echo_n "checking for $ac_word... " >&6; }
                   8631: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8632:   $as_echo_n "(cached) " >&6
1.128     moko     8633: else
                   8634:   if test -n "$ac_ct_AS"; then
                   8635:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8636: else
                   8637: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8638: for as_dir in $PATH
                   8639: do
                   8640:   IFS=$as_save_IFS
                   8641:   test -z "$as_dir" && as_dir=.
1.150     moko     8642:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8643:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8644:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8645:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8646:     break 2
                   8647:   fi
                   8648: done
1.150     moko     8649:   done
                   8650: IFS=$as_save_IFS
1.128     moko     8651: 
                   8652: fi
                   8653: fi
                   8654: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8655: if test -n "$ac_ct_AS"; then
1.150     moko     8656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8657: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8658: else
1.150     moko     8659:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8660: $as_echo "no" >&6; }
1.128     moko     8661: fi
                   8662: 
1.150     moko     8663:   if test "x$ac_ct_AS" = x; then
                   8664:     AS="false"
                   8665:   else
                   8666:     case $cross_compiling:$ac_tool_warned in
                   8667: yes:)
                   8668: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8669: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8670: ac_tool_warned=yes ;;
                   8671: esac
                   8672:     AS=$ac_ct_AS
                   8673:   fi
1.128     moko     8674: else
                   8675:   AS="$ac_cv_prog_AS"
                   8676: fi
                   8677: 
                   8678:   if test -n "$ac_tool_prefix"; then
                   8679:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8680: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8682: $as_echo_n "checking for $ac_word... " >&6; }
                   8683: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8684:   $as_echo_n "(cached) " >&6
1.128     moko     8685: else
                   8686:   if test -n "$DLLTOOL"; then
                   8687:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8688: else
                   8689: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8690: for as_dir in $PATH
                   8691: do
                   8692:   IFS=$as_save_IFS
                   8693:   test -z "$as_dir" && as_dir=.
1.150     moko     8694:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8695:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8696:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8697:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8698:     break 2
                   8699:   fi
                   8700: done
1.150     moko     8701:   done
                   8702: IFS=$as_save_IFS
1.128     moko     8703: 
                   8704: fi
                   8705: fi
                   8706: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8707: if test -n "$DLLTOOL"; then
1.150     moko     8708:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8709: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8710: else
1.150     moko     8711:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8712: $as_echo "no" >&6; }
1.128     moko     8713: fi
                   8714: 
1.150     moko     8715: 
1.128     moko     8716: fi
                   8717: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8718:   ac_ct_DLLTOOL=$DLLTOOL
                   8719:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8720: set dummy dlltool; ac_word=$2
1.150     moko     8721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8722: $as_echo_n "checking for $ac_word... " >&6; }
                   8723: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8724:   $as_echo_n "(cached) " >&6
1.128     moko     8725: else
                   8726:   if test -n "$ac_ct_DLLTOOL"; then
                   8727:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8728: else
                   8729: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8730: for as_dir in $PATH
                   8731: do
                   8732:   IFS=$as_save_IFS
                   8733:   test -z "$as_dir" && as_dir=.
1.150     moko     8734:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8735:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8736:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8737:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8738:     break 2
                   8739:   fi
                   8740: done
1.150     moko     8741:   done
                   8742: IFS=$as_save_IFS
1.128     moko     8743: 
                   8744: fi
                   8745: fi
                   8746: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8747: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8749: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8750: else
1.150     moko     8751:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8752: $as_echo "no" >&6; }
1.128     moko     8753: fi
                   8754: 
1.150     moko     8755:   if test "x$ac_ct_DLLTOOL" = x; then
                   8756:     DLLTOOL="false"
                   8757:   else
                   8758:     case $cross_compiling:$ac_tool_warned in
                   8759: yes:)
                   8760: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8761: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8762: ac_tool_warned=yes ;;
                   8763: esac
                   8764:     DLLTOOL=$ac_ct_DLLTOOL
                   8765:   fi
1.128     moko     8766: else
                   8767:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8768: fi
                   8769: 
                   8770:   if test -n "$ac_tool_prefix"; then
                   8771:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8772: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8774: $as_echo_n "checking for $ac_word... " >&6; }
                   8775: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8776:   $as_echo_n "(cached) " >&6
1.128     moko     8777: else
                   8778:   if test -n "$OBJDUMP"; then
                   8779:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8780: else
                   8781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8782: for as_dir in $PATH
                   8783: do
                   8784:   IFS=$as_save_IFS
                   8785:   test -z "$as_dir" && as_dir=.
1.150     moko     8786:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8787:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8788:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8790:     break 2
                   8791:   fi
                   8792: done
1.150     moko     8793:   done
                   8794: IFS=$as_save_IFS
1.128     moko     8795: 
                   8796: fi
                   8797: fi
                   8798: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8799: if test -n "$OBJDUMP"; then
1.150     moko     8800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8801: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8802: else
1.150     moko     8803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8804: $as_echo "no" >&6; }
1.128     moko     8805: fi
                   8806: 
1.150     moko     8807: 
1.128     moko     8808: fi
                   8809: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8810:   ac_ct_OBJDUMP=$OBJDUMP
                   8811:   # Extract the first word of "objdump", so it can be a program name with args.
                   8812: set dummy objdump; ac_word=$2
1.150     moko     8813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8814: $as_echo_n "checking for $ac_word... " >&6; }
                   8815: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8816:   $as_echo_n "(cached) " >&6
1.128     moko     8817: else
                   8818:   if test -n "$ac_ct_OBJDUMP"; then
                   8819:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8820: else
                   8821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8822: for as_dir in $PATH
                   8823: do
                   8824:   IFS=$as_save_IFS
                   8825:   test -z "$as_dir" && as_dir=.
1.150     moko     8826:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8827:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8828:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8829:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8830:     break 2
                   8831:   fi
                   8832: done
1.150     moko     8833:   done
                   8834: IFS=$as_save_IFS
1.128     moko     8835: 
                   8836: fi
                   8837: fi
                   8838: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8839: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8841: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8842: else
1.150     moko     8843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8844: $as_echo "no" >&6; }
1.128     moko     8845: fi
                   8846: 
1.150     moko     8847:   if test "x$ac_ct_OBJDUMP" = x; then
                   8848:     OBJDUMP="false"
                   8849:   else
                   8850:     case $cross_compiling:$ac_tool_warned in
                   8851: yes:)
                   8852: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8853: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8854: ac_tool_warned=yes ;;
                   8855: esac
                   8856:     OBJDUMP=$ac_ct_OBJDUMP
                   8857:   fi
1.128     moko     8858: else
                   8859:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8860: fi
                   8861: 
                   8862:   ;;
                   8863: esac
                   8864: 
                   8865: test -z "$AS" && AS=as
                   8866: 
                   8867: 
                   8868: 
                   8869: 
                   8870: 
                   8871: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8872: 
                   8873: 
                   8874: 
                   8875: 
                   8876: 
                   8877: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8878: 
                   8879: 
                   8880: 
                   8881: 
                   8882: 
1.150     moko     8883: # Check whether --with-pic was given.
                   8884: if test "${with_pic+set}" = set; then :
                   8885:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8886:     case $withval in
                   8887:     yes|no) pic_mode=$withval ;;
                   8888:     *)
                   8889:       pic_mode=default
                   8890:       # Look at the argument we got.  We use all the common list separators.
                   8891:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8892:       for lt_pkg in $withval; do
                   8893:        IFS="$lt_save_ifs"
                   8894:        if test "X$lt_pkg" = "X$lt_p"; then
                   8895:          pic_mode=yes
                   8896:        fi
                   8897:       done
                   8898:       IFS="$lt_save_ifs"
                   8899:       ;;
                   8900:     esac
                   8901: else
                   8902:   pic_mode=default
1.150     moko     8903: fi
                   8904: 
1.145     moko     8905: 
                   8906: test -z "$pic_mode" && pic_mode=no
                   8907: 
                   8908: 
                   8909: 
                   8910: 
                   8911: 
                   8912: 
1.128     moko     8913: 
                   8914: 
                   8915: 
                   8916: 
1.150     moko     8917:             # Check whether --enable-shared was given.
                   8918: if test "${enable_shared+set}" = set; then :
                   8919:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8920:     case $enableval in
                   8921:     yes) enable_shared=yes ;;
                   8922:     no) enable_shared=no ;;
                   8923:     *)
                   8924:       enable_shared=no
                   8925:       # Look at the argument we got.  We use all the common list separators.
                   8926:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8927:       for pkg in $enableval; do
                   8928:        IFS="$lt_save_ifs"
                   8929:        if test "X$pkg" = "X$p"; then
                   8930:          enable_shared=yes
                   8931:        fi
                   8932:       done
                   8933:       IFS="$lt_save_ifs"
                   8934:       ;;
                   8935:     esac
                   8936: else
                   8937:   enable_shared=yes
1.150     moko     8938: fi
                   8939: 
1.128     moko     8940: 
                   8941: 
                   8942: 
                   8943: 
                   8944: 
                   8945: 
                   8946: 
                   8947: 
1.150     moko     8948:   # Check whether --enable-static was given.
                   8949: if test "${enable_static+set}" = set; then :
                   8950:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     8951:     case $enableval in
                   8952:     yes) enable_static=yes ;;
                   8953:     no) enable_static=no ;;
                   8954:     *)
                   8955:      enable_static=no
                   8956:       # Look at the argument we got.  We use all the common list separators.
                   8957:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8958:       for pkg in $enableval; do
                   8959:        IFS="$lt_save_ifs"
                   8960:        if test "X$pkg" = "X$p"; then
                   8961:          enable_static=yes
                   8962:        fi
                   8963:       done
                   8964:       IFS="$lt_save_ifs"
                   8965:       ;;
                   8966:     esac
                   8967: else
                   8968:   enable_static=yes
1.150     moko     8969: fi
                   8970: 
1.138     moko     8971: 
                   8972: 
                   8973: 
                   8974: 
                   8975: 
                   8976: 
                   8977: 
1.128     moko     8978: 
                   8979: 
1.150     moko     8980:   # Check whether --enable-fast-install was given.
                   8981: if test "${enable_fast_install+set}" = set; then :
                   8982:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     8983:     case $enableval in
                   8984:     yes) enable_fast_install=yes ;;
                   8985:     no) enable_fast_install=no ;;
                   8986:     *)
                   8987:       enable_fast_install=no
                   8988:       # Look at the argument we got.  We use all the common list separators.
                   8989:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8990:       for pkg in $enableval; do
                   8991:        IFS="$lt_save_ifs"
                   8992:        if test "X$pkg" = "X$p"; then
                   8993:          enable_fast_install=yes
                   8994:        fi
                   8995:       done
                   8996:       IFS="$lt_save_ifs"
                   8997:       ;;
                   8998:     esac
                   8999: else
                   9000:   enable_fast_install=yes
1.150     moko     9001: fi
                   9002: 
1.128     moko     9003: 
                   9004: 
                   9005: 
                   9006: 
                   9007: 
                   9008: 
                   9009: 
                   9010: 
                   9011: 
                   9012: 
                   9013: # This can be used to rebuild libtool when needed
                   9014: LIBTOOL_DEPS="$ltmain"
                   9015: 
                   9016: # Always use our own libtool.
                   9017: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9018: 
                   9019: 
                   9020: 
                   9021: 
                   9022: 
                   9023: 
                   9024: 
                   9025: 
                   9026: 
                   9027: 
                   9028: 
                   9029: 
                   9030: 
                   9031: 
                   9032: 
                   9033: 
                   9034: 
                   9035: 
                   9036: 
                   9037: 
                   9038: 
                   9039: 
                   9040: 
                   9041: 
                   9042: 
                   9043: 
                   9044: 
                   9045: 
                   9046: 
                   9047: 
                   9048: test -z "$LN_S" && LN_S="ln -s"
                   9049: 
                   9050: 
                   9051: 
                   9052: 
                   9053: 
                   9054: 
                   9055: 
                   9056: 
                   9057: 
                   9058: 
                   9059: 
                   9060: 
                   9061: 
                   9062: 
                   9063: if test -n "${ZSH_VERSION+set}" ; then
                   9064:    setopt NO_GLOB_SUBST
                   9065: fi
                   9066: 
1.150     moko     9067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9068: $as_echo_n "checking for objdir... " >&6; }
                   9069: if ${lt_cv_objdir+:} false; then :
                   9070:   $as_echo_n "(cached) " >&6
1.128     moko     9071: else
                   9072:   rm -f .libs 2>/dev/null
                   9073: mkdir .libs 2>/dev/null
                   9074: if test -d .libs; then
                   9075:   lt_cv_objdir=.libs
                   9076: else
                   9077:   # MS-DOS does not allow filenames that begin with a dot.
                   9078:   lt_cv_objdir=_libs
                   9079: fi
                   9080: rmdir .libs 2>/dev/null
                   9081: fi
1.150     moko     9082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9083: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9084: objdir=$lt_cv_objdir
                   9085: 
                   9086: 
                   9087: 
                   9088: 
                   9089: 
                   9090: cat >>confdefs.h <<_ACEOF
                   9091: #define LT_OBJDIR "$lt_cv_objdir/"
                   9092: _ACEOF
                   9093: 
                   9094: 
                   9095: 
                   9096: 
                   9097: case $host_os in
                   9098: aix3*)
                   9099:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9100:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9101:   # vanish in a puff of smoke.
                   9102:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9103:     COLLECT_NAMES=
                   9104:     export COLLECT_NAMES
                   9105:   fi
                   9106:   ;;
                   9107: esac
                   9108: 
                   9109: # Global variables:
                   9110: ofile=libtool
                   9111: can_build_shared=yes
                   9112: 
                   9113: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9114: # which needs '.lib').
                   9115: libext=a
                   9116: 
                   9117: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9118: 
                   9119: old_CC="$CC"
                   9120: old_CFLAGS="$CFLAGS"
                   9121: 
                   9122: # Set sane defaults for various variables
                   9123: test -z "$CC" && CC=cc
                   9124: test -z "$LTCC" && LTCC=$CC
                   9125: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9126: test -z "$LD" && LD=ld
                   9127: test -z "$ac_objext" && ac_objext=o
                   9128: 
                   9129: for cc_temp in $compiler""; do
                   9130:   case $cc_temp in
                   9131:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9132:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9133:     \-*) ;;
                   9134:     *) break;;
                   9135:   esac
                   9136: done
                   9137: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9138: 
                   9139: 
                   9140: # Only perform the check for file, if the check method requires it
                   9141: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9142: case $deplibs_check_method in
                   9143: file_magic*)
                   9144:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9145:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9146: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9147: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9148:   $as_echo_n "(cached) " >&6
1.128     moko     9149: else
                   9150:   case $MAGIC_CMD in
                   9151: [\\/*] |  ?:[\\/]*)
                   9152:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9153:   ;;
                   9154: *)
                   9155:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9156:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9157:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9158:   for ac_dir in $ac_dummy; do
                   9159:     IFS="$lt_save_ifs"
                   9160:     test -z "$ac_dir" && ac_dir=.
                   9161:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9162:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9163:       if test -n "$file_magic_test_file"; then
                   9164:        case $deplibs_check_method in
                   9165:        "file_magic "*)
                   9166:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9167:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9168:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9169:            $EGREP "$file_magic_regex" > /dev/null; then
                   9170:            :
                   9171:          else
                   9172:            cat <<_LT_EOF 1>&2
                   9173: 
                   9174: *** Warning: the command libtool uses to detect shared libraries,
                   9175: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9176: *** The result is that libtool may fail to recognize shared libraries
                   9177: *** as such.  This will affect the creation of libtool libraries that
                   9178: *** depend on shared libraries, but programs linked with such libtool
                   9179: *** libraries will work regardless of this problem.  Nevertheless, you
                   9180: *** may want to report the problem to your system manager and/or to
                   9181: *** bug-libtool@gnu.org
                   9182: 
                   9183: _LT_EOF
                   9184:          fi ;;
                   9185:        esac
                   9186:       fi
                   9187:       break
                   9188:     fi
                   9189:   done
                   9190:   IFS="$lt_save_ifs"
                   9191:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9192:   ;;
                   9193: esac
                   9194: fi
                   9195: 
                   9196: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9197: if test -n "$MAGIC_CMD"; then
1.150     moko     9198:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9199: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9200: else
1.150     moko     9201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9202: $as_echo "no" >&6; }
1.128     moko     9203: fi
                   9204: 
                   9205: 
                   9206: 
                   9207: 
                   9208: 
                   9209: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9210:   if test -n "$ac_tool_prefix"; then
1.150     moko     9211:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9212: $as_echo_n "checking for file... " >&6; }
                   9213: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9214:   $as_echo_n "(cached) " >&6
1.128     moko     9215: else
                   9216:   case $MAGIC_CMD in
                   9217: [\\/*] |  ?:[\\/]*)
                   9218:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9219:   ;;
                   9220: *)
                   9221:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9222:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9223:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9224:   for ac_dir in $ac_dummy; do
                   9225:     IFS="$lt_save_ifs"
                   9226:     test -z "$ac_dir" && ac_dir=.
                   9227:     if test -f $ac_dir/file; then
                   9228:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9229:       if test -n "$file_magic_test_file"; then
                   9230:        case $deplibs_check_method in
                   9231:        "file_magic "*)
                   9232:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9233:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9234:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9235:            $EGREP "$file_magic_regex" > /dev/null; then
                   9236:            :
                   9237:          else
                   9238:            cat <<_LT_EOF 1>&2
                   9239: 
                   9240: *** Warning: the command libtool uses to detect shared libraries,
                   9241: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9242: *** The result is that libtool may fail to recognize shared libraries
                   9243: *** as such.  This will affect the creation of libtool libraries that
                   9244: *** depend on shared libraries, but programs linked with such libtool
                   9245: *** libraries will work regardless of this problem.  Nevertheless, you
                   9246: *** may want to report the problem to your system manager and/or to
                   9247: *** bug-libtool@gnu.org
                   9248: 
                   9249: _LT_EOF
                   9250:          fi ;;
                   9251:        esac
                   9252:       fi
                   9253:       break
                   9254:     fi
                   9255:   done
                   9256:   IFS="$lt_save_ifs"
                   9257:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9258:   ;;
                   9259: esac
                   9260: fi
                   9261: 
                   9262: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9263: if test -n "$MAGIC_CMD"; then
1.150     moko     9264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9265: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9266: else
1.150     moko     9267:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9268: $as_echo "no" >&6; }
1.128     moko     9269: fi
                   9270: 
                   9271: 
                   9272:   else
                   9273:     MAGIC_CMD=:
                   9274:   fi
                   9275: fi
                   9276: 
                   9277:   fi
                   9278:   ;;
                   9279: esac
                   9280: 
                   9281: # Use C for the default configuration in the libtool script
                   9282: 
                   9283: lt_save_CC="$CC"
                   9284: ac_ext=c
                   9285: ac_cpp='$CPP $CPPFLAGS'
                   9286: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9287: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9288: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9289: 
                   9290: 
                   9291: # Source file extension for C test sources.
                   9292: ac_ext=c
                   9293: 
                   9294: # Object file extension for compiled C test sources.
                   9295: objext=o
                   9296: objext=$objext
                   9297: 
                   9298: # Code to be used in simple compile tests
                   9299: lt_simple_compile_test_code="int some_variable = 0;"
                   9300: 
                   9301: # Code to be used in simple link tests
                   9302: lt_simple_link_test_code='int main(){return(0);}'
                   9303: 
                   9304: 
                   9305: 
                   9306: 
                   9307: 
                   9308: 
                   9309: 
                   9310: # If no C compiler was specified, use CC.
                   9311: LTCC=${LTCC-"$CC"}
                   9312: 
                   9313: # If no C compiler flags were specified, use CFLAGS.
                   9314: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9315: 
                   9316: # Allow CC to be a program name with arguments.
                   9317: compiler=$CC
                   9318: 
                   9319: # Save the default compiler, since it gets overwritten when the other
                   9320: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9321: compiler_DEFAULT=$CC
                   9322: 
                   9323: # save warnings/boilerplate of simple test code
                   9324: ac_outfile=conftest.$ac_objext
                   9325: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9326: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9327: _lt_compiler_boilerplate=`cat conftest.err`
                   9328: $RM conftest*
                   9329: 
                   9330: ac_outfile=conftest.$ac_objext
                   9331: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9332: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9333: _lt_linker_boilerplate=`cat conftest.err`
                   9334: $RM -r conftest*
                   9335: 
                   9336: 
                   9337: ## CAVEAT EMPTOR:
                   9338: ## There is no encapsulation within the following macros, do not change
                   9339: ## the running order or otherwise move them around unless you know exactly
                   9340: ## what you are doing...
                   9341: if test -n "$compiler"; then
                   9342: 
                   9343: lt_prog_compiler_no_builtin_flag=
                   9344: 
                   9345: if test "$GCC" = yes; then
                   9346:   case $cc_basename in
                   9347:   nvcc*)
                   9348:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9349:   *)
                   9350:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9351:   esac
                   9352: 
1.150     moko     9353:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9354: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9355: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9356:   $as_echo_n "(cached) " >&6
1.128     moko     9357: else
                   9358:   lt_cv_prog_compiler_rtti_exceptions=no
                   9359:    ac_outfile=conftest.$ac_objext
                   9360:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9361:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9362:    # Insert the option either (1) after the last *FLAGS variable, or
                   9363:    # (2) before a word containing "conftest.", or (3) at the end.
                   9364:    # Note that $ac_compile itself does not contain backslashes and begins
                   9365:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9366:    # The option is referenced via a variable to avoid confusing sed.
                   9367:    lt_compile=`echo "$ac_compile" | $SED \
                   9368:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9369:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9370:    -e 's:$: $lt_compiler_flag:'`
                   9371:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9372:    (eval "$lt_compile" 2>conftest.err)
                   9373:    ac_status=$?
                   9374:    cat conftest.err >&5
                   9375:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9376:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9377:      # The compiler can only warn and ignore the option if not recognized
                   9378:      # So say no if there are warnings other than the usual output.
                   9379:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9380:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9381:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9382:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9383:      fi
                   9384:    fi
                   9385:    $RM conftest*
                   9386: 
                   9387: fi
1.150     moko     9388: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9389: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9390: 
                   9391: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9392:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9393: else
                   9394:     :
                   9395: fi
                   9396: 
                   9397: fi
                   9398: 
                   9399: 
                   9400: 
                   9401: 
                   9402: 
                   9403: 
                   9404:   lt_prog_compiler_wl=
                   9405: lt_prog_compiler_pic=
                   9406: lt_prog_compiler_static=
                   9407: 
                   9408: 
                   9409:   if test "$GCC" = yes; then
                   9410:     lt_prog_compiler_wl='-Wl,'
                   9411:     lt_prog_compiler_static='-static'
                   9412: 
                   9413:     case $host_os in
                   9414:       aix*)
                   9415:       # All AIX code is PIC.
                   9416:       if test "$host_cpu" = ia64; then
                   9417:        # AIX 5 now supports IA64 processor
                   9418:        lt_prog_compiler_static='-Bstatic'
                   9419:       fi
                   9420:       ;;
                   9421: 
                   9422:     amigaos*)
                   9423:       case $host_cpu in
                   9424:       powerpc)
                   9425:             # see comment about AmigaOS4 .so support
                   9426:             lt_prog_compiler_pic='-fPIC'
                   9427:         ;;
                   9428:       m68k)
                   9429:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9430:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9431:             # like `-m68040'.
                   9432:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9433:         ;;
                   9434:       esac
                   9435:       ;;
                   9436: 
                   9437:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9438:       # PIC is the default for these OSes.
                   9439:       ;;
                   9440: 
                   9441:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9442:       # This hack is so that the source file can tell whether it is being
                   9443:       # built for inclusion in a dll (and should export symbols for example).
                   9444:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9445:       # (--disable-auto-import) libraries
                   9446:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9447:       ;;
                   9448: 
                   9449:     darwin* | rhapsody*)
                   9450:       # PIC is the default on this platform
                   9451:       # Common symbols not allowed in MH_DYLIB files
                   9452:       lt_prog_compiler_pic='-fno-common'
                   9453:       ;;
                   9454: 
                   9455:     haiku*)
                   9456:       # PIC is the default for Haiku.
                   9457:       # The "-static" flag exists, but is broken.
                   9458:       lt_prog_compiler_static=
                   9459:       ;;
                   9460: 
                   9461:     hpux*)
                   9462:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9463:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9464:       # sets the default TLS model and affects inlining.
                   9465:       case $host_cpu in
                   9466:       hppa*64*)
                   9467:        # +Z the default
                   9468:        ;;
                   9469:       *)
                   9470:        lt_prog_compiler_pic='-fPIC'
                   9471:        ;;
                   9472:       esac
                   9473:       ;;
                   9474: 
                   9475:     interix[3-9]*)
                   9476:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9477:       # Instead, we relocate shared libraries at runtime.
                   9478:       ;;
                   9479: 
                   9480:     msdosdjgpp*)
                   9481:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9482:       # on systems that don't support them.
                   9483:       lt_prog_compiler_can_build_shared=no
                   9484:       enable_shared=no
                   9485:       ;;
                   9486: 
                   9487:     *nto* | *qnx*)
                   9488:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9489:       # it will coredump.
                   9490:       lt_prog_compiler_pic='-fPIC -shared'
                   9491:       ;;
                   9492: 
                   9493:     sysv4*MP*)
                   9494:       if test -d /usr/nec; then
                   9495:        lt_prog_compiler_pic=-Kconform_pic
                   9496:       fi
                   9497:       ;;
                   9498: 
                   9499:     *)
                   9500:       lt_prog_compiler_pic='-fPIC'
                   9501:       ;;
                   9502:     esac
                   9503: 
                   9504:     case $cc_basename in
                   9505:     nvcc*) # Cuda Compiler Driver 2.2
                   9506:       lt_prog_compiler_wl='-Xlinker '
                   9507:       if test -n "$lt_prog_compiler_pic"; then
                   9508:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9509:       fi
                   9510:       ;;
                   9511:     esac
                   9512:   else
                   9513:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9514:     case $host_os in
                   9515:     aix*)
                   9516:       lt_prog_compiler_wl='-Wl,'
                   9517:       if test "$host_cpu" = ia64; then
                   9518:        # AIX 5 now supports IA64 processor
                   9519:        lt_prog_compiler_static='-Bstatic'
                   9520:       else
                   9521:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9522:       fi
                   9523:       ;;
                   9524: 
                   9525:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9526:       # This hack is so that the source file can tell whether it is being
                   9527:       # built for inclusion in a dll (and should export symbols for example).
                   9528:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9529:       ;;
                   9530: 
                   9531:     hpux9* | hpux10* | hpux11*)
                   9532:       lt_prog_compiler_wl='-Wl,'
                   9533:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9534:       # not for PA HP-UX.
                   9535:       case $host_cpu in
                   9536:       hppa*64*|ia64*)
                   9537:        # +Z the default
                   9538:        ;;
                   9539:       *)
                   9540:        lt_prog_compiler_pic='+Z'
                   9541:        ;;
                   9542:       esac
                   9543:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9544:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9545:       ;;
                   9546: 
                   9547:     irix5* | irix6* | nonstopux*)
                   9548:       lt_prog_compiler_wl='-Wl,'
                   9549:       # PIC (with -KPIC) is the default.
                   9550:       lt_prog_compiler_static='-non_shared'
                   9551:       ;;
                   9552: 
                   9553:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9554:       case $cc_basename in
                   9555:       # old Intel for x86_64 which still supported -KPIC.
                   9556:       ecc*)
                   9557:        lt_prog_compiler_wl='-Wl,'
                   9558:        lt_prog_compiler_pic='-KPIC'
                   9559:        lt_prog_compiler_static='-static'
                   9560:         ;;
                   9561:       # icc used to be incompatible with GCC.
                   9562:       # ICC 10 doesn't accept -KPIC any more.
                   9563:       icc* | ifort*)
                   9564:        lt_prog_compiler_wl='-Wl,'
                   9565:        lt_prog_compiler_pic='-fPIC'
                   9566:        lt_prog_compiler_static='-static'
                   9567:         ;;
                   9568:       # Lahey Fortran 8.1.
                   9569:       lf95*)
                   9570:        lt_prog_compiler_wl='-Wl,'
                   9571:        lt_prog_compiler_pic='--shared'
                   9572:        lt_prog_compiler_static='--static'
                   9573:        ;;
                   9574:       nagfor*)
                   9575:        # NAG Fortran compiler
                   9576:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9577:        lt_prog_compiler_pic='-PIC'
                   9578:        lt_prog_compiler_static='-Bstatic'
                   9579:        ;;
                   9580:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9581:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9582:        # which looks to be a dead project)
                   9583:        lt_prog_compiler_wl='-Wl,'
                   9584:        lt_prog_compiler_pic='-fpic'
                   9585:        lt_prog_compiler_static='-Bstatic'
                   9586:         ;;
                   9587:       ccc*)
                   9588:         lt_prog_compiler_wl='-Wl,'
                   9589:         # All Alpha code is PIC.
                   9590:         lt_prog_compiler_static='-non_shared'
                   9591:         ;;
                   9592:       xl* | bgxl* | bgf* | mpixl*)
                   9593:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9594:        lt_prog_compiler_wl='-Wl,'
                   9595:        lt_prog_compiler_pic='-qpic'
                   9596:        lt_prog_compiler_static='-qstaticlink'
                   9597:        ;;
                   9598:       *)
                   9599:        case `$CC -V 2>&1 | sed 5q` in
                   9600:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9601:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9602:          lt_prog_compiler_pic='-KPIC'
                   9603:          lt_prog_compiler_static='-Bstatic'
                   9604:          lt_prog_compiler_wl=''
                   9605:          ;;
                   9606:        *Sun\ F* | *Sun*Fortran*)
                   9607:          lt_prog_compiler_pic='-KPIC'
                   9608:          lt_prog_compiler_static='-Bstatic'
                   9609:          lt_prog_compiler_wl='-Qoption ld '
                   9610:          ;;
                   9611:        *Sun\ C*)
                   9612:          # Sun C 5.9
                   9613:          lt_prog_compiler_pic='-KPIC'
                   9614:          lt_prog_compiler_static='-Bstatic'
                   9615:          lt_prog_compiler_wl='-Wl,'
                   9616:          ;;
                   9617:         *Intel*\ [CF]*Compiler*)
                   9618:          lt_prog_compiler_wl='-Wl,'
                   9619:          lt_prog_compiler_pic='-fPIC'
                   9620:          lt_prog_compiler_static='-static'
                   9621:          ;;
                   9622:        *Portland\ Group*)
                   9623:          lt_prog_compiler_wl='-Wl,'
                   9624:          lt_prog_compiler_pic='-fpic'
                   9625:          lt_prog_compiler_static='-Bstatic'
                   9626:          ;;
                   9627:        esac
                   9628:        ;;
                   9629:       esac
                   9630:       ;;
                   9631: 
                   9632:     newsos6)
                   9633:       lt_prog_compiler_pic='-KPIC'
                   9634:       lt_prog_compiler_static='-Bstatic'
                   9635:       ;;
                   9636: 
                   9637:     *nto* | *qnx*)
                   9638:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9639:       # it will coredump.
                   9640:       lt_prog_compiler_pic='-fPIC -shared'
                   9641:       ;;
                   9642: 
                   9643:     osf3* | osf4* | osf5*)
                   9644:       lt_prog_compiler_wl='-Wl,'
                   9645:       # All OSF/1 code is PIC.
                   9646:       lt_prog_compiler_static='-non_shared'
                   9647:       ;;
                   9648: 
                   9649:     rdos*)
                   9650:       lt_prog_compiler_static='-non_shared'
                   9651:       ;;
                   9652: 
                   9653:     solaris*)
                   9654:       lt_prog_compiler_pic='-KPIC'
                   9655:       lt_prog_compiler_static='-Bstatic'
                   9656:       case $cc_basename in
                   9657:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9658:        lt_prog_compiler_wl='-Qoption ld ';;
                   9659:       *)
                   9660:        lt_prog_compiler_wl='-Wl,';;
                   9661:       esac
                   9662:       ;;
                   9663: 
                   9664:     sunos4*)
                   9665:       lt_prog_compiler_wl='-Qoption ld '
                   9666:       lt_prog_compiler_pic='-PIC'
                   9667:       lt_prog_compiler_static='-Bstatic'
                   9668:       ;;
                   9669: 
                   9670:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9671:       lt_prog_compiler_wl='-Wl,'
                   9672:       lt_prog_compiler_pic='-KPIC'
                   9673:       lt_prog_compiler_static='-Bstatic'
                   9674:       ;;
                   9675: 
                   9676:     sysv4*MP*)
                   9677:       if test -d /usr/nec ;then
                   9678:        lt_prog_compiler_pic='-Kconform_pic'
                   9679:        lt_prog_compiler_static='-Bstatic'
                   9680:       fi
                   9681:       ;;
                   9682: 
                   9683:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9684:       lt_prog_compiler_wl='-Wl,'
                   9685:       lt_prog_compiler_pic='-KPIC'
                   9686:       lt_prog_compiler_static='-Bstatic'
                   9687:       ;;
                   9688: 
                   9689:     unicos*)
                   9690:       lt_prog_compiler_wl='-Wl,'
                   9691:       lt_prog_compiler_can_build_shared=no
                   9692:       ;;
                   9693: 
                   9694:     uts4*)
                   9695:       lt_prog_compiler_pic='-pic'
                   9696:       lt_prog_compiler_static='-Bstatic'
                   9697:       ;;
                   9698: 
                   9699:     *)
                   9700:       lt_prog_compiler_can_build_shared=no
                   9701:       ;;
                   9702:     esac
                   9703:   fi
                   9704: 
                   9705: case $host_os in
                   9706:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9707:   *djgpp*)
                   9708:     lt_prog_compiler_pic=
                   9709:     ;;
                   9710:   *)
                   9711:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9712:     ;;
                   9713: esac
                   9714: 
1.150     moko     9715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9716: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9717: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9718:   $as_echo_n "(cached) " >&6
1.128     moko     9719: else
                   9720:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9721: fi
1.150     moko     9722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9723: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9724: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9725: 
                   9726: #
                   9727: # Check to make sure the PIC flag actually works.
                   9728: #
                   9729: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9730:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9731: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9732: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9733:   $as_echo_n "(cached) " >&6
1.128     moko     9734: else
                   9735:   lt_cv_prog_compiler_pic_works=no
                   9736:    ac_outfile=conftest.$ac_objext
                   9737:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9738:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9739:    # Insert the option either (1) after the last *FLAGS variable, or
                   9740:    # (2) before a word containing "conftest.", or (3) at the end.
                   9741:    # Note that $ac_compile itself does not contain backslashes and begins
                   9742:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9743:    # The option is referenced via a variable to avoid confusing sed.
                   9744:    lt_compile=`echo "$ac_compile" | $SED \
                   9745:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9746:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9747:    -e 's:$: $lt_compiler_flag:'`
                   9748:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9749:    (eval "$lt_compile" 2>conftest.err)
                   9750:    ac_status=$?
                   9751:    cat conftest.err >&5
                   9752:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9753:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9754:      # The compiler can only warn and ignore the option if not recognized
                   9755:      # So say no if there are warnings other than the usual output.
                   9756:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9757:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9758:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9759:        lt_cv_prog_compiler_pic_works=yes
                   9760:      fi
                   9761:    fi
                   9762:    $RM conftest*
                   9763: 
                   9764: fi
1.150     moko     9765: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9766: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9767: 
                   9768: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9769:     case $lt_prog_compiler_pic in
                   9770:      "" | " "*) ;;
                   9771:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9772:      esac
                   9773: else
                   9774:     lt_prog_compiler_pic=
                   9775:      lt_prog_compiler_can_build_shared=no
                   9776: fi
                   9777: 
                   9778: fi
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
                   9784: 
                   9785: 
                   9786: 
                   9787: 
                   9788: 
                   9789: 
                   9790: #
                   9791: # Check to make sure the static flag actually works.
                   9792: #
                   9793: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9795: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9796: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9797:   $as_echo_n "(cached) " >&6
1.128     moko     9798: else
                   9799:   lt_cv_prog_compiler_static_works=no
                   9800:    save_LDFLAGS="$LDFLAGS"
                   9801:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9802:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9803:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9804:      # The linker can only warn and ignore the option if not recognized
                   9805:      # So say no if there are warnings
                   9806:      if test -s conftest.err; then
                   9807:        # Append any errors to the config.log.
                   9808:        cat conftest.err 1>&5
                   9809:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9810:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9811:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9812:          lt_cv_prog_compiler_static_works=yes
                   9813:        fi
                   9814:      else
                   9815:        lt_cv_prog_compiler_static_works=yes
                   9816:      fi
                   9817:    fi
                   9818:    $RM -r conftest*
                   9819:    LDFLAGS="$save_LDFLAGS"
                   9820: 
                   9821: fi
1.150     moko     9822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9823: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9824: 
                   9825: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9826:     :
                   9827: else
                   9828:     lt_prog_compiler_static=
                   9829: fi
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
1.150     moko     9837:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9838: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9839: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9840:   $as_echo_n "(cached) " >&6
1.128     moko     9841: else
                   9842:   lt_cv_prog_compiler_c_o=no
                   9843:    $RM -r conftest 2>/dev/null
                   9844:    mkdir conftest
                   9845:    cd conftest
                   9846:    mkdir out
                   9847:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9848: 
                   9849:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9850:    # Insert the option either (1) after the last *FLAGS variable, or
                   9851:    # (2) before a word containing "conftest.", or (3) at the end.
                   9852:    # Note that $ac_compile itself does not contain backslashes and begins
                   9853:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9854:    lt_compile=`echo "$ac_compile" | $SED \
                   9855:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9856:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9857:    -e 's:$: $lt_compiler_flag:'`
                   9858:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9859:    (eval "$lt_compile" 2>out/conftest.err)
                   9860:    ac_status=$?
                   9861:    cat out/conftest.err >&5
                   9862:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9863:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9864:    then
                   9865:      # The compiler can only warn and ignore the option if not recognized
                   9866:      # So say no if there are warnings
                   9867:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9868:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9869:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9870:        lt_cv_prog_compiler_c_o=yes
                   9871:      fi
                   9872:    fi
                   9873:    chmod u+w . 2>&5
                   9874:    $RM conftest*
                   9875:    # SGI C++ compiler will create directory out/ii_files/ for
                   9876:    # template instantiation
                   9877:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9878:    $RM out/* && rmdir out
                   9879:    cd ..
                   9880:    $RM -r conftest
                   9881:    $RM conftest*
                   9882: 
                   9883: fi
1.150     moko     9884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9885: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
1.150     moko     9892:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9893: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9894: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9895:   $as_echo_n "(cached) " >&6
1.128     moko     9896: else
                   9897:   lt_cv_prog_compiler_c_o=no
                   9898:    $RM -r conftest 2>/dev/null
                   9899:    mkdir conftest
                   9900:    cd conftest
                   9901:    mkdir out
                   9902:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9903: 
                   9904:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9905:    # Insert the option either (1) after the last *FLAGS variable, or
                   9906:    # (2) before a word containing "conftest.", or (3) at the end.
                   9907:    # Note that $ac_compile itself does not contain backslashes and begins
                   9908:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9909:    lt_compile=`echo "$ac_compile" | $SED \
                   9910:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9911:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9912:    -e 's:$: $lt_compiler_flag:'`
                   9913:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9914:    (eval "$lt_compile" 2>out/conftest.err)
                   9915:    ac_status=$?
                   9916:    cat out/conftest.err >&5
                   9917:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9918:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9919:    then
                   9920:      # The compiler can only warn and ignore the option if not recognized
                   9921:      # So say no if there are warnings
                   9922:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9923:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9924:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9925:        lt_cv_prog_compiler_c_o=yes
                   9926:      fi
                   9927:    fi
                   9928:    chmod u+w . 2>&5
                   9929:    $RM conftest*
                   9930:    # SGI C++ compiler will create directory out/ii_files/ for
                   9931:    # template instantiation
                   9932:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9933:    $RM out/* && rmdir out
                   9934:    cd ..
                   9935:    $RM -r conftest
                   9936:    $RM conftest*
                   9937: 
                   9938: fi
1.150     moko     9939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9940: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9941: 
                   9942: 
                   9943: 
                   9944: 
                   9945: hard_links="nottested"
                   9946: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9947:   # do not overwrite the value of need_locks provided by the user
1.150     moko     9948:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9949: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     9950:   hard_links=yes
                   9951:   $RM conftest*
                   9952:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9953:   touch conftest.a
                   9954:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9955:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     9956:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9957: $as_echo "$hard_links" >&6; }
1.128     moko     9958:   if test "$hard_links" = no; then
1.150     moko     9959:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9960: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     9961:     need_locks=warn
                   9962:   fi
                   9963: else
                   9964:   need_locks=no
                   9965: fi
                   9966: 
                   9967: 
                   9968: 
                   9969: 
                   9970: 
                   9971: 
1.150     moko     9972:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9973: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     9974: 
                   9975:   runpath_var=
                   9976:   allow_undefined_flag=
                   9977:   always_export_symbols=no
                   9978:   archive_cmds=
                   9979:   archive_expsym_cmds=
                   9980:   compiler_needs_object=no
                   9981:   enable_shared_with_static_runtimes=no
                   9982:   export_dynamic_flag_spec=
                   9983:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9984:   hardcode_automatic=no
                   9985:   hardcode_direct=no
                   9986:   hardcode_direct_absolute=no
                   9987:   hardcode_libdir_flag_spec=
                   9988:   hardcode_libdir_separator=
                   9989:   hardcode_minus_L=no
                   9990:   hardcode_shlibpath_var=unsupported
                   9991:   inherit_rpath=no
                   9992:   link_all_deplibs=unknown
                   9993:   module_cmds=
                   9994:   module_expsym_cmds=
                   9995:   old_archive_from_new_cmds=
                   9996:   old_archive_from_expsyms_cmds=
                   9997:   thread_safe_flag_spec=
                   9998:   whole_archive_flag_spec=
                   9999:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10000:   # included in the symbol list
                   10001:   include_expsyms=
                   10002:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10003:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10004:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10005:   # as well as any symbol that contains `d'.
                   10006:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10007:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10008:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10009:   # the symbol is explicitly referenced.  Since portable code cannot
                   10010:   # rely on this symbol name, it's probably fine to never include it in
                   10011:   # preloaded symbol tables.
                   10012:   # Exclude shared library initialization/finalization symbols.
                   10013:   extract_expsyms_cmds=
                   10014: 
                   10015:   case $host_os in
                   10016:   cygwin* | mingw* | pw32* | cegcc*)
                   10017:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10018:     # When not using gcc, we currently assume that we are using
                   10019:     # Microsoft Visual C++.
                   10020:     if test "$GCC" != yes; then
                   10021:       with_gnu_ld=no
                   10022:     fi
                   10023:     ;;
                   10024:   interix*)
                   10025:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10026:     with_gnu_ld=yes
                   10027:     ;;
                   10028:   openbsd*)
                   10029:     with_gnu_ld=no
                   10030:     ;;
                   10031:   esac
                   10032: 
                   10033:   ld_shlibs=yes
                   10034: 
                   10035:   # On some targets, GNU ld is compatible enough with the native linker
                   10036:   # that we're better off using the native interface for both.
                   10037:   lt_use_gnu_ld_interface=no
                   10038:   if test "$with_gnu_ld" = yes; then
                   10039:     case $host_os in
                   10040:       aix*)
                   10041:        # The AIX port of GNU ld has always aspired to compatibility
                   10042:        # with the native linker.  However, as the warning in the GNU ld
                   10043:        # block says, versions before 2.19.5* couldn't really create working
                   10044:        # shared libraries, regardless of the interface used.
                   10045:        case `$LD -v 2>&1` in
                   10046:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10047:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10048:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10049:          *)
                   10050:            lt_use_gnu_ld_interface=yes
                   10051:            ;;
                   10052:        esac
                   10053:        ;;
                   10054:       *)
                   10055:        lt_use_gnu_ld_interface=yes
                   10056:        ;;
                   10057:     esac
                   10058:   fi
                   10059: 
                   10060:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10061:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10062:     wlarc='${wl}'
                   10063: 
                   10064:     # Set some defaults for GNU ld with shared library support. These
                   10065:     # are reset later if shared libraries are not supported. Putting them
                   10066:     # here allows them to be overridden if necessary.
                   10067:     runpath_var=LD_RUN_PATH
                   10068:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10069:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10070:     # ancient GNU ld didn't support --whole-archive et. al.
                   10071:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10072:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10073:     else
                   10074:       whole_archive_flag_spec=
                   10075:     fi
                   10076:     supports_anon_versioning=no
                   10077:     case `$LD -v 2>&1` in
                   10078:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10079:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10080:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10081:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10082:       *\ 2.11.*) ;; # other 2.11 versions
                   10083:       *) supports_anon_versioning=yes ;;
                   10084:     esac
                   10085: 
                   10086:     # See if GNU ld supports shared libraries.
                   10087:     case $host_os in
                   10088:     aix[3-9]*)
                   10089:       # On AIX/PPC, the GNU linker is very broken
                   10090:       if test "$host_cpu" != ia64; then
                   10091:        ld_shlibs=no
                   10092:        cat <<_LT_EOF 1>&2
                   10093: 
                   10094: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10095: *** to be unable to reliably create shared libraries on AIX.
                   10096: *** Therefore, libtool is disabling shared libraries support.  If you
                   10097: *** really care for shared libraries, you may want to install binutils
                   10098: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10099: *** You will then need to restart the configuration process.
                   10100: 
                   10101: _LT_EOF
                   10102:       fi
                   10103:       ;;
                   10104: 
                   10105:     amigaos*)
                   10106:       case $host_cpu in
                   10107:       powerpc)
                   10108:             # see comment about AmigaOS4 .so support
                   10109:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10110:             archive_expsym_cmds=''
                   10111:         ;;
                   10112:       m68k)
                   10113:             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)'
                   10114:             hardcode_libdir_flag_spec='-L$libdir'
                   10115:             hardcode_minus_L=yes
                   10116:         ;;
                   10117:       esac
                   10118:       ;;
                   10119: 
                   10120:     beos*)
                   10121:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10122:        allow_undefined_flag=unsupported
                   10123:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10124:        # support --undefined.  This deserves some investigation.  FIXME
                   10125:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10126:       else
                   10127:        ld_shlibs=no
                   10128:       fi
                   10129:       ;;
                   10130: 
                   10131:     cygwin* | mingw* | pw32* | cegcc*)
                   10132:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10133:       # as there is no search path for DLLs.
                   10134:       hardcode_libdir_flag_spec='-L$libdir'
                   10135:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10136:       allow_undefined_flag=unsupported
                   10137:       always_export_symbols=no
                   10138:       enable_shared_with_static_runtimes=yes
                   10139:       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'
                   10140:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10141: 
                   10142:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10143:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10144:        # If the export-symbols file already is a .def file (1st line
                   10145:        # is EXPORTS), use it as is; otherwise, prepend...
                   10146:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10147:          cp $export_symbols $output_objdir/$soname.def;
                   10148:        else
                   10149:          echo EXPORTS > $output_objdir/$soname.def;
                   10150:          cat $export_symbols >> $output_objdir/$soname.def;
                   10151:        fi~
                   10152:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10153:       else
                   10154:        ld_shlibs=no
                   10155:       fi
                   10156:       ;;
                   10157: 
                   10158:     haiku*)
                   10159:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10160:       link_all_deplibs=yes
                   10161:       ;;
                   10162: 
                   10163:     interix[3-9]*)
                   10164:       hardcode_direct=no
                   10165:       hardcode_shlibpath_var=no
                   10166:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10167:       export_dynamic_flag_spec='${wl}-E'
                   10168:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10169:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10170:       # default) and relocated if they conflict, which is a slow very memory
                   10171:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10172:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10173:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10174:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10175:       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'
                   10176:       ;;
                   10177: 
                   10178:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10179:       tmp_diet=no
                   10180:       if test "$host_os" = linux-dietlibc; then
                   10181:        case $cc_basename in
                   10182:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10183:        esac
                   10184:       fi
                   10185:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10186:         && test "$tmp_diet" = no
                   10187:       then
                   10188:        tmp_addflag=' $pic_flag'
                   10189:        tmp_sharedflag='-shared'
                   10190:        case $cc_basename,$host_cpu in
                   10191:         pgcc*)                         # Portland Group C compiler
                   10192:          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'
                   10193:          tmp_addflag=' $pic_flag'
                   10194:          ;;
                   10195:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10196:                                        # Portland Group f77 and f90 compilers
                   10197:          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'
                   10198:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10199:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10200:          tmp_addflag=' -i_dynamic' ;;
                   10201:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10202:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10203:        ifc* | ifort*)                  # Intel Fortran compiler
                   10204:          tmp_addflag=' -nofor_main' ;;
                   10205:        lf95*)                          # Lahey Fortran 8.1
                   10206:          whole_archive_flag_spec=
                   10207:          tmp_sharedflag='--shared' ;;
                   10208:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10209:          tmp_sharedflag='-qmkshrobj'
                   10210:          tmp_addflag= ;;
                   10211:        nvcc*)  # Cuda Compiler Driver 2.2
                   10212:          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'
                   10213:          compiler_needs_object=yes
                   10214:          ;;
                   10215:        esac
                   10216:        case `$CC -V 2>&1 | sed 5q` in
                   10217:        *Sun\ C*)                       # Sun C 5.9
                   10218:          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'
                   10219:          compiler_needs_object=yes
                   10220:          tmp_sharedflag='-G' ;;
                   10221:        *Sun\ F*)                       # Sun Fortran 8.3
                   10222:          tmp_sharedflag='-G' ;;
                   10223:        esac
                   10224:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10225: 
                   10226:         if test "x$supports_anon_versioning" = xyes; then
                   10227:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10228:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10229:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10230:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10231:         fi
                   10232: 
                   10233:        case $cc_basename in
                   10234:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10235:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10236:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10237:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10238:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10239:          if test "x$supports_anon_versioning" = xyes; then
                   10240:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10241:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10242:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10243:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10244:          fi
                   10245:          ;;
                   10246:        esac
                   10247:       else
                   10248:         ld_shlibs=no
                   10249:       fi
                   10250:       ;;
                   10251: 
                   10252:     netbsd*)
                   10253:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10254:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10255:        wlarc=
                   10256:       else
                   10257:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10258:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10259:       fi
                   10260:       ;;
                   10261: 
                   10262:     solaris*)
                   10263:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10264:        ld_shlibs=no
                   10265:        cat <<_LT_EOF 1>&2
                   10266: 
                   10267: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10268: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10269: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10270: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10271: *** your PATH or compiler configuration so that the native linker is
                   10272: *** used, and then restart.
                   10273: 
                   10274: _LT_EOF
                   10275:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10276:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10277:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10278:       else
                   10279:        ld_shlibs=no
                   10280:       fi
                   10281:       ;;
                   10282: 
                   10283:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10284:       case `$LD -v 2>&1` in
                   10285:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10286:        ld_shlibs=no
                   10287:        cat <<_LT_EOF 1>&2
                   10288: 
                   10289: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10290: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10291: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10292: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10293: *** your PATH or compiler configuration so that the native linker is
                   10294: *** used, and then restart.
                   10295: 
                   10296: _LT_EOF
                   10297:        ;;
                   10298:        *)
                   10299:          # For security reasons, it is highly recommended that you always
                   10300:          # use absolute paths for naming shared libraries, and exclude the
                   10301:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10302:          # requires that you compile everything twice, which is a pain.
                   10303:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10304:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10305:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10306:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10307:          else
                   10308:            ld_shlibs=no
                   10309:          fi
                   10310:        ;;
                   10311:       esac
                   10312:       ;;
                   10313: 
                   10314:     sunos4*)
                   10315:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10316:       wlarc=
                   10317:       hardcode_direct=yes
                   10318:       hardcode_shlibpath_var=no
                   10319:       ;;
                   10320: 
                   10321:     *)
                   10322:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10323:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10324:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10325:       else
                   10326:        ld_shlibs=no
                   10327:       fi
                   10328:       ;;
                   10329:     esac
                   10330: 
                   10331:     if test "$ld_shlibs" = no; then
                   10332:       runpath_var=
                   10333:       hardcode_libdir_flag_spec=
                   10334:       export_dynamic_flag_spec=
                   10335:       whole_archive_flag_spec=
                   10336:     fi
                   10337:   else
                   10338:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10339:     case $host_os in
                   10340:     aix3*)
                   10341:       allow_undefined_flag=unsupported
                   10342:       always_export_symbols=yes
                   10343:       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'
                   10344:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10345:       # are no directories specified by -L.
                   10346:       hardcode_minus_L=yes
                   10347:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10348:        # Neither direct hardcoding nor static linking is supported with a
                   10349:        # broken collect2.
                   10350:        hardcode_direct=unsupported
                   10351:       fi
                   10352:       ;;
                   10353: 
                   10354:     aix[4-9]*)
                   10355:       if test "$host_cpu" = ia64; then
                   10356:        # On IA64, the linker does run time linking by default, so we don't
                   10357:        # have to do anything special.
                   10358:        aix_use_runtimelinking=no
                   10359:        exp_sym_flag='-Bexport'
                   10360:        no_entry_flag=""
                   10361:       else
                   10362:        # If we're using GNU nm, then we don't want the "-C" option.
                   10363:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10364:        # Also, AIX nm treats weak defined symbols like other global
                   10365:        # defined symbols, whereas GNU nm marks them as "W".
                   10366:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10367:          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'
                   10368:        else
                   10369:          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'
                   10370:        fi
                   10371:        aix_use_runtimelinking=no
                   10372: 
                   10373:        # Test if we are trying to use run time linking or normal
                   10374:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10375:        # need to do runtime linking.
                   10376:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10377:          for ld_flag in $LDFLAGS; do
                   10378:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10379:            aix_use_runtimelinking=yes
                   10380:            break
                   10381:          fi
                   10382:          done
                   10383:          ;;
                   10384:        esac
                   10385: 
                   10386:        exp_sym_flag='-bexport'
                   10387:        no_entry_flag='-bnoentry'
                   10388:       fi
                   10389: 
                   10390:       # When large executables or shared objects are built, AIX ld can
                   10391:       # have problems creating the table of contents.  If linking a library
                   10392:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10393:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10394:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10395: 
                   10396:       archive_cmds=''
                   10397:       hardcode_direct=yes
                   10398:       hardcode_direct_absolute=yes
                   10399:       hardcode_libdir_separator=':'
                   10400:       link_all_deplibs=yes
                   10401:       file_list_spec='${wl}-f,'
                   10402: 
                   10403:       if test "$GCC" = yes; then
                   10404:        case $host_os in aix4.[012]|aix4.[012].*)
                   10405:        # We only want to do this on AIX 4.2 and lower, the check
                   10406:        # below for broken collect2 doesn't work under 4.3+
                   10407:          collect2name=`${CC} -print-prog-name=collect2`
                   10408:          if test -f "$collect2name" &&
                   10409:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10410:          then
                   10411:          # We have reworked collect2
                   10412:          :
                   10413:          else
                   10414:          # We have old collect2
                   10415:          hardcode_direct=unsupported
                   10416:          # It fails to find uninstalled libraries when the uninstalled
                   10417:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10418:          # to unsupported forces relinking
                   10419:          hardcode_minus_L=yes
                   10420:          hardcode_libdir_flag_spec='-L$libdir'
                   10421:          hardcode_libdir_separator=
                   10422:          fi
                   10423:          ;;
                   10424:        esac
                   10425:        shared_flag='-shared'
                   10426:        if test "$aix_use_runtimelinking" = yes; then
                   10427:          shared_flag="$shared_flag "'${wl}-G'
                   10428:        fi
                   10429:       else
                   10430:        # not using gcc
                   10431:        if test "$host_cpu" = ia64; then
                   10432:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10433:        # chokes on -Wl,-G. The following line is correct:
                   10434:          shared_flag='-G'
                   10435:        else
                   10436:          if test "$aix_use_runtimelinking" = yes; then
                   10437:            shared_flag='${wl}-G'
                   10438:          else
                   10439:            shared_flag='${wl}-bM:SRE'
                   10440:          fi
                   10441:        fi
                   10442:       fi
                   10443: 
                   10444:       export_dynamic_flag_spec='${wl}-bexpall'
                   10445:       # It seems that -bexpall does not export symbols beginning with
                   10446:       # underscore (_), so it is better to generate a list of symbols to export.
                   10447:       always_export_symbols=yes
                   10448:       if test "$aix_use_runtimelinking" = yes; then
                   10449:        # Warning - without using the other runtime loading flags (-brtl),
                   10450:        # -berok will link without error, but may produce a broken library.
                   10451:        allow_undefined_flag='-berok'
                   10452:         # Determine the default libpath from the value encoded in an
                   10453:         # empty executable.
                   10454:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10455:   aix_libpath=$lt_cv_aix_libpath
                   10456: else
1.150     moko     10457:   if ${lt_cv_aix_libpath_+:} false; then :
                   10458:   $as_echo_n "(cached) " >&6
1.128     moko     10459: else
1.150     moko     10460:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10461: /* end confdefs.h.  */
                   10462: 
                   10463: int
                   10464: main ()
                   10465: {
                   10466: 
                   10467:   ;
                   10468:   return 0;
                   10469: }
                   10470: _ACEOF
1.150     moko     10471: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10472: 
                   10473:   lt_aix_libpath_sed='
                   10474:       /Import File Strings/,/^$/ {
                   10475:          /^0/ {
                   10476:              s/^0  *\([^ ]*\) *$/\1/
                   10477:              p
                   10478:          }
                   10479:       }'
                   10480:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10481:   # Check for a 64-bit object if we didn't find anything.
                   10482:   if test -z "$lt_cv_aix_libpath_"; then
                   10483:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10484:   fi
                   10485: fi
1.150     moko     10486: rm -f core conftest.err conftest.$ac_objext \
                   10487:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10488:   if test -z "$lt_cv_aix_libpath_"; then
                   10489:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10490:   fi
                   10491: 
                   10492: fi
                   10493: 
                   10494:   aix_libpath=$lt_cv_aix_libpath_
                   10495: fi
                   10496: 
                   10497:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10498:         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"
                   10499:       else
                   10500:        if test "$host_cpu" = ia64; then
                   10501:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10502:          allow_undefined_flag="-z nodefs"
                   10503:          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"
                   10504:        else
                   10505:         # Determine the default libpath from the value encoded in an
                   10506:         # empty executable.
                   10507:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10508:   aix_libpath=$lt_cv_aix_libpath
                   10509: else
1.150     moko     10510:   if ${lt_cv_aix_libpath_+:} false; then :
                   10511:   $as_echo_n "(cached) " >&6
1.128     moko     10512: else
1.150     moko     10513:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10514: /* end confdefs.h.  */
                   10515: 
                   10516: int
                   10517: main ()
                   10518: {
                   10519: 
                   10520:   ;
                   10521:   return 0;
                   10522: }
                   10523: _ACEOF
1.150     moko     10524: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10525: 
                   10526:   lt_aix_libpath_sed='
                   10527:       /Import File Strings/,/^$/ {
                   10528:          /^0/ {
                   10529:              s/^0  *\([^ ]*\) *$/\1/
                   10530:              p
                   10531:          }
                   10532:       }'
                   10533:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10534:   # Check for a 64-bit object if we didn't find anything.
                   10535:   if test -z "$lt_cv_aix_libpath_"; then
                   10536:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10537:   fi
                   10538: fi
1.150     moko     10539: rm -f core conftest.err conftest.$ac_objext \
                   10540:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10541:   if test -z "$lt_cv_aix_libpath_"; then
                   10542:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10543:   fi
                   10544: 
                   10545: fi
                   10546: 
                   10547:   aix_libpath=$lt_cv_aix_libpath_
                   10548: fi
                   10549: 
                   10550:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10551:          # Warning - without using the other run time loading flags,
                   10552:          # -berok will link without error, but may produce a broken library.
                   10553:          no_undefined_flag=' ${wl}-bernotok'
                   10554:          allow_undefined_flag=' ${wl}-berok'
                   10555:          if test "$with_gnu_ld" = yes; then
                   10556:            # We only use this code for GNU lds that support --whole-archive.
                   10557:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10558:          else
                   10559:            # Exported symbols can be pulled into shared objects from archives
                   10560:            whole_archive_flag_spec='$convenience'
                   10561:          fi
                   10562:          archive_cmds_need_lc=yes
                   10563:          # This is similar to how AIX traditionally builds its shared libraries.
                   10564:          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'
                   10565:        fi
                   10566:       fi
                   10567:       ;;
                   10568: 
                   10569:     amigaos*)
                   10570:       case $host_cpu in
                   10571:       powerpc)
                   10572:             # see comment about AmigaOS4 .so support
                   10573:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10574:             archive_expsym_cmds=''
                   10575:         ;;
                   10576:       m68k)
                   10577:             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)'
                   10578:             hardcode_libdir_flag_spec='-L$libdir'
                   10579:             hardcode_minus_L=yes
                   10580:         ;;
                   10581:       esac
                   10582:       ;;
                   10583: 
                   10584:     bsdi[45]*)
                   10585:       export_dynamic_flag_spec=-rdynamic
                   10586:       ;;
                   10587: 
                   10588:     cygwin* | mingw* | pw32* | cegcc*)
                   10589:       # When not using gcc, we currently assume that we are using
                   10590:       # Microsoft Visual C++.
                   10591:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10592:       # no search path for DLLs.
                   10593:       case $cc_basename in
                   10594:       cl*)
                   10595:        # Native MSVC
                   10596:        hardcode_libdir_flag_spec=' '
                   10597:        allow_undefined_flag=unsupported
                   10598:        always_export_symbols=yes
                   10599:        file_list_spec='@'
                   10600:        # Tell ltmain to make .lib files, not .a files.
                   10601:        libext=lib
                   10602:        # Tell ltmain to make .dll files, not .so files.
                   10603:        shrext_cmds=".dll"
                   10604:        # FIXME: Setting linknames here is a bad hack.
                   10605:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10606:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10607:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10608:          else
                   10609:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10610:          fi~
                   10611:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10612:          linknames='
                   10613:        # The linker will not automatically build a static lib if we build a DLL.
                   10614:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10615:        enable_shared_with_static_runtimes=yes
                   10616:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10617:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10618:        # Don't use ranlib
                   10619:        old_postinstall_cmds='chmod 644 $oldlib'
                   10620:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10621:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10622:          case $lt_outputfile in
                   10623:            *.exe|*.EXE) ;;
                   10624:            *)
                   10625:              lt_outputfile="$lt_outputfile.exe"
                   10626:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10627:              ;;
                   10628:          esac~
                   10629:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10630:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10631:            $RM "$lt_outputfile.manifest";
                   10632:          fi'
                   10633:        ;;
                   10634:       *)
                   10635:        # Assume MSVC wrapper
                   10636:        hardcode_libdir_flag_spec=' '
                   10637:        allow_undefined_flag=unsupported
                   10638:        # Tell ltmain to make .lib files, not .a files.
                   10639:        libext=lib
                   10640:        # Tell ltmain to make .dll files, not .so files.
                   10641:        shrext_cmds=".dll"
                   10642:        # FIXME: Setting linknames here is a bad hack.
                   10643:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10644:        # The linker will automatically build a .lib file if we build a DLL.
                   10645:        old_archive_from_new_cmds='true'
                   10646:        # FIXME: Should let the user specify the lib program.
                   10647:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10648:        enable_shared_with_static_runtimes=yes
                   10649:        ;;
                   10650:       esac
                   10651:       ;;
                   10652: 
                   10653:     darwin* | rhapsody*)
                   10654: 
                   10655: 
                   10656:   archive_cmds_need_lc=no
                   10657:   hardcode_direct=no
                   10658:   hardcode_automatic=yes
                   10659:   hardcode_shlibpath_var=unsupported
                   10660:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10661:     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\"`'
                   10662: 
                   10663:   else
                   10664:     whole_archive_flag_spec=''
                   10665:   fi
                   10666:   link_all_deplibs=yes
                   10667:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10668:   case $cc_basename in
                   10669:      ifort*) _lt_dar_can_shared=yes ;;
                   10670:      *) _lt_dar_can_shared=$GCC ;;
                   10671:   esac
                   10672:   if test "$_lt_dar_can_shared" = "yes"; then
                   10673:     output_verbose_link_cmd=func_echo_all
                   10674:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10675:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10676:     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}"
                   10677:     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}"
                   10678: 
                   10679:   else
                   10680:   ld_shlibs=no
                   10681:   fi
                   10682: 
                   10683:       ;;
                   10684: 
                   10685:     dgux*)
                   10686:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10687:       hardcode_libdir_flag_spec='-L$libdir'
                   10688:       hardcode_shlibpath_var=no
                   10689:       ;;
                   10690: 
                   10691:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10692:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10693:     # does not break anything, and helps significantly (at the cost of a little
                   10694:     # extra space).
                   10695:     freebsd2.2*)
                   10696:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10697:       hardcode_libdir_flag_spec='-R$libdir'
                   10698:       hardcode_direct=yes
                   10699:       hardcode_shlibpath_var=no
                   10700:       ;;
                   10701: 
                   10702:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10703:     freebsd2.*)
                   10704:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10705:       hardcode_direct=yes
                   10706:       hardcode_minus_L=yes
                   10707:       hardcode_shlibpath_var=no
                   10708:       ;;
                   10709: 
                   10710:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10711:     freebsd* | dragonfly*)
                   10712:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10713:       hardcode_libdir_flag_spec='-R$libdir'
                   10714:       hardcode_direct=yes
                   10715:       hardcode_shlibpath_var=no
                   10716:       ;;
                   10717: 
                   10718:     hpux9*)
                   10719:       if test "$GCC" = yes; then
                   10720:        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'
                   10721:       else
                   10722:        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'
                   10723:       fi
                   10724:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10725:       hardcode_libdir_separator=:
                   10726:       hardcode_direct=yes
                   10727: 
                   10728:       # hardcode_minus_L: Not really in the search PATH,
                   10729:       # but as the default location of the library.
                   10730:       hardcode_minus_L=yes
                   10731:       export_dynamic_flag_spec='${wl}-E'
                   10732:       ;;
                   10733: 
                   10734:     hpux10*)
                   10735:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10736:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10737:       else
                   10738:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10739:       fi
                   10740:       if test "$with_gnu_ld" = no; then
                   10741:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10742:        hardcode_libdir_separator=:
                   10743:        hardcode_direct=yes
                   10744:        hardcode_direct_absolute=yes
                   10745:        export_dynamic_flag_spec='${wl}-E'
                   10746:        # hardcode_minus_L: Not really in the search PATH,
                   10747:        # but as the default location of the library.
                   10748:        hardcode_minus_L=yes
                   10749:       fi
                   10750:       ;;
                   10751: 
                   10752:     hpux11*)
                   10753:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10754:        case $host_cpu in
                   10755:        hppa*64*)
                   10756:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10757:          ;;
                   10758:        ia64*)
                   10759:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10760:          ;;
                   10761:        *)
                   10762:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10763:          ;;
                   10764:        esac
                   10765:       else
                   10766:        case $host_cpu in
                   10767:        hppa*64*)
                   10768:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10769:          ;;
                   10770:        ia64*)
                   10771:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10772:          ;;
                   10773:        *)
                   10774: 
                   10775:          # Older versions of the 11.00 compiler do not understand -b yet
                   10776:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10777:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10778: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10779: if ${lt_cv_prog_compiler__b+:} false; then :
                   10780:   $as_echo_n "(cached) " >&6
1.128     moko     10781: else
                   10782:   lt_cv_prog_compiler__b=no
                   10783:    save_LDFLAGS="$LDFLAGS"
                   10784:    LDFLAGS="$LDFLAGS -b"
                   10785:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10786:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10787:      # The linker can only warn and ignore the option if not recognized
                   10788:      # So say no if there are warnings
                   10789:      if test -s conftest.err; then
                   10790:        # Append any errors to the config.log.
                   10791:        cat conftest.err 1>&5
                   10792:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10793:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10794:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10795:          lt_cv_prog_compiler__b=yes
                   10796:        fi
                   10797:      else
                   10798:        lt_cv_prog_compiler__b=yes
                   10799:      fi
                   10800:    fi
                   10801:    $RM -r conftest*
                   10802:    LDFLAGS="$save_LDFLAGS"
                   10803: 
                   10804: fi
1.150     moko     10805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10806: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10807: 
                   10808: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10809:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10810: else
                   10811:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10812: fi
                   10813: 
                   10814:          ;;
                   10815:        esac
                   10816:       fi
                   10817:       if test "$with_gnu_ld" = no; then
                   10818:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10819:        hardcode_libdir_separator=:
                   10820: 
                   10821:        case $host_cpu in
                   10822:        hppa*64*|ia64*)
                   10823:          hardcode_direct=no
                   10824:          hardcode_shlibpath_var=no
                   10825:          ;;
                   10826:        *)
                   10827:          hardcode_direct=yes
                   10828:          hardcode_direct_absolute=yes
                   10829:          export_dynamic_flag_spec='${wl}-E'
                   10830: 
                   10831:          # hardcode_minus_L: Not really in the search PATH,
                   10832:          # but as the default location of the library.
                   10833:          hardcode_minus_L=yes
                   10834:          ;;
                   10835:        esac
                   10836:       fi
                   10837:       ;;
                   10838: 
                   10839:     irix5* | irix6* | nonstopux*)
                   10840:       if test "$GCC" = yes; then
                   10841:        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'
                   10842:        # Try to use the -exported_symbol ld option, if it does not
                   10843:        # work, assume that -exports_file does not work either and
                   10844:        # implicitly export all symbols.
                   10845:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10846:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10847: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10848: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10849:   $as_echo_n "(cached) " >&6
1.128     moko     10850: else
                   10851:   save_LDFLAGS="$LDFLAGS"
                   10852:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10853:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10854: /* end confdefs.h.  */
                   10855: int foo (void) { return 0; }
                   10856: _ACEOF
1.150     moko     10857: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10858:   lt_cv_irix_exported_symbol=yes
                   10859: else
1.150     moko     10860:   lt_cv_irix_exported_symbol=no
1.128     moko     10861: fi
1.150     moko     10862: rm -f core conftest.err conftest.$ac_objext \
                   10863:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10864:            LDFLAGS="$save_LDFLAGS"
                   10865: fi
1.150     moko     10866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10867: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10868:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10869:           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'
                   10870:        fi
                   10871:       else
                   10872:        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'
                   10873:        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'
                   10874:       fi
                   10875:       archive_cmds_need_lc='no'
                   10876:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10877:       hardcode_libdir_separator=:
                   10878:       inherit_rpath=yes
                   10879:       link_all_deplibs=yes
                   10880:       ;;
                   10881: 
                   10882:     netbsd*)
                   10883:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10884:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10885:       else
                   10886:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10887:       fi
                   10888:       hardcode_libdir_flag_spec='-R$libdir'
                   10889:       hardcode_direct=yes
                   10890:       hardcode_shlibpath_var=no
                   10891:       ;;
                   10892: 
                   10893:     newsos6)
                   10894:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10895:       hardcode_direct=yes
                   10896:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10897:       hardcode_libdir_separator=:
                   10898:       hardcode_shlibpath_var=no
                   10899:       ;;
                   10900: 
                   10901:     *nto* | *qnx*)
                   10902:       ;;
                   10903: 
                   10904:     openbsd*)
                   10905:       if test -f /usr/libexec/ld.so; then
                   10906:        hardcode_direct=yes
                   10907:        hardcode_shlibpath_var=no
                   10908:        hardcode_direct_absolute=yes
                   10909:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10910:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10911:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10912:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10913:          export_dynamic_flag_spec='${wl}-E'
                   10914:        else
                   10915:          case $host_os in
                   10916:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10917:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10918:             hardcode_libdir_flag_spec='-R$libdir'
                   10919:             ;;
                   10920:           *)
                   10921:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10922:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10923:             ;;
                   10924:          esac
                   10925:        fi
                   10926:       else
                   10927:        ld_shlibs=no
                   10928:       fi
                   10929:       ;;
                   10930: 
                   10931:     os2*)
                   10932:       hardcode_libdir_flag_spec='-L$libdir'
                   10933:       hardcode_minus_L=yes
                   10934:       allow_undefined_flag=unsupported
                   10935:       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'
                   10936:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10937:       ;;
                   10938: 
                   10939:     osf3*)
                   10940:       if test "$GCC" = yes; then
                   10941:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10942:        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'
                   10943:       else
                   10944:        allow_undefined_flag=' -expect_unresolved \*'
                   10945:        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'
                   10946:       fi
                   10947:       archive_cmds_need_lc='no'
                   10948:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10949:       hardcode_libdir_separator=:
                   10950:       ;;
                   10951: 
                   10952:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10953:       if test "$GCC" = yes; then
                   10954:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10955:        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'
                   10956:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10957:       else
                   10958:        allow_undefined_flag=' -expect_unresolved \*'
                   10959:        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'
                   10960:        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~
                   10961:        $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'
                   10962: 
                   10963:        # Both c and cxx compiler support -rpath directly
                   10964:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10965:       fi
                   10966:       archive_cmds_need_lc='no'
                   10967:       hardcode_libdir_separator=:
                   10968:       ;;
                   10969: 
                   10970:     solaris*)
                   10971:       no_undefined_flag=' -z defs'
                   10972:       if test "$GCC" = yes; then
                   10973:        wlarc='${wl}'
                   10974:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10975:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10976:          $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'
                   10977:       else
                   10978:        case `$CC -V 2>&1` in
                   10979:        *"Compilers 5.0"*)
                   10980:          wlarc=''
                   10981:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10982:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10983:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10984:          ;;
                   10985:        *)
                   10986:          wlarc='${wl}'
                   10987:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10988:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10989:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10990:          ;;
                   10991:        esac
                   10992:       fi
                   10993:       hardcode_libdir_flag_spec='-R$libdir'
                   10994:       hardcode_shlibpath_var=no
                   10995:       case $host_os in
                   10996:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10997:       *)
                   10998:        # The compiler driver will combine and reorder linker options,
                   10999:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11000:        # but is careful enough not to reorder.
                   11001:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11002:        if test "$GCC" = yes; then
                   11003:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11004:        else
                   11005:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11006:        fi
                   11007:        ;;
                   11008:       esac
                   11009:       link_all_deplibs=yes
                   11010:       ;;
                   11011: 
                   11012:     sunos4*)
                   11013:       if test "x$host_vendor" = xsequent; then
                   11014:        # Use $CC to link under sequent, because it throws in some extra .o
                   11015:        # files that make .init and .fini sections work.
                   11016:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11017:       else
                   11018:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11019:       fi
                   11020:       hardcode_libdir_flag_spec='-L$libdir'
                   11021:       hardcode_direct=yes
                   11022:       hardcode_minus_L=yes
                   11023:       hardcode_shlibpath_var=no
                   11024:       ;;
                   11025: 
                   11026:     sysv4)
                   11027:       case $host_vendor in
                   11028:        sni)
                   11029:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11030:          hardcode_direct=yes # is this really true???
                   11031:        ;;
                   11032:        siemens)
                   11033:          ## LD is ld it makes a PLAMLIB
                   11034:          ## CC just makes a GrossModule.
                   11035:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11036:          reload_cmds='$CC -r -o $output$reload_objs'
                   11037:          hardcode_direct=no
                   11038:         ;;
                   11039:        motorola)
                   11040:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11041:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11042:        ;;
                   11043:       esac
                   11044:       runpath_var='LD_RUN_PATH'
                   11045:       hardcode_shlibpath_var=no
                   11046:       ;;
                   11047: 
                   11048:     sysv4.3*)
                   11049:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11050:       hardcode_shlibpath_var=no
                   11051:       export_dynamic_flag_spec='-Bexport'
                   11052:       ;;
                   11053: 
                   11054:     sysv4*MP*)
                   11055:       if test -d /usr/nec; then
                   11056:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11057:        hardcode_shlibpath_var=no
                   11058:        runpath_var=LD_RUN_PATH
                   11059:        hardcode_runpath_var=yes
                   11060:        ld_shlibs=yes
                   11061:       fi
                   11062:       ;;
                   11063: 
                   11064:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11065:       no_undefined_flag='${wl}-z,text'
                   11066:       archive_cmds_need_lc=no
                   11067:       hardcode_shlibpath_var=no
                   11068:       runpath_var='LD_RUN_PATH'
                   11069: 
                   11070:       if test "$GCC" = yes; then
                   11071:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11072:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11073:       else
                   11074:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11075:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11076:       fi
                   11077:       ;;
                   11078: 
                   11079:     sysv5* | sco3.2v5* | sco5v6*)
                   11080:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11081:       # link with -lc, and that would cause any symbols used from libc to
                   11082:       # always be unresolved, which means just about no library would
                   11083:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11084:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11085:       # as -z defs.
                   11086:       no_undefined_flag='${wl}-z,text'
                   11087:       allow_undefined_flag='${wl}-z,nodefs'
                   11088:       archive_cmds_need_lc=no
                   11089:       hardcode_shlibpath_var=no
                   11090:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11091:       hardcode_libdir_separator=':'
                   11092:       link_all_deplibs=yes
                   11093:       export_dynamic_flag_spec='${wl}-Bexport'
                   11094:       runpath_var='LD_RUN_PATH'
                   11095: 
                   11096:       if test "$GCC" = yes; then
                   11097:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11098:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11099:       else
                   11100:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11101:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11102:       fi
                   11103:       ;;
                   11104: 
                   11105:     uts4*)
                   11106:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11107:       hardcode_libdir_flag_spec='-L$libdir'
                   11108:       hardcode_shlibpath_var=no
                   11109:       ;;
                   11110: 
                   11111:     *)
                   11112:       ld_shlibs=no
                   11113:       ;;
                   11114:     esac
                   11115: 
                   11116:     if test x$host_vendor = xsni; then
                   11117:       case $host in
                   11118:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11119:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11120:        ;;
                   11121:       esac
                   11122:     fi
                   11123:   fi
                   11124: 
1.150     moko     11125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11126: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11127: test "$ld_shlibs" = no && can_build_shared=no
                   11128: 
                   11129: with_gnu_ld=$with_gnu_ld
                   11130: 
                   11131: 
                   11132: 
                   11133: 
                   11134: 
                   11135: 
                   11136: 
                   11137: 
                   11138: 
                   11139: 
                   11140: 
                   11141: 
                   11142: 
                   11143: 
                   11144: 
                   11145: #
                   11146: # Do we need to explicitly link libc?
                   11147: #
                   11148: case "x$archive_cmds_need_lc" in
                   11149: x|xyes)
                   11150:   # Assume -lc should be added
                   11151:   archive_cmds_need_lc=yes
                   11152: 
                   11153:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11154:     case $archive_cmds in
                   11155:     *'~'*)
                   11156:       # FIXME: we may have to deal with multi-command sequences.
                   11157:       ;;
                   11158:     '$CC '*)
                   11159:       # Test whether the compiler implicitly links with -lc since on some
                   11160:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11161:       # to ld, don't add -lc before -lgcc.
1.150     moko     11162:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11163: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11164: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11165:   $as_echo_n "(cached) " >&6
1.128     moko     11166: else
                   11167:   $RM conftest*
                   11168:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11169: 
1.150     moko     11170:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11171:   (eval $ac_compile) 2>&5
                   11172:   ac_status=$?
1.150     moko     11173:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11174:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11175:          soname=conftest
                   11176:          lib=conftest
                   11177:          libobjs=conftest.$ac_objext
                   11178:          deplibs=
                   11179:          wl=$lt_prog_compiler_wl
                   11180:          pic_flag=$lt_prog_compiler_pic
                   11181:          compiler_flags=-v
                   11182:          linker_flags=-v
                   11183:          verstring=
                   11184:          output_objdir=.
                   11185:          libname=conftest
                   11186:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11187:          allow_undefined_flag=
1.150     moko     11188:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11189:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11190:   ac_status=$?
1.150     moko     11191:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11192:   test $ac_status = 0; }
1.128     moko     11193:          then
                   11194:            lt_cv_archive_cmds_need_lc=no
                   11195:          else
                   11196:            lt_cv_archive_cmds_need_lc=yes
                   11197:          fi
                   11198:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11199:        else
                   11200:          cat conftest.err 1>&5
                   11201:        fi
                   11202:        $RM conftest*
                   11203: 
                   11204: fi
1.150     moko     11205: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11206: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11207:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11208:       ;;
                   11209:     esac
                   11210:   fi
                   11211:   ;;
                   11212: esac
                   11213: 
                   11214: 
                   11215: 
                   11216: 
                   11217: 
                   11218: 
                   11219: 
                   11220: 
                   11221: 
                   11222: 
                   11223: 
                   11224: 
                   11225: 
                   11226: 
                   11227: 
                   11228: 
                   11229: 
                   11230: 
                   11231: 
                   11232: 
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: 
                   11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: 
                   11244: 
                   11245: 
                   11246: 
                   11247: 
                   11248: 
                   11249: 
                   11250: 
                   11251: 
                   11252: 
                   11253: 
                   11254: 
                   11255: 
                   11256: 
                   11257: 
                   11258: 
                   11259: 
                   11260: 
                   11261: 
                   11262: 
                   11263: 
                   11264: 
                   11265: 
                   11266: 
                   11267: 
                   11268: 
                   11269: 
                   11270: 
                   11271: 
                   11272: 
                   11273: 
                   11274: 
                   11275: 
                   11276: 
                   11277: 
                   11278: 
                   11279: 
                   11280: 
                   11281: 
                   11282: 
                   11283: 
                   11284: 
                   11285: 
                   11286: 
                   11287: 
                   11288: 
                   11289: 
                   11290: 
                   11291: 
                   11292: 
                   11293: 
                   11294: 
                   11295: 
                   11296: 
                   11297: 
                   11298: 
                   11299: 
                   11300: 
                   11301: 
                   11302: 
                   11303: 
                   11304: 
                   11305: 
                   11306: 
                   11307: 
                   11308: 
                   11309: 
                   11310: 
                   11311: 
                   11312: 
                   11313: 
                   11314: 
                   11315: 
                   11316: 
                   11317: 
                   11318: 
                   11319: 
                   11320: 
                   11321: 
                   11322: 
                   11323: 
                   11324: 
                   11325: 
                   11326: 
                   11327: 
                   11328: 
                   11329: 
                   11330: 
                   11331: 
                   11332: 
                   11333: 
                   11334: 
                   11335: 
                   11336: 
                   11337: 
                   11338: 
                   11339: 
                   11340: 
                   11341: 
                   11342: 
                   11343: 
                   11344: 
                   11345: 
                   11346: 
                   11347: 
                   11348: 
                   11349: 
                   11350: 
                   11351: 
                   11352: 
                   11353: 
                   11354: 
                   11355: 
                   11356: 
                   11357: 
                   11358: 
                   11359: 
                   11360: 
                   11361: 
                   11362: 
                   11363: 
                   11364: 
1.150     moko     11365:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11366: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11367: 
                   11368: if test "$GCC" = yes; then
                   11369:   case $host_os in
                   11370:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11371:     *) lt_awk_arg="/^libraries:/" ;;
                   11372:   esac
                   11373:   case $host_os in
                   11374:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11375:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11376:   esac
                   11377:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11378:   case $lt_search_path_spec in
                   11379:   *\;*)
                   11380:     # if the path contains ";" then we assume it to be the separator
                   11381:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11382:     # assumed that no part of a normal pathname contains ";" but that should
                   11383:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11384:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11385:     ;;
                   11386:   *)
                   11387:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11388:     ;;
                   11389:   esac
                   11390:   # Ok, now we have the path, separated by spaces, we can step through it
                   11391:   # and add multilib dir if necessary.
                   11392:   lt_tmp_lt_search_path_spec=
                   11393:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11394:   for lt_sys_path in $lt_search_path_spec; do
                   11395:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11396:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11397:     else
                   11398:       test -d "$lt_sys_path" && \
                   11399:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11400:     fi
                   11401:   done
                   11402:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11403: BEGIN {RS=" "; FS="/|\n";} {
                   11404:   lt_foo="";
                   11405:   lt_count=0;
                   11406:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11407:     if ($lt_i != "" && $lt_i != ".") {
                   11408:       if ($lt_i == "..") {
                   11409:         lt_count++;
                   11410:       } else {
                   11411:         if (lt_count == 0) {
                   11412:           lt_foo="/" $lt_i lt_foo;
                   11413:         } else {
                   11414:           lt_count--;
                   11415:         }
                   11416:       }
                   11417:     }
                   11418:   }
                   11419:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11420:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11421: }'`
                   11422:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11423:   # for these hosts.
                   11424:   case $host_os in
                   11425:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11426:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11427:   esac
                   11428:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11429: else
                   11430:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11431: fi
                   11432: library_names_spec=
                   11433: libname_spec='lib$name'
                   11434: soname_spec=
                   11435: shrext_cmds=".so"
                   11436: postinstall_cmds=
                   11437: postuninstall_cmds=
                   11438: finish_cmds=
                   11439: finish_eval=
                   11440: shlibpath_var=
                   11441: shlibpath_overrides_runpath=unknown
                   11442: version_type=none
                   11443: dynamic_linker="$host_os ld.so"
                   11444: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11445: need_lib_prefix=unknown
                   11446: hardcode_into_libs=no
                   11447: 
                   11448: # when you set need_version to no, make sure it does not cause -set_version
                   11449: # flags to be left without arguments
                   11450: need_version=unknown
                   11451: 
                   11452: case $host_os in
                   11453: aix3*)
                   11454:   version_type=linux # correct to gnu/linux during the next big refactor
                   11455:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11456:   shlibpath_var=LIBPATH
                   11457: 
                   11458:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11459:   soname_spec='${libname}${release}${shared_ext}$major'
                   11460:   ;;
                   11461: 
                   11462: aix[4-9]*)
                   11463:   version_type=linux # correct to gnu/linux during the next big refactor
                   11464:   need_lib_prefix=no
                   11465:   need_version=no
                   11466:   hardcode_into_libs=yes
                   11467:   if test "$host_cpu" = ia64; then
                   11468:     # AIX 5 supports IA64
                   11469:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11470:     shlibpath_var=LD_LIBRARY_PATH
                   11471:   else
                   11472:     # With GCC up to 2.95.x, collect2 would create an import file
                   11473:     # for dependence libraries.  The import file would start with
                   11474:     # the line `#! .'.  This would cause the generated library to
                   11475:     # depend on `.', always an invalid library.  This was fixed in
                   11476:     # development snapshots of GCC prior to 3.0.
                   11477:     case $host_os in
                   11478:       aix4 | aix4.[01] | aix4.[01].*)
                   11479:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11480:           echo ' yes '
                   11481:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11482:        :
                   11483:       else
                   11484:        can_build_shared=no
                   11485:       fi
                   11486:       ;;
                   11487:     esac
                   11488:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11489:     # soname into executable. Probably we can add versioning support to
                   11490:     # collect2, so additional links can be useful in future.
                   11491:     if test "$aix_use_runtimelinking" = yes; then
                   11492:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11493:       # instead of lib<name>.a to let people know that these are not
                   11494:       # typical AIX shared libraries.
                   11495:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11496:     else
                   11497:       # We preserve .a as extension for shared libraries through AIX4.2
                   11498:       # and later when we are not doing run time linking.
                   11499:       library_names_spec='${libname}${release}.a $libname.a'
                   11500:       soname_spec='${libname}${release}${shared_ext}$major'
                   11501:     fi
                   11502:     shlibpath_var=LIBPATH
                   11503:   fi
                   11504:   ;;
                   11505: 
                   11506: amigaos*)
                   11507:   case $host_cpu in
                   11508:   powerpc)
                   11509:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11510:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11511:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11512:     ;;
                   11513:   m68k)
                   11514:     library_names_spec='$libname.ixlibrary $libname.a'
                   11515:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11516:     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'
                   11517:     ;;
                   11518:   esac
                   11519:   ;;
                   11520: 
                   11521: beos*)
                   11522:   library_names_spec='${libname}${shared_ext}'
                   11523:   dynamic_linker="$host_os ld.so"
                   11524:   shlibpath_var=LIBRARY_PATH
                   11525:   ;;
                   11526: 
                   11527: bsdi[45]*)
                   11528:   version_type=linux # correct to gnu/linux during the next big refactor
                   11529:   need_version=no
                   11530:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11531:   soname_spec='${libname}${release}${shared_ext}$major'
                   11532:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11533:   shlibpath_var=LD_LIBRARY_PATH
                   11534:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11535:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11536:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11537:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11538:   # libtool to hard-code these into programs
                   11539:   ;;
                   11540: 
                   11541: cygwin* | mingw* | pw32* | cegcc*)
                   11542:   version_type=windows
                   11543:   shrext_cmds=".dll"
                   11544:   need_version=no
                   11545:   need_lib_prefix=no
                   11546: 
                   11547:   case $GCC,$cc_basename in
                   11548:   yes,*)
                   11549:     # gcc
                   11550:     library_names_spec='$libname.dll.a'
                   11551:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11552:     postinstall_cmds='base_file=`basename \${file}`~
                   11553:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11554:       dldir=$destdir/`dirname \$dlpath`~
                   11555:       test -d \$dldir || mkdir -p \$dldir~
                   11556:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11557:       chmod a+x \$dldir/$dlname~
                   11558:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11559:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11560:       fi'
                   11561:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11562:       dlpath=$dir/\$dldll~
                   11563:        $RM \$dlpath'
                   11564:     shlibpath_overrides_runpath=yes
                   11565: 
                   11566:     case $host_os in
                   11567:     cygwin*)
                   11568:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11569:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11570: 
                   11571:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11572:       ;;
                   11573:     mingw* | cegcc*)
                   11574:       # MinGW DLLs use traditional 'lib' prefix
                   11575:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11576:       ;;
                   11577:     pw32*)
                   11578:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11579:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11580:       ;;
                   11581:     esac
                   11582:     dynamic_linker='Win32 ld.exe'
                   11583:     ;;
                   11584: 
                   11585:   *,cl*)
                   11586:     # Native MSVC
                   11587:     libname_spec='$name'
                   11588:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11589:     library_names_spec='${libname}.dll.lib'
                   11590: 
                   11591:     case $build_os in
                   11592:     mingw*)
                   11593:       sys_lib_search_path_spec=
                   11594:       lt_save_ifs=$IFS
                   11595:       IFS=';'
                   11596:       for lt_path in $LIB
                   11597:       do
                   11598:         IFS=$lt_save_ifs
                   11599:         # Let DOS variable expansion print the short 8.3 style file name.
                   11600:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11601:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11602:       done
                   11603:       IFS=$lt_save_ifs
                   11604:       # Convert to MSYS style.
                   11605:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11606:       ;;
                   11607:     cygwin*)
                   11608:       # Convert to unix form, then to dos form, then back to unix form
                   11609:       # but this time dos style (no spaces!) so that the unix form looks
                   11610:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11611:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11612:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11613:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11614:       ;;
                   11615:     *)
                   11616:       sys_lib_search_path_spec="$LIB"
                   11617:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11618:         # It is most probably a Windows format PATH.
                   11619:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11620:       else
                   11621:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11622:       fi
                   11623:       # FIXME: find the short name or the path components, as spaces are
                   11624:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11625:       ;;
                   11626:     esac
                   11627: 
                   11628:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11629:     postinstall_cmds='base_file=`basename \${file}`~
                   11630:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11631:       dldir=$destdir/`dirname \$dlpath`~
                   11632:       test -d \$dldir || mkdir -p \$dldir~
                   11633:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11634:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11635:       dlpath=$dir/\$dldll~
                   11636:        $RM \$dlpath'
                   11637:     shlibpath_overrides_runpath=yes
                   11638:     dynamic_linker='Win32 link.exe'
                   11639:     ;;
                   11640: 
                   11641:   *)
                   11642:     # Assume MSVC wrapper
                   11643:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11644:     dynamic_linker='Win32 ld.exe'
                   11645:     ;;
                   11646:   esac
                   11647:   # FIXME: first we should search . and the directory the executable is in
                   11648:   shlibpath_var=PATH
                   11649:   ;;
                   11650: 
                   11651: darwin* | rhapsody*)
                   11652:   dynamic_linker="$host_os dyld"
                   11653:   version_type=darwin
                   11654:   need_lib_prefix=no
                   11655:   need_version=no
                   11656:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11657:   soname_spec='${libname}${release}${major}$shared_ext'
                   11658:   shlibpath_overrides_runpath=yes
                   11659:   shlibpath_var=DYLD_LIBRARY_PATH
                   11660:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11661: 
                   11662:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11663:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11664:   ;;
                   11665: 
                   11666: dgux*)
                   11667:   version_type=linux # correct to gnu/linux during the next big refactor
                   11668:   need_lib_prefix=no
                   11669:   need_version=no
                   11670:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11671:   soname_spec='${libname}${release}${shared_ext}$major'
                   11672:   shlibpath_var=LD_LIBRARY_PATH
                   11673:   ;;
                   11674: 
                   11675: freebsd* | dragonfly*)
                   11676:   # DragonFly does not have aout.  When/if they implement a new
                   11677:   # versioning mechanism, adjust this.
                   11678:   if test -x /usr/bin/objformat; then
                   11679:     objformat=`/usr/bin/objformat`
                   11680:   else
                   11681:     case $host_os in
                   11682:     freebsd[23].*) objformat=aout ;;
                   11683:     *) objformat=elf ;;
                   11684:     esac
                   11685:   fi
                   11686:   version_type=freebsd-$objformat
                   11687:   case $version_type in
                   11688:     freebsd-elf*)
                   11689:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11690:       need_version=no
                   11691:       need_lib_prefix=no
                   11692:       ;;
                   11693:     freebsd-*)
                   11694:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11695:       need_version=yes
                   11696:       ;;
                   11697:   esac
                   11698:   shlibpath_var=LD_LIBRARY_PATH
                   11699:   case $host_os in
                   11700:   freebsd2.*)
                   11701:     shlibpath_overrides_runpath=yes
                   11702:     ;;
                   11703:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11704:     shlibpath_overrides_runpath=yes
                   11705:     hardcode_into_libs=yes
                   11706:     ;;
                   11707:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11708:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11709:     shlibpath_overrides_runpath=no
                   11710:     hardcode_into_libs=yes
                   11711:     ;;
                   11712:   *) # from 4.6 on, and DragonFly
                   11713:     shlibpath_overrides_runpath=yes
                   11714:     hardcode_into_libs=yes
                   11715:     ;;
                   11716:   esac
                   11717:   ;;
                   11718: 
                   11719: gnu*)
                   11720:   version_type=linux # correct to gnu/linux during the next big refactor
                   11721:   need_lib_prefix=no
                   11722:   need_version=no
                   11723:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11724:   soname_spec='${libname}${release}${shared_ext}$major'
                   11725:   shlibpath_var=LD_LIBRARY_PATH
                   11726:   shlibpath_overrides_runpath=no
                   11727:   hardcode_into_libs=yes
                   11728:   ;;
                   11729: 
                   11730: haiku*)
                   11731:   version_type=linux # correct to gnu/linux during the next big refactor
                   11732:   need_lib_prefix=no
                   11733:   need_version=no
                   11734:   dynamic_linker="$host_os runtime_loader"
                   11735:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11736:   soname_spec='${libname}${release}${shared_ext}$major'
                   11737:   shlibpath_var=LIBRARY_PATH
                   11738:   shlibpath_overrides_runpath=yes
                   11739:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11740:   hardcode_into_libs=yes
                   11741:   ;;
                   11742: 
                   11743: hpux9* | hpux10* | hpux11*)
                   11744:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11745:   # link against other versions.
                   11746:   version_type=sunos
                   11747:   need_lib_prefix=no
                   11748:   need_version=no
                   11749:   case $host_cpu in
                   11750:   ia64*)
                   11751:     shrext_cmds='.so'
                   11752:     hardcode_into_libs=yes
                   11753:     dynamic_linker="$host_os dld.so"
                   11754:     shlibpath_var=LD_LIBRARY_PATH
                   11755:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11756:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11757:     soname_spec='${libname}${release}${shared_ext}$major'
                   11758:     if test "X$HPUX_IA64_MODE" = X32; then
                   11759:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11760:     else
                   11761:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11762:     fi
                   11763:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11764:     ;;
                   11765:   hppa*64*)
                   11766:     shrext_cmds='.sl'
                   11767:     hardcode_into_libs=yes
                   11768:     dynamic_linker="$host_os dld.sl"
                   11769:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11770:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11771:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11772:     soname_spec='${libname}${release}${shared_ext}$major'
                   11773:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11774:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11775:     ;;
                   11776:   *)
                   11777:     shrext_cmds='.sl'
                   11778:     dynamic_linker="$host_os dld.sl"
                   11779:     shlibpath_var=SHLIB_PATH
                   11780:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11781:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11782:     soname_spec='${libname}${release}${shared_ext}$major'
                   11783:     ;;
                   11784:   esac
                   11785:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11786:   postinstall_cmds='chmod 555 $lib'
                   11787:   # or fails outright, so override atomically:
                   11788:   install_override_mode=555
                   11789:   ;;
                   11790: 
                   11791: interix[3-9]*)
                   11792:   version_type=linux # correct to gnu/linux during the next big refactor
                   11793:   need_lib_prefix=no
                   11794:   need_version=no
                   11795:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11796:   soname_spec='${libname}${release}${shared_ext}$major'
                   11797:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11798:   shlibpath_var=LD_LIBRARY_PATH
                   11799:   shlibpath_overrides_runpath=no
                   11800:   hardcode_into_libs=yes
                   11801:   ;;
                   11802: 
                   11803: irix5* | irix6* | nonstopux*)
                   11804:   case $host_os in
                   11805:     nonstopux*) version_type=nonstopux ;;
                   11806:     *)
                   11807:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11808:                version_type=linux # correct to gnu/linux during the next big refactor
                   11809:        else
                   11810:                version_type=irix
                   11811:        fi ;;
                   11812:   esac
                   11813:   need_lib_prefix=no
                   11814:   need_version=no
                   11815:   soname_spec='${libname}${release}${shared_ext}$major'
                   11816:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11817:   case $host_os in
                   11818:   irix5* | nonstopux*)
                   11819:     libsuff= shlibsuff=
                   11820:     ;;
                   11821:   *)
                   11822:     case $LD in # libtool.m4 will add one of these switches to LD
                   11823:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11824:       libsuff= shlibsuff= libmagic=32-bit;;
                   11825:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11826:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11827:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11828:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11829:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11830:     esac
                   11831:     ;;
                   11832:   esac
                   11833:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11834:   shlibpath_overrides_runpath=no
                   11835:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11836:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11837:   hardcode_into_libs=yes
                   11838:   ;;
                   11839: 
                   11840: # No shared lib support for Linux oldld, aout, or coff.
                   11841: linux*oldld* | linux*aout* | linux*coff*)
                   11842:   dynamic_linker=no
                   11843:   ;;
                   11844: 
                   11845: # This must be glibc/ELF.
                   11846: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11847:   version_type=linux # correct to gnu/linux during the next big refactor
                   11848:   need_lib_prefix=no
                   11849:   need_version=no
                   11850:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11851:   soname_spec='${libname}${release}${shared_ext}$major'
                   11852:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11853:   shlibpath_var=LD_LIBRARY_PATH
                   11854:   shlibpath_overrides_runpath=no
                   11855: 
                   11856:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11857:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11858:   $as_echo_n "(cached) " >&6
1.128     moko     11859: else
                   11860:   lt_cv_shlibpath_overrides_runpath=no
                   11861:     save_LDFLAGS=$LDFLAGS
                   11862:     save_libdir=$libdir
                   11863:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11864:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11865:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11866: /* end confdefs.h.  */
                   11867: 
                   11868: int
                   11869: main ()
                   11870: {
                   11871: 
                   11872:   ;
                   11873:   return 0;
                   11874: }
                   11875: _ACEOF
1.150     moko     11876: if ac_fn_c_try_link "$LINENO"; then :
                   11877:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11878:   lt_cv_shlibpath_overrides_runpath=yes
                   11879: fi
                   11880: fi
1.150     moko     11881: rm -f core conftest.err conftest.$ac_objext \
                   11882:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11883:     LDFLAGS=$save_LDFLAGS
                   11884:     libdir=$save_libdir
                   11885: 
                   11886: fi
                   11887: 
                   11888:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11889: 
                   11890:   # This implies no fast_install, which is unacceptable.
                   11891:   # Some rework will be needed to allow for fast_install
                   11892:   # before this can be enabled.
                   11893:   hardcode_into_libs=yes
                   11894: 
                   11895:   # Append ld.so.conf contents to the search path
                   11896:   if test -f /etc/ld.so.conf; then
                   11897:     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' ' '`
                   11898:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11899:   fi
                   11900: 
                   11901:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11902:   # powerpc, because MkLinux only supported shared libraries with the
                   11903:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11904:   # most powerpc-linux boxes support dynamic linking these days and
                   11905:   # people can always --disable-shared, the test was removed, and we
                   11906:   # assume the GNU/Linux dynamic linker is in use.
                   11907:   dynamic_linker='GNU/Linux ld.so'
                   11908:   ;;
                   11909: 
                   11910: netbsd*)
                   11911:   version_type=sunos
                   11912:   need_lib_prefix=no
                   11913:   need_version=no
                   11914:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11915:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11916:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11917:     dynamic_linker='NetBSD (a.out) ld.so'
                   11918:   else
                   11919:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11920:     soname_spec='${libname}${release}${shared_ext}$major'
                   11921:     dynamic_linker='NetBSD ld.elf_so'
                   11922:   fi
                   11923:   shlibpath_var=LD_LIBRARY_PATH
                   11924:   shlibpath_overrides_runpath=yes
                   11925:   hardcode_into_libs=yes
                   11926:   ;;
                   11927: 
                   11928: newsos6)
                   11929:   version_type=linux # correct to gnu/linux during the next big refactor
                   11930:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11931:   shlibpath_var=LD_LIBRARY_PATH
                   11932:   shlibpath_overrides_runpath=yes
                   11933:   ;;
                   11934: 
                   11935: *nto* | *qnx*)
                   11936:   version_type=qnx
                   11937:   need_lib_prefix=no
                   11938:   need_version=no
                   11939:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11940:   soname_spec='${libname}${release}${shared_ext}$major'
                   11941:   shlibpath_var=LD_LIBRARY_PATH
                   11942:   shlibpath_overrides_runpath=no
                   11943:   hardcode_into_libs=yes
                   11944:   dynamic_linker='ldqnx.so'
                   11945:   ;;
                   11946: 
                   11947: openbsd*)
                   11948:   version_type=sunos
                   11949:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11950:   need_lib_prefix=no
                   11951:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11952:   case $host_os in
                   11953:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11954:     *)                         need_version=no  ;;
                   11955:   esac
                   11956:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11957:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11958:   shlibpath_var=LD_LIBRARY_PATH
                   11959:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11960:     case $host_os in
                   11961:       openbsd2.[89] | openbsd2.[89].*)
                   11962:        shlibpath_overrides_runpath=no
                   11963:        ;;
                   11964:       *)
                   11965:        shlibpath_overrides_runpath=yes
                   11966:        ;;
                   11967:       esac
                   11968:   else
                   11969:     shlibpath_overrides_runpath=yes
                   11970:   fi
                   11971:   ;;
                   11972: 
                   11973: os2*)
                   11974:   libname_spec='$name'
                   11975:   shrext_cmds=".dll"
                   11976:   need_lib_prefix=no
                   11977:   library_names_spec='$libname${shared_ext} $libname.a'
                   11978:   dynamic_linker='OS/2 ld.exe'
                   11979:   shlibpath_var=LIBPATH
                   11980:   ;;
                   11981: 
                   11982: osf3* | osf4* | osf5*)
                   11983:   version_type=osf
                   11984:   need_lib_prefix=no
                   11985:   need_version=no
                   11986:   soname_spec='${libname}${release}${shared_ext}$major'
                   11987:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11988:   shlibpath_var=LD_LIBRARY_PATH
                   11989:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11990:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11991:   ;;
                   11992: 
                   11993: rdos*)
                   11994:   dynamic_linker=no
                   11995:   ;;
                   11996: 
                   11997: solaris*)
                   11998:   version_type=linux # correct to gnu/linux during the next big refactor
                   11999:   need_lib_prefix=no
                   12000:   need_version=no
                   12001:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12002:   soname_spec='${libname}${release}${shared_ext}$major'
                   12003:   shlibpath_var=LD_LIBRARY_PATH
                   12004:   shlibpath_overrides_runpath=yes
                   12005:   hardcode_into_libs=yes
                   12006:   # ldd complains unless libraries are executable
                   12007:   postinstall_cmds='chmod +x $lib'
                   12008:   ;;
                   12009: 
                   12010: sunos4*)
                   12011:   version_type=sunos
                   12012:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12013:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12014:   shlibpath_var=LD_LIBRARY_PATH
                   12015:   shlibpath_overrides_runpath=yes
                   12016:   if test "$with_gnu_ld" = yes; then
                   12017:     need_lib_prefix=no
                   12018:   fi
                   12019:   need_version=yes
                   12020:   ;;
                   12021: 
                   12022: sysv4 | sysv4.3*)
                   12023:   version_type=linux # correct to gnu/linux during the next big refactor
                   12024:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12025:   soname_spec='${libname}${release}${shared_ext}$major'
                   12026:   shlibpath_var=LD_LIBRARY_PATH
                   12027:   case $host_vendor in
                   12028:     sni)
                   12029:       shlibpath_overrides_runpath=no
                   12030:       need_lib_prefix=no
                   12031:       runpath_var=LD_RUN_PATH
                   12032:       ;;
                   12033:     siemens)
                   12034:       need_lib_prefix=no
                   12035:       ;;
                   12036:     motorola)
                   12037:       need_lib_prefix=no
                   12038:       need_version=no
                   12039:       shlibpath_overrides_runpath=no
                   12040:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12041:       ;;
                   12042:   esac
                   12043:   ;;
                   12044: 
                   12045: sysv4*MP*)
                   12046:   if test -d /usr/nec ;then
                   12047:     version_type=linux # correct to gnu/linux during the next big refactor
                   12048:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12049:     soname_spec='$libname${shared_ext}.$major'
                   12050:     shlibpath_var=LD_LIBRARY_PATH
                   12051:   fi
                   12052:   ;;
                   12053: 
                   12054: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12055:   version_type=freebsd-elf
                   12056:   need_lib_prefix=no
                   12057:   need_version=no
                   12058:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12059:   soname_spec='${libname}${release}${shared_ext}$major'
                   12060:   shlibpath_var=LD_LIBRARY_PATH
                   12061:   shlibpath_overrides_runpath=yes
                   12062:   hardcode_into_libs=yes
                   12063:   if test "$with_gnu_ld" = yes; then
                   12064:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12065:   else
                   12066:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12067:     case $host_os in
                   12068:       sco3.2v5*)
                   12069:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12070:        ;;
                   12071:     esac
                   12072:   fi
                   12073:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12074:   ;;
                   12075: 
                   12076: tpf*)
                   12077:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12078:   version_type=linux # correct to gnu/linux during the next big refactor
                   12079:   need_lib_prefix=no
                   12080:   need_version=no
                   12081:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12082:   shlibpath_var=LD_LIBRARY_PATH
                   12083:   shlibpath_overrides_runpath=no
                   12084:   hardcode_into_libs=yes
                   12085:   ;;
                   12086: 
                   12087: uts4*)
                   12088:   version_type=linux # correct to gnu/linux during the next big refactor
                   12089:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12090:   soname_spec='${libname}${release}${shared_ext}$major'
                   12091:   shlibpath_var=LD_LIBRARY_PATH
                   12092:   ;;
                   12093: 
                   12094: *)
                   12095:   dynamic_linker=no
                   12096:   ;;
                   12097: esac
1.150     moko     12098: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12099: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12100: test "$dynamic_linker" = no && can_build_shared=no
                   12101: 
                   12102: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12103: if test "$GCC" = yes; then
                   12104:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12105: fi
                   12106: 
                   12107: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12108:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12109: fi
                   12110: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12111:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12112: fi
                   12113: 
                   12114: 
                   12115: 
                   12116: 
                   12117: 
                   12118: 
                   12119: 
                   12120: 
                   12121: 
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
                   12128: 
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: 
                   12136: 
                   12137: 
                   12138: 
                   12139: 
                   12140: 
                   12141: 
                   12142: 
                   12143: 
                   12144: 
                   12145: 
                   12146: 
                   12147: 
                   12148: 
                   12149: 
                   12150: 
                   12151: 
                   12152: 
                   12153: 
                   12154: 
                   12155: 
                   12156: 
                   12157: 
                   12158: 
                   12159: 
                   12160: 
                   12161: 
                   12162: 
                   12163: 
                   12164: 
                   12165: 
                   12166: 
                   12167: 
                   12168: 
                   12169: 
                   12170: 
                   12171: 
                   12172: 
                   12173: 
                   12174: 
                   12175: 
                   12176: 
                   12177: 
                   12178: 
                   12179: 
                   12180: 
                   12181: 
                   12182: 
                   12183: 
                   12184: 
                   12185: 
                   12186: 
                   12187: 
                   12188: 
                   12189: 
                   12190: 
                   12191: 
                   12192: 
                   12193: 
                   12194: 
                   12195: 
                   12196: 
                   12197: 
                   12198: 
                   12199: 
                   12200: 
                   12201: 
                   12202: 
                   12203: 
                   12204: 
1.150     moko     12205:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12206: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12207: hardcode_action=
                   12208: if test -n "$hardcode_libdir_flag_spec" ||
                   12209:    test -n "$runpath_var" ||
                   12210:    test "X$hardcode_automatic" = "Xyes" ; then
                   12211: 
                   12212:   # We can hardcode non-existent directories.
                   12213:   if test "$hardcode_direct" != no &&
                   12214:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12215:      # have to relink, otherwise we might link with an installed library
                   12216:      # when we should be linking with a yet-to-be-installed one
                   12217:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12218:      test "$hardcode_minus_L" != no; then
                   12219:     # Linking always hardcodes the temporary library directory.
                   12220:     hardcode_action=relink
                   12221:   else
                   12222:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12223:     hardcode_action=immediate
                   12224:   fi
                   12225: else
                   12226:   # We cannot hardcode anything, or else we can only hardcode existing
                   12227:   # directories.
                   12228:   hardcode_action=unsupported
                   12229: fi
1.150     moko     12230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12231: $as_echo "$hardcode_action" >&6; }
1.128     moko     12232: 
                   12233: if test "$hardcode_action" = relink ||
                   12234:    test "$inherit_rpath" = yes; then
                   12235:   # Fast installation is not supported
                   12236:   enable_fast_install=no
                   12237: elif test "$shlibpath_overrides_runpath" = yes ||
                   12238:      test "$enable_shared" = no; then
                   12239:   # Fast installation is not necessary
                   12240:   enable_fast_install=needless
                   12241: fi
                   12242: 
                   12243: 
                   12244: 
                   12245: 
                   12246: 
                   12247: 
                   12248:   if test "x$enable_dlopen" != xyes; then
                   12249:   enable_dlopen=unknown
                   12250:   enable_dlopen_self=unknown
                   12251:   enable_dlopen_self_static=unknown
                   12252: else
                   12253:   lt_cv_dlopen=no
                   12254:   lt_cv_dlopen_libs=
                   12255: 
                   12256:   case $host_os in
                   12257:   beos*)
                   12258:     lt_cv_dlopen="load_add_on"
                   12259:     lt_cv_dlopen_libs=
                   12260:     lt_cv_dlopen_self=yes
                   12261:     ;;
                   12262: 
                   12263:   mingw* | pw32* | cegcc*)
                   12264:     lt_cv_dlopen="LoadLibrary"
                   12265:     lt_cv_dlopen_libs=
                   12266:     ;;
                   12267: 
                   12268:   cygwin*)
                   12269:     lt_cv_dlopen="dlopen"
                   12270:     lt_cv_dlopen_libs=
                   12271:     ;;
                   12272: 
                   12273:   darwin*)
                   12274:   # if libdl is installed we need to link against it
1.150     moko     12275:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12276: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12277: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12278:   $as_echo_n "(cached) " >&6
1.128     moko     12279: else
                   12280:   ac_check_lib_save_LIBS=$LIBS
                   12281: LIBS="-ldl  $LIBS"
1.150     moko     12282: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12283: /* end confdefs.h.  */
                   12284: 
1.150     moko     12285: /* Override any GCC internal prototype to avoid an error.
                   12286:    Use char because int might match the return type of a GCC
                   12287:    builtin and then its argument prototype would still apply.  */
1.128     moko     12288: #ifdef __cplusplus
                   12289: extern "C"
                   12290: #endif
                   12291: char dlopen ();
                   12292: int
                   12293: main ()
                   12294: {
1.150     moko     12295: return dlopen ();
1.128     moko     12296:   ;
                   12297:   return 0;
                   12298: }
                   12299: _ACEOF
1.150     moko     12300: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12301:   ac_cv_lib_dl_dlopen=yes
                   12302: else
1.150     moko     12303:   ac_cv_lib_dl_dlopen=no
1.128     moko     12304: fi
1.150     moko     12305: rm -f core conftest.err conftest.$ac_objext \
                   12306:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12307: LIBS=$ac_check_lib_save_LIBS
                   12308: fi
1.150     moko     12309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12310: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12311: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12312:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12313: else
                   12314: 
                   12315:     lt_cv_dlopen="dyld"
                   12316:     lt_cv_dlopen_libs=
                   12317:     lt_cv_dlopen_self=yes
                   12318: 
                   12319: fi
                   12320: 
                   12321:     ;;
                   12322: 
                   12323:   *)
1.150     moko     12324:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12325: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12326:   lt_cv_dlopen="shl_load"
                   12327: else
1.150     moko     12328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12329: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12330: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12331:   $as_echo_n "(cached) " >&6
1.128     moko     12332: else
                   12333:   ac_check_lib_save_LIBS=$LIBS
                   12334: LIBS="-ldld  $LIBS"
1.150     moko     12335: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12336: /* end confdefs.h.  */
                   12337: 
1.150     moko     12338: /* Override any GCC internal prototype to avoid an error.
                   12339:    Use char because int might match the return type of a GCC
                   12340:    builtin and then its argument prototype would still apply.  */
1.128     moko     12341: #ifdef __cplusplus
                   12342: extern "C"
                   12343: #endif
                   12344: char shl_load ();
                   12345: int
                   12346: main ()
                   12347: {
1.150     moko     12348: return shl_load ();
1.128     moko     12349:   ;
                   12350:   return 0;
                   12351: }
                   12352: _ACEOF
1.150     moko     12353: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12354:   ac_cv_lib_dld_shl_load=yes
                   12355: else
1.150     moko     12356:   ac_cv_lib_dld_shl_load=no
1.128     moko     12357: fi
1.150     moko     12358: rm -f core conftest.err conftest.$ac_objext \
                   12359:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12360: LIBS=$ac_check_lib_save_LIBS
                   12361: fi
1.150     moko     12362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12363: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12364: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12365:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12366: else
1.150     moko     12367:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12368: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12369:   lt_cv_dlopen="dlopen"
                   12370: else
1.150     moko     12371:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12372: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12373: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12374:   $as_echo_n "(cached) " >&6
1.128     moko     12375: else
                   12376:   ac_check_lib_save_LIBS=$LIBS
                   12377: LIBS="-ldl  $LIBS"
1.150     moko     12378: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12379: /* end confdefs.h.  */
                   12380: 
1.150     moko     12381: /* Override any GCC internal prototype to avoid an error.
                   12382:    Use char because int might match the return type of a GCC
                   12383:    builtin and then its argument prototype would still apply.  */
1.128     moko     12384: #ifdef __cplusplus
                   12385: extern "C"
                   12386: #endif
                   12387: char dlopen ();
                   12388: int
                   12389: main ()
                   12390: {
1.150     moko     12391: return dlopen ();
1.128     moko     12392:   ;
                   12393:   return 0;
                   12394: }
                   12395: _ACEOF
1.150     moko     12396: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12397:   ac_cv_lib_dl_dlopen=yes
                   12398: else
1.150     moko     12399:   ac_cv_lib_dl_dlopen=no
1.128     moko     12400: fi
1.150     moko     12401: rm -f core conftest.err conftest.$ac_objext \
                   12402:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12403: LIBS=$ac_check_lib_save_LIBS
                   12404: fi
1.150     moko     12405: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12406: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12407: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12408:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12409: else
1.150     moko     12410:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12411: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12412: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12413:   $as_echo_n "(cached) " >&6
1.128     moko     12414: else
                   12415:   ac_check_lib_save_LIBS=$LIBS
                   12416: LIBS="-lsvld  $LIBS"
1.150     moko     12417: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12418: /* end confdefs.h.  */
                   12419: 
1.150     moko     12420: /* Override any GCC internal prototype to avoid an error.
                   12421:    Use char because int might match the return type of a GCC
                   12422:    builtin and then its argument prototype would still apply.  */
1.128     moko     12423: #ifdef __cplusplus
                   12424: extern "C"
                   12425: #endif
                   12426: char dlopen ();
                   12427: int
                   12428: main ()
                   12429: {
1.150     moko     12430: return dlopen ();
1.128     moko     12431:   ;
                   12432:   return 0;
                   12433: }
                   12434: _ACEOF
1.150     moko     12435: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12436:   ac_cv_lib_svld_dlopen=yes
                   12437: else
1.150     moko     12438:   ac_cv_lib_svld_dlopen=no
1.128     moko     12439: fi
1.150     moko     12440: rm -f core conftest.err conftest.$ac_objext \
                   12441:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12442: LIBS=$ac_check_lib_save_LIBS
                   12443: fi
1.150     moko     12444: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12445: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12446: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12447:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12448: else
1.150     moko     12449:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12450: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12451: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12452:   $as_echo_n "(cached) " >&6
1.128     moko     12453: else
                   12454:   ac_check_lib_save_LIBS=$LIBS
                   12455: LIBS="-ldld  $LIBS"
1.150     moko     12456: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12457: /* end confdefs.h.  */
                   12458: 
1.150     moko     12459: /* Override any GCC internal prototype to avoid an error.
                   12460:    Use char because int might match the return type of a GCC
                   12461:    builtin and then its argument prototype would still apply.  */
1.128     moko     12462: #ifdef __cplusplus
                   12463: extern "C"
                   12464: #endif
                   12465: char dld_link ();
                   12466: int
                   12467: main ()
                   12468: {
1.150     moko     12469: return dld_link ();
1.128     moko     12470:   ;
                   12471:   return 0;
                   12472: }
                   12473: _ACEOF
1.150     moko     12474: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12475:   ac_cv_lib_dld_dld_link=yes
                   12476: else
1.150     moko     12477:   ac_cv_lib_dld_dld_link=no
                   12478: fi
                   12479: rm -f core conftest.err conftest.$ac_objext \
                   12480:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12481: LIBS=$ac_check_lib_save_LIBS
                   12482: fi
1.150     moko     12483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12484: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12485: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12486:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12487: fi
                   12488: 
                   12489: 
                   12490: fi
                   12491: 
                   12492: 
                   12493: fi
                   12494: 
                   12495: 
                   12496: fi
                   12497: 
                   12498: 
                   12499: fi
                   12500: 
                   12501: 
                   12502: fi
                   12503: 
                   12504:     ;;
                   12505:   esac
                   12506: 
                   12507:   if test "x$lt_cv_dlopen" != xno; then
                   12508:     enable_dlopen=yes
                   12509:   else
                   12510:     enable_dlopen=no
                   12511:   fi
                   12512: 
                   12513:   case $lt_cv_dlopen in
                   12514:   dlopen)
                   12515:     save_CPPFLAGS="$CPPFLAGS"
                   12516:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12517: 
                   12518:     save_LDFLAGS="$LDFLAGS"
                   12519:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12520: 
                   12521:     save_LIBS="$LIBS"
                   12522:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12523: 
1.150     moko     12524:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12525: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12526: if ${lt_cv_dlopen_self+:} false; then :
                   12527:   $as_echo_n "(cached) " >&6
1.128     moko     12528: else
                   12529:          if test "$cross_compiling" = yes; then :
                   12530:   lt_cv_dlopen_self=cross
                   12531: else
                   12532:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12533:   lt_status=$lt_dlunknown
                   12534:   cat > conftest.$ac_ext <<_LT_EOF
                   12535: #line $LINENO "configure"
                   12536: #include "confdefs.h"
                   12537: 
                   12538: #if HAVE_DLFCN_H
                   12539: #include <dlfcn.h>
                   12540: #endif
                   12541: 
                   12542: #include <stdio.h>
                   12543: 
                   12544: #ifdef RTLD_GLOBAL
                   12545: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12546: #else
                   12547: #  ifdef DL_GLOBAL
                   12548: #    define LT_DLGLOBAL                DL_GLOBAL
                   12549: #  else
                   12550: #    define LT_DLGLOBAL                0
                   12551: #  endif
                   12552: #endif
                   12553: 
                   12554: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12555:    find out it does not work in some platform. */
                   12556: #ifndef LT_DLLAZY_OR_NOW
                   12557: #  ifdef RTLD_LAZY
                   12558: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12559: #  else
                   12560: #    ifdef DL_LAZY
                   12561: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12562: #    else
                   12563: #      ifdef RTLD_NOW
                   12564: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12565: #      else
                   12566: #        ifdef DL_NOW
                   12567: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12568: #        else
                   12569: #          define LT_DLLAZY_OR_NOW     0
                   12570: #        endif
                   12571: #      endif
                   12572: #    endif
                   12573: #  endif
                   12574: #endif
                   12575: 
                   12576: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12577:    correspondingly for the symbols needed.  */
                   12578: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12579: int fnord () __attribute__((visibility("default")));
                   12580: #endif
                   12581: 
                   12582: int fnord () { return 42; }
                   12583: int main ()
                   12584: {
                   12585:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12586:   int status = $lt_dlunknown;
                   12587: 
                   12588:   if (self)
                   12589:     {
                   12590:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12591:       else
                   12592:         {
                   12593:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12594:           else puts (dlerror ());
                   12595:        }
                   12596:       /* dlclose (self); */
                   12597:     }
                   12598:   else
                   12599:     puts (dlerror ());
                   12600: 
                   12601:   return status;
                   12602: }
                   12603: _LT_EOF
1.150     moko     12604:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12605:   (eval $ac_link) 2>&5
                   12606:   ac_status=$?
1.150     moko     12607:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12608:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12609:     (./conftest; exit; ) >&5 2>/dev/null
                   12610:     lt_status=$?
                   12611:     case x$lt_status in
                   12612:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12613:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12614:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12615:     esac
                   12616:   else :
                   12617:     # compilation failed
                   12618:     lt_cv_dlopen_self=no
                   12619:   fi
                   12620: fi
                   12621: rm -fr conftest*
                   12622: 
                   12623: 
                   12624: fi
1.150     moko     12625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12626: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12627: 
                   12628:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12629:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12630:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12631: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12632: if ${lt_cv_dlopen_self_static+:} false; then :
                   12633:   $as_echo_n "(cached) " >&6
1.128     moko     12634: else
                   12635:          if test "$cross_compiling" = yes; then :
                   12636:   lt_cv_dlopen_self_static=cross
                   12637: else
                   12638:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12639:   lt_status=$lt_dlunknown
                   12640:   cat > conftest.$ac_ext <<_LT_EOF
                   12641: #line $LINENO "configure"
                   12642: #include "confdefs.h"
                   12643: 
                   12644: #if HAVE_DLFCN_H
                   12645: #include <dlfcn.h>
                   12646: #endif
                   12647: 
                   12648: #include <stdio.h>
                   12649: 
                   12650: #ifdef RTLD_GLOBAL
                   12651: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12652: #else
                   12653: #  ifdef DL_GLOBAL
                   12654: #    define LT_DLGLOBAL                DL_GLOBAL
                   12655: #  else
                   12656: #    define LT_DLGLOBAL                0
                   12657: #  endif
                   12658: #endif
                   12659: 
                   12660: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12661:    find out it does not work in some platform. */
                   12662: #ifndef LT_DLLAZY_OR_NOW
                   12663: #  ifdef RTLD_LAZY
                   12664: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12665: #  else
                   12666: #    ifdef DL_LAZY
                   12667: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12668: #    else
                   12669: #      ifdef RTLD_NOW
                   12670: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12671: #      else
                   12672: #        ifdef DL_NOW
                   12673: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12674: #        else
                   12675: #          define LT_DLLAZY_OR_NOW     0
                   12676: #        endif
                   12677: #      endif
                   12678: #    endif
                   12679: #  endif
                   12680: #endif
                   12681: 
                   12682: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12683:    correspondingly for the symbols needed.  */
                   12684: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12685: int fnord () __attribute__((visibility("default")));
                   12686: #endif
                   12687: 
                   12688: int fnord () { return 42; }
                   12689: int main ()
                   12690: {
                   12691:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12692:   int status = $lt_dlunknown;
                   12693: 
                   12694:   if (self)
                   12695:     {
                   12696:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12697:       else
                   12698:         {
                   12699:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12700:           else puts (dlerror ());
                   12701:        }
                   12702:       /* dlclose (self); */
                   12703:     }
                   12704:   else
                   12705:     puts (dlerror ());
                   12706: 
                   12707:   return status;
                   12708: }
                   12709: _LT_EOF
1.150     moko     12710:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12711:   (eval $ac_link) 2>&5
                   12712:   ac_status=$?
1.150     moko     12713:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12714:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12715:     (./conftest; exit; ) >&5 2>/dev/null
                   12716:     lt_status=$?
                   12717:     case x$lt_status in
                   12718:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12719:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12720:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12721:     esac
                   12722:   else :
                   12723:     # compilation failed
                   12724:     lt_cv_dlopen_self_static=no
                   12725:   fi
                   12726: fi
                   12727: rm -fr conftest*
                   12728: 
                   12729: 
                   12730: fi
1.150     moko     12731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12732: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12733:     fi
                   12734: 
                   12735:     CPPFLAGS="$save_CPPFLAGS"
                   12736:     LDFLAGS="$save_LDFLAGS"
                   12737:     LIBS="$save_LIBS"
                   12738:     ;;
                   12739:   esac
                   12740: 
                   12741:   case $lt_cv_dlopen_self in
                   12742:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12743:   *) enable_dlopen_self=unknown ;;
                   12744:   esac
                   12745: 
                   12746:   case $lt_cv_dlopen_self_static in
                   12747:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12748:   *) enable_dlopen_self_static=unknown ;;
                   12749:   esac
                   12750: fi
                   12751: 
                   12752: 
                   12753: 
                   12754: 
                   12755: 
                   12756: 
                   12757: 
                   12758: 
                   12759: 
                   12760: 
                   12761: 
                   12762: 
                   12763: 
                   12764: 
                   12765: 
                   12766: 
                   12767: 
                   12768: striplib=
                   12769: old_striplib=
1.150     moko     12770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12771: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12772: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12773:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12774:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12775:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12776: $as_echo "yes" >&6; }
1.128     moko     12777: else
                   12778: # FIXME - insert some real tests, host_os isn't really good enough
                   12779:   case $host_os in
                   12780:   darwin*)
                   12781:     if test -n "$STRIP" ; then
                   12782:       striplib="$STRIP -x"
                   12783:       old_striplib="$STRIP -S"
1.150     moko     12784:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12785: $as_echo "yes" >&6; }
1.128     moko     12786:     else
1.150     moko     12787:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12788: $as_echo "no" >&6; }
1.128     moko     12789:     fi
                   12790:     ;;
                   12791:   *)
1.150     moko     12792:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12793: $as_echo "no" >&6; }
1.128     moko     12794:     ;;
                   12795:   esac
                   12796: fi
                   12797: 
                   12798: 
                   12799: 
                   12800: 
                   12801: 
                   12802: 
                   12803: 
                   12804: 
                   12805: 
                   12806: 
                   12807: 
                   12808: 
                   12809:   # Report which library types will actually be built
1.150     moko     12810:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12811: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12812:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12813: $as_echo "$can_build_shared" >&6; }
1.128     moko     12814: 
1.150     moko     12815:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12816: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12817:   test "$can_build_shared" = "no" && enable_shared=no
                   12818: 
                   12819:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12820:   # are all built from PIC.
                   12821:   case $host_os in
                   12822:   aix3*)
                   12823:     test "$enable_shared" = yes && enable_static=no
                   12824:     if test -n "$RANLIB"; then
                   12825:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12826:       postinstall_cmds='$RANLIB $lib'
                   12827:     fi
                   12828:     ;;
                   12829: 
                   12830:   aix[4-9]*)
                   12831:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12832:       test "$enable_shared" = yes && enable_static=no
                   12833:     fi
                   12834:     ;;
                   12835:   esac
1.150     moko     12836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12837: $as_echo "$enable_shared" >&6; }
1.128     moko     12838: 
1.150     moko     12839:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12840: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12841:   # Make sure either enable_shared or enable_static is yes.
                   12842:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12844: $as_echo "$enable_static" >&6; }
1.128     moko     12845: 
                   12846: 
                   12847: 
                   12848: 
                   12849: fi
                   12850: ac_ext=c
                   12851: ac_cpp='$CPP $CPPFLAGS'
                   12852: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12853: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12854: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12855: 
                   12856: CC="$lt_save_CC"
                   12857: 
                   12858:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12859:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12860:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12861:   ac_ext=cpp
1.128     moko     12862: ac_cpp='$CXXCPP $CPPFLAGS'
                   12863: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12864: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12865: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12867: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12868: if test -z "$CXXCPP"; then
1.150     moko     12869:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12870:   $as_echo_n "(cached) " >&6
1.128     moko     12871: else
                   12872:       # Double quotes because CXXCPP needs to be expanded
                   12873:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12874:     do
                   12875:       ac_preproc_ok=false
                   12876: for ac_cxx_preproc_warn_flag in '' yes
                   12877: do
                   12878:   # Use a header file that comes with gcc, so configuring glibc
                   12879:   # with a fresh cross-compiler works.
                   12880:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12881:   # <limits.h> exists even on freestanding compilers.
                   12882:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12883:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12884:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12885: /* end confdefs.h.  */
                   12886: #ifdef __STDC__
                   12887: # include <limits.h>
                   12888: #else
                   12889: # include <assert.h>
                   12890: #endif
                   12891:                     Syntax error
                   12892: _ACEOF
1.150     moko     12893: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12894: 
1.128     moko     12895: else
                   12896:   # Broken: fails on valid input.
                   12897: continue
                   12898: fi
1.150     moko     12899: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12900: 
1.150     moko     12901:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12902:   # can be detected and how.
1.150     moko     12903:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12904: /* end confdefs.h.  */
                   12905: #include <ac_nonexistent.h>
                   12906: _ACEOF
1.150     moko     12907: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12908:   # Broken: success on invalid input.
                   12909: continue
                   12910: else
                   12911:   # Passes both tests.
                   12912: ac_preproc_ok=:
                   12913: break
                   12914: fi
1.150     moko     12915: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12916: 
                   12917: done
                   12918: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12919: rm -f conftest.i conftest.err conftest.$ac_ext
                   12920: if $ac_preproc_ok; then :
1.128     moko     12921:   break
                   12922: fi
                   12923: 
                   12924:     done
                   12925:     ac_cv_prog_CXXCPP=$CXXCPP
                   12926: 
                   12927: fi
                   12928:   CXXCPP=$ac_cv_prog_CXXCPP
                   12929: else
                   12930:   ac_cv_prog_CXXCPP=$CXXCPP
                   12931: fi
1.150     moko     12932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12933: $as_echo "$CXXCPP" >&6; }
1.128     moko     12934: ac_preproc_ok=false
                   12935: for ac_cxx_preproc_warn_flag in '' yes
                   12936: do
                   12937:   # Use a header file that comes with gcc, so configuring glibc
                   12938:   # with a fresh cross-compiler works.
                   12939:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12940:   # <limits.h> exists even on freestanding compilers.
                   12941:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12942:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12943:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12944: /* end confdefs.h.  */
                   12945: #ifdef __STDC__
                   12946: # include <limits.h>
                   12947: #else
                   12948: # include <assert.h>
                   12949: #endif
                   12950:                     Syntax error
                   12951: _ACEOF
1.150     moko     12952: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12953: 
1.128     moko     12954: else
                   12955:   # Broken: fails on valid input.
                   12956: continue
                   12957: fi
1.150     moko     12958: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12959: 
1.150     moko     12960:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12961:   # can be detected and how.
1.150     moko     12962:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12963: /* end confdefs.h.  */
                   12964: #include <ac_nonexistent.h>
                   12965: _ACEOF
1.150     moko     12966: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12967:   # Broken: success on invalid input.
                   12968: continue
                   12969: else
                   12970:   # Passes both tests.
                   12971: ac_preproc_ok=:
                   12972: break
                   12973: fi
1.150     moko     12974: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12975: 
                   12976: done
                   12977: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12978: rm -f conftest.i conftest.err conftest.$ac_ext
                   12979: if $ac_preproc_ok; then :
                   12980: 
1.128     moko     12981: else
1.150     moko     12982:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12983: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12984: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   12985: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     12986: fi
                   12987: 
                   12988: ac_ext=c
                   12989: ac_cpp='$CPP $CPPFLAGS'
                   12990: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12991: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12992: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12993: 
                   12994: else
                   12995:   _lt_caught_CXX_error=yes
                   12996: fi
                   12997: 
1.150     moko     12998: ac_ext=cpp
1.128     moko     12999: ac_cpp='$CXXCPP $CPPFLAGS'
                   13000: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13001: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13002: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13003: 
                   13004: archive_cmds_need_lc_CXX=no
                   13005: allow_undefined_flag_CXX=
                   13006: always_export_symbols_CXX=no
                   13007: archive_expsym_cmds_CXX=
                   13008: compiler_needs_object_CXX=no
                   13009: export_dynamic_flag_spec_CXX=
                   13010: hardcode_direct_CXX=no
                   13011: hardcode_direct_absolute_CXX=no
                   13012: hardcode_libdir_flag_spec_CXX=
                   13013: hardcode_libdir_separator_CXX=
                   13014: hardcode_minus_L_CXX=no
                   13015: hardcode_shlibpath_var_CXX=unsupported
                   13016: hardcode_automatic_CXX=no
                   13017: inherit_rpath_CXX=no
                   13018: module_cmds_CXX=
                   13019: module_expsym_cmds_CXX=
                   13020: link_all_deplibs_CXX=unknown
                   13021: old_archive_cmds_CXX=$old_archive_cmds
                   13022: reload_flag_CXX=$reload_flag
                   13023: reload_cmds_CXX=$reload_cmds
                   13024: no_undefined_flag_CXX=
                   13025: whole_archive_flag_spec_CXX=
                   13026: enable_shared_with_static_runtimes_CXX=no
                   13027: 
                   13028: # Source file extension for C++ test sources.
                   13029: ac_ext=cpp
                   13030: 
                   13031: # Object file extension for compiled C++ test sources.
                   13032: objext=o
                   13033: objext_CXX=$objext
                   13034: 
                   13035: # No sense in running all these tests if we already determined that
                   13036: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13037: # are currently assumed to apply to all compilers on this platform,
                   13038: # and will be corrupted by setting them based on a non-working compiler.
                   13039: if test "$_lt_caught_CXX_error" != yes; then
                   13040:   # Code to be used in simple compile tests
                   13041:   lt_simple_compile_test_code="int some_variable = 0;"
                   13042: 
                   13043:   # Code to be used in simple link tests
                   13044:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13045: 
                   13046:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13047: 
                   13048: 
                   13049: 
                   13050: 
                   13051: 
                   13052: 
                   13053: # If no C compiler was specified, use CC.
                   13054: LTCC=${LTCC-"$CC"}
                   13055: 
                   13056: # If no C compiler flags were specified, use CFLAGS.
                   13057: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13058: 
                   13059: # Allow CC to be a program name with arguments.
                   13060: compiler=$CC
                   13061: 
                   13062: 
                   13063:   # save warnings/boilerplate of simple test code
                   13064:   ac_outfile=conftest.$ac_objext
                   13065: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13066: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13067: _lt_compiler_boilerplate=`cat conftest.err`
                   13068: $RM conftest*
                   13069: 
                   13070:   ac_outfile=conftest.$ac_objext
                   13071: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13072: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13073: _lt_linker_boilerplate=`cat conftest.err`
                   13074: $RM -r conftest*
                   13075: 
                   13076: 
                   13077:   # Allow CC to be a program name with arguments.
                   13078:   lt_save_CC=$CC
                   13079:   lt_save_CFLAGS=$CFLAGS
                   13080:   lt_save_LD=$LD
                   13081:   lt_save_GCC=$GCC
                   13082:   GCC=$GXX
                   13083:   lt_save_with_gnu_ld=$with_gnu_ld
                   13084:   lt_save_path_LD=$lt_cv_path_LD
                   13085:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13086:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13087:   else
                   13088:     $as_unset lt_cv_prog_gnu_ld
                   13089:   fi
                   13090:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13091:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13092:   else
                   13093:     $as_unset lt_cv_path_LD
                   13094:   fi
                   13095:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13096:   CC=${CXX-"c++"}
                   13097:   CFLAGS=$CXXFLAGS
                   13098:   compiler=$CC
                   13099:   compiler_CXX=$CC
                   13100:   for cc_temp in $compiler""; do
                   13101:   case $cc_temp in
                   13102:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13103:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13104:     \-*) ;;
                   13105:     *) break;;
                   13106:   esac
                   13107: done
                   13108: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13109: 
                   13110: 
                   13111:   if test -n "$compiler"; then
                   13112:     # We don't want -fno-exception when compiling C++ code, so set the
                   13113:     # no_builtin_flag separately
                   13114:     if test "$GXX" = yes; then
                   13115:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13116:     else
                   13117:       lt_prog_compiler_no_builtin_flag_CXX=
                   13118:     fi
                   13119: 
                   13120:     if test "$GXX" = yes; then
                   13121:       # Set up default GNU C++ configuration
                   13122: 
                   13123: 
                   13124: 
1.150     moko     13125: # Check whether --with-gnu-ld was given.
                   13126: if test "${with_gnu_ld+set}" = set; then :
                   13127:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13128: else
                   13129:   with_gnu_ld=no
1.150     moko     13130: fi
                   13131: 
1.128     moko     13132: ac_prog=ld
                   13133: if test "$GCC" = yes; then
                   13134:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13135:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13136: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13137:   case $host in
                   13138:   *-*-mingw*)
                   13139:     # gcc leaves a trailing carriage return which upsets mingw
                   13140:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13141:   *)
                   13142:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13143:   esac
                   13144:   case $ac_prog in
                   13145:     # Accept absolute paths.
                   13146:     [\\/]* | ?:[\\/]*)
                   13147:       re_direlt='/[^/][^/]*/\.\./'
                   13148:       # Canonicalize the pathname of ld
                   13149:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13150:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13151:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13152:       done
                   13153:       test -z "$LD" && LD="$ac_prog"
                   13154:       ;;
                   13155:   "")
                   13156:     # If it fails, then pretend we aren't using GCC.
                   13157:     ac_prog=ld
                   13158:     ;;
                   13159:   *)
                   13160:     # If it is relative, then search for the first ld in PATH.
                   13161:     with_gnu_ld=unknown
                   13162:     ;;
                   13163:   esac
                   13164: elif test "$with_gnu_ld" = yes; then
1.150     moko     13165:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13166: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13167: else
1.150     moko     13168:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13169: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13170: fi
1.150     moko     13171: if ${lt_cv_path_LD+:} false; then :
                   13172:   $as_echo_n "(cached) " >&6
1.128     moko     13173: else
                   13174:   if test -z "$LD"; then
                   13175:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13176:   for ac_dir in $PATH; do
                   13177:     IFS="$lt_save_ifs"
                   13178:     test -z "$ac_dir" && ac_dir=.
                   13179:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13180:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13181:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13182:       # but apparently some variants of GNU ld only accept -v.
                   13183:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13184:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13185:       *GNU* | *'with BFD'*)
                   13186:        test "$with_gnu_ld" != no && break
                   13187:        ;;
                   13188:       *)
                   13189:        test "$with_gnu_ld" != yes && break
                   13190:        ;;
                   13191:       esac
                   13192:     fi
                   13193:   done
                   13194:   IFS="$lt_save_ifs"
                   13195: else
                   13196:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13197: fi
                   13198: fi
                   13199: 
                   13200: LD="$lt_cv_path_LD"
                   13201: if test -n "$LD"; then
1.150     moko     13202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13203: $as_echo "$LD" >&6; }
1.128     moko     13204: else
1.150     moko     13205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13206: $as_echo "no" >&6; }
1.128     moko     13207: fi
1.150     moko     13208: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13210: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13211: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13212:   $as_echo_n "(cached) " >&6
1.128     moko     13213: else
                   13214:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13215: case `$LD -v 2>&1 </dev/null` in
                   13216: *GNU* | *'with BFD'*)
                   13217:   lt_cv_prog_gnu_ld=yes
                   13218:   ;;
                   13219: *)
                   13220:   lt_cv_prog_gnu_ld=no
                   13221:   ;;
                   13222: esac
                   13223: fi
1.150     moko     13224: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13225: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13226: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13227: 
                   13228: 
                   13229: 
                   13230: 
                   13231: 
                   13232: 
                   13233: 
                   13234:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13235:       # archiving commands below assume that GNU ld is being used.
                   13236:       if test "$with_gnu_ld" = yes; then
                   13237:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13238:         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'
                   13239: 
                   13240:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13241:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13242: 
                   13243:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13244:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13245:         #     investigate it a little bit more. (MM)
                   13246:         wlarc='${wl}'
                   13247: 
                   13248:         # ancient GNU ld didn't support --whole-archive et. al.
                   13249:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13250:          $GREP 'no-whole-archive' > /dev/null; then
                   13251:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13252:         else
                   13253:           whole_archive_flag_spec_CXX=
                   13254:         fi
                   13255:       else
                   13256:         with_gnu_ld=no
                   13257:         wlarc=
                   13258: 
                   13259:         # A generic and very simple default shared library creation
                   13260:         # command for GNU C++ for the case where it uses the native
                   13261:         # linker, instead of GNU ld.  If possible, this setting should
                   13262:         # overridden to take advantage of the native linker features on
                   13263:         # the platform it is being used on.
                   13264:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13265:       fi
                   13266: 
                   13267:       # Commands to make compiler produce verbose output that lists
                   13268:       # what "hidden" libraries, object files and flags are used when
                   13269:       # linking a shared library.
                   13270:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13271: 
                   13272:     else
                   13273:       GXX=no
                   13274:       with_gnu_ld=no
                   13275:       wlarc=
                   13276:     fi
                   13277: 
                   13278:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13279:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13280: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13281:     ld_shlibs_CXX=yes
                   13282:     case $host_os in
                   13283:       aix3*)
                   13284:         # FIXME: insert proper C++ library support
                   13285:         ld_shlibs_CXX=no
                   13286:         ;;
                   13287:       aix[4-9]*)
                   13288:         if test "$host_cpu" = ia64; then
                   13289:           # On IA64, the linker does run time linking by default, so we don't
                   13290:           # have to do anything special.
                   13291:           aix_use_runtimelinking=no
                   13292:           exp_sym_flag='-Bexport'
                   13293:           no_entry_flag=""
                   13294:         else
                   13295:           aix_use_runtimelinking=no
                   13296: 
                   13297:           # Test if we are trying to use run time linking or normal
                   13298:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13299:           # need to do runtime linking.
                   13300:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13301:            for ld_flag in $LDFLAGS; do
                   13302:              case $ld_flag in
                   13303:              *-brtl*)
                   13304:                aix_use_runtimelinking=yes
                   13305:                break
                   13306:                ;;
                   13307:              esac
                   13308:            done
                   13309:            ;;
                   13310:           esac
                   13311: 
                   13312:           exp_sym_flag='-bexport'
                   13313:           no_entry_flag='-bnoentry'
                   13314:         fi
                   13315: 
                   13316:         # When large executables or shared objects are built, AIX ld can
                   13317:         # have problems creating the table of contents.  If linking a library
                   13318:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13319:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13320:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13321: 
                   13322:         archive_cmds_CXX=''
                   13323:         hardcode_direct_CXX=yes
                   13324:         hardcode_direct_absolute_CXX=yes
                   13325:         hardcode_libdir_separator_CXX=':'
                   13326:         link_all_deplibs_CXX=yes
                   13327:         file_list_spec_CXX='${wl}-f,'
                   13328: 
                   13329:         if test "$GXX" = yes; then
                   13330:           case $host_os in aix4.[012]|aix4.[012].*)
                   13331:           # We only want to do this on AIX 4.2 and lower, the check
                   13332:           # below for broken collect2 doesn't work under 4.3+
                   13333:          collect2name=`${CC} -print-prog-name=collect2`
                   13334:          if test -f "$collect2name" &&
                   13335:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13336:          then
                   13337:            # We have reworked collect2
                   13338:            :
                   13339:          else
                   13340:            # We have old collect2
                   13341:            hardcode_direct_CXX=unsupported
                   13342:            # It fails to find uninstalled libraries when the uninstalled
                   13343:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13344:            # to unsupported forces relinking
                   13345:            hardcode_minus_L_CXX=yes
                   13346:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13347:            hardcode_libdir_separator_CXX=
                   13348:          fi
                   13349:           esac
                   13350:           shared_flag='-shared'
                   13351:          if test "$aix_use_runtimelinking" = yes; then
                   13352:            shared_flag="$shared_flag "'${wl}-G'
                   13353:          fi
                   13354:         else
                   13355:           # not using gcc
                   13356:           if test "$host_cpu" = ia64; then
                   13357:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13358:          # chokes on -Wl,-G. The following line is correct:
                   13359:          shared_flag='-G'
                   13360:           else
                   13361:            if test "$aix_use_runtimelinking" = yes; then
                   13362:              shared_flag='${wl}-G'
                   13363:            else
                   13364:              shared_flag='${wl}-bM:SRE'
                   13365:            fi
                   13366:           fi
                   13367:         fi
                   13368: 
                   13369:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13370:         # It seems that -bexpall does not export symbols beginning with
                   13371:         # underscore (_), so it is better to generate a list of symbols to
                   13372:        # export.
                   13373:         always_export_symbols_CXX=yes
                   13374:         if test "$aix_use_runtimelinking" = yes; then
                   13375:           # Warning - without using the other runtime loading flags (-brtl),
                   13376:           # -berok will link without error, but may produce a broken library.
                   13377:           allow_undefined_flag_CXX='-berok'
                   13378:           # Determine the default libpath from the value encoded in an empty
                   13379:           # executable.
                   13380:           if test "${lt_cv_aix_libpath+set}" = set; then
                   13381:   aix_libpath=$lt_cv_aix_libpath
                   13382: else
1.150     moko     13383:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13384:   $as_echo_n "(cached) " >&6
1.128     moko     13385: else
1.150     moko     13386:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13387: /* end confdefs.h.  */
                   13388: 
                   13389: int
                   13390: main ()
                   13391: {
                   13392: 
                   13393:   ;
                   13394:   return 0;
                   13395: }
                   13396: _ACEOF
1.150     moko     13397: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13398: 
                   13399:   lt_aix_libpath_sed='
                   13400:       /Import File Strings/,/^$/ {
                   13401:          /^0/ {
                   13402:              s/^0  *\([^ ]*\) *$/\1/
                   13403:              p
                   13404:          }
                   13405:       }'
                   13406:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13407:   # Check for a 64-bit object if we didn't find anything.
                   13408:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13409:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13410:   fi
                   13411: fi
1.150     moko     13412: rm -f core conftest.err conftest.$ac_objext \
                   13413:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13414:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13415:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13416:   fi
                   13417: 
                   13418: fi
                   13419: 
                   13420:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13421: fi
                   13422: 
                   13423:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13424: 
                   13425:           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"
                   13426:         else
                   13427:           if test "$host_cpu" = ia64; then
                   13428:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13429:            allow_undefined_flag_CXX="-z nodefs"
                   13430:            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"
                   13431:           else
                   13432:            # Determine the default libpath from the value encoded in an
                   13433:            # empty executable.
                   13434:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13435:   aix_libpath=$lt_cv_aix_libpath
                   13436: else
1.150     moko     13437:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13438:   $as_echo_n "(cached) " >&6
1.128     moko     13439: else
1.150     moko     13440:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13441: /* end confdefs.h.  */
                   13442: 
                   13443: int
                   13444: main ()
                   13445: {
                   13446: 
                   13447:   ;
                   13448:   return 0;
                   13449: }
                   13450: _ACEOF
1.150     moko     13451: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13452: 
                   13453:   lt_aix_libpath_sed='
                   13454:       /Import File Strings/,/^$/ {
                   13455:          /^0/ {
                   13456:              s/^0  *\([^ ]*\) *$/\1/
                   13457:              p
                   13458:          }
                   13459:       }'
                   13460:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13461:   # Check for a 64-bit object if we didn't find anything.
                   13462:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13463:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13464:   fi
                   13465: fi
1.150     moko     13466: rm -f core conftest.err conftest.$ac_objext \
                   13467:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13468:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13469:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13470:   fi
                   13471: 
                   13472: fi
                   13473: 
                   13474:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13475: fi
                   13476: 
                   13477:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13478:            # Warning - without using the other run time loading flags,
                   13479:            # -berok will link without error, but may produce a broken library.
                   13480:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13481:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13482:            if test "$with_gnu_ld" = yes; then
                   13483:              # We only use this code for GNU lds that support --whole-archive.
                   13484:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13485:            else
                   13486:              # Exported symbols can be pulled into shared objects from archives
                   13487:              whole_archive_flag_spec_CXX='$convenience'
                   13488:            fi
                   13489:            archive_cmds_need_lc_CXX=yes
                   13490:            # This is similar to how AIX traditionally builds its shared
                   13491:            # libraries.
                   13492:            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'
                   13493:           fi
                   13494:         fi
                   13495:         ;;
                   13496: 
                   13497:       beos*)
                   13498:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13499:          allow_undefined_flag_CXX=unsupported
                   13500:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13501:          # support --undefined.  This deserves some investigation.  FIXME
                   13502:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13503:        else
                   13504:          ld_shlibs_CXX=no
                   13505:        fi
                   13506:        ;;
                   13507: 
                   13508:       chorus*)
                   13509:         case $cc_basename in
                   13510:           *)
                   13511:          # FIXME: insert proper C++ library support
                   13512:          ld_shlibs_CXX=no
                   13513:          ;;
                   13514:         esac
                   13515:         ;;
                   13516: 
                   13517:       cygwin* | mingw* | pw32* | cegcc*)
                   13518:        case $GXX,$cc_basename in
                   13519:        ,cl* | no,cl*)
                   13520:          # Native MSVC
                   13521:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13522:          # no search path for DLLs.
                   13523:          hardcode_libdir_flag_spec_CXX=' '
                   13524:          allow_undefined_flag_CXX=unsupported
                   13525:          always_export_symbols_CXX=yes
                   13526:          file_list_spec_CXX='@'
                   13527:          # Tell ltmain to make .lib files, not .a files.
                   13528:          libext=lib
                   13529:          # Tell ltmain to make .dll files, not .so files.
                   13530:          shrext_cmds=".dll"
                   13531:          # FIXME: Setting linknames here is a bad hack.
                   13532:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13533:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13534:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13535:            else
                   13536:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13537:            fi~
                   13538:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13539:            linknames='
                   13540:          # The linker will not automatically build a static lib if we build a DLL.
                   13541:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13542:          enable_shared_with_static_runtimes_CXX=yes
                   13543:          # Don't use ranlib
                   13544:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13545:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13546:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13547:            case $lt_outputfile in
                   13548:              *.exe|*.EXE) ;;
                   13549:              *)
                   13550:                lt_outputfile="$lt_outputfile.exe"
                   13551:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13552:                ;;
                   13553:            esac~
                   13554:            func_to_tool_file "$lt_outputfile"~
                   13555:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13556:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13557:              $RM "$lt_outputfile.manifest";
                   13558:            fi'
                   13559:          ;;
                   13560:        *)
                   13561:          # g++
                   13562:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13563:          # as there is no search path for DLLs.
                   13564:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13565:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13566:          allow_undefined_flag_CXX=unsupported
                   13567:          always_export_symbols_CXX=no
                   13568:          enable_shared_with_static_runtimes_CXX=yes
                   13569: 
                   13570:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13571:            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'
                   13572:            # If the export-symbols file already is a .def file (1st line
                   13573:            # is EXPORTS), use it as is; otherwise, prepend...
                   13574:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13575:              cp $export_symbols $output_objdir/$soname.def;
                   13576:            else
                   13577:              echo EXPORTS > $output_objdir/$soname.def;
                   13578:              cat $export_symbols >> $output_objdir/$soname.def;
                   13579:            fi~
                   13580:            $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'
                   13581:          else
                   13582:            ld_shlibs_CXX=no
                   13583:          fi
                   13584:          ;;
                   13585:        esac
                   13586:        ;;
                   13587:       darwin* | rhapsody*)
                   13588: 
                   13589: 
                   13590:   archive_cmds_need_lc_CXX=no
                   13591:   hardcode_direct_CXX=no
                   13592:   hardcode_automatic_CXX=yes
                   13593:   hardcode_shlibpath_var_CXX=unsupported
                   13594:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13595:     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\"`'
                   13596: 
                   13597:   else
                   13598:     whole_archive_flag_spec_CXX=''
                   13599:   fi
                   13600:   link_all_deplibs_CXX=yes
                   13601:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13602:   case $cc_basename in
                   13603:      ifort*) _lt_dar_can_shared=yes ;;
                   13604:      *) _lt_dar_can_shared=$GCC ;;
                   13605:   esac
                   13606:   if test "$_lt_dar_can_shared" = "yes"; then
                   13607:     output_verbose_link_cmd=func_echo_all
                   13608:     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}"
                   13609:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13610:     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}"
                   13611:     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}"
                   13612:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13613:       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}"
                   13614:       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}"
                   13615:     fi
                   13616: 
                   13617:   else
                   13618:   ld_shlibs_CXX=no
                   13619:   fi
                   13620: 
                   13621:        ;;
                   13622: 
                   13623:       dgux*)
                   13624:         case $cc_basename in
                   13625:           ec++*)
                   13626:            # FIXME: insert proper C++ library support
                   13627:            ld_shlibs_CXX=no
                   13628:            ;;
                   13629:           ghcx*)
                   13630:            # Green Hills C++ Compiler
                   13631:            # FIXME: insert proper C++ library support
                   13632:            ld_shlibs_CXX=no
                   13633:            ;;
                   13634:           *)
                   13635:            # FIXME: insert proper C++ library support
                   13636:            ld_shlibs_CXX=no
                   13637:            ;;
                   13638:         esac
                   13639:         ;;
                   13640: 
                   13641:       freebsd2.*)
                   13642:         # C++ shared libraries reported to be fairly broken before
                   13643:        # switch to ELF
                   13644:         ld_shlibs_CXX=no
                   13645:         ;;
                   13646: 
                   13647:       freebsd-elf*)
                   13648:         archive_cmds_need_lc_CXX=no
                   13649:         ;;
                   13650: 
                   13651:       freebsd* | dragonfly*)
                   13652:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13653:         # conventions
                   13654:         ld_shlibs_CXX=yes
                   13655:         ;;
                   13656: 
                   13657:       gnu*)
                   13658:         ;;
                   13659: 
                   13660:       haiku*)
                   13661:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13662:         link_all_deplibs_CXX=yes
                   13663:         ;;
                   13664: 
                   13665:       hpux9*)
                   13666:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13667:         hardcode_libdir_separator_CXX=:
                   13668:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13669:         hardcode_direct_CXX=yes
                   13670:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13671:                                             # but as the default
                   13672:                                             # location of the library.
                   13673: 
                   13674:         case $cc_basename in
                   13675:           CC*)
                   13676:             # FIXME: insert proper C++ library support
                   13677:             ld_shlibs_CXX=no
                   13678:             ;;
                   13679:           aCC*)
                   13680:             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'
                   13681:             # Commands to make compiler produce verbose output that lists
                   13682:             # what "hidden" libraries, object files and flags are used when
                   13683:             # linking a shared library.
                   13684:             #
                   13685:             # There doesn't appear to be a way to prevent this compiler from
                   13686:             # explicitly linking system object files so we need to strip them
                   13687:             # from the output so that they don't get included in the library
                   13688:             # dependencies.
                   13689:             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"'
                   13690:             ;;
                   13691:           *)
                   13692:             if test "$GXX" = yes; then
                   13693:               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'
                   13694:             else
                   13695:               # FIXME: insert proper C++ library support
                   13696:               ld_shlibs_CXX=no
                   13697:             fi
                   13698:             ;;
                   13699:         esac
                   13700:         ;;
                   13701: 
                   13702:       hpux10*|hpux11*)
                   13703:         if test $with_gnu_ld = no; then
                   13704:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13705:          hardcode_libdir_separator_CXX=:
                   13706: 
                   13707:           case $host_cpu in
                   13708:             hppa*64*|ia64*)
                   13709:               ;;
                   13710:             *)
                   13711:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13712:               ;;
                   13713:           esac
                   13714:         fi
                   13715:         case $host_cpu in
                   13716:           hppa*64*|ia64*)
                   13717:             hardcode_direct_CXX=no
                   13718:             hardcode_shlibpath_var_CXX=no
                   13719:             ;;
                   13720:           *)
                   13721:             hardcode_direct_CXX=yes
                   13722:             hardcode_direct_absolute_CXX=yes
                   13723:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13724:                                                 # but as the default
                   13725:                                                 # location of the library.
                   13726:             ;;
                   13727:         esac
                   13728: 
                   13729:         case $cc_basename in
                   13730:           CC*)
                   13731:            # FIXME: insert proper C++ library support
                   13732:            ld_shlibs_CXX=no
                   13733:            ;;
                   13734:           aCC*)
                   13735:            case $host_cpu in
                   13736:              hppa*64*)
                   13737:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13738:                ;;
                   13739:              ia64*)
                   13740:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13741:                ;;
                   13742:              *)
                   13743:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13744:                ;;
                   13745:            esac
                   13746:            # Commands to make compiler produce verbose output that lists
                   13747:            # what "hidden" libraries, object files and flags are used when
                   13748:            # linking a shared library.
                   13749:            #
                   13750:            # There doesn't appear to be a way to prevent this compiler from
                   13751:            # explicitly linking system object files so we need to strip them
                   13752:            # from the output so that they don't get included in the library
                   13753:            # dependencies.
                   13754:            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"'
                   13755:            ;;
                   13756:           *)
                   13757:            if test "$GXX" = yes; then
                   13758:              if test $with_gnu_ld = no; then
                   13759:                case $host_cpu in
                   13760:                  hppa*64*)
                   13761:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13762:                    ;;
                   13763:                  ia64*)
                   13764:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13765:                    ;;
                   13766:                  *)
                   13767:                    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'
                   13768:                    ;;
                   13769:                esac
                   13770:              fi
                   13771:            else
                   13772:              # FIXME: insert proper C++ library support
                   13773:              ld_shlibs_CXX=no
                   13774:            fi
                   13775:            ;;
                   13776:         esac
                   13777:         ;;
                   13778: 
                   13779:       interix[3-9]*)
                   13780:        hardcode_direct_CXX=no
                   13781:        hardcode_shlibpath_var_CXX=no
                   13782:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13783:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13784:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13785:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13786:        # default) and relocated if they conflict, which is a slow very memory
                   13787:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13788:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13789:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13790:        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'
                   13791:        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'
                   13792:        ;;
                   13793:       irix5* | irix6*)
                   13794:         case $cc_basename in
                   13795:           CC*)
                   13796:            # SGI C++
                   13797:            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'
                   13798: 
                   13799:            # Archives containing C++ object files must be created using
                   13800:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13801:            # necessary to make sure instantiated templates are included
                   13802:            # in the archive.
                   13803:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13804:            ;;
                   13805:           *)
                   13806:            if test "$GXX" = yes; then
                   13807:              if test "$with_gnu_ld" = no; then
                   13808:                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'
                   13809:              else
                   13810:                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'
                   13811:              fi
                   13812:            fi
                   13813:            link_all_deplibs_CXX=yes
                   13814:            ;;
                   13815:         esac
                   13816:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13817:         hardcode_libdir_separator_CXX=:
                   13818:         inherit_rpath_CXX=yes
                   13819:         ;;
                   13820: 
                   13821:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13822:         case $cc_basename in
                   13823:           KCC*)
                   13824:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13825: 
                   13826:            # KCC will only create a shared library if the output file
                   13827:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13828:            # to its proper name (with version) after linking.
                   13829:            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'
                   13830:            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'
                   13831:            # Commands to make compiler produce verbose output that lists
                   13832:            # what "hidden" libraries, object files and flags are used when
                   13833:            # linking a shared library.
                   13834:            #
                   13835:            # There doesn't appear to be a way to prevent this compiler from
                   13836:            # explicitly linking system object files so we need to strip them
                   13837:            # from the output so that they don't get included in the library
                   13838:            # dependencies.
                   13839:            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"'
                   13840: 
                   13841:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13842:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13843: 
                   13844:            # Archives containing C++ object files must be created using
                   13845:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13846:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13847:            ;;
                   13848:          icpc* | ecpc* )
                   13849:            # Intel C++
                   13850:            with_gnu_ld=yes
                   13851:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13852:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13853:            # earlier do not add the objects themselves.
                   13854:            case `$CC -V 2>&1` in
                   13855:              *"Version 7."*)
                   13856:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13857:                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'
                   13858:                ;;
                   13859:              *)  # Version 8.0 or newer
                   13860:                tmp_idyn=
                   13861:                case $host_cpu in
                   13862:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13863:                esac
                   13864:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13865:                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'
                   13866:                ;;
                   13867:            esac
                   13868:            archive_cmds_need_lc_CXX=no
                   13869:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13870:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13871:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13872:            ;;
                   13873:           pgCC* | pgcpp*)
                   13874:             # Portland Group C++ compiler
                   13875:            case `$CC -V` in
                   13876:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13877:              prelink_cmds_CXX='tpldir=Template.dir~
                   13878:                rm -rf $tpldir~
                   13879:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13880:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13881:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13882:                rm -rf $tpldir~
                   13883:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13884:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13885:                $RANLIB $oldlib'
                   13886:              archive_cmds_CXX='tpldir=Template.dir~
                   13887:                rm -rf $tpldir~
                   13888:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13889:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13890:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13891:                rm -rf $tpldir~
                   13892:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13893:                $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'
                   13894:              ;;
                   13895:            *) # Version 6 and above use weak symbols
                   13896:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13897:              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'
                   13898:              ;;
                   13899:            esac
                   13900: 
                   13901:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13902:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13903:            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'
                   13904:             ;;
                   13905:          cxx*)
                   13906:            # Compaq C++
                   13907:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13908:            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'
                   13909: 
                   13910:            runpath_var=LD_RUN_PATH
                   13911:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13912:            hardcode_libdir_separator_CXX=:
                   13913: 
                   13914:            # Commands to make compiler produce verbose output that lists
                   13915:            # what "hidden" libraries, object files and flags are used when
                   13916:            # linking a shared library.
                   13917:            #
                   13918:            # There doesn't appear to be a way to prevent this compiler from
                   13919:            # explicitly linking system object files so we need to strip them
                   13920:            # from the output so that they don't get included in the library
                   13921:            # dependencies.
                   13922:            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'
                   13923:            ;;
                   13924:          xl* | mpixl* | bgxl*)
                   13925:            # IBM XL 8.0 on PPC, with GNU ld
                   13926:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13927:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13928:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13929:            if test "x$supports_anon_versioning" = xyes; then
                   13930:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13931:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13932:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13933:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13934:            fi
                   13935:            ;;
                   13936:          *)
                   13937:            case `$CC -V 2>&1 | sed 5q` in
                   13938:            *Sun\ C*)
                   13939:              # Sun C++ 5.9
                   13940:              no_undefined_flag_CXX=' -zdefs'
                   13941:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13942:              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'
                   13943:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13944:              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'
                   13945:              compiler_needs_object_CXX=yes
                   13946: 
                   13947:              # Not sure whether something based on
                   13948:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13949:              # would be better.
                   13950:              output_verbose_link_cmd='func_echo_all'
                   13951: 
                   13952:              # Archives containing C++ object files must be created using
                   13953:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13954:              # necessary to make sure instantiated templates are included
                   13955:              # in the archive.
                   13956:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13957:              ;;
                   13958:            esac
                   13959:            ;;
                   13960:        esac
                   13961:        ;;
                   13962: 
                   13963:       lynxos*)
                   13964:         # FIXME: insert proper C++ library support
                   13965:        ld_shlibs_CXX=no
                   13966:        ;;
                   13967: 
                   13968:       m88k*)
                   13969:         # FIXME: insert proper C++ library support
                   13970:         ld_shlibs_CXX=no
                   13971:        ;;
                   13972: 
                   13973:       mvs*)
                   13974:         case $cc_basename in
                   13975:           cxx*)
                   13976:            # FIXME: insert proper C++ library support
                   13977:            ld_shlibs_CXX=no
                   13978:            ;;
                   13979:          *)
                   13980:            # FIXME: insert proper C++ library support
                   13981:            ld_shlibs_CXX=no
                   13982:            ;;
                   13983:        esac
                   13984:        ;;
                   13985: 
                   13986:       netbsd*)
                   13987:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13988:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13989:          wlarc=
                   13990:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13991:          hardcode_direct_CXX=yes
                   13992:          hardcode_shlibpath_var_CXX=no
                   13993:        fi
                   13994:        # Workaround some broken pre-1.5 toolchains
                   13995:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13996:        ;;
                   13997: 
                   13998:       *nto* | *qnx*)
                   13999:         ld_shlibs_CXX=yes
                   14000:        ;;
                   14001: 
                   14002:       openbsd2*)
                   14003:         # C++ shared libraries are fairly broken
                   14004:        ld_shlibs_CXX=no
                   14005:        ;;
                   14006: 
                   14007:       openbsd*)
                   14008:        if test -f /usr/libexec/ld.so; then
                   14009:          hardcode_direct_CXX=yes
                   14010:          hardcode_shlibpath_var_CXX=no
                   14011:          hardcode_direct_absolute_CXX=yes
                   14012:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14013:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14014:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14015:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14016:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14017:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14018:          fi
                   14019:          output_verbose_link_cmd=func_echo_all
                   14020:        else
                   14021:          ld_shlibs_CXX=no
                   14022:        fi
                   14023:        ;;
                   14024: 
                   14025:       osf3* | osf4* | osf5*)
                   14026:         case $cc_basename in
                   14027:           KCC*)
                   14028:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14029: 
                   14030:            # KCC will only create a shared library if the output file
                   14031:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14032:            # to its proper name (with version) after linking.
                   14033:            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'
                   14034: 
                   14035:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14036:            hardcode_libdir_separator_CXX=:
                   14037: 
                   14038:            # Archives containing C++ object files must be created using
                   14039:            # the KAI C++ compiler.
                   14040:            case $host in
                   14041:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14042:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14043:            esac
                   14044:            ;;
                   14045:           RCC*)
                   14046:            # Rational C++ 2.4.1
                   14047:            # FIXME: insert proper C++ library support
                   14048:            ld_shlibs_CXX=no
                   14049:            ;;
                   14050:           cxx*)
                   14051:            case $host in
                   14052:              osf3*)
                   14053:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14054:                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'
                   14055:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14056:                ;;
                   14057:              *)
                   14058:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14059:                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'
                   14060:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14061:                  echo "-hidden">> $lib.exp~
                   14062:                  $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~
                   14063:                  $RM $lib.exp'
                   14064:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14065:                ;;
                   14066:            esac
                   14067: 
                   14068:            hardcode_libdir_separator_CXX=:
                   14069: 
                   14070:            # Commands to make compiler produce verbose output that lists
                   14071:            # what "hidden" libraries, object files and flags are used when
                   14072:            # linking a shared library.
                   14073:            #
                   14074:            # There doesn't appear to be a way to prevent this compiler from
                   14075:            # explicitly linking system object files so we need to strip them
                   14076:            # from the output so that they don't get included in the library
                   14077:            # dependencies.
                   14078:            output_verbose_link_cmd='templist=`$CC -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"'
                   14079:            ;;
                   14080:          *)
                   14081:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14082:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14083:              case $host in
                   14084:                osf3*)
                   14085:                  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'
                   14086:                  ;;
                   14087:                *)
                   14088:                  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'
                   14089:                  ;;
                   14090:              esac
                   14091: 
                   14092:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14093:              hardcode_libdir_separator_CXX=:
                   14094: 
                   14095:              # Commands to make compiler produce verbose output that lists
                   14096:              # what "hidden" libraries, object files and flags are used when
                   14097:              # linking a shared library.
                   14098:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14099: 
                   14100:            else
                   14101:              # FIXME: insert proper C++ library support
                   14102:              ld_shlibs_CXX=no
                   14103:            fi
                   14104:            ;;
                   14105:         esac
                   14106:         ;;
                   14107: 
                   14108:       psos*)
                   14109:         # FIXME: insert proper C++ library support
                   14110:         ld_shlibs_CXX=no
                   14111:         ;;
                   14112: 
                   14113:       sunos4*)
                   14114:         case $cc_basename in
                   14115:           CC*)
                   14116:            # Sun C++ 4.x
                   14117:            # FIXME: insert proper C++ library support
                   14118:            ld_shlibs_CXX=no
                   14119:            ;;
                   14120:           lcc*)
                   14121:            # Lucid
                   14122:            # FIXME: insert proper C++ library support
                   14123:            ld_shlibs_CXX=no
                   14124:            ;;
                   14125:           *)
                   14126:            # FIXME: insert proper C++ library support
                   14127:            ld_shlibs_CXX=no
                   14128:            ;;
                   14129:         esac
                   14130:         ;;
                   14131: 
                   14132:       solaris*)
                   14133:         case $cc_basename in
                   14134:           CC* | sunCC*)
                   14135:            # Sun C++ 4.2, 5.x and Centerline C++
                   14136:             archive_cmds_need_lc_CXX=yes
                   14137:            no_undefined_flag_CXX=' -zdefs'
                   14138:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14139:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14140:              $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'
                   14141: 
                   14142:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14143:            hardcode_shlibpath_var_CXX=no
                   14144:            case $host_os in
                   14145:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14146:              *)
                   14147:                # The compiler driver will combine and reorder linker options,
                   14148:                # but understands `-z linker_flag'.
                   14149:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14150:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14151:                ;;
                   14152:            esac
                   14153:            link_all_deplibs_CXX=yes
                   14154: 
                   14155:            output_verbose_link_cmd='func_echo_all'
                   14156: 
                   14157:            # Archives containing C++ object files must be created using
                   14158:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14159:            # necessary to make sure instantiated templates are included
                   14160:            # in the archive.
                   14161:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14162:            ;;
                   14163:           gcx*)
                   14164:            # Green Hills C++ Compiler
                   14165:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14166: 
                   14167:            # The C++ compiler must be used to create the archive.
                   14168:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14169:            ;;
                   14170:           *)
                   14171:            # GNU C++ compiler with Solaris linker
                   14172:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14173:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14174:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14175:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14176:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14177:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14178: 
                   14179:                # Commands to make compiler produce verbose output that lists
                   14180:                # what "hidden" libraries, object files and flags are used when
                   14181:                # linking a shared library.
                   14182:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14183:              else
                   14184:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14185:                # platform.
                   14186:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14187:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14188:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14189: 
                   14190:                # Commands to make compiler produce verbose output that lists
                   14191:                # what "hidden" libraries, object files and flags are used when
                   14192:                # linking a shared library.
                   14193:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14194:              fi
                   14195: 
                   14196:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14197:              case $host_os in
                   14198:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14199:                *)
                   14200:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14201:                  ;;
                   14202:              esac
                   14203:            fi
                   14204:            ;;
                   14205:         esac
                   14206:         ;;
                   14207: 
                   14208:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14209:       no_undefined_flag_CXX='${wl}-z,text'
                   14210:       archive_cmds_need_lc_CXX=no
                   14211:       hardcode_shlibpath_var_CXX=no
                   14212:       runpath_var='LD_RUN_PATH'
                   14213: 
                   14214:       case $cc_basename in
                   14215:         CC*)
                   14216:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14217:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14218:          ;;
                   14219:        *)
                   14220:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14221:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14222:          ;;
                   14223:       esac
                   14224:       ;;
                   14225: 
                   14226:       sysv5* | sco3.2v5* | sco5v6*)
                   14227:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14228:        # link with -lc, and that would cause any symbols used from libc to
                   14229:        # always be unresolved, which means just about no library would
                   14230:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14231:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14232:        # as -z defs.
                   14233:        no_undefined_flag_CXX='${wl}-z,text'
                   14234:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14235:        archive_cmds_need_lc_CXX=no
                   14236:        hardcode_shlibpath_var_CXX=no
                   14237:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14238:        hardcode_libdir_separator_CXX=':'
                   14239:        link_all_deplibs_CXX=yes
                   14240:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14241:        runpath_var='LD_RUN_PATH'
                   14242: 
                   14243:        case $cc_basename in
                   14244:           CC*)
                   14245:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14246:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14247:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14248:              '"$old_archive_cmds_CXX"
                   14249:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14250:              '"$reload_cmds_CXX"
                   14251:            ;;
                   14252:          *)
                   14253:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14254:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14255:            ;;
                   14256:        esac
                   14257:       ;;
                   14258: 
                   14259:       tandem*)
                   14260:         case $cc_basename in
                   14261:           NCC*)
                   14262:            # NonStop-UX NCC 3.20
                   14263:            # FIXME: insert proper C++ library support
                   14264:            ld_shlibs_CXX=no
                   14265:            ;;
                   14266:           *)
                   14267:            # FIXME: insert proper C++ library support
                   14268:            ld_shlibs_CXX=no
                   14269:            ;;
                   14270:         esac
                   14271:         ;;
                   14272: 
                   14273:       vxworks*)
                   14274:         # FIXME: insert proper C++ library support
                   14275:         ld_shlibs_CXX=no
                   14276:         ;;
                   14277: 
                   14278:       *)
                   14279:         # FIXME: insert proper C++ library support
                   14280:         ld_shlibs_CXX=no
                   14281:         ;;
                   14282:     esac
                   14283: 
1.150     moko     14284:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14285: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14286:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14287: 
                   14288:     GCC_CXX="$GXX"
                   14289:     LD_CXX="$LD"
                   14290: 
                   14291:     ## CAVEAT EMPTOR:
                   14292:     ## There is no encapsulation within the following macros, do not change
                   14293:     ## the running order or otherwise move them around unless you know exactly
                   14294:     ## what you are doing...
                   14295:     # Dependencies to place before and after the object being linked:
                   14296: predep_objects_CXX=
                   14297: postdep_objects_CXX=
                   14298: predeps_CXX=
                   14299: postdeps_CXX=
                   14300: compiler_lib_search_path_CXX=
                   14301: 
                   14302: cat > conftest.$ac_ext <<_LT_EOF
                   14303: class Foo
                   14304: {
                   14305: public:
                   14306:   Foo (void) { a = 0; }
                   14307: private:
                   14308:   int a;
                   14309: };
                   14310: _LT_EOF
                   14311: 
                   14312: 
                   14313: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14314: case "$CC $CFLAGS " in #(
                   14315: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14316: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14317: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14318: esac
                   14319: 
1.150     moko     14320: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14321:   (eval $ac_compile) 2>&5
                   14322:   ac_status=$?
1.150     moko     14323:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14324:   test $ac_status = 0; }; then
1.128     moko     14325:   # Parse the compiler output and extract the necessary
                   14326:   # objects, libraries and library flags.
                   14327: 
                   14328:   # Sentinel used to keep track of whether or not we are before
                   14329:   # the conftest object file.
                   14330:   pre_test_object_deps_done=no
                   14331: 
                   14332:   for p in `eval "$output_verbose_link_cmd"`; do
                   14333:     case ${prev}${p} in
                   14334: 
                   14335:     -L* | -R* | -l*)
                   14336:        # Some compilers place space between "-{L,R}" and the path.
                   14337:        # Remove the space.
                   14338:        if test $p = "-L" ||
                   14339:           test $p = "-R"; then
                   14340:         prev=$p
                   14341:         continue
                   14342:        fi
                   14343: 
                   14344:        # Expand the sysroot to ease extracting the directories later.
                   14345:        if test -z "$prev"; then
                   14346:          case $p in
                   14347:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14348:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14349:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14350:          esac
                   14351:        fi
                   14352:        case $p in
                   14353:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14354:        esac
                   14355:        if test "$pre_test_object_deps_done" = no; then
                   14356:         case ${prev} in
                   14357:         -L | -R)
                   14358:           # Internal compiler library paths should come after those
                   14359:           # provided the user.  The postdeps already come after the
                   14360:           # user supplied libs so there is no need to process them.
                   14361:           if test -z "$compiler_lib_search_path_CXX"; then
                   14362:             compiler_lib_search_path_CXX="${prev}${p}"
                   14363:           else
                   14364:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14365:           fi
                   14366:           ;;
                   14367:         # The "-l" case would never come before the object being
                   14368:         # linked, so don't bother handling this case.
                   14369:         esac
                   14370:        else
                   14371:         if test -z "$postdeps_CXX"; then
                   14372:           postdeps_CXX="${prev}${p}"
                   14373:         else
                   14374:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14375:         fi
                   14376:        fi
                   14377:        prev=
                   14378:        ;;
                   14379: 
                   14380:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14381:     *.$objext)
                   14382:        # This assumes that the test object file only shows up
                   14383:        # once in the compiler output.
                   14384:        if test "$p" = "conftest.$objext"; then
                   14385:         pre_test_object_deps_done=yes
                   14386:         continue
                   14387:        fi
                   14388: 
                   14389:        if test "$pre_test_object_deps_done" = no; then
                   14390:         if test -z "$predep_objects_CXX"; then
                   14391:           predep_objects_CXX="$p"
                   14392:         else
                   14393:           predep_objects_CXX="$predep_objects_CXX $p"
                   14394:         fi
                   14395:        else
                   14396:         if test -z "$postdep_objects_CXX"; then
                   14397:           postdep_objects_CXX="$p"
                   14398:         else
                   14399:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14400:         fi
                   14401:        fi
                   14402:        ;;
                   14403: 
                   14404:     *) ;; # Ignore the rest.
                   14405: 
                   14406:     esac
                   14407:   done
                   14408: 
                   14409:   # Clean up.
                   14410:   rm -f a.out a.exe
                   14411: else
                   14412:   echo "libtool.m4: error: problem compiling CXX test program"
                   14413: fi
                   14414: 
                   14415: $RM -f confest.$objext
                   14416: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14417: 
                   14418: # PORTME: override above test on systems where it is broken
                   14419: case $host_os in
                   14420: interix[3-9]*)
                   14421:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14422:   # hack all around it, let's just trust "g++" to DTRT.
                   14423:   predep_objects_CXX=
                   14424:   postdep_objects_CXX=
                   14425:   postdeps_CXX=
                   14426:   ;;
                   14427: 
                   14428: linux*)
                   14429:   case `$CC -V 2>&1 | sed 5q` in
                   14430:   *Sun\ C*)
                   14431:     # Sun C++ 5.9
                   14432: 
                   14433:     # The more standards-conforming stlport4 library is
                   14434:     # incompatible with the Cstd library. Avoid specifying
                   14435:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14436:     # -library=stlport4 depends on it.
                   14437:     case " $CXX $CXXFLAGS " in
                   14438:     *" -library=stlport4 "*)
                   14439:       solaris_use_stlport4=yes
                   14440:       ;;
                   14441:     esac
                   14442: 
                   14443:     if test "$solaris_use_stlport4" != yes; then
                   14444:       postdeps_CXX='-library=Cstd -library=Crun'
                   14445:     fi
                   14446:     ;;
                   14447:   esac
                   14448:   ;;
                   14449: 
                   14450: solaris*)
                   14451:   case $cc_basename in
                   14452:   CC* | sunCC*)
                   14453:     # The more standards-conforming stlport4 library is
                   14454:     # incompatible with the Cstd library. Avoid specifying
                   14455:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14456:     # -library=stlport4 depends on it.
                   14457:     case " $CXX $CXXFLAGS " in
                   14458:     *" -library=stlport4 "*)
                   14459:       solaris_use_stlport4=yes
                   14460:       ;;
                   14461:     esac
                   14462: 
                   14463:     # Adding this requires a known-good setup of shared libraries for
                   14464:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14465:     # archive will be linked into the output, leading to subtle bugs.
                   14466:     if test "$solaris_use_stlport4" != yes; then
                   14467:       postdeps_CXX='-library=Cstd -library=Crun'
                   14468:     fi
                   14469:     ;;
                   14470:   esac
                   14471:   ;;
                   14472: esac
                   14473: 
                   14474: 
                   14475: case " $postdeps_CXX " in
                   14476: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14477: esac
                   14478:  compiler_lib_search_dirs_CXX=
                   14479: if test -n "${compiler_lib_search_path_CXX}"; then
                   14480:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14481: fi
                   14482: 
                   14483: 
                   14484: 
                   14485: 
                   14486: 
                   14487: 
                   14488: 
                   14489: 
                   14490: 
                   14491: 
                   14492: 
                   14493: 
                   14494: 
                   14495: 
                   14496: 
                   14497: 
                   14498: 
                   14499: 
                   14500: 
                   14501: 
                   14502: 
                   14503: 
                   14504: 
                   14505: 
                   14506: 
                   14507: 
                   14508: 
                   14509: 
                   14510: 
                   14511: 
                   14512: 
                   14513:     lt_prog_compiler_wl_CXX=
                   14514: lt_prog_compiler_pic_CXX=
                   14515: lt_prog_compiler_static_CXX=
                   14516: 
                   14517: 
                   14518:   # C++ specific cases for pic, static, wl, etc.
                   14519:   if test "$GXX" = yes; then
                   14520:     lt_prog_compiler_wl_CXX='-Wl,'
                   14521:     lt_prog_compiler_static_CXX='-static'
                   14522: 
                   14523:     case $host_os in
                   14524:     aix*)
                   14525:       # All AIX code is PIC.
                   14526:       if test "$host_cpu" = ia64; then
                   14527:        # AIX 5 now supports IA64 processor
                   14528:        lt_prog_compiler_static_CXX='-Bstatic'
                   14529:       fi
                   14530:       ;;
                   14531: 
                   14532:     amigaos*)
                   14533:       case $host_cpu in
                   14534:       powerpc)
                   14535:             # see comment about AmigaOS4 .so support
                   14536:             lt_prog_compiler_pic_CXX='-fPIC'
                   14537:         ;;
                   14538:       m68k)
                   14539:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14540:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14541:             # like `-m68040'.
                   14542:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14543:         ;;
                   14544:       esac
                   14545:       ;;
                   14546: 
                   14547:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14548:       # PIC is the default for these OSes.
                   14549:       ;;
                   14550:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14551:       # This hack is so that the source file can tell whether it is being
                   14552:       # built for inclusion in a dll (and should export symbols for example).
                   14553:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14554:       # (--disable-auto-import) libraries
                   14555:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14556:       ;;
                   14557:     darwin* | rhapsody*)
                   14558:       # PIC is the default on this platform
                   14559:       # Common symbols not allowed in MH_DYLIB files
                   14560:       lt_prog_compiler_pic_CXX='-fno-common'
                   14561:       ;;
                   14562:     *djgpp*)
                   14563:       # DJGPP does not support shared libraries at all
                   14564:       lt_prog_compiler_pic_CXX=
                   14565:       ;;
                   14566:     haiku*)
                   14567:       # PIC is the default for Haiku.
                   14568:       # The "-static" flag exists, but is broken.
                   14569:       lt_prog_compiler_static_CXX=
                   14570:       ;;
                   14571:     interix[3-9]*)
                   14572:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14573:       # Instead, we relocate shared libraries at runtime.
                   14574:       ;;
                   14575:     sysv4*MP*)
                   14576:       if test -d /usr/nec; then
                   14577:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14578:       fi
                   14579:       ;;
                   14580:     hpux*)
                   14581:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14582:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14583:       # sets the default TLS model and affects inlining.
                   14584:       case $host_cpu in
                   14585:       hppa*64*)
                   14586:        ;;
                   14587:       *)
                   14588:        lt_prog_compiler_pic_CXX='-fPIC'
                   14589:        ;;
                   14590:       esac
                   14591:       ;;
                   14592:     *qnx* | *nto*)
                   14593:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14594:       # it will coredump.
                   14595:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14596:       ;;
                   14597:     *)
                   14598:       lt_prog_compiler_pic_CXX='-fPIC'
                   14599:       ;;
                   14600:     esac
                   14601:   else
                   14602:     case $host_os in
                   14603:       aix[4-9]*)
                   14604:        # All AIX code is PIC.
                   14605:        if test "$host_cpu" = ia64; then
                   14606:          # AIX 5 now supports IA64 processor
                   14607:          lt_prog_compiler_static_CXX='-Bstatic'
                   14608:        else
                   14609:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14610:        fi
                   14611:        ;;
                   14612:       chorus*)
                   14613:        case $cc_basename in
                   14614:        cxch68*)
                   14615:          # Green Hills C++ Compiler
                   14616:          # _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"
                   14617:          ;;
                   14618:        esac
                   14619:        ;;
                   14620:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14621:        # This hack is so that the source file can tell whether it is being
                   14622:        # built for inclusion in a dll (and should export symbols for example).
                   14623:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14624:        ;;
                   14625:       dgux*)
                   14626:        case $cc_basename in
                   14627:          ec++*)
                   14628:            lt_prog_compiler_pic_CXX='-KPIC'
                   14629:            ;;
                   14630:          ghcx*)
                   14631:            # Green Hills C++ Compiler
                   14632:            lt_prog_compiler_pic_CXX='-pic'
                   14633:            ;;
                   14634:          *)
                   14635:            ;;
                   14636:        esac
                   14637:        ;;
                   14638:       freebsd* | dragonfly*)
                   14639:        # FreeBSD uses GNU C++
                   14640:        ;;
                   14641:       hpux9* | hpux10* | hpux11*)
                   14642:        case $cc_basename in
                   14643:          CC*)
                   14644:            lt_prog_compiler_wl_CXX='-Wl,'
                   14645:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14646:            if test "$host_cpu" != ia64; then
                   14647:              lt_prog_compiler_pic_CXX='+Z'
                   14648:            fi
                   14649:            ;;
                   14650:          aCC*)
                   14651:            lt_prog_compiler_wl_CXX='-Wl,'
                   14652:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14653:            case $host_cpu in
                   14654:            hppa*64*|ia64*)
                   14655:              # +Z the default
                   14656:              ;;
                   14657:            *)
                   14658:              lt_prog_compiler_pic_CXX='+Z'
                   14659:              ;;
                   14660:            esac
                   14661:            ;;
                   14662:          *)
                   14663:            ;;
                   14664:        esac
                   14665:        ;;
                   14666:       interix*)
                   14667:        # This is c89, which is MS Visual C++ (no shared libs)
                   14668:        # Anyone wants to do a port?
                   14669:        ;;
                   14670:       irix5* | irix6* | nonstopux*)
                   14671:        case $cc_basename in
                   14672:          CC*)
                   14673:            lt_prog_compiler_wl_CXX='-Wl,'
                   14674:            lt_prog_compiler_static_CXX='-non_shared'
                   14675:            # CC pic flag -KPIC is the default.
                   14676:            ;;
                   14677:          *)
                   14678:            ;;
                   14679:        esac
                   14680:        ;;
                   14681:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14682:        case $cc_basename in
                   14683:          KCC*)
                   14684:            # KAI C++ Compiler
                   14685:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14686:            lt_prog_compiler_pic_CXX='-fPIC'
                   14687:            ;;
                   14688:          ecpc* )
                   14689:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14690:            lt_prog_compiler_wl_CXX='-Wl,'
                   14691:            lt_prog_compiler_pic_CXX='-KPIC'
                   14692:            lt_prog_compiler_static_CXX='-static'
                   14693:            ;;
                   14694:          icpc* )
                   14695:            # Intel C++, used to be incompatible with GCC.
                   14696:            # ICC 10 doesn't accept -KPIC any more.
                   14697:            lt_prog_compiler_wl_CXX='-Wl,'
                   14698:            lt_prog_compiler_pic_CXX='-fPIC'
                   14699:            lt_prog_compiler_static_CXX='-static'
                   14700:            ;;
                   14701:          pgCC* | pgcpp*)
                   14702:            # Portland Group C++ compiler
                   14703:            lt_prog_compiler_wl_CXX='-Wl,'
                   14704:            lt_prog_compiler_pic_CXX='-fpic'
                   14705:            lt_prog_compiler_static_CXX='-Bstatic'
                   14706:            ;;
                   14707:          cxx*)
                   14708:            # Compaq C++
                   14709:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14710:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14711:            lt_prog_compiler_pic_CXX=
                   14712:            lt_prog_compiler_static_CXX='-non_shared'
                   14713:            ;;
                   14714:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14715:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14716:            lt_prog_compiler_wl_CXX='-Wl,'
                   14717:            lt_prog_compiler_pic_CXX='-qpic'
                   14718:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14719:            ;;
                   14720:          *)
                   14721:            case `$CC -V 2>&1 | sed 5q` in
                   14722:            *Sun\ C*)
                   14723:              # Sun C++ 5.9
                   14724:              lt_prog_compiler_pic_CXX='-KPIC'
                   14725:              lt_prog_compiler_static_CXX='-Bstatic'
                   14726:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14727:              ;;
                   14728:            esac
                   14729:            ;;
                   14730:        esac
                   14731:        ;;
                   14732:       lynxos*)
                   14733:        ;;
                   14734:       m88k*)
                   14735:        ;;
                   14736:       mvs*)
                   14737:        case $cc_basename in
                   14738:          cxx*)
                   14739:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14740:            ;;
                   14741:          *)
                   14742:            ;;
                   14743:        esac
                   14744:        ;;
                   14745:       netbsd*)
                   14746:        ;;
                   14747:       *qnx* | *nto*)
                   14748:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14749:         # it will coredump.
                   14750:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14751:         ;;
                   14752:       osf3* | osf4* | osf5*)
                   14753:        case $cc_basename in
                   14754:          KCC*)
                   14755:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14756:            ;;
                   14757:          RCC*)
                   14758:            # Rational C++ 2.4.1
                   14759:            lt_prog_compiler_pic_CXX='-pic'
                   14760:            ;;
                   14761:          cxx*)
                   14762:            # Digital/Compaq C++
                   14763:            lt_prog_compiler_wl_CXX='-Wl,'
                   14764:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14765:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14766:            lt_prog_compiler_pic_CXX=
                   14767:            lt_prog_compiler_static_CXX='-non_shared'
                   14768:            ;;
                   14769:          *)
                   14770:            ;;
                   14771:        esac
                   14772:        ;;
                   14773:       psos*)
                   14774:        ;;
                   14775:       solaris*)
                   14776:        case $cc_basename in
                   14777:          CC* | sunCC*)
                   14778:            # Sun C++ 4.2, 5.x and Centerline C++
                   14779:            lt_prog_compiler_pic_CXX='-KPIC'
                   14780:            lt_prog_compiler_static_CXX='-Bstatic'
                   14781:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14782:            ;;
                   14783:          gcx*)
                   14784:            # Green Hills C++ Compiler
                   14785:            lt_prog_compiler_pic_CXX='-PIC'
                   14786:            ;;
                   14787:          *)
                   14788:            ;;
                   14789:        esac
                   14790:        ;;
                   14791:       sunos4*)
                   14792:        case $cc_basename in
                   14793:          CC*)
                   14794:            # Sun C++ 4.x
                   14795:            lt_prog_compiler_pic_CXX='-pic'
                   14796:            lt_prog_compiler_static_CXX='-Bstatic'
                   14797:            ;;
                   14798:          lcc*)
                   14799:            # Lucid
                   14800:            lt_prog_compiler_pic_CXX='-pic'
                   14801:            ;;
                   14802:          *)
                   14803:            ;;
                   14804:        esac
                   14805:        ;;
                   14806:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14807:        case $cc_basename in
                   14808:          CC*)
                   14809:            lt_prog_compiler_wl_CXX='-Wl,'
                   14810:            lt_prog_compiler_pic_CXX='-KPIC'
                   14811:            lt_prog_compiler_static_CXX='-Bstatic'
                   14812:            ;;
                   14813:        esac
                   14814:        ;;
                   14815:       tandem*)
                   14816:        case $cc_basename in
                   14817:          NCC*)
                   14818:            # NonStop-UX NCC 3.20
                   14819:            lt_prog_compiler_pic_CXX='-KPIC'
                   14820:            ;;
                   14821:          *)
                   14822:            ;;
                   14823:        esac
                   14824:        ;;
                   14825:       vxworks*)
                   14826:        ;;
                   14827:       *)
                   14828:        lt_prog_compiler_can_build_shared_CXX=no
                   14829:        ;;
                   14830:     esac
                   14831:   fi
                   14832: 
                   14833: case $host_os in
                   14834:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14835:   *djgpp*)
                   14836:     lt_prog_compiler_pic_CXX=
                   14837:     ;;
                   14838:   *)
                   14839:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14840:     ;;
                   14841: esac
                   14842: 
1.150     moko     14843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14844: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14845: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14846:   $as_echo_n "(cached) " >&6
1.128     moko     14847: else
                   14848:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14849: fi
1.150     moko     14850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14851: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14852: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14853: 
                   14854: #
                   14855: # Check to make sure the PIC flag actually works.
                   14856: #
                   14857: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14858:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14859: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14860: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14861:   $as_echo_n "(cached) " >&6
1.128     moko     14862: else
                   14863:   lt_cv_prog_compiler_pic_works_CXX=no
                   14864:    ac_outfile=conftest.$ac_objext
                   14865:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14866:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14867:    # Insert the option either (1) after the last *FLAGS variable, or
                   14868:    # (2) before a word containing "conftest.", or (3) at the end.
                   14869:    # Note that $ac_compile itself does not contain backslashes and begins
                   14870:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14871:    # The option is referenced via a variable to avoid confusing sed.
                   14872:    lt_compile=`echo "$ac_compile" | $SED \
                   14873:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14874:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14875:    -e 's:$: $lt_compiler_flag:'`
                   14876:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14877:    (eval "$lt_compile" 2>conftest.err)
                   14878:    ac_status=$?
                   14879:    cat conftest.err >&5
                   14880:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14881:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14882:      # The compiler can only warn and ignore the option if not recognized
                   14883:      # So say no if there are warnings other than the usual output.
                   14884:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14885:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14886:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14887:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14888:      fi
                   14889:    fi
                   14890:    $RM conftest*
                   14891: 
                   14892: fi
1.150     moko     14893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14894: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14895: 
                   14896: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14897:     case $lt_prog_compiler_pic_CXX in
                   14898:      "" | " "*) ;;
                   14899:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14900:      esac
                   14901: else
                   14902:     lt_prog_compiler_pic_CXX=
                   14903:      lt_prog_compiler_can_build_shared_CXX=no
                   14904: fi
                   14905: 
                   14906: fi
                   14907: 
                   14908: 
                   14909: 
                   14910: 
                   14911: 
                   14912: #
                   14913: # Check to make sure the static flag actually works.
                   14914: #
                   14915: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     14916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14917: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14918: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14919:   $as_echo_n "(cached) " >&6
1.128     moko     14920: else
                   14921:   lt_cv_prog_compiler_static_works_CXX=no
                   14922:    save_LDFLAGS="$LDFLAGS"
                   14923:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14924:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14925:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14926:      # The linker can only warn and ignore the option if not recognized
                   14927:      # So say no if there are warnings
                   14928:      if test -s conftest.err; then
                   14929:        # Append any errors to the config.log.
                   14930:        cat conftest.err 1>&5
                   14931:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14932:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14933:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14934:          lt_cv_prog_compiler_static_works_CXX=yes
                   14935:        fi
                   14936:      else
                   14937:        lt_cv_prog_compiler_static_works_CXX=yes
                   14938:      fi
                   14939:    fi
                   14940:    $RM -r conftest*
                   14941:    LDFLAGS="$save_LDFLAGS"
                   14942: 
                   14943: fi
1.150     moko     14944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14945: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     14946: 
                   14947: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14948:     :
                   14949: else
                   14950:     lt_prog_compiler_static_CXX=
                   14951: fi
                   14952: 
                   14953: 
                   14954: 
                   14955: 
1.150     moko     14956:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14957: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   14958: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   14959:   $as_echo_n "(cached) " >&6
1.128     moko     14960: else
                   14961:   lt_cv_prog_compiler_c_o_CXX=no
                   14962:    $RM -r conftest 2>/dev/null
                   14963:    mkdir conftest
                   14964:    cd conftest
                   14965:    mkdir out
                   14966:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14967: 
                   14968:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14969:    # Insert the option either (1) after the last *FLAGS variable, or
                   14970:    # (2) before a word containing "conftest.", or (3) at the end.
                   14971:    # Note that $ac_compile itself does not contain backslashes and begins
                   14972:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14973:    lt_compile=`echo "$ac_compile" | $SED \
                   14974:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14975:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14976:    -e 's:$: $lt_compiler_flag:'`
                   14977:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14978:    (eval "$lt_compile" 2>out/conftest.err)
                   14979:    ac_status=$?
                   14980:    cat out/conftest.err >&5
                   14981:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14982:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14983:    then
                   14984:      # The compiler can only warn and ignore the option if not recognized
                   14985:      # So say no if there are warnings
                   14986:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14987:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14988:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14989:        lt_cv_prog_compiler_c_o_CXX=yes
                   14990:      fi
                   14991:    fi
                   14992:    chmod u+w . 2>&5
                   14993:    $RM conftest*
                   14994:    # SGI C++ compiler will create directory out/ii_files/ for
                   14995:    # template instantiation
                   14996:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14997:    $RM out/* && rmdir out
                   14998:    cd ..
                   14999:    $RM -r conftest
                   15000:    $RM conftest*
                   15001: 
                   15002: fi
1.150     moko     15003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15004: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15005: 
                   15006: 
                   15007: 
1.150     moko     15008:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15009: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15010: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15011:   $as_echo_n "(cached) " >&6
1.128     moko     15012: else
                   15013:   lt_cv_prog_compiler_c_o_CXX=no
                   15014:    $RM -r conftest 2>/dev/null
                   15015:    mkdir conftest
                   15016:    cd conftest
                   15017:    mkdir out
                   15018:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15019: 
                   15020:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15021:    # Insert the option either (1) after the last *FLAGS variable, or
                   15022:    # (2) before a word containing "conftest.", or (3) at the end.
                   15023:    # Note that $ac_compile itself does not contain backslashes and begins
                   15024:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15025:    lt_compile=`echo "$ac_compile" | $SED \
                   15026:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15027:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15028:    -e 's:$: $lt_compiler_flag:'`
                   15029:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15030:    (eval "$lt_compile" 2>out/conftest.err)
                   15031:    ac_status=$?
                   15032:    cat out/conftest.err >&5
                   15033:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15034:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15035:    then
                   15036:      # The compiler can only warn and ignore the option if not recognized
                   15037:      # So say no if there are warnings
                   15038:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15039:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15040:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15041:        lt_cv_prog_compiler_c_o_CXX=yes
                   15042:      fi
                   15043:    fi
                   15044:    chmod u+w . 2>&5
                   15045:    $RM conftest*
                   15046:    # SGI C++ compiler will create directory out/ii_files/ for
                   15047:    # template instantiation
                   15048:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15049:    $RM out/* && rmdir out
                   15050:    cd ..
                   15051:    $RM -r conftest
                   15052:    $RM conftest*
                   15053: 
                   15054: fi
1.150     moko     15055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15056: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15057: 
                   15058: 
                   15059: 
                   15060: 
                   15061: hard_links="nottested"
                   15062: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15063:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15064:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15065: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15066:   hard_links=yes
                   15067:   $RM conftest*
                   15068:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15069:   touch conftest.a
                   15070:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15071:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15072:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15073: $as_echo "$hard_links" >&6; }
1.128     moko     15074:   if test "$hard_links" = no; then
1.150     moko     15075:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15076: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15077:     need_locks=warn
                   15078:   fi
                   15079: else
                   15080:   need_locks=no
                   15081: fi
                   15082: 
                   15083: 
                   15084: 
1.150     moko     15085:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15086: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15087: 
                   15088:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15089:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15090:   case $host_os in
                   15091:   aix[4-9]*)
                   15092:     # If we're using GNU nm, then we don't want the "-C" option.
                   15093:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15094:     # Also, AIX nm treats weak defined symbols like other global defined
                   15095:     # symbols, whereas GNU nm marks them as "W".
                   15096:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15097:       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'
                   15098:     else
                   15099:       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'
                   15100:     fi
                   15101:     ;;
                   15102:   pw32*)
                   15103:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15104:     ;;
                   15105:   cygwin* | mingw* | cegcc*)
                   15106:     case $cc_basename in
                   15107:     cl*)
                   15108:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15109:       ;;
                   15110:     *)
                   15111:       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'
                   15112:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15113:       ;;
                   15114:     esac
                   15115:     ;;
                   15116:   *)
                   15117:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15118:     ;;
                   15119:   esac
                   15120: 
1.150     moko     15121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15122: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15123: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15124: 
                   15125: with_gnu_ld_CXX=$with_gnu_ld
                   15126: 
                   15127: 
                   15128: 
                   15129: 
                   15130: 
                   15131: 
                   15132: #
                   15133: # Do we need to explicitly link libc?
                   15134: #
                   15135: case "x$archive_cmds_need_lc_CXX" in
                   15136: x|xyes)
                   15137:   # Assume -lc should be added
                   15138:   archive_cmds_need_lc_CXX=yes
                   15139: 
                   15140:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15141:     case $archive_cmds_CXX in
                   15142:     *'~'*)
                   15143:       # FIXME: we may have to deal with multi-command sequences.
                   15144:       ;;
                   15145:     '$CC '*)
                   15146:       # Test whether the compiler implicitly links with -lc since on some
                   15147:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15148:       # to ld, don't add -lc before -lgcc.
1.150     moko     15149:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15150: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15151: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15152:   $as_echo_n "(cached) " >&6
1.128     moko     15153: else
                   15154:   $RM conftest*
                   15155:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15156: 
1.150     moko     15157:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15158:   (eval $ac_compile) 2>&5
                   15159:   ac_status=$?
1.150     moko     15160:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15161:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15162:          soname=conftest
                   15163:          lib=conftest
                   15164:          libobjs=conftest.$ac_objext
                   15165:          deplibs=
                   15166:          wl=$lt_prog_compiler_wl_CXX
                   15167:          pic_flag=$lt_prog_compiler_pic_CXX
                   15168:          compiler_flags=-v
                   15169:          linker_flags=-v
                   15170:          verstring=
                   15171:          output_objdir=.
                   15172:          libname=conftest
                   15173:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15174:          allow_undefined_flag_CXX=
1.150     moko     15175:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15176:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15177:   ac_status=$?
1.150     moko     15178:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15179:   test $ac_status = 0; }
1.128     moko     15180:          then
                   15181:            lt_cv_archive_cmds_need_lc_CXX=no
                   15182:          else
                   15183:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15184:          fi
                   15185:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15186:        else
                   15187:          cat conftest.err 1>&5
                   15188:        fi
                   15189:        $RM conftest*
                   15190: 
                   15191: fi
1.150     moko     15192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15193: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15194:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15195:       ;;
                   15196:     esac
                   15197:   fi
                   15198:   ;;
                   15199: esac
                   15200: 
                   15201: 
                   15202: 
                   15203: 
                   15204: 
                   15205: 
                   15206: 
                   15207: 
                   15208: 
                   15209: 
                   15210: 
                   15211: 
                   15212: 
                   15213: 
                   15214: 
                   15215: 
                   15216: 
                   15217: 
                   15218: 
                   15219: 
                   15220: 
                   15221: 
                   15222: 
                   15223: 
                   15224: 
                   15225: 
                   15226: 
                   15227: 
                   15228: 
                   15229: 
                   15230: 
                   15231: 
                   15232: 
                   15233: 
                   15234: 
                   15235: 
                   15236: 
                   15237: 
                   15238: 
                   15239: 
                   15240: 
                   15241: 
                   15242: 
                   15243: 
                   15244: 
                   15245: 
                   15246: 
                   15247: 
                   15248: 
                   15249: 
                   15250: 
                   15251: 
                   15252: 
                   15253: 
                   15254: 
                   15255: 
                   15256: 
                   15257: 
                   15258: 
                   15259: 
                   15260: 
                   15261: 
1.150     moko     15262:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15263: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15264: 
                   15265: library_names_spec=
                   15266: libname_spec='lib$name'
                   15267: soname_spec=
                   15268: shrext_cmds=".so"
                   15269: postinstall_cmds=
                   15270: postuninstall_cmds=
                   15271: finish_cmds=
                   15272: finish_eval=
                   15273: shlibpath_var=
                   15274: shlibpath_overrides_runpath=unknown
                   15275: version_type=none
                   15276: dynamic_linker="$host_os ld.so"
                   15277: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15278: need_lib_prefix=unknown
                   15279: hardcode_into_libs=no
                   15280: 
                   15281: # when you set need_version to no, make sure it does not cause -set_version
                   15282: # flags to be left without arguments
                   15283: need_version=unknown
                   15284: 
                   15285: case $host_os in
                   15286: aix3*)
                   15287:   version_type=linux # correct to gnu/linux during the next big refactor
                   15288:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15289:   shlibpath_var=LIBPATH
                   15290: 
                   15291:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15292:   soname_spec='${libname}${release}${shared_ext}$major'
                   15293:   ;;
                   15294: 
                   15295: aix[4-9]*)
                   15296:   version_type=linux # correct to gnu/linux during the next big refactor
                   15297:   need_lib_prefix=no
                   15298:   need_version=no
                   15299:   hardcode_into_libs=yes
                   15300:   if test "$host_cpu" = ia64; then
                   15301:     # AIX 5 supports IA64
                   15302:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15303:     shlibpath_var=LD_LIBRARY_PATH
                   15304:   else
                   15305:     # With GCC up to 2.95.x, collect2 would create an import file
                   15306:     # for dependence libraries.  The import file would start with
                   15307:     # the line `#! .'.  This would cause the generated library to
                   15308:     # depend on `.', always an invalid library.  This was fixed in
                   15309:     # development snapshots of GCC prior to 3.0.
                   15310:     case $host_os in
                   15311:       aix4 | aix4.[01] | aix4.[01].*)
                   15312:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15313:           echo ' yes '
                   15314:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15315:        :
                   15316:       else
                   15317:        can_build_shared=no
                   15318:       fi
                   15319:       ;;
                   15320:     esac
                   15321:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15322:     # soname into executable. Probably we can add versioning support to
                   15323:     # collect2, so additional links can be useful in future.
                   15324:     if test "$aix_use_runtimelinking" = yes; then
                   15325:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15326:       # instead of lib<name>.a to let people know that these are not
                   15327:       # typical AIX shared libraries.
                   15328:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15329:     else
                   15330:       # We preserve .a as extension for shared libraries through AIX4.2
                   15331:       # and later when we are not doing run time linking.
                   15332:       library_names_spec='${libname}${release}.a $libname.a'
                   15333:       soname_spec='${libname}${release}${shared_ext}$major'
                   15334:     fi
                   15335:     shlibpath_var=LIBPATH
                   15336:   fi
                   15337:   ;;
                   15338: 
                   15339: amigaos*)
                   15340:   case $host_cpu in
                   15341:   powerpc)
                   15342:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15343:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15344:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15345:     ;;
                   15346:   m68k)
                   15347:     library_names_spec='$libname.ixlibrary $libname.a'
                   15348:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15349:     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'
                   15350:     ;;
                   15351:   esac
                   15352:   ;;
                   15353: 
                   15354: beos*)
                   15355:   library_names_spec='${libname}${shared_ext}'
                   15356:   dynamic_linker="$host_os ld.so"
                   15357:   shlibpath_var=LIBRARY_PATH
                   15358:   ;;
                   15359: 
                   15360: bsdi[45]*)
                   15361:   version_type=linux # correct to gnu/linux during the next big refactor
                   15362:   need_version=no
                   15363:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15364:   soname_spec='${libname}${release}${shared_ext}$major'
                   15365:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15366:   shlibpath_var=LD_LIBRARY_PATH
                   15367:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15368:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15369:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15370:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15371:   # libtool to hard-code these into programs
                   15372:   ;;
                   15373: 
                   15374: cygwin* | mingw* | pw32* | cegcc*)
                   15375:   version_type=windows
                   15376:   shrext_cmds=".dll"
                   15377:   need_version=no
                   15378:   need_lib_prefix=no
                   15379: 
                   15380:   case $GCC,$cc_basename in
                   15381:   yes,*)
                   15382:     # gcc
                   15383:     library_names_spec='$libname.dll.a'
                   15384:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15385:     postinstall_cmds='base_file=`basename \${file}`~
                   15386:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15387:       dldir=$destdir/`dirname \$dlpath`~
                   15388:       test -d \$dldir || mkdir -p \$dldir~
                   15389:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15390:       chmod a+x \$dldir/$dlname~
                   15391:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15392:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15393:       fi'
                   15394:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15395:       dlpath=$dir/\$dldll~
                   15396:        $RM \$dlpath'
                   15397:     shlibpath_overrides_runpath=yes
                   15398: 
                   15399:     case $host_os in
                   15400:     cygwin*)
                   15401:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15402:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15403: 
                   15404:       ;;
                   15405:     mingw* | cegcc*)
                   15406:       # MinGW DLLs use traditional 'lib' prefix
                   15407:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15408:       ;;
                   15409:     pw32*)
                   15410:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15411:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15412:       ;;
                   15413:     esac
                   15414:     dynamic_linker='Win32 ld.exe'
                   15415:     ;;
                   15416: 
                   15417:   *,cl*)
                   15418:     # Native MSVC
                   15419:     libname_spec='$name'
                   15420:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15421:     library_names_spec='${libname}.dll.lib'
                   15422: 
                   15423:     case $build_os in
                   15424:     mingw*)
                   15425:       sys_lib_search_path_spec=
                   15426:       lt_save_ifs=$IFS
                   15427:       IFS=';'
                   15428:       for lt_path in $LIB
                   15429:       do
                   15430:         IFS=$lt_save_ifs
                   15431:         # Let DOS variable expansion print the short 8.3 style file name.
                   15432:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15433:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15434:       done
                   15435:       IFS=$lt_save_ifs
                   15436:       # Convert to MSYS style.
                   15437:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15438:       ;;
                   15439:     cygwin*)
                   15440:       # Convert to unix form, then to dos form, then back to unix form
                   15441:       # but this time dos style (no spaces!) so that the unix form looks
                   15442:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15443:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15444:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15445:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15446:       ;;
                   15447:     *)
                   15448:       sys_lib_search_path_spec="$LIB"
                   15449:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15450:         # It is most probably a Windows format PATH.
                   15451:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15452:       else
                   15453:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15454:       fi
                   15455:       # FIXME: find the short name or the path components, as spaces are
                   15456:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15457:       ;;
                   15458:     esac
                   15459: 
                   15460:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15461:     postinstall_cmds='base_file=`basename \${file}`~
                   15462:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15463:       dldir=$destdir/`dirname \$dlpath`~
                   15464:       test -d \$dldir || mkdir -p \$dldir~
                   15465:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15466:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15467:       dlpath=$dir/\$dldll~
                   15468:        $RM \$dlpath'
                   15469:     shlibpath_overrides_runpath=yes
                   15470:     dynamic_linker='Win32 link.exe'
                   15471:     ;;
                   15472: 
                   15473:   *)
                   15474:     # Assume MSVC wrapper
                   15475:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15476:     dynamic_linker='Win32 ld.exe'
                   15477:     ;;
                   15478:   esac
                   15479:   # FIXME: first we should search . and the directory the executable is in
                   15480:   shlibpath_var=PATH
                   15481:   ;;
                   15482: 
                   15483: darwin* | rhapsody*)
                   15484:   dynamic_linker="$host_os dyld"
                   15485:   version_type=darwin
                   15486:   need_lib_prefix=no
                   15487:   need_version=no
                   15488:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15489:   soname_spec='${libname}${release}${major}$shared_ext'
                   15490:   shlibpath_overrides_runpath=yes
                   15491:   shlibpath_var=DYLD_LIBRARY_PATH
                   15492:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15493: 
                   15494:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15495:   ;;
                   15496: 
                   15497: dgux*)
                   15498:   version_type=linux # correct to gnu/linux during the next big refactor
                   15499:   need_lib_prefix=no
                   15500:   need_version=no
                   15501:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15502:   soname_spec='${libname}${release}${shared_ext}$major'
                   15503:   shlibpath_var=LD_LIBRARY_PATH
                   15504:   ;;
                   15505: 
                   15506: freebsd* | dragonfly*)
                   15507:   # DragonFly does not have aout.  When/if they implement a new
                   15508:   # versioning mechanism, adjust this.
                   15509:   if test -x /usr/bin/objformat; then
                   15510:     objformat=`/usr/bin/objformat`
                   15511:   else
                   15512:     case $host_os in
                   15513:     freebsd[23].*) objformat=aout ;;
                   15514:     *) objformat=elf ;;
                   15515:     esac
                   15516:   fi
                   15517:   version_type=freebsd-$objformat
                   15518:   case $version_type in
                   15519:     freebsd-elf*)
                   15520:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15521:       need_version=no
                   15522:       need_lib_prefix=no
                   15523:       ;;
                   15524:     freebsd-*)
                   15525:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15526:       need_version=yes
                   15527:       ;;
                   15528:   esac
                   15529:   shlibpath_var=LD_LIBRARY_PATH
                   15530:   case $host_os in
                   15531:   freebsd2.*)
                   15532:     shlibpath_overrides_runpath=yes
                   15533:     ;;
                   15534:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15535:     shlibpath_overrides_runpath=yes
                   15536:     hardcode_into_libs=yes
                   15537:     ;;
                   15538:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15539:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15540:     shlibpath_overrides_runpath=no
                   15541:     hardcode_into_libs=yes
                   15542:     ;;
                   15543:   *) # from 4.6 on, and DragonFly
                   15544:     shlibpath_overrides_runpath=yes
                   15545:     hardcode_into_libs=yes
                   15546:     ;;
                   15547:   esac
                   15548:   ;;
                   15549: 
                   15550: gnu*)
                   15551:   version_type=linux # correct to gnu/linux during the next big refactor
                   15552:   need_lib_prefix=no
                   15553:   need_version=no
                   15554:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15555:   soname_spec='${libname}${release}${shared_ext}$major'
                   15556:   shlibpath_var=LD_LIBRARY_PATH
                   15557:   shlibpath_overrides_runpath=no
                   15558:   hardcode_into_libs=yes
                   15559:   ;;
                   15560: 
                   15561: haiku*)
                   15562:   version_type=linux # correct to gnu/linux during the next big refactor
                   15563:   need_lib_prefix=no
                   15564:   need_version=no
                   15565:   dynamic_linker="$host_os runtime_loader"
                   15566:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15567:   soname_spec='${libname}${release}${shared_ext}$major'
                   15568:   shlibpath_var=LIBRARY_PATH
                   15569:   shlibpath_overrides_runpath=yes
                   15570:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15571:   hardcode_into_libs=yes
                   15572:   ;;
                   15573: 
                   15574: hpux9* | hpux10* | hpux11*)
                   15575:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15576:   # link against other versions.
                   15577:   version_type=sunos
                   15578:   need_lib_prefix=no
                   15579:   need_version=no
                   15580:   case $host_cpu in
                   15581:   ia64*)
                   15582:     shrext_cmds='.so'
                   15583:     hardcode_into_libs=yes
                   15584:     dynamic_linker="$host_os dld.so"
                   15585:     shlibpath_var=LD_LIBRARY_PATH
                   15586:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15587:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15588:     soname_spec='${libname}${release}${shared_ext}$major'
                   15589:     if test "X$HPUX_IA64_MODE" = X32; then
                   15590:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15591:     else
                   15592:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15593:     fi
                   15594:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15595:     ;;
                   15596:   hppa*64*)
                   15597:     shrext_cmds='.sl'
                   15598:     hardcode_into_libs=yes
                   15599:     dynamic_linker="$host_os dld.sl"
                   15600:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15601:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15602:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15603:     soname_spec='${libname}${release}${shared_ext}$major'
                   15604:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15605:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15606:     ;;
                   15607:   *)
                   15608:     shrext_cmds='.sl'
                   15609:     dynamic_linker="$host_os dld.sl"
                   15610:     shlibpath_var=SHLIB_PATH
                   15611:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15612:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15613:     soname_spec='${libname}${release}${shared_ext}$major'
                   15614:     ;;
                   15615:   esac
                   15616:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15617:   postinstall_cmds='chmod 555 $lib'
                   15618:   # or fails outright, so override atomically:
                   15619:   install_override_mode=555
                   15620:   ;;
                   15621: 
                   15622: interix[3-9]*)
                   15623:   version_type=linux # correct to gnu/linux during the next big refactor
                   15624:   need_lib_prefix=no
                   15625:   need_version=no
                   15626:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15627:   soname_spec='${libname}${release}${shared_ext}$major'
                   15628:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15629:   shlibpath_var=LD_LIBRARY_PATH
                   15630:   shlibpath_overrides_runpath=no
                   15631:   hardcode_into_libs=yes
                   15632:   ;;
                   15633: 
                   15634: irix5* | irix6* | nonstopux*)
                   15635:   case $host_os in
                   15636:     nonstopux*) version_type=nonstopux ;;
                   15637:     *)
                   15638:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15639:                version_type=linux # correct to gnu/linux during the next big refactor
                   15640:        else
                   15641:                version_type=irix
                   15642:        fi ;;
                   15643:   esac
                   15644:   need_lib_prefix=no
                   15645:   need_version=no
                   15646:   soname_spec='${libname}${release}${shared_ext}$major'
                   15647:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15648:   case $host_os in
                   15649:   irix5* | nonstopux*)
                   15650:     libsuff= shlibsuff=
                   15651:     ;;
                   15652:   *)
                   15653:     case $LD in # libtool.m4 will add one of these switches to LD
                   15654:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15655:       libsuff= shlibsuff= libmagic=32-bit;;
                   15656:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15657:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15658:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15659:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15660:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15661:     esac
                   15662:     ;;
                   15663:   esac
                   15664:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15665:   shlibpath_overrides_runpath=no
                   15666:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15667:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15668:   hardcode_into_libs=yes
                   15669:   ;;
                   15670: 
                   15671: # No shared lib support for Linux oldld, aout, or coff.
                   15672: linux*oldld* | linux*aout* | linux*coff*)
                   15673:   dynamic_linker=no
                   15674:   ;;
                   15675: 
                   15676: # This must be glibc/ELF.
                   15677: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15678:   version_type=linux # correct to gnu/linux during the next big refactor
                   15679:   need_lib_prefix=no
                   15680:   need_version=no
                   15681:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15682:   soname_spec='${libname}${release}${shared_ext}$major'
                   15683:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15684:   shlibpath_var=LD_LIBRARY_PATH
                   15685:   shlibpath_overrides_runpath=no
                   15686: 
                   15687:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15688:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15689:   $as_echo_n "(cached) " >&6
1.128     moko     15690: else
                   15691:   lt_cv_shlibpath_overrides_runpath=no
                   15692:     save_LDFLAGS=$LDFLAGS
                   15693:     save_libdir=$libdir
                   15694:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15695:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15696:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15697: /* end confdefs.h.  */
                   15698: 
                   15699: int
                   15700: main ()
                   15701: {
                   15702: 
                   15703:   ;
                   15704:   return 0;
                   15705: }
                   15706: _ACEOF
1.150     moko     15707: if ac_fn_cxx_try_link "$LINENO"; then :
                   15708:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15709:   lt_cv_shlibpath_overrides_runpath=yes
                   15710: fi
                   15711: fi
1.150     moko     15712: rm -f core conftest.err conftest.$ac_objext \
                   15713:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15714:     LDFLAGS=$save_LDFLAGS
                   15715:     libdir=$save_libdir
                   15716: 
                   15717: fi
                   15718: 
                   15719:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15720: 
                   15721:   # This implies no fast_install, which is unacceptable.
                   15722:   # Some rework will be needed to allow for fast_install
                   15723:   # before this can be enabled.
                   15724:   hardcode_into_libs=yes
                   15725: 
                   15726:   # Append ld.so.conf contents to the search path
                   15727:   if test -f /etc/ld.so.conf; then
                   15728:     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' ' '`
                   15729:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15730:   fi
                   15731: 
                   15732:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15733:   # powerpc, because MkLinux only supported shared libraries with the
                   15734:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15735:   # most powerpc-linux boxes support dynamic linking these days and
                   15736:   # people can always --disable-shared, the test was removed, and we
                   15737:   # assume the GNU/Linux dynamic linker is in use.
                   15738:   dynamic_linker='GNU/Linux ld.so'
                   15739:   ;;
                   15740: 
                   15741: netbsd*)
                   15742:   version_type=sunos
                   15743:   need_lib_prefix=no
                   15744:   need_version=no
                   15745:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15746:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15747:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15748:     dynamic_linker='NetBSD (a.out) ld.so'
                   15749:   else
                   15750:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15751:     soname_spec='${libname}${release}${shared_ext}$major'
                   15752:     dynamic_linker='NetBSD ld.elf_so'
                   15753:   fi
                   15754:   shlibpath_var=LD_LIBRARY_PATH
                   15755:   shlibpath_overrides_runpath=yes
                   15756:   hardcode_into_libs=yes
                   15757:   ;;
                   15758: 
                   15759: newsos6)
                   15760:   version_type=linux # correct to gnu/linux during the next big refactor
                   15761:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15762:   shlibpath_var=LD_LIBRARY_PATH
                   15763:   shlibpath_overrides_runpath=yes
                   15764:   ;;
                   15765: 
                   15766: *nto* | *qnx*)
                   15767:   version_type=qnx
                   15768:   need_lib_prefix=no
                   15769:   need_version=no
                   15770:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15771:   soname_spec='${libname}${release}${shared_ext}$major'
                   15772:   shlibpath_var=LD_LIBRARY_PATH
                   15773:   shlibpath_overrides_runpath=no
                   15774:   hardcode_into_libs=yes
                   15775:   dynamic_linker='ldqnx.so'
                   15776:   ;;
                   15777: 
                   15778: openbsd*)
                   15779:   version_type=sunos
                   15780:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15781:   need_lib_prefix=no
                   15782:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15783:   case $host_os in
                   15784:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15785:     *)                         need_version=no  ;;
                   15786:   esac
                   15787:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15788:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15789:   shlibpath_var=LD_LIBRARY_PATH
                   15790:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15791:     case $host_os in
                   15792:       openbsd2.[89] | openbsd2.[89].*)
                   15793:        shlibpath_overrides_runpath=no
                   15794:        ;;
                   15795:       *)
                   15796:        shlibpath_overrides_runpath=yes
                   15797:        ;;
                   15798:       esac
                   15799:   else
                   15800:     shlibpath_overrides_runpath=yes
                   15801:   fi
                   15802:   ;;
                   15803: 
                   15804: os2*)
                   15805:   libname_spec='$name'
                   15806:   shrext_cmds=".dll"
                   15807:   need_lib_prefix=no
                   15808:   library_names_spec='$libname${shared_ext} $libname.a'
                   15809:   dynamic_linker='OS/2 ld.exe'
                   15810:   shlibpath_var=LIBPATH
                   15811:   ;;
                   15812: 
                   15813: osf3* | osf4* | osf5*)
                   15814:   version_type=osf
                   15815:   need_lib_prefix=no
                   15816:   need_version=no
                   15817:   soname_spec='${libname}${release}${shared_ext}$major'
                   15818:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15819:   shlibpath_var=LD_LIBRARY_PATH
                   15820:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15821:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15822:   ;;
                   15823: 
                   15824: rdos*)
                   15825:   dynamic_linker=no
                   15826:   ;;
                   15827: 
                   15828: solaris*)
                   15829:   version_type=linux # correct to gnu/linux during the next big refactor
                   15830:   need_lib_prefix=no
                   15831:   need_version=no
                   15832:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15833:   soname_spec='${libname}${release}${shared_ext}$major'
                   15834:   shlibpath_var=LD_LIBRARY_PATH
                   15835:   shlibpath_overrides_runpath=yes
                   15836:   hardcode_into_libs=yes
                   15837:   # ldd complains unless libraries are executable
                   15838:   postinstall_cmds='chmod +x $lib'
                   15839:   ;;
                   15840: 
                   15841: sunos4*)
                   15842:   version_type=sunos
                   15843:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15844:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15845:   shlibpath_var=LD_LIBRARY_PATH
                   15846:   shlibpath_overrides_runpath=yes
                   15847:   if test "$with_gnu_ld" = yes; then
                   15848:     need_lib_prefix=no
                   15849:   fi
                   15850:   need_version=yes
                   15851:   ;;
                   15852: 
                   15853: sysv4 | sysv4.3*)
                   15854:   version_type=linux # correct to gnu/linux during the next big refactor
                   15855:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15856:   soname_spec='${libname}${release}${shared_ext}$major'
                   15857:   shlibpath_var=LD_LIBRARY_PATH
                   15858:   case $host_vendor in
                   15859:     sni)
                   15860:       shlibpath_overrides_runpath=no
                   15861:       need_lib_prefix=no
                   15862:       runpath_var=LD_RUN_PATH
                   15863:       ;;
                   15864:     siemens)
                   15865:       need_lib_prefix=no
                   15866:       ;;
                   15867:     motorola)
                   15868:       need_lib_prefix=no
                   15869:       need_version=no
                   15870:       shlibpath_overrides_runpath=no
                   15871:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15872:       ;;
                   15873:   esac
                   15874:   ;;
                   15875: 
                   15876: sysv4*MP*)
                   15877:   if test -d /usr/nec ;then
                   15878:     version_type=linux # correct to gnu/linux during the next big refactor
                   15879:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15880:     soname_spec='$libname${shared_ext}.$major'
                   15881:     shlibpath_var=LD_LIBRARY_PATH
                   15882:   fi
                   15883:   ;;
                   15884: 
                   15885: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15886:   version_type=freebsd-elf
                   15887:   need_lib_prefix=no
                   15888:   need_version=no
                   15889:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15890:   soname_spec='${libname}${release}${shared_ext}$major'
                   15891:   shlibpath_var=LD_LIBRARY_PATH
                   15892:   shlibpath_overrides_runpath=yes
                   15893:   hardcode_into_libs=yes
                   15894:   if test "$with_gnu_ld" = yes; then
                   15895:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15896:   else
                   15897:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15898:     case $host_os in
                   15899:       sco3.2v5*)
                   15900:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15901:        ;;
                   15902:     esac
                   15903:   fi
                   15904:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15905:   ;;
                   15906: 
                   15907: tpf*)
                   15908:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15909:   version_type=linux # correct to gnu/linux during the next big refactor
                   15910:   need_lib_prefix=no
                   15911:   need_version=no
                   15912:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15913:   shlibpath_var=LD_LIBRARY_PATH
                   15914:   shlibpath_overrides_runpath=no
                   15915:   hardcode_into_libs=yes
                   15916:   ;;
                   15917: 
                   15918: uts4*)
                   15919:   version_type=linux # correct to gnu/linux during the next big refactor
                   15920:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15921:   soname_spec='${libname}${release}${shared_ext}$major'
                   15922:   shlibpath_var=LD_LIBRARY_PATH
                   15923:   ;;
                   15924: 
                   15925: *)
                   15926:   dynamic_linker=no
                   15927:   ;;
                   15928: esac
1.150     moko     15929: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15930: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15931: test "$dynamic_linker" = no && can_build_shared=no
                   15932: 
                   15933: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15934: if test "$GCC" = yes; then
                   15935:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15936: fi
                   15937: 
                   15938: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15939:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15940: fi
                   15941: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15942:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15943: fi
                   15944: 
                   15945: 
                   15946: 
                   15947: 
                   15948: 
                   15949: 
                   15950: 
                   15951: 
                   15952: 
                   15953: 
                   15954: 
                   15955: 
                   15956: 
                   15957: 
                   15958: 
                   15959: 
                   15960: 
                   15961: 
                   15962: 
                   15963: 
                   15964: 
                   15965: 
                   15966: 
                   15967: 
                   15968: 
                   15969: 
                   15970: 
                   15971: 
                   15972: 
                   15973: 
                   15974: 
                   15975: 
                   15976: 
                   15977: 
                   15978: 
                   15979: 
                   15980: 
                   15981: 
1.150     moko     15982:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   15983: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     15984: hardcode_action_CXX=
                   15985: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15986:    test -n "$runpath_var_CXX" ||
                   15987:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15988: 
                   15989:   # We can hardcode non-existent directories.
                   15990:   if test "$hardcode_direct_CXX" != no &&
                   15991:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15992:      # have to relink, otherwise we might link with an installed library
                   15993:      # when we should be linking with a yet-to-be-installed one
                   15994:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15995:      test "$hardcode_minus_L_CXX" != no; then
                   15996:     # Linking always hardcodes the temporary library directory.
                   15997:     hardcode_action_CXX=relink
                   15998:   else
                   15999:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16000:     hardcode_action_CXX=immediate
                   16001:   fi
                   16002: else
                   16003:   # We cannot hardcode anything, or else we can only hardcode existing
                   16004:   # directories.
                   16005:   hardcode_action_CXX=unsupported
                   16006: fi
1.150     moko     16007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16008: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16009: 
                   16010: if test "$hardcode_action_CXX" = relink ||
                   16011:    test "$inherit_rpath_CXX" = yes; then
                   16012:   # Fast installation is not supported
                   16013:   enable_fast_install=no
                   16014: elif test "$shlibpath_overrides_runpath" = yes ||
                   16015:      test "$enable_shared" = no; then
                   16016:   # Fast installation is not necessary
                   16017:   enable_fast_install=needless
                   16018: fi
                   16019: 
                   16020: 
                   16021: 
                   16022: 
                   16023: 
                   16024: 
                   16025: 
                   16026:   fi # test -n "$compiler"
                   16027: 
                   16028:   CC=$lt_save_CC
                   16029:   CFLAGS=$lt_save_CFLAGS
                   16030:   LDCXX=$LD
                   16031:   LD=$lt_save_LD
                   16032:   GCC=$lt_save_GCC
                   16033:   with_gnu_ld=$lt_save_with_gnu_ld
                   16034:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16035:   lt_cv_path_LD=$lt_save_path_LD
                   16036:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16037:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16038: fi # test "$_lt_caught_CXX_error" != yes
                   16039: 
                   16040: ac_ext=c
                   16041: ac_cpp='$CPP $CPPFLAGS'
                   16042: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16043: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16044: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16045: 
                   16046: 
                   16047: 
                   16048: 
                   16049: 
                   16050: 
                   16051: 
                   16052: 
                   16053: 
                   16054: 
                   16055: 
                   16056: 
                   16057: 
                   16058: 
                   16059: 
1.150     moko     16060:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16061: 
                   16062: 
                   16063: 
                   16064: 
                   16065: # Only expand once:
                   16066: 
                   16067: 
1.150     moko     16068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16069: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16070: if ${libltdl_cv_shlibext+:} false; then :
                   16071:   $as_echo_n "(cached) " >&6
1.128     moko     16072: else
                   16073: 
                   16074: module=yes
                   16075: eval libltdl_cv_shlibext=$shrext_cmds
                   16076: module=no
                   16077: eval libltdl_cv_shrext=$shrext_cmds
                   16078: 
                   16079: fi
1.150     moko     16080: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16081: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16082: if test -n "$libltdl_cv_shlibext"; then
                   16083: 
                   16084: cat >>confdefs.h <<_ACEOF
                   16085: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16086: _ACEOF
                   16087: 
                   16088: fi
                   16089: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16090: 
                   16091: cat >>confdefs.h <<_ACEOF
                   16092: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16093: _ACEOF
                   16094: 
                   16095: fi
                   16096: 
1.150     moko     16097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16098: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16099: if ${lt_cv_module_path_var+:} false; then :
                   16100:   $as_echo_n "(cached) " >&6
1.128     moko     16101: else
                   16102:   lt_cv_module_path_var="$shlibpath_var"
                   16103: fi
1.150     moko     16104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16105: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16106: if test -n "$lt_cv_module_path_var"; then
                   16107: 
                   16108: cat >>confdefs.h <<_ACEOF
                   16109: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16110: _ACEOF
                   16111: 
                   16112: fi
                   16113: 
1.150     moko     16114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16115: $as_echo_n "checking for the default library search path... " >&6; }
                   16116: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16117:   $as_echo_n "(cached) " >&6
1.128     moko     16118: else
                   16119:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16120: fi
1.150     moko     16121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16122: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16123: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16124:   sys_dlsearch_path=
                   16125:   for dir in $lt_cv_sys_dlsearch_path; do
                   16126:     if test -z "$sys_dlsearch_path"; then
                   16127:       sys_dlsearch_path="$dir"
                   16128:     else
                   16129:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16130:     fi
                   16131:   done
                   16132: 
                   16133: cat >>confdefs.h <<_ACEOF
                   16134: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16135: _ACEOF
                   16136: 
                   16137: fi
                   16138: 
                   16139: 
                   16140: LT_DLLOADERS=
                   16141: 
                   16142: 
                   16143: ac_ext=c
                   16144: ac_cpp='$CPP $CPPFLAGS'
                   16145: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16146: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16147: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16148: 
                   16149: 
                   16150: LIBADD_DLOPEN=
1.150     moko     16151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16152: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16153: if ${ac_cv_search_dlopen+:} false; then :
                   16154:   $as_echo_n "(cached) " >&6
1.128     moko     16155: else
                   16156:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16157: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16158: /* end confdefs.h.  */
                   16159: 
1.150     moko     16160: /* Override any GCC internal prototype to avoid an error.
                   16161:    Use char because int might match the return type of a GCC
                   16162:    builtin and then its argument prototype would still apply.  */
1.128     moko     16163: #ifdef __cplusplus
                   16164: extern "C"
                   16165: #endif
                   16166: char dlopen ();
                   16167: int
                   16168: main ()
                   16169: {
1.150     moko     16170: return dlopen ();
1.128     moko     16171:   ;
                   16172:   return 0;
                   16173: }
                   16174: _ACEOF
1.150     moko     16175: for ac_lib in '' dl; do
                   16176:   if test -z "$ac_lib"; then
                   16177:     ac_res="none required"
                   16178:   else
                   16179:     ac_res=-l$ac_lib
                   16180:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16181:   fi
                   16182:   if ac_fn_c_try_link "$LINENO"; then :
                   16183:   ac_cv_search_dlopen=$ac_res
                   16184: fi
                   16185: rm -f core conftest.err conftest.$ac_objext \
                   16186:     conftest$ac_exeext
                   16187:   if ${ac_cv_search_dlopen+:} false; then :
                   16188:   break
1.128     moko     16189: fi
1.150     moko     16190: done
                   16191: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16192: 
                   16193: else
1.150     moko     16194:   ac_cv_search_dlopen=no
1.128     moko     16195: fi
1.150     moko     16196: rm conftest.$ac_ext
1.128     moko     16197: LIBS=$ac_func_search_save_LIBS
                   16198: fi
1.150     moko     16199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16200: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16201: ac_res=$ac_cv_search_dlopen
                   16202: if test "$ac_res" != no; then :
                   16203:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16204: 
1.150     moko     16205: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16206: 
                   16207:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16208:          LIBADD_DLOPEN="-ldl"
                   16209:        fi
                   16210:        libltdl_cv_lib_dl_dlopen="yes"
                   16211:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16212: else
1.150     moko     16213:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16214: /* end confdefs.h.  */
                   16215: #if HAVE_DLFCN_H
                   16216: #  include <dlfcn.h>
                   16217: #endif
                   16218: 
                   16219: int
                   16220: main ()
                   16221: {
                   16222: dlopen(0, 0);
                   16223:   ;
                   16224:   return 0;
                   16225: }
                   16226: _ACEOF
1.150     moko     16227: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16228: 
1.150     moko     16229: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16230: 
                   16231:            libltdl_cv_func_dlopen="yes"
                   16232:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16233: else
1.150     moko     16234:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16235: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16236: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16237:   $as_echo_n "(cached) " >&6
1.128     moko     16238: else
                   16239:   ac_check_lib_save_LIBS=$LIBS
                   16240: LIBS="-lsvld  $LIBS"
1.150     moko     16241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16242: /* end confdefs.h.  */
                   16243: 
1.150     moko     16244: /* Override any GCC internal prototype to avoid an error.
                   16245:    Use char because int might match the return type of a GCC
                   16246:    builtin and then its argument prototype would still apply.  */
1.128     moko     16247: #ifdef __cplusplus
                   16248: extern "C"
                   16249: #endif
                   16250: char dlopen ();
                   16251: int
                   16252: main ()
                   16253: {
1.150     moko     16254: return dlopen ();
1.128     moko     16255:   ;
                   16256:   return 0;
                   16257: }
                   16258: _ACEOF
1.150     moko     16259: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16260:   ac_cv_lib_svld_dlopen=yes
                   16261: else
1.150     moko     16262:   ac_cv_lib_svld_dlopen=no
1.128     moko     16263: fi
1.150     moko     16264: rm -f core conftest.err conftest.$ac_objext \
                   16265:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16266: LIBS=$ac_check_lib_save_LIBS
                   16267: fi
1.150     moko     16268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16269: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16270: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16271: 
1.150     moko     16272: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16273: 
                   16274:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16275:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16276: fi
                   16277: 
                   16278: fi
1.150     moko     16279: rm -f core conftest.err conftest.$ac_objext \
                   16280:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16281: fi
                   16282: 
                   16283: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16284: then
                   16285:   lt_save_LIBS="$LIBS"
                   16286:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16287:   for ac_func in dlerror
                   16288: do :
                   16289:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16290: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16291:   cat >>confdefs.h <<_ACEOF
1.150     moko     16292: #define HAVE_DLERROR 1
1.128     moko     16293: _ACEOF
                   16294: 
                   16295: fi
                   16296: done
                   16297: 
                   16298:   LIBS="$lt_save_LIBS"
                   16299: fi
                   16300: 
                   16301: 
                   16302: LIBADD_SHL_LOAD=
1.150     moko     16303: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16304: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16305: 
1.150     moko     16306: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16307: 
                   16308:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16309: else
1.150     moko     16310:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16311: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16312: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16313:   $as_echo_n "(cached) " >&6
1.66      paf      16314: else
                   16315:   ac_check_lib_save_LIBS=$LIBS
                   16316: LIBS="-ldld  $LIBS"
1.150     moko     16317: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16318: /* end confdefs.h.  */
1.10      paf      16319: 
1.150     moko     16320: /* Override any GCC internal prototype to avoid an error.
                   16321:    Use char because int might match the return type of a GCC
                   16322:    builtin and then its argument prototype would still apply.  */
1.66      paf      16323: #ifdef __cplusplus
                   16324: extern "C"
                   16325: #endif
                   16326: char shl_load ();
                   16327: int
                   16328: main ()
                   16329: {
1.150     moko     16330: return shl_load ();
1.66      paf      16331:   ;
                   16332:   return 0;
                   16333: }
                   16334: _ACEOF
1.150     moko     16335: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16336:   ac_cv_lib_dld_shl_load=yes
                   16337: else
1.150     moko     16338:   ac_cv_lib_dld_shl_load=no
1.66      paf      16339: fi
1.150     moko     16340: rm -f core conftest.err conftest.$ac_objext \
                   16341:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16342: LIBS=$ac_check_lib_save_LIBS
                   16343: fi
1.150     moko     16344: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16345: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16346: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16347: 
1.150     moko     16348: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16349: 
1.128     moko     16350:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16351:            LIBADD_SHL_LOAD="-ldld"
                   16352: fi
                   16353: 
                   16354: fi
                   16355: 
                   16356: 
                   16357: 
                   16358: case $host_os in
                   16359: darwin[1567].*)
                   16360: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16361:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16362: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16363: 
                   16364: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16365: 
1.150     moko     16366:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16367: fi
1.128     moko     16368: 
1.150     moko     16369:   ;;
                   16370: beos*)
1.128     moko     16371:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16372:   ;;
                   16373: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16374:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16375: "
                   16376: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16377:   ac_have_decl=1
1.128     moko     16378: else
1.150     moko     16379:   ac_have_decl=0
1.128     moko     16380: fi
                   16381: 
                   16382: cat >>confdefs.h <<_ACEOF
1.150     moko     16383: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16384: _ACEOF
                   16385: 
                   16386:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16387:   ;;
                   16388: esac
                   16389: 
1.150     moko     16390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16391: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16392: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16393:   $as_echo_n "(cached) " >&6
1.66      paf      16394: else
                   16395:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16396: LIBS="-ldld  $LIBS"
1.150     moko     16397: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16398: /* end confdefs.h.  */
1.62      paf      16399: 
1.150     moko     16400: /* Override any GCC internal prototype to avoid an error.
                   16401:    Use char because int might match the return type of a GCC
                   16402:    builtin and then its argument prototype would still apply.  */
1.66      paf      16403: #ifdef __cplusplus
                   16404: extern "C"
                   16405: #endif
1.128     moko     16406: char dld_link ();
1.66      paf      16407: int
                   16408: main ()
                   16409: {
1.150     moko     16410: return dld_link ();
1.66      paf      16411:   ;
                   16412:   return 0;
                   16413: }
                   16414: _ACEOF
1.150     moko     16415: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16416:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16417: else
1.150     moko     16418:   ac_cv_lib_dld_dld_link=no
1.128     moko     16419: fi
1.150     moko     16420: rm -f core conftest.err conftest.$ac_objext \
                   16421:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16422: LIBS=$ac_check_lib_save_LIBS
                   16423: fi
1.150     moko     16424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16425: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16426: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16427: 
1.150     moko     16428: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16429: 
                   16430:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16431: fi
                   16432: 
                   16433: 
                   16434: 
                   16435: 
                   16436: LT_DLPREOPEN=
                   16437: if test -n "$LT_DLLOADERS"
                   16438: then
                   16439:   for lt_loader in $LT_DLLOADERS; do
                   16440:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16441:   done
                   16442: 
1.150     moko     16443: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16444: 
                   16445: fi
                   16446: 
                   16447: 
                   16448: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16449: 
                   16450: 
                   16451: ac_ext=c
                   16452: ac_cpp='$CPP $CPPFLAGS'
                   16453: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16454: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16455: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16456: 
                   16457: 
1.150     moko     16458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16459: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16460: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16461:   $as_echo_n "(cached) " >&6
1.128     moko     16462: else
                   16463:   lt_cv_sys_symbol_underscore=no
                   16464:   cat > conftest.$ac_ext <<_LT_EOF
                   16465: void nm_test_func(){}
                   16466: int main(){nm_test_func;return 0;}
                   16467: _LT_EOF
1.150     moko     16468:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16469:   (eval $ac_compile) 2>&5
                   16470:   ac_status=$?
1.150     moko     16471:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16472:   test $ac_status = 0; }; then
1.128     moko     16473:     # Now try to grab the symbols.
                   16474:     ac_nlist=conftest.nm
1.150     moko     16475:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16476:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16477:   ac_status=$?
1.150     moko     16478:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16479:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16480:       # See whether the symbols have a leading underscore.
                   16481:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16482:         lt_cv_sys_symbol_underscore=yes
                   16483:       else
                   16484:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16485:          :
                   16486:         else
                   16487:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16488:         fi
                   16489:       fi
                   16490:     else
                   16491:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16492:     fi
                   16493:   else
                   16494:     echo "configure: failed program was:" >&5
                   16495:     cat conftest.c >&5
                   16496:   fi
                   16497:   rm -rf conftest*
1.29      paf      16498: 
1.66      paf      16499: fi
1.150     moko     16500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16501: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16502:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16503: 
1.62      paf      16504: 
1.128     moko     16505: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16506:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16507:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16508:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16509: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16510: if ${libltdl_cv_need_uscore+:} false; then :
                   16511:   $as_echo_n "(cached) " >&6
1.66      paf      16512: else
1.128     moko     16513:   libltdl_cv_need_uscore=unknown
                   16514:           save_LIBS="$LIBS"
                   16515:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16516:          if test "$cross_compiling" = yes; then :
                   16517:   libltdl_cv_need_uscore=cross
                   16518: else
                   16519:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16520:   lt_status=$lt_dlunknown
                   16521:   cat > conftest.$ac_ext <<_LT_EOF
                   16522: #line $LINENO "configure"
                   16523: #include "confdefs.h"
                   16524: 
1.66      paf      16525: #if HAVE_DLFCN_H
1.128     moko     16526: #include <dlfcn.h>
                   16527: #endif
                   16528: 
                   16529: #include <stdio.h>
                   16530: 
                   16531: #ifdef RTLD_GLOBAL
                   16532: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16533: #else
                   16534: #  ifdef DL_GLOBAL
                   16535: #    define LT_DLGLOBAL                DL_GLOBAL
                   16536: #  else
                   16537: #    define LT_DLGLOBAL                0
                   16538: #  endif
                   16539: #endif
                   16540: 
                   16541: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16542:    find out it does not work in some platform. */
                   16543: #ifndef LT_DLLAZY_OR_NOW
                   16544: #  ifdef RTLD_LAZY
                   16545: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16546: #  else
                   16547: #    ifdef DL_LAZY
                   16548: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16549: #    else
                   16550: #      ifdef RTLD_NOW
                   16551: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16552: #      else
                   16553: #        ifdef DL_NOW
                   16554: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16555: #        else
                   16556: #          define LT_DLLAZY_OR_NOW     0
                   16557: #        endif
                   16558: #      endif
                   16559: #    endif
                   16560: #  endif
                   16561: #endif
                   16562: 
                   16563: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16564:    correspondingly for the symbols needed.  */
                   16565: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16566: int fnord () __attribute__((visibility("default")));
1.66      paf      16567: #endif
1.62      paf      16568: 
1.128     moko     16569: int fnord () { return 42; }
                   16570: int main ()
1.66      paf      16571: {
1.128     moko     16572:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16573:   int status = $lt_dlunknown;
                   16574: 
                   16575:   if (self)
                   16576:     {
                   16577:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16578:       else
                   16579:         {
                   16580:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16581:           else puts (dlerror ());
                   16582:        }
                   16583:       /* dlclose (self); */
                   16584:     }
                   16585:   else
                   16586:     puts (dlerror ());
                   16587: 
                   16588:   return status;
1.66      paf      16589: }
1.128     moko     16590: _LT_EOF
1.150     moko     16591:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16592:   (eval $ac_link) 2>&5
1.66      paf      16593:   ac_status=$?
1.150     moko     16594:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16595:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16596:     (./conftest; exit; ) >&5 2>/dev/null
                   16597:     lt_status=$?
                   16598:     case x$lt_status in
                   16599:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16600:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16601:       x$lt_dlunknown|x*)  ;;
                   16602:     esac
                   16603:   else :
                   16604:     # compilation failed
                   16605: 
                   16606:   fi
                   16607: fi
                   16608: rm -fr conftest*
                   16609: 
                   16610:          LIBS="$save_LIBS"
                   16611: 
                   16612: fi
1.150     moko     16613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16614: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16615:   fi
                   16616: fi
                   16617: 
                   16618: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16619: 
1.150     moko     16620: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16621: 
1.128     moko     16622: fi
                   16623: 
1.150     moko     16624: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16625: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16626: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16627:   $as_echo_n "(cached) " >&6
1.66      paf      16628: else
1.128     moko     16629:   # PORTME does your system automatically load deplibs for dlopen?
                   16630:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16631:   # For now, we just catch OSes we know something about -- in the
                   16632:   # future, we'll try test this programmatically.
                   16633:   lt_cv_sys_dlopen_deplibs=unknown
                   16634:   case $host_os in
                   16635:   aix3*|aix4.1.*|aix4.2.*)
                   16636:     # Unknown whether this is true for these versions of AIX, but
                   16637:     # we want this `case' here to explicitly catch those versions.
                   16638:     lt_cv_sys_dlopen_deplibs=unknown
                   16639:     ;;
                   16640:   aix[4-9]*)
                   16641:     lt_cv_sys_dlopen_deplibs=yes
                   16642:     ;;
                   16643:   amigaos*)
                   16644:     case $host_cpu in
                   16645:     powerpc)
                   16646:       lt_cv_sys_dlopen_deplibs=no
                   16647:       ;;
                   16648:     esac
                   16649:     ;;
                   16650:   darwin*)
                   16651:     # Assuming the user has installed a libdl from somewhere, this is true
                   16652:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16653:     lt_cv_sys_dlopen_deplibs=yes
                   16654:     ;;
                   16655:   freebsd* | dragonfly*)
                   16656:     lt_cv_sys_dlopen_deplibs=yes
                   16657:     ;;
                   16658:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16659:     # GNU and its variants, using gnu ld.so (Glibc)
                   16660:     lt_cv_sys_dlopen_deplibs=yes
                   16661:     ;;
                   16662:   hpux10*|hpux11*)
                   16663:     lt_cv_sys_dlopen_deplibs=yes
                   16664:     ;;
                   16665:   interix*)
                   16666:     lt_cv_sys_dlopen_deplibs=yes
                   16667:     ;;
                   16668:   irix[12345]*|irix6.[01]*)
                   16669:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16670:     # know how it worked for any of those versions.
                   16671:     lt_cv_sys_dlopen_deplibs=unknown
                   16672:     ;;
                   16673:   irix*)
                   16674:     # The case above catches anything before 6.2, and it's known that
                   16675:     # at 6.2 and later dlopen does load deplibs.
                   16676:     lt_cv_sys_dlopen_deplibs=yes
                   16677:     ;;
                   16678:   netbsd*)
                   16679:     lt_cv_sys_dlopen_deplibs=yes
                   16680:     ;;
                   16681:   openbsd*)
                   16682:     lt_cv_sys_dlopen_deplibs=yes
                   16683:     ;;
                   16684:   osf[1234]*)
                   16685:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16686:     # it did *not* use an RPATH in a shared library to find objects the
                   16687:     # library depends on, so we explicitly say `no'.
                   16688:     lt_cv_sys_dlopen_deplibs=no
                   16689:     ;;
                   16690:   osf5.0|osf5.0a|osf5.1)
                   16691:     # dlopen *does* load deplibs and with the right loader patch applied
                   16692:     # it even uses RPATH in a shared library to search for shared objects
                   16693:     # that the library depends on, but there's no easy way to know if that
                   16694:     # patch is installed.  Since this is the case, all we can really
                   16695:     # say is unknown -- it depends on the patch being installed.  If
                   16696:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16697:     lt_cv_sys_dlopen_deplibs=unknown
                   16698:     ;;
                   16699:   osf*)
                   16700:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16701:     # the comments above for what we know about them.
                   16702:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16703:     # is used to find them so we can finally say `yes'.
                   16704:     lt_cv_sys_dlopen_deplibs=yes
                   16705:     ;;
                   16706:   qnx*)
                   16707:     lt_cv_sys_dlopen_deplibs=yes
                   16708:     ;;
                   16709:   solaris*)
                   16710:     lt_cv_sys_dlopen_deplibs=yes
                   16711:     ;;
                   16712:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16713:     libltdl_cv_sys_dlopen_deplibs=yes
                   16714:     ;;
                   16715:   esac
                   16716: 
                   16717: fi
1.150     moko     16718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16719: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16720: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16721: 
1.150     moko     16722: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16723: 
                   16724: fi
                   16725: 
                   16726: :
                   16727: 
                   16728: for ac_header in argz.h
1.150     moko     16729: do :
                   16730:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16731: "
                   16732: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16733:   cat >>confdefs.h <<_ACEOF
1.150     moko     16734: #define HAVE_ARGZ_H 1
1.128     moko     16735: _ACEOF
                   16736: 
1.66      paf      16737: fi
1.62      paf      16738: 
1.128     moko     16739: done
                   16740: 
1.29      paf      16741: 
1.150     moko     16742: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16743: #  include <argz.h>
                   16744: #endif
1.150     moko     16745: "
                   16746: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16747: 
1.128     moko     16748: cat >>confdefs.h <<_ACEOF
                   16749: #define HAVE_ERROR_T 1
1.62      paf      16750: _ACEOF
1.16      paf      16751: 
                   16752: 
1.128     moko     16753: else
1.16      paf      16754: 
1.150     moko     16755: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16756: 
1.12      paf      16757: 
1.150     moko     16758: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16759: 
1.66      paf      16760: fi
1.12      paf      16761: 
1.128     moko     16762: 
                   16763: ARGZ_H=
                   16764: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16765:        argz_next argz_stringify
1.150     moko     16766: do :
                   16767:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16768: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16769: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16770:   cat >>confdefs.h <<_ACEOF
1.150     moko     16771: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16772: _ACEOF
                   16773: 
                   16774: else
                   16775:   ARGZ_H=argz.h;
                   16776: 
                   16777:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16778: 
                   16779: fi
                   16780: done
                   16781: 
                   16782: 
1.150     moko     16783: if test -z "$ARGZ_H"; then :
                   16784:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16785: $as_echo_n "checking if argz actually works... " >&6; }
                   16786: if ${lt_cv_sys_argz_works+:} false; then :
                   16787:   $as_echo_n "(cached) " >&6
1.128     moko     16788: else
                   16789:   case $host_os in #(
                   16790:         *cygwin*)
                   16791:           lt_cv_sys_argz_works=no
                   16792:           if test "$cross_compiling" != no; then
                   16793:             lt_cv_sys_argz_works="guessing no"
                   16794:           else
                   16795:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16796:             save_IFS=$IFS
                   16797:             IFS=-.
                   16798:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16799:             IFS=$save_IFS
                   16800:             lt_os_major=${2-0}
                   16801:             lt_os_minor=${3-0}
                   16802:             lt_os_micro=${4-0}
                   16803:             if test "$lt_os_major" -gt 1 \
                   16804:                || { test "$lt_os_major" -eq 1 \
                   16805:                  && { test "$lt_os_minor" -gt 5 \
                   16806:                    || { test "$lt_os_minor" -eq 5 \
                   16807:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16808:               lt_cv_sys_argz_works=yes
                   16809:             fi
                   16810:           fi
                   16811:           ;; #(
                   16812:         *) lt_cv_sys_argz_works=yes ;;
                   16813:         esac
                   16814: fi
1.150     moko     16815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16816: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16817:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16818: 
1.150     moko     16819: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16820: 
1.62      paf      16821: else
1.128     moko     16822:   ARGZ_H=argz.h
                   16823: 
                   16824: 
                   16825:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16826: 
                   16827: fi
1.62      paf      16828: fi
1.128     moko     16829: 
                   16830: 
                   16831: 
1.150     moko     16832: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16833: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16834: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16835:   $as_echo_n "(cached) " >&6
1.128     moko     16836: else
                   16837:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16838:     libltdl_cv_preloaded_symbols=yes
                   16839:   else
                   16840:     libltdl_cv_preloaded_symbols=no
                   16841:   fi
                   16842: 
1.62      paf      16843: fi
1.150     moko     16844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16845: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16846: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16847: 
1.150     moko     16848: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16849: 
                   16850: fi
                   16851: 
1.150     moko     16852: 
                   16853: 
1.128     moko     16854: # Set options
                   16855: 
                   16856: 
                   16857: 
                   16858: 
                   16859: 
                   16860: 
                   16861: 
                   16862: 
                   16863: 
                   16864: 
1.66      paf      16865: 
                   16866: 
1.150     moko     16867: # Check whether --with-included_ltdl was given.
                   16868: if test "${with_included_ltdl+set}" = set; then :
                   16869:   withval=$with_included_ltdl;
                   16870: fi
1.64      paf      16871: 
                   16872: 
1.128     moko     16873: if test "x$with_included_ltdl" != xyes; then
                   16874:   # We are not being forced to use the included libltdl sources, so
                   16875:   # decide whether there is a useful installed version we can use.
1.150     moko     16876:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16877: 
1.150     moko     16878: "
                   16879: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16880:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16881:            #include <ltdl.h>
1.150     moko     16882: "
                   16883: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16884:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16885: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16886: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16887:   $as_echo_n "(cached) " >&6
1.79      paf      16888: else
1.128     moko     16889:   ac_check_lib_save_LIBS=$LIBS
                   16890: LIBS="-lltdl  $LIBS"
1.150     moko     16891: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16892: /* end confdefs.h.  */
1.128     moko     16893: 
1.150     moko     16894: /* Override any GCC internal prototype to avoid an error.
                   16895:    Use char because int might match the return type of a GCC
                   16896:    builtin and then its argument prototype would still apply.  */
1.128     moko     16897: #ifdef __cplusplus
                   16898: extern "C"
                   16899: #endif
                   16900: char lt_dladvise_preload ();
1.79      paf      16901: int
                   16902: main ()
                   16903: {
1.150     moko     16904: return lt_dladvise_preload ();
1.79      paf      16905:   ;
                   16906:   return 0;
                   16907: }
                   16908: _ACEOF
1.150     moko     16909: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16910:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16911: else
1.150     moko     16912:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16913: fi
1.150     moko     16914: rm -f core conftest.err conftest.$ac_objext \
                   16915:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16916: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16917: fi
1.150     moko     16918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16919: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16920: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16921:   with_included_ltdl=no
1.79      paf      16922: else
1.128     moko     16923:   with_included_ltdl=yes
                   16924: fi
                   16925: 
1.79      paf      16926: else
1.128     moko     16927:   with_included_ltdl=yes
                   16928: fi
1.79      paf      16929: 
1.128     moko     16930: else
                   16931:   with_included_ltdl=yes
1.79      paf      16932: fi
1.128     moko     16933: 
                   16934: 
1.79      paf      16935: fi
1.128     moko     16936: 
                   16937: 
                   16938: 
                   16939: 
1.150     moko     16940: # Check whether --with-ltdl_include was given.
                   16941: if test "${with_ltdl_include+set}" = set; then :
                   16942:   withval=$with_ltdl_include;
                   16943: fi
1.128     moko     16944: 
                   16945: 
                   16946: if test -n "$with_ltdl_include"; then
                   16947:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16948:   else
1.150     moko     16949:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     16950:   fi
                   16951: else
                   16952:   with_ltdl_include=no
1.79      paf      16953: fi
1.128     moko     16954: 
                   16955: 
1.150     moko     16956: # Check whether --with-ltdl_lib was given.
                   16957: if test "${with_ltdl_lib+set}" = set; then :
                   16958:   withval=$with_ltdl_lib;
                   16959: fi
1.128     moko     16960: 
                   16961: 
                   16962: if test -n "$with_ltdl_lib"; then
                   16963:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16964:   else
1.150     moko     16965:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     16966:   fi
                   16967: else
                   16968:   with_ltdl_lib=no
1.79      paf      16969: fi
                   16970: 
1.128     moko     16971: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16972:   ,yes,no,no,)
                   16973:        case $enable_ltdl_convenience in
1.150     moko     16974:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     16975:   "") enable_ltdl_convenience=yes
                   16976:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16977: esac
1.150     moko     16978: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     16979: LTDLDEPS=$LIBLTDL
                   16980: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16981: 
                   16982: 
                   16983: 
                   16984: 
                   16985: 
                   16986: # For backwards non-gettext consistent compatibility...
                   16987: INCLTDL="$LTDLINCL"
                   16988: 
1.79      paf      16989: 
1.128     moko     16990:        ;;
                   16991:   ,no,no,no,)
                   16992:        # If the included ltdl is not to be used, then use the
                   16993:        # preinstalled libltdl we found.
1.79      paf      16994: 
1.150     moko     16995: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      16996: 
1.128     moko     16997:        LIBLTDL=-lltdl
                   16998:        LTDLDEPS=
                   16999:        LTDLINCL=
                   17000:        ;;
                   17001:   ,no*,no,*)
1.150     moko     17002:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17003:        ;;
                   17004:   *)   with_included_ltdl=no
                   17005:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17006:        LTDLDEPS=
                   17007:        LTDLINCL="-I$with_ltdl_include"
                   17008:        ;;
                   17009: esac
                   17010: INCLTDL="$LTDLINCL"
                   17011: 
                   17012: # Report our decision...
1.150     moko     17013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17014: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17016: $as_echo "$LTDLINCL" >&6; }
                   17017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17018: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17020: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17021: 
                   17022: 
                   17023: 
1.150     moko     17024: # Check whether --enable-ltdl-install was given.
                   17025: if test "${enable_ltdl_install+set}" = set; then :
                   17026:   enableval=$enable_ltdl_install;
                   17027: fi
1.128     moko     17028: 
                   17029: 
                   17030: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17031:   *yes*) ;;
                   17032:   *) enable_ltdl_convenience=yes ;;
                   17033: esac
                   17034: 
1.150     moko     17035:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17036:   INSTALL_LTDL_TRUE=
                   17037:   INSTALL_LTDL_FALSE='#'
                   17038: else
                   17039:   INSTALL_LTDL_TRUE='#'
                   17040:   INSTALL_LTDL_FALSE=
                   17041: fi
                   17042: 
1.150     moko     17043:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17044:   CONVENIENCE_LTDL_TRUE=
                   17045:   CONVENIENCE_LTDL_FALSE='#'
                   17046: else
                   17047:   CONVENIENCE_LTDL_TRUE='#'
                   17048:   CONVENIENCE_LTDL_FALSE=
                   17049: fi
                   17050: 
                   17051: 
                   17052: 
1.150     moko     17053:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17054: 
                   17055: 
                   17056: 
                   17057: 
                   17058: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17059: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17060: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17061: # definitions required by ltdl.c.
                   17062: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17063: 
                   17064: 
                   17065: 
1.150     moko     17066: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17067: do :
                   17068:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17069: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17070: "
                   17071: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17072:   cat >>confdefs.h <<_ACEOF
                   17073: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17074: _ACEOF
1.128     moko     17075: 
1.150     moko     17076: fi
1.128     moko     17077: 
1.150     moko     17078: done
1.128     moko     17079: 
                   17080: 
1.150     moko     17081: for ac_func in closedir opendir readdir
                   17082: do :
                   17083:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17084: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17085: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17086:   cat >>confdefs.h <<_ACEOF
                   17087: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17088: _ACEOF
1.66      paf      17089: 
                   17090: else
1.64      paf      17091: 
1.66      paf      17092: 
1.128     moko     17093:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17094: 
1.66      paf      17095: fi
1.128     moko     17096: done
                   17097: 
                   17098: for ac_func in strlcat strlcpy
1.150     moko     17099: do :
                   17100:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17101: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17102: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17103:   cat >>confdefs.h <<_ACEOF
1.150     moko     17104: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17105: _ACEOF
                   17106: 
                   17107: else
                   17108: 
                   17109: 
                   17110:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17111: 
1.62      paf      17112: fi
1.128     moko     17113: done
                   17114: 
                   17115: 
1.64      paf      17116: 
1.128     moko     17117: cat >>confdefs.h <<_ACEOF
                   17118: #define LT_LIBEXT "$libext"
1.62      paf      17119: _ACEOF
1.64      paf      17120: 
1.128     moko     17121: 
                   17122: name=
                   17123: eval "lt_libprefix=\"$libname_spec\""
                   17124: 
                   17125: cat >>confdefs.h <<_ACEOF
                   17126: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17127: _ACEOF
1.128     moko     17128: 
                   17129: 
                   17130: name=ltdl
                   17131: eval "LTDLOPEN=\"$libname_spec\""
                   17132: 
                   17133: 
                   17134: 
                   17135: 
                   17136: 
                   17137: 
                   17138: 
                   17139: 
                   17140: # Only expand once:
                   17141: 
                   17142: 
                   17143: 
                   17144: 
1.150     moko     17145:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17146: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17147: if ${ac_cv_c_bigendian+:} false; then :
                   17148:   $as_echo_n "(cached) " >&6
                   17149: else
                   17150:   ac_cv_c_bigendian=unknown
                   17151:     # See if we're dealing with a universal compiler.
                   17152:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17153: /* end confdefs.h.  */
                   17154: #ifndef __APPLE_CC__
                   17155:               not a universal capable compiler
                   17156:             #endif
                   17157:             typedef int dummy;
                   17158: 
                   17159: _ACEOF
                   17160: if ac_fn_c_try_compile "$LINENO"; then :
                   17161: 
                   17162:        # Check for potential -arch flags.  It is not universal unless
                   17163:        # there are at least two -arch flags with different values.
                   17164:        ac_arch=
                   17165:        ac_prev=
                   17166:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17167:         if test -n "$ac_prev"; then
                   17168:           case $ac_word in
                   17169:             i?86 | x86_64 | ppc | ppc64)
                   17170:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17171:                 ac_arch=$ac_word
                   17172:               else
                   17173:                 ac_cv_c_bigendian=universal
                   17174:                 break
                   17175:               fi
                   17176:               ;;
                   17177:           esac
                   17178:           ac_prev=
                   17179:         elif test "x$ac_word" = "x-arch"; then
                   17180:           ac_prev=arch
                   17181:         fi
                   17182:        done
                   17183: fi
                   17184: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17185:     if test $ac_cv_c_bigendian = unknown; then
                   17186:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17187:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17188: /* end confdefs.h.  */
1.128     moko     17189: #include <sys/types.h>
1.150     moko     17190:             #include <sys/param.h>
1.128     moko     17191: 
                   17192: int
                   17193: main ()
                   17194: {
1.150     moko     17195: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17196:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17197:                     && LITTLE_ENDIAN)
                   17198:              bogus endian macros
                   17199:             #endif
1.64      paf      17200: 
1.128     moko     17201:   ;
                   17202:   return 0;
                   17203: }
1.66      paf      17204: _ACEOF
1.150     moko     17205: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17206:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17207:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17208: /* end confdefs.h.  */
1.128     moko     17209: #include <sys/types.h>
1.150     moko     17210:                #include <sys/param.h>
1.64      paf      17211: 
                   17212: int
                   17213: main ()
1.128     moko     17214: {
                   17215: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17216:                 not big endian
                   17217:                #endif
1.128     moko     17218: 
                   17219:   ;
                   17220:   return 0;
1.64      paf      17221: }
                   17222: _ACEOF
1.150     moko     17223: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17224:   ac_cv_c_bigendian=yes
1.64      paf      17225: else
1.150     moko     17226:   ac_cv_c_bigendian=no
                   17227: fi
                   17228: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17229: fi
                   17230: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17231:     fi
                   17232:     if test $ac_cv_c_bigendian = unknown; then
                   17233:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17234:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17235: /* end confdefs.h.  */
                   17236: #include <limits.h>
1.64      paf      17237: 
1.150     moko     17238: int
                   17239: main ()
                   17240: {
                   17241: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17242:              bogus endian macros
                   17243:             #endif
1.66      paf      17244: 
1.150     moko     17245:   ;
                   17246:   return 0;
                   17247: }
1.62      paf      17248: _ACEOF
1.150     moko     17249: if ac_fn_c_try_compile "$LINENO"; then :
                   17250:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17251:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17252: /* end confdefs.h.  */
1.150     moko     17253: #include <limits.h>
                   17254: 
1.128     moko     17255: int
                   17256: main ()
                   17257: {
1.150     moko     17258: #ifndef _BIG_ENDIAN
                   17259:                 not big endian
                   17260:                #endif
                   17261: 
1.128     moko     17262:   ;
                   17263:   return 0;
                   17264: }
1.62      paf      17265: _ACEOF
1.150     moko     17266: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17267:   ac_cv_c_bigendian=yes
1.150     moko     17268: else
                   17269:   ac_cv_c_bigendian=no
1.128     moko     17270: fi
1.150     moko     17271: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17272: fi
1.150     moko     17273: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17274:     fi
                   17275:     if test $ac_cv_c_bigendian = unknown; then
                   17276:       # Compile a test program.
                   17277:       if test "$cross_compiling" = yes; then :
                   17278:   # Try to guess by grepping values from an object file.
                   17279:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17280: /* end confdefs.h.  */
                   17281: short int ascii_mm[] =
                   17282:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17283:                short int ascii_ii[] =
                   17284:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17285:                int use_ascii (int i) {
                   17286:                  return ascii_mm[i] + ascii_ii[i];
                   17287:                }
                   17288:                short int ebcdic_ii[] =
                   17289:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17290:                short int ebcdic_mm[] =
                   17291:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17292:                int use_ebcdic (int i) {
                   17293:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17294:                }
                   17295:                extern int foo;
1.62      paf      17296: 
1.150     moko     17297: int
                   17298: main ()
                   17299: {
                   17300: return use_ascii (foo) == use_ebcdic (foo);
                   17301:   ;
                   17302:   return 0;
                   17303: }
                   17304: _ACEOF
                   17305: if ac_fn_c_try_compile "$LINENO"; then :
                   17306:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17307:              ac_cv_c_bigendian=yes
                   17308:            fi
                   17309:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17310:              if test "$ac_cv_c_bigendian" = unknown; then
                   17311:                ac_cv_c_bigendian=no
                   17312:              else
                   17313:                # finding both strings is unlikely to happen, but who knows?
                   17314:                ac_cv_c_bigendian=unknown
                   17315:              fi
                   17316:            fi
1.128     moko     17317: fi
1.150     moko     17318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17319: else
1.150     moko     17320:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17321: /* end confdefs.h.  */
1.150     moko     17322: $ac_includes_default
1.128     moko     17323: int
                   17324: main ()
                   17325: {
1.150     moko     17326: 
                   17327:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17328:             union
                   17329:             {
                   17330:               long int l;
                   17331:               char c[sizeof (long int)];
                   17332:             } u;
                   17333:             u.l = 1;
                   17334:             return u.c[sizeof (long int) - 1] == 1;
                   17335: 
                   17336:   ;
                   17337:   return 0;
1.128     moko     17338: }
                   17339: _ACEOF
1.150     moko     17340: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17341:   ac_cv_c_bigendian=no
                   17342: else
1.150     moko     17343:   ac_cv_c_bigendian=yes
1.128     moko     17344: fi
1.150     moko     17345: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17346:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17347: fi
1.150     moko     17348: 
                   17349:     fi
1.66      paf      17350: fi
1.150     moko     17351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17352: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17353:  case $ac_cv_c_bigendian in #(
                   17354:    yes)
                   17355: 
                   17356: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17357: 
                   17358: ;; #(
                   17359:    no)
1.128     moko     17360: 
1.150     moko     17361: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17362: 
1.150     moko     17363:  ;; #(
                   17364:    universal)
1.128     moko     17365: 
1.150     moko     17366: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17367: 
1.150     moko     17368:      ;; #(
                   17369:    *)
                   17370:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17371:  ;;
1.150     moko     17372:  esac
1.66      paf      17373: 
                   17374: 
1.150     moko     17375: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17376: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17377: 
1.66      paf      17378: else
1.1       paf      17379: 
1.66      paf      17380: cat >>confdefs.h <<_ACEOF
1.150     moko     17381: #define size_t unsigned int
1.66      paf      17382: _ACEOF
1.62      paf      17383: 
                   17384: fi
1.66      paf      17385: 
1.156   ! moko     17386: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
        !          17387: if test "x$ac_cv_type_ssize_t" = xyes; then :
        !          17388: 
        !          17389: else
        !          17390: 
        !          17391: cat >>confdefs.h <<_ACEOF
        !          17392: #define ssize_t int
        !          17393: _ACEOF
        !          17394: 
        !          17395: fi
        !          17396: 
        !          17397: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
        !          17398: case $ac_cv_c_uint32_t in #(
        !          17399:   no|yes) ;; #(
        !          17400:   *)
        !          17401: 
        !          17402: $as_echo "#define _UINT32_T 1" >>confdefs.h
        !          17403: 
        !          17404: 
        !          17405: cat >>confdefs.h <<_ACEOF
        !          17406: #define uint32_t $ac_cv_c_uint32_t
        !          17407: _ACEOF
        !          17408: ;;
        !          17409:   esac
1.128     moko     17410: 
                   17411: 
1.150     moko     17412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17413: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17414: if ${ac_cv_header_time+:} false; then :
                   17415:   $as_echo_n "(cached) " >&6
1.62      paf      17416: else
1.150     moko     17417:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17418: /* end confdefs.h.  */
1.66      paf      17419: #include <sys/types.h>
                   17420: #include <sys/time.h>
                   17421: #include <time.h>
1.62      paf      17422: 
                   17423: int
                   17424: main ()
                   17425: {
1.66      paf      17426: if ((struct tm *) 0)
                   17427: return 0;
1.62      paf      17428:   ;
                   17429:   return 0;
                   17430: }
                   17431: _ACEOF
1.150     moko     17432: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17433:   ac_cv_header_time=yes
1.1       paf      17434: else
1.150     moko     17435:   ac_cv_header_time=no
1.1       paf      17436: fi
1.150     moko     17437: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17438: fi
1.150     moko     17439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17440: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17441: if test $ac_cv_header_time = yes; then
1.1       paf      17442: 
1.150     moko     17443: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17444: 
1.1       paf      17445: fi
1.66      paf      17446: 
1.1       paf      17447: 
1.150     moko     17448: for ac_header in assert.h \
                   17449: signal.h \
                   17450: unistd.h \
                   17451: process.h \
                   17452: stddef.h \
                   17453: stdarg.h \
                   17454: fcntl.h \
                   17455: sys/stat.h \
                   17456: io.h \
                   17457: stdio.h \
                   17458: errno.h \
                   17459: ctype.h \
                   17460: math.h \
                   17461: crypt.h \
                   17462: time.h sys/time.h \
                   17463: string.h \
                   17464: direct.h \
                   17465: setjmp.h \
                   17466: memory.h \
                   17467: limits.h \
                   17468: sys/file.h \
                   17469: sys/locking.h \
                   17470: sys/types.h \
                   17471: sys/select.h \
                   17472: sys/resource.h \
                   17473: winsock.h \
                   17474: sys/socket.h \
                   17475: netinet/in.h \
                   17476: arpa/inet.h \
                   17477: netdb.h
                   17478: 
                   17479: do :
                   17480:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17481: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17482: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17483:   cat >>confdefs.h <<_ACEOF
1.150     moko     17484: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17485: _ACEOF
                   17486: 
                   17487: fi
                   17488: 
1.66      paf      17489: done
1.62      paf      17490: 
                   17491: 
                   17492: 
1.66      paf      17493: case "$host" in
1.107     misha    17494:   *-freebsd4*)
                   17495: 
1.150     moko     17496: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17497: 
                   17498:   ;;
1.66      paf      17499:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     17500:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   17501: $as_echo_n "checking for main in -lxnet... " >&6; }
                   17502: if ${ac_cv_lib_xnet_main+:} false; then :
                   17503:   $as_echo_n "(cached) " >&6
1.62      paf      17504: else
1.66      paf      17505:   ac_check_lib_save_LIBS=$LIBS
                   17506: LIBS="-lxnet  $LIBS"
1.150     moko     17507: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17508: /* end confdefs.h.  */
                   17509: 
1.66      paf      17510: 
                   17511: int
                   17512: main ()
                   17513: {
1.150     moko     17514: return main ();
1.66      paf      17515:   ;
                   17516:   return 0;
                   17517: }
1.62      paf      17518: _ACEOF
1.150     moko     17519: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17520:   ac_cv_lib_xnet_main=yes
1.62      paf      17521: else
1.150     moko     17522:   ac_cv_lib_xnet_main=no
1.62      paf      17523: fi
1.150     moko     17524: rm -f core conftest.err conftest.$ac_objext \
                   17525:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17526: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17527: fi
1.150     moko     17528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   17529: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   17530: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17531:   cat >>confdefs.h <<_ACEOF
1.66      paf      17532: #define HAVE_LIBXNET 1
1.62      paf      17533: _ACEOF
1.1       paf      17534: 
1.66      paf      17535:   LIBS="-lxnet $LIBS"
                   17536: 
1.1       paf      17537: fi
                   17538: 
1.66      paf      17539:   ;;
                   17540:   *-sunos5* | *-solaris2*)
1.150     moko     17541:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   17542: $as_echo_n "checking for main in -lsocket... " >&6; }
                   17543: if ${ac_cv_lib_socket_main+:} false; then :
                   17544:   $as_echo_n "(cached) " >&6
1.62      paf      17545: else
1.66      paf      17546:   ac_check_lib_save_LIBS=$LIBS
                   17547: LIBS="-lsocket  $LIBS"
1.150     moko     17548: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17549: /* end confdefs.h.  */
1.66      paf      17550: 
                   17551: 
1.62      paf      17552: int
                   17553: main ()
                   17554: {
1.150     moko     17555: return main ();
1.62      paf      17556:   ;
                   17557:   return 0;
                   17558: }
                   17559: _ACEOF
1.150     moko     17560: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17561:   ac_cv_lib_socket_main=yes
1.1       paf      17562: else
1.150     moko     17563:   ac_cv_lib_socket_main=no
1.1       paf      17564: fi
1.150     moko     17565: rm -f core conftest.err conftest.$ac_objext \
                   17566:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17567: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17568: fi
1.150     moko     17569: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   17570: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   17571: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17572:   cat >>confdefs.h <<_ACEOF
                   17573: #define HAVE_LIBSOCKET 1
                   17574: _ACEOF
1.1       paf      17575: 
1.66      paf      17576:   LIBS="-lsocket $LIBS"
1.1       paf      17577: 
                   17578: fi
                   17579: 
1.150     moko     17580:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   17581: $as_echo_n "checking for main in -lnsl... " >&6; }
                   17582: if ${ac_cv_lib_nsl_main+:} false; then :
                   17583:   $as_echo_n "(cached) " >&6
1.62      paf      17584: else
1.66      paf      17585:   ac_check_lib_save_LIBS=$LIBS
                   17586: LIBS="-lnsl  $LIBS"
1.150     moko     17587: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17588: /* end confdefs.h.  */
1.66      paf      17589: 
                   17590: 
1.62      paf      17591: int
                   17592: main ()
                   17593: {
1.150     moko     17594: return main ();
1.62      paf      17595:   ;
                   17596:   return 0;
                   17597: }
                   17598: _ACEOF
1.150     moko     17599: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17600:   ac_cv_lib_nsl_main=yes
1.30      paf      17601: else
1.150     moko     17602:   ac_cv_lib_nsl_main=no
1.30      paf      17603: fi
1.150     moko     17604: rm -f core conftest.err conftest.$ac_objext \
                   17605:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17606: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17607: fi
1.150     moko     17608: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   17609: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   17610: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      17611:   cat >>confdefs.h <<_ACEOF
                   17612: #define HAVE_LIBNSL 1
                   17613: _ACEOF
1.30      paf      17614: 
1.66      paf      17615:   LIBS="-lnsl $LIBS"
1.30      paf      17616: 
                   17617: fi
                   17618: 
1.66      paf      17619:   ;;
                   17620:   *-nec-sysv4*)
1.150     moko     17621:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   17622: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   17623: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   17624:   $as_echo_n "(cached) " >&6
1.62      paf      17625: else
1.66      paf      17626:   ac_check_lib_save_LIBS=$LIBS
                   17627: LIBS="-lnsl  $LIBS"
1.150     moko     17628: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17629: /* end confdefs.h.  */
1.66      paf      17630: 
1.150     moko     17631: /* Override any GCC internal prototype to avoid an error.
                   17632:    Use char because int might match the return type of a GCC
                   17633:    builtin and then its argument prototype would still apply.  */
1.66      paf      17634: #ifdef __cplusplus
                   17635: extern "C"
                   17636: #endif
                   17637: char gethostbyname ();
1.62      paf      17638: int
                   17639: main ()
                   17640: {
1.150     moko     17641: return gethostbyname ();
1.62      paf      17642:   ;
                   17643:   return 0;
                   17644: }
                   17645: _ACEOF
1.150     moko     17646: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17647:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      17648: else
1.150     moko     17649:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      17650: fi
1.150     moko     17651: rm -f core conftest.err conftest.$ac_objext \
                   17652:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17653: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17654: fi
1.150     moko     17655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   17656: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   17657: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      17658:   cat >>confdefs.h <<_ACEOF
                   17659: #define HAVE_LIBNSL 1
                   17660: _ACEOF
1.30      paf      17661: 
1.66      paf      17662:   LIBS="-lnsl $LIBS"
1.30      paf      17663: 
                   17664: fi
                   17665: 
1.150     moko     17666:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   17667: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   17668: if ${ac_cv_lib_socket_socket+:} false; then :
                   17669:   $as_echo_n "(cached) " >&6
1.8       paf      17670: else
1.66      paf      17671:   ac_check_lib_save_LIBS=$LIBS
                   17672: LIBS="-lsocket  $LIBS"
1.150     moko     17673: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17674: /* end confdefs.h.  */
                   17675: 
1.150     moko     17676: /* Override any GCC internal prototype to avoid an error.
                   17677:    Use char because int might match the return type of a GCC
                   17678:    builtin and then its argument prototype would still apply.  */
1.66      paf      17679: #ifdef __cplusplus
                   17680: extern "C"
                   17681: #endif
                   17682: char socket ();
1.62      paf      17683: int
                   17684: main ()
                   17685: {
1.150     moko     17686: return socket ();
1.62      paf      17687:   ;
                   17688:   return 0;
                   17689: }
                   17690: _ACEOF
1.150     moko     17691: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17692:   ac_cv_lib_socket_socket=yes
1.8       paf      17693: else
1.150     moko     17694:   ac_cv_lib_socket_socket=no
1.8       paf      17695: fi
1.150     moko     17696: rm -f core conftest.err conftest.$ac_objext \
                   17697:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17698: LIBS=$ac_check_lib_save_LIBS
1.8       paf      17699: fi
1.150     moko     17700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   17701: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   17702: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      17703:   cat >>confdefs.h <<_ACEOF
1.128     moko     17704: #define HAVE_LIBSOCKET 1
1.66      paf      17705: _ACEOF
                   17706: 
1.128     moko     17707:   LIBS="-lsocket $LIBS"
1.66      paf      17708: 
1.62      paf      17709: fi
                   17710: 
1.66      paf      17711:   ;;
1.128     moko     17712:   *-cygwin*)
                   17713: 
1.150     moko     17714: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     17715: 
1.150     moko     17716:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5
                   17717: $as_echo_n "checking for socket in -lwsock32... " >&6; }
                   17718: if ${ac_cv_lib_wsock32_socket+:} false; then :
                   17719:   $as_echo_n "(cached) " >&6
1.66      paf      17720: else
                   17721:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     17722: LIBS="-lwsock32  $LIBS"
1.150     moko     17723: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17724: /* end confdefs.h.  */
1.66      paf      17725: 
1.150     moko     17726: /* Override any GCC internal prototype to avoid an error.
                   17727:    Use char because int might match the return type of a GCC
                   17728:    builtin and then its argument prototype would still apply.  */
1.128     moko     17729: #ifdef __cplusplus
                   17730: extern "C"
                   17731: #endif
                   17732: char socket ();
1.66      paf      17733: int
                   17734: main ()
                   17735: {
1.150     moko     17736: return socket ();
1.66      paf      17737:   ;
                   17738:   return 0;
                   17739: }
1.62      paf      17740: _ACEOF
1.150     moko     17741: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     17742:   ac_cv_lib_wsock32_socket=yes
1.62      paf      17743: else
1.150     moko     17744:   ac_cv_lib_wsock32_socket=no
1.62      paf      17745: fi
1.150     moko     17746: rm -f core conftest.err conftest.$ac_objext \
                   17747:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17748: LIBS=$ac_check_lib_save_LIBS
1.1       paf      17749: fi
1.150     moko     17750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_socket" >&5
                   17751: $as_echo "$ac_cv_lib_wsock32_socket" >&6; }
                   17752: if test "x$ac_cv_lib_wsock32_socket" = xyes; then :
1.62      paf      17753:   cat >>confdefs.h <<_ACEOF
1.128     moko     17754: #define HAVE_LIBWSOCK32 1
1.62      paf      17755: _ACEOF
                   17756: 
1.128     moko     17757:   LIBS="-lwsock32 $LIBS"
1.66      paf      17758: 
1.1       paf      17759: fi
1.62      paf      17760: 
1.66      paf      17761:   ;;
                   17762: esac
1.1       paf      17763: 
1.150     moko     17764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   17765: $as_echo_n "checking for sin in -lm... " >&6; }
                   17766: if ${ac_cv_lib_m_sin+:} false; then :
                   17767:   $as_echo_n "(cached) " >&6
1.1       paf      17768: else
1.62      paf      17769:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17770: LIBS="-lm  $LIBS"
1.150     moko     17771: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17772: /* end confdefs.h.  */
                   17773: 
1.150     moko     17774: /* Override any GCC internal prototype to avoid an error.
                   17775:    Use char because int might match the return type of a GCC
                   17776:    builtin and then its argument prototype would still apply.  */
1.66      paf      17777: #ifdef __cplusplus
                   17778: extern "C"
                   17779: #endif
                   17780: char sin ();
1.62      paf      17781: int
                   17782: main ()
                   17783: {
1.150     moko     17784: return sin ();
1.62      paf      17785:   ;
                   17786:   return 0;
                   17787: }
                   17788: _ACEOF
1.150     moko     17789: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17790:   ac_cv_lib_m_sin=yes
1.62      paf      17791: else
1.150     moko     17792:   ac_cv_lib_m_sin=no
1.62      paf      17793: fi
1.150     moko     17794: rm -f core conftest.err conftest.$ac_objext \
                   17795:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17796: LIBS=$ac_check_lib_save_LIBS
                   17797: fi
1.150     moko     17798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   17799: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   17800: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      17801:   cat >>confdefs.h <<_ACEOF
1.66      paf      17802: #define HAVE_LIBM 1
1.62      paf      17803: _ACEOF
1.1       paf      17804: 
1.66      paf      17805:   LIBS="-lm $LIBS"
1.1       paf      17806: 
                   17807: fi
                   17808: 
1.150     moko     17809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   17810: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   17811: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   17812:   $as_echo_n "(cached) " >&6
1.1       paf      17813: else
1.62      paf      17814:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      17815: LIBS="-lcrypt  $LIBS"
1.150     moko     17816: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17817: /* end confdefs.h.  */
                   17818: 
1.150     moko     17819: /* Override any GCC internal prototype to avoid an error.
                   17820:    Use char because int might match the return type of a GCC
                   17821:    builtin and then its argument prototype would still apply.  */
1.66      paf      17822: #ifdef __cplusplus
                   17823: extern "C"
                   17824: #endif
                   17825: char crypt ();
1.62      paf      17826: int
                   17827: main ()
                   17828: {
1.150     moko     17829: return crypt ();
1.62      paf      17830:   ;
                   17831:   return 0;
                   17832: }
                   17833: _ACEOF
1.150     moko     17834: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17835:   ac_cv_lib_crypt_crypt=yes
1.62      paf      17836: else
1.150     moko     17837:   ac_cv_lib_crypt_crypt=no
1.62      paf      17838: fi
1.150     moko     17839: rm -f core conftest.err conftest.$ac_objext \
                   17840:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      17841: LIBS=$ac_check_lib_save_LIBS
                   17842: fi
1.150     moko     17843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   17844: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   17845: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      17846:   cat >>confdefs.h <<_ACEOF
1.66      paf      17847: #define HAVE_LIBCRYPT 1
1.62      paf      17848: _ACEOF
1.1       paf      17849: 
1.66      paf      17850:   LIBS="-lcrypt $LIBS"
                   17851: 
                   17852: fi
                   17853: 
                   17854: 
                   17855: 
1.67      paf      17856: for ac_func in flock \
1.66      paf      17857: _locking \
                   17858: fcntl \
                   17859: lockf \
                   17860: ftruncate \
1.112     misha    17861: fchmod \
1.66      paf      17862: getrusage \
                   17863: gettimeofday \
                   17864: crypt \
1.80      paf      17865: sigsetjmp \
1.92      misha    17866: siglongjmp \
                   17867: unsetenv
1.66      paf      17868: 
1.150     moko     17869: do :
                   17870:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17871: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17872: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      17873:   cat >>confdefs.h <<_ACEOF
1.150     moko     17874: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      17875: _ACEOF
1.1       paf      17876: 
1.66      paf      17877: fi
                   17878: done
                   17879: 
1.1       paf      17880: 
                   17881: 
1.67      paf      17882: pa_func=sigsetjmp
1.150     moko     17883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   17884: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   17885: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17886: /* end confdefs.h.  */
                   17887: 
                   17888: #ifdef HAVE_SETJMP_H
                   17889: #      include <setjmp.h>
                   17890: #endif
                   17891: 
                   17892: int
                   17893: main ()
                   17894: {
                   17895: 
                   17896:         $pa_func(0,0);
                   17897: 
                   17898:   ;
                   17899:   return 0;
                   17900: }
                   17901: _ACEOF
1.150     moko     17902: if ac_fn_c_try_compile "$LINENO"; then :
                   17903:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17904: $as_echo "yes" >&6; }
1.67      paf      17905: cat >>confdefs.h <<_ACEOF
1.150     moko     17906: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      17907: _ACEOF
                   17908: 
                   17909: 
                   17910: else
1.150     moko     17911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17912: $as_echo "no" >&6; }
1.67      paf      17913: 
                   17914: fi
1.150     moko     17915: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      17916: 
                   17917: 
                   17918: 
1.150     moko     17919: ac_ext=cpp
1.67      paf      17920: ac_cpp='$CXXCPP $CPPFLAGS'
                   17921: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17922: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17923: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   17924: 
                   17925: 
                   17926: 
                   17927: for pa_func in trunc \
                   17928: round \
                   17929: sign
                   17930: 
                   17931: do
                   17932: 
1.150     moko     17933: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   17934: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   17935: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      17936: /* end confdefs.h.  */
                   17937: 
                   17938: #ifdef HAVE_MATH_H
                   17939: #       include <math.h>
                   17940: #endif
                   17941: 
                   17942: int
                   17943: main ()
                   17944: {
                   17945: 
                   17946:         double result=$pa_func(1.6);
                   17947: 
                   17948:   ;
                   17949:   return 0;
                   17950: }
                   17951: _ACEOF
1.150     moko     17952: if ac_fn_cxx_try_compile "$LINENO"; then :
                   17953:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17954: $as_echo "yes" >&6; }
1.67      paf      17955: cat >>confdefs.h <<_ACEOF
1.150     moko     17956: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      17957: _ACEOF
1.66      paf      17958: 
1.62      paf      17959: else
1.150     moko     17960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17961: $as_echo "no" >&6; }
1.62      paf      17962: 
                   17963: fi
1.150     moko     17964: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17965: 
                   17966: done
                   17967: 
                   17968: ac_ext=c
                   17969: ac_cpp='$CPP $CPPFLAGS'
                   17970: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   17971: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   17972: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   17973: 
                   17974: 
                   17975: 
                   17976: for ac_func in qsort
                   17977: do :
                   17978:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   17979: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      17980:   cat >>confdefs.h <<_ACEOF
1.150     moko     17981: #define HAVE_QSORT 1
1.62      paf      17982: _ACEOF
1.1       paf      17983: 
1.66      paf      17984: else
1.150     moko     17985:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      17986: fi
1.66      paf      17987: done
1.1       paf      17988: 
                   17989: 
1.62      paf      17990: 
1.150     moko     17991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   17992: $as_echo_n "checking for timezone variable... " >&6; }
                   17993: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17994: /* end confdefs.h.  */
1.66      paf      17995: #include <time.h>
1.62      paf      17996: int
                   17997: main ()
                   17998: {
1.66      paf      17999: 
                   18000: time_t test=timezone;
                   18001: 
1.62      paf      18002:   ;
                   18003:   return 0;
                   18004: }
                   18005: _ACEOF
1.150     moko     18006: if ac_fn_c_try_compile "$LINENO"; then :
                   18007:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.66      paf      18008: 
1.150     moko     18009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18010: $as_echo "yes" >&6; }
1.62      paf      18011: else
1.150     moko     18012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18013: $as_echo "no" >&6; }
1.62      paf      18014: fi
1.150     moko     18015: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18016: 
1.150     moko     18017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
                   18018: $as_echo_n "checking for daylight variable... " >&6; }
                   18019: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18020: /* end confdefs.h.  */
1.66      paf      18021: #include <time.h>
1.62      paf      18022: int
                   18023: main ()
                   18024: {
1.66      paf      18025: 
                   18026: int test=daylight;
                   18027: 
1.62      paf      18028:   ;
                   18029:   return 0;
                   18030: }
                   18031: _ACEOF
1.150     moko     18032: if ac_fn_c_try_compile "$LINENO"; then :
                   18033:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.66      paf      18034: 
1.150     moko     18035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18036: $as_echo "yes" >&6; }
1.62      paf      18037: else
1.150     moko     18038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18039: $as_echo "no" >&6; }
1.62      paf      18040: fi
1.150     moko     18041: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18042: 
1.150     moko     18043: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18044: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
                   18045: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18046: /* end confdefs.h.  */
1.66      paf      18047: #include <time.h>
1.62      paf      18048: int
                   18049: main ()
                   18050: {
1.66      paf      18051: struct tm tm;
                   18052: tm.tm_gmtoff=0;
                   18053: 
1.62      paf      18054:   ;
                   18055:   return 0;
                   18056: }
                   18057: _ACEOF
1.150     moko     18058: if ac_fn_c_try_compile "$LINENO"; then :
                   18059:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.66      paf      18060: 
1.150     moko     18061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18062: $as_echo "yes" >&6; }
1.62      paf      18063: else
1.150     moko     18064:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18065: $as_echo "no" >&6; }
1.62      paf      18066: fi
1.150     moko     18067: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18068: 
1.150     moko     18069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18070: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
                   18071: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18072: /* end confdefs.h.  */
1.66      paf      18073: #include <time.h>
1.62      paf      18074: int
                   18075: main ()
                   18076: {
1.66      paf      18077: struct tm tm;
                   18078: tm.tm_tzadj=0;
                   18079: 
1.62      paf      18080:   ;
                   18081:   return 0;
                   18082: }
                   18083: _ACEOF
1.150     moko     18084: if ac_fn_c_try_compile "$LINENO"; then :
                   18085:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.66      paf      18086: 
1.150     moko     18087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18088: $as_echo "yes" >&6; }
1.62      paf      18089: else
1.150     moko     18090:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18091: $as_echo "no" >&6; }
1.62      paf      18092: fi
1.150     moko     18093: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18094: 
1.1       paf      18095: 
                   18096: 
                   18097: 
1.62      paf      18098: 
                   18099: 
                   18100: 
                   18101: 
                   18102: 
                   18103: 
                   18104: 
                   18105: 
1.150     moko     18106: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18107: 
                   18108: 
1.150     moko     18109: 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/memcached/Makefile src/lib/curl/Makefile src/targets/Makefile src/targets/cgi/Makefile src/targets/apache/Makefile src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/auto.p.dist"
1.62      paf      18110: 
                   18111: cat >confcache <<\_ACEOF
1.1       paf      18112: # This file is a shell script that caches the results of configure
                   18113: # tests run on this system so they can be shared between configure
1.62      paf      18114: # scripts and configure runs, see configure's option --config-cache.
                   18115: # It is not useful on other systems.  If it contains results you don't
                   18116: # want to keep, you may remove or edit it.
1.1       paf      18117: #
1.62      paf      18118: # config.status only pays attention to the cache file if you give it
                   18119: # the --recheck option to rerun configure.
1.1       paf      18120: #
1.62      paf      18121: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18122: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18123: # following values.
                   18124: 
                   18125: _ACEOF
                   18126: 
1.1       paf      18127: # The following way of writing the cache mishandles newlines in values,
                   18128: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18129: # So, we kill variables containing newlines.
1.1       paf      18130: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18131: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18132: (
                   18133:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18134:     eval ac_val=\$$ac_var
                   18135:     case $ac_val in #(
                   18136:     *${as_nl}*)
                   18137:       case $ac_var in #(
                   18138:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18139: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18140:       esac
                   18141:       case $ac_var in #(
                   18142:       _ | IFS | as_nl) ;; #(
                   18143:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18144:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18145:       esac ;;
                   18146:     esac
                   18147:   done
                   18148: 
1.62      paf      18149:   (set) 2>&1 |
1.150     moko     18150:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18151:     *${as_nl}ac_space=\ *)
                   18152:       # `set' does not quote correctly, so add quotes: double-quote
                   18153:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18154:       sed -n \
1.86      paf      18155:        "s/'/'\\\\''/g;
                   18156:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18157:       ;; #(
1.62      paf      18158:     *)
                   18159:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18160:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18161:       ;;
1.150     moko     18162:     esac |
                   18163:     sort
                   18164: ) |
1.62      paf      18165:   sed '
1.150     moko     18166:      /^ac_cv_env_/b end
1.62      paf      18167:      t clear
1.150     moko     18168:      :clear
1.62      paf      18169:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18170:      t end
1.150     moko     18171:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18172:      :end' >>confcache
                   18173: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18174:   if test -w "$cache_file"; then
                   18175:     if test "x$cache_file" != "x/dev/null"; then
                   18176:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18177: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18178:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18179:        cat confcache >"$cache_file"
                   18180:       else
                   18181:         case $cache_file in #(
                   18182:         */* | ?:*)
                   18183:          mv -f confcache "$cache_file"$$ &&
                   18184:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18185:         *)
                   18186:          mv -f confcache "$cache_file" ;;
                   18187:        esac
                   18188:       fi
                   18189:     fi
1.1       paf      18190:   else
1.150     moko     18191:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18192: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18193:   fi
                   18194: fi
                   18195: rm -f confcache
                   18196: 
                   18197: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18198: # Let make expand exec_prefix.
                   18199: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18200: 
1.62      paf      18201: DEFS=-DHAVE_CONFIG_H
                   18202: 
                   18203: ac_libobjs=
                   18204: ac_ltlibobjs=
1.150     moko     18205: U=
1.62      paf      18206: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18207:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18208:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18209:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18210:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18211:   #    will be set to the directory where LIBOBJS objects are built.
                   18212:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18213:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18214: done
                   18215: LIBOBJS=$ac_libobjs
                   18216: 
                   18217: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18218: 
                   18219: 
1.150     moko     18220:  if test -n "$EXEEXT"; then
                   18221:   am__EXEEXT_TRUE=
                   18222:   am__EXEEXT_FALSE='#'
                   18223: else
                   18224:   am__EXEEXT_TRUE='#'
                   18225:   am__EXEEXT_FALSE=
                   18226: fi
                   18227: 
1.62      paf      18228: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18229:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18230: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18231: fi
1.66      paf      18232: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18233:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18234: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18235: fi
1.66      paf      18236: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18237:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18238: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18239: fi
1.122     moko     18240: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18241:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18242: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18243: fi
1.128     moko     18244: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18245:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18246: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18247: fi
                   18248: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18249:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18250: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18251: fi
1.150     moko     18252: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18253: 
                   18254:     _ltdl_libobjs=
                   18255:     _ltdl_ltlibobjs=
                   18256:     if test -n "$_LT_LIBOBJS"; then
                   18257:       # Remove the extension.
                   18258:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18259:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18260:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18261:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18262:       done
                   18263:     fi
                   18264:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18265: 
                   18266:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18267: 
                   18268: 
1.62      paf      18269: 
1.150     moko     18270: 
                   18271: : "${CONFIG_STATUS=./config.status}"
                   18272: ac_write_fail=0
1.62      paf      18273: ac_clean_files_save=$ac_clean_files
                   18274: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18275: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18276: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18277: as_write_fail=0
                   18278: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18279: #! $SHELL
                   18280: # Generated by $as_me.
                   18281: # Run this file to recreate the current configuration.
                   18282: # Compiler output produced by configure, useful for debugging
                   18283: # configure, is in config.log if it exists.
                   18284: 
                   18285: debug=false
                   18286: ac_cs_recheck=false
                   18287: ac_cs_silent=false
1.150     moko     18288: 
1.62      paf      18289: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18290: export SHELL
                   18291: _ASEOF
                   18292: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18293: ## -------------------- ##
                   18294: ## M4sh Initialization. ##
                   18295: ## -------------------- ##
1.62      paf      18296: 
1.150     moko     18297: # Be more Bourne compatible
                   18298: DUALCASE=1; export DUALCASE # for MKS sh
                   18299: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18300:   emulate sh
                   18301:   NULLCMD=:
1.150     moko     18302:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18303:   # is contrary to our usage.  Disable this feature.
                   18304:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18305:   setopt NO_GLOB_SUBST
                   18306: else
                   18307:   case `(set -o) 2>/dev/null` in #(
                   18308:   *posix*) :
                   18309:     set -o posix ;; #(
                   18310:   *) :
                   18311:      ;;
                   18312: esac
                   18313: fi
                   18314: 
                   18315: 
                   18316: as_nl='
                   18317: '
                   18318: export as_nl
                   18319: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18320: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18321: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18322: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18323: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18324: # but without wasting forks for bash or zsh.
                   18325: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18326:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18327:   as_echo='print -r --'
                   18328:   as_echo_n='print -rn --'
                   18329: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18330:   as_echo='printf %s\n'
                   18331:   as_echo_n='printf %s'
                   18332: else
                   18333:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18334:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18335:     as_echo_n='/usr/ucb/echo -n'
                   18336:   else
                   18337:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18338:     as_echo_n_body='eval
                   18339:       arg=$1;
                   18340:       case $arg in #(
                   18341:       *"$as_nl"*)
                   18342:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18343:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18344:       esac;
                   18345:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18346:     '
                   18347:     export as_echo_n_body
                   18348:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18349:   fi
                   18350:   export as_echo_body
                   18351:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18352: fi
                   18353: 
1.150     moko     18354: # The user is always right.
                   18355: if test "${PATH_SEPARATOR+set}" != set; then
                   18356:   PATH_SEPARATOR=:
                   18357:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18358:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18359:       PATH_SEPARATOR=';'
                   18360:   }
1.62      paf      18361: fi
                   18362: 
                   18363: 
1.150     moko     18364: # IFS
                   18365: # We need space, tab and new line, in precisely that order.  Quoting is
                   18366: # there to prevent editors from complaining about space-tab.
                   18367: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18368: # splitting by setting IFS to empty value.)
                   18369: IFS=" ""       $as_nl"
                   18370: 
                   18371: # Find who we are.  Look in the path if we contain no directory separator.
                   18372: as_myself=
                   18373: case $0 in #((
                   18374:   *[\\/]* ) as_myself=$0 ;;
                   18375:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18376: for as_dir in $PATH
                   18377: do
                   18378:   IFS=$as_save_IFS
                   18379:   test -z "$as_dir" && as_dir=.
                   18380:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18381:   done
                   18382: IFS=$as_save_IFS
                   18383: 
                   18384:      ;;
                   18385: esac
                   18386: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18387: # in which case we are not to be found in the path.
                   18388: if test "x$as_myself" = x; then
                   18389:   as_myself=$0
                   18390: fi
                   18391: if test ! -f "$as_myself"; then
                   18392:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   18393:   exit 1
                   18394: fi
                   18395: 
                   18396: # Unset variables that we do not need and which cause bugs (e.g. in
                   18397: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   18398: # suppresses any "Segmentation fault" message there.  '((' could
                   18399: # trigger a bug in pdksh 5.2.14.
                   18400: for as_var in BASH_ENV ENV MAIL MAILPATH
                   18401: do eval test x\${$as_var+set} = xset \
                   18402:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   18403: done
1.62      paf      18404: PS1='$ '
                   18405: PS2='> '
                   18406: PS4='+ '
                   18407: 
                   18408: # NLS nuisances.
1.150     moko     18409: LC_ALL=C
                   18410: export LC_ALL
                   18411: LANGUAGE=C
                   18412: export LANGUAGE
                   18413: 
                   18414: # CDPATH.
                   18415: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18416: 
                   18417: 
                   18418: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   18419: # ----------------------------------------
                   18420: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   18421: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   18422: # script with STATUS, using 1 if that was 0.
                   18423: as_fn_error ()
                   18424: {
                   18425:   as_status=$1; test $as_status -eq 0 && as_status=1
                   18426:   if test "$4"; then
                   18427:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   18428:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   18429:   fi
                   18430:   $as_echo "$as_me: error: $2" >&2
                   18431:   as_fn_exit $as_status
                   18432: } # as_fn_error
                   18433: 
                   18434: 
                   18435: # as_fn_set_status STATUS
                   18436: # -----------------------
                   18437: # Set $? to STATUS, without forking.
                   18438: as_fn_set_status ()
                   18439: {
                   18440:   return $1
                   18441: } # as_fn_set_status
                   18442: 
                   18443: # as_fn_exit STATUS
                   18444: # -----------------
                   18445: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   18446: as_fn_exit ()
                   18447: {
                   18448:   set +e
                   18449:   as_fn_set_status $1
                   18450:   exit $1
                   18451: } # as_fn_exit
                   18452: 
                   18453: # as_fn_unset VAR
                   18454: # ---------------
                   18455: # Portably unset VAR.
                   18456: as_fn_unset ()
                   18457: {
                   18458:   { eval $1=; unset $1;}
                   18459: }
                   18460: as_unset=as_fn_unset
                   18461: # as_fn_append VAR VALUE
                   18462: # ----------------------
                   18463: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   18464: # advantage of any shell optimizations that allow amortized linear growth over
                   18465: # repeated appends, instead of the typical quadratic growth present in naive
                   18466: # implementations.
                   18467: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   18468:   eval 'as_fn_append ()
                   18469:   {
                   18470:     eval $1+=\$2
                   18471:   }'
                   18472: else
                   18473:   as_fn_append ()
                   18474:   {
                   18475:     eval $1=\$$1\$2
                   18476:   }
                   18477: fi # as_fn_append
                   18478: 
                   18479: # as_fn_arith ARG...
                   18480: # ------------------
                   18481: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   18482: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   18483: # must be portable across $(()) and expr.
                   18484: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   18485:   eval 'as_fn_arith ()
                   18486:   {
                   18487:     as_val=$(( $* ))
                   18488:   }'
                   18489: else
                   18490:   as_fn_arith ()
                   18491:   {
                   18492:     as_val=`expr "$@" || test $? -eq 1`
                   18493:   }
                   18494: fi # as_fn_arith
                   18495: 
1.1       paf      18496: 
1.150     moko     18497: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   18498:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18499:   as_expr=expr
                   18500: else
                   18501:   as_expr=false
                   18502: fi
                   18503: 
1.150     moko     18504: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18505:   as_basename=basename
                   18506: else
                   18507:   as_basename=false
                   18508: fi
                   18509: 
1.150     moko     18510: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   18511:   as_dirname=dirname
                   18512: else
                   18513:   as_dirname=false
                   18514: fi
1.62      paf      18515: 
1.150     moko     18516: as_me=`$as_basename -- "$0" ||
1.62      paf      18517: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18518:         X"$0" : 'X\(//\)$' \| \
1.150     moko     18519:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   18520: $as_echo X/"$0" |
                   18521:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   18522:            s//\1/
                   18523:            q
                   18524:          }
                   18525:          /^X\/\(\/\/\)$/{
                   18526:            s//\1/
                   18527:            q
                   18528:          }
                   18529:          /^X\/\(\/\).*/{
                   18530:            s//\1/
                   18531:            q
                   18532:          }
                   18533:          s/.*/./; q'`
1.62      paf      18534: 
                   18535: # Avoid depending upon Character Ranges.
                   18536: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18537: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18538: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18539: as_cr_digits='0123456789'
                   18540: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18541: 
1.150     moko     18542: ECHO_C= ECHO_N= ECHO_T=
                   18543: case `echo -n x` in #(((((
                   18544: -n*)
                   18545:   case `echo 'xy\c'` in
                   18546:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   18547:   xy)  ECHO_C='\c';;
                   18548:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   18549:        ECHO_T='        ';;
                   18550:   esac;;
                   18551: *)
                   18552:   ECHO_N='-n';;
1.62      paf      18553: esac
                   18554: 
1.150     moko     18555: rm -f conf$$ conf$$.exe conf$$.file
                   18556: if test -d conf$$.dir; then
                   18557:   rm -f conf$$.dir/conf$$.file
1.62      paf      18558: else
1.150     moko     18559:   rm -f conf$$.dir
                   18560:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18561: fi
1.150     moko     18562: if (echo >conf$$.file) 2>/dev/null; then
                   18563:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18564:     as_ln_s='ln -s'
                   18565:     # ... but there are two gotchas:
                   18566:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   18567:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   18568:     # In both cases, we have to default to `cp -p'.
                   18569:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   18570:       as_ln_s='cp -p'
                   18571:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   18572:     as_ln_s=ln
                   18573:   else
1.62      paf      18574:     as_ln_s='cp -p'
                   18575:   fi
                   18576: else
                   18577:   as_ln_s='cp -p'
                   18578: fi
1.150     moko     18579: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   18580: rmdir conf$$.dir 2>/dev/null
                   18581: 
                   18582: 
                   18583: # as_fn_mkdir_p
                   18584: # -------------
                   18585: # Create "$as_dir" as a directory, including parents if necessary.
                   18586: as_fn_mkdir_p ()
                   18587: {
                   18588: 
                   18589:   case $as_dir in #(
                   18590:   -*) as_dir=./$as_dir;;
                   18591:   esac
                   18592:   test -d "$as_dir" || eval $as_mkdir_p || {
                   18593:     as_dirs=
                   18594:     while :; do
                   18595:       case $as_dir in #(
                   18596:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   18597:       *) as_qdir=$as_dir;;
                   18598:       esac
                   18599:       as_dirs="'$as_qdir' $as_dirs"
                   18600:       as_dir=`$as_dirname -- "$as_dir" ||
                   18601: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18602:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18603:         X"$as_dir" : 'X\(//\)$' \| \
                   18604:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   18605: $as_echo X"$as_dir" |
                   18606:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18607:            s//\1/
                   18608:            q
                   18609:          }
                   18610:          /^X\(\/\/\)[^/].*/{
                   18611:            s//\1/
                   18612:            q
                   18613:          }
                   18614:          /^X\(\/\/\)$/{
                   18615:            s//\1/
                   18616:            q
                   18617:          }
                   18618:          /^X\(\/\).*/{
                   18619:            s//\1/
                   18620:            q
                   18621:          }
                   18622:          s/.*/./; q'`
                   18623:       test -d "$as_dir" && break
                   18624:     done
                   18625:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   18626:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   18627: 
1.62      paf      18628: 
1.150     moko     18629: } # as_fn_mkdir_p
1.62      paf      18630: if mkdir -p . 2>/dev/null; then
1.150     moko     18631:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18632: else
1.86      paf      18633:   test -d ./-p && rmdir ./-p
1.62      paf      18634:   as_mkdir_p=false
                   18635: fi
                   18636: 
1.150     moko     18637: if test -x / >/dev/null 2>&1; then
                   18638:   as_test_x='test -x'
                   18639: else
                   18640:   if ls -dL / >/dev/null 2>&1; then
                   18641:     as_ls_L_option=L
                   18642:   else
                   18643:     as_ls_L_option=
                   18644:   fi
                   18645:   as_test_x='
                   18646:     eval sh -c '\''
                   18647:       if test -d "$1"; then
                   18648:        test -d "$1/.";
                   18649:       else
                   18650:        case $1 in #(
                   18651:        -*)set "./$1";;
                   18652:        esac;
                   18653:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   18654:        ???[sx]*):;;*)false;;esac;fi
                   18655:     '\'' sh
                   18656:   '
                   18657: fi
                   18658: as_executable_p=$as_test_x
1.62      paf      18659: 
                   18660: # Sed expression to map a string onto a valid CPP name.
1.86      paf      18661: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18662: 
                   18663: # Sed expression to map a string onto a valid variable name.
1.86      paf      18664: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      18665: 
                   18666: 
                   18667: exec 6>&1
1.150     moko     18668: ## ----------------------------------- ##
                   18669: ## Main body of $CONFIG_STATUS script. ##
                   18670: ## ----------------------------------- ##
                   18671: _ASEOF
                   18672: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      18673: 
1.150     moko     18674: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18675: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      18676: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     18677: # values after options handling.
                   18678: ac_log="
1.153     moko     18679: This file was extended by parser $as_me 3.4.2, which was
1.150     moko     18680: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      18681: 
                   18682:   CONFIG_FILES    = $CONFIG_FILES
                   18683:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18684:   CONFIG_LINKS    = $CONFIG_LINKS
                   18685:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18686:   $ $0 $@
                   18687: 
1.150     moko     18688: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   18689: "
                   18690: 
1.62      paf      18691: _ACEOF
                   18692: 
1.150     moko     18693: case $ac_config_files in *"
                   18694: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   18695: esac
1.62      paf      18696: 
1.150     moko     18697: case $ac_config_headers in *"
                   18698: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   18699: esac
1.62      paf      18700: 
                   18701: 
1.150     moko     18702: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18703: # Files that config.status was made for.
                   18704: config_files="$ac_config_files"
                   18705: config_headers="$ac_config_headers"
                   18706: config_commands="$ac_config_commands"
1.62      paf      18707: 
1.150     moko     18708: _ACEOF
1.62      paf      18709: 
1.150     moko     18710: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      18711: ac_cs_usage="\
1.150     moko     18712: \`$as_me' instantiates files and other configuration actions
                   18713: from templates according to the current configuration.  Unless the files
                   18714: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      18715: 
1.150     moko     18716: Usage: $0 [OPTION]... [TAG]...
1.62      paf      18717: 
                   18718:   -h, --help       print this help, then exit
1.150     moko     18719:   -V, --version    print version number and configuration settings, then exit
                   18720:       --config     print configuration, then exit
                   18721:   -q, --quiet, --silent
                   18722:                    do not print progress messages
1.62      paf      18723:   -d, --debug      don't remove temporary files
                   18724:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     18725:       --file=FILE[:TEMPLATE]
                   18726:                    instantiate the configuration file FILE
                   18727:       --header=FILE[:TEMPLATE]
                   18728:                    instantiate the configuration header FILE
1.62      paf      18729: 
                   18730: Configuration files:
                   18731: $config_files
                   18732: 
                   18733: Configuration headers:
                   18734: $config_headers
                   18735: 
                   18736: Configuration commands:
                   18737: $config_commands
                   18738: 
1.150     moko     18739: Report bugs to the package provider."
                   18740: 
1.62      paf      18741: _ACEOF
1.150     moko     18742: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18743: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      18744: ac_cs_version="\\
1.153     moko     18745: parser config.status 3.4.2
1.150     moko     18746: configured by $0, generated by GNU Autoconf 2.68,
                   18747:   with options \\"\$ac_cs_config\\"
1.62      paf      18748: 
1.150     moko     18749: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      18750: This config.status script is free software; the Free Software Foundation
                   18751: gives unlimited permission to copy, distribute and modify it."
1.150     moko     18752: 
                   18753: ac_pwd='$ac_pwd'
                   18754: srcdir='$srcdir'
                   18755: INSTALL='$INSTALL'
                   18756: MKDIR_P='$MKDIR_P'
                   18757: AWK='$AWK'
                   18758: test -n "\$AWK" || AWK=awk
1.62      paf      18759: _ACEOF
                   18760: 
1.150     moko     18761: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18762: # The default lists apply if the user does not specify any file.
1.62      paf      18763: ac_need_defaults=:
                   18764: while test $# != 0
                   18765: do
                   18766:   case $1 in
1.150     moko     18767:   --*=?*)
                   18768:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18769:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      18770:     ac_shift=:
                   18771:     ;;
1.150     moko     18772:   --*=)
                   18773:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   18774:     ac_optarg=
                   18775:     ac_shift=:
                   18776:     ;;
                   18777:   *)
1.62      paf      18778:     ac_option=$1
                   18779:     ac_optarg=$2
                   18780:     ac_shift=shift
                   18781:     ;;
                   18782:   esac
                   18783: 
                   18784:   case $ac_option in
                   18785:   # Handling of the options.
                   18786:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18787:     ac_cs_recheck=: ;;
1.150     moko     18788:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   18789:     $as_echo "$ac_cs_version"; exit ;;
                   18790:   --config | --confi | --conf | --con | --co | --c )
                   18791:     $as_echo "$ac_cs_config"; exit ;;
                   18792:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      18793:     debug=: ;;
                   18794:   --file | --fil | --fi | --f )
                   18795:     $ac_shift
1.150     moko     18796:     case $ac_optarg in
                   18797:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18798:     '') as_fn_error $? "missing file argument" ;;
                   18799:     esac
                   18800:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      18801:     ac_need_defaults=false;;
                   18802:   --header | --heade | --head | --hea )
                   18803:     $ac_shift
1.150     moko     18804:     case $ac_optarg in
                   18805:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   18806:     esac
                   18807:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      18808:     ac_need_defaults=false;;
1.150     moko     18809:   --he | --h)
                   18810:     # Conflict between --help and --header
                   18811:     as_fn_error $? "ambiguous option: \`$1'
                   18812: Try \`$0 --help' for more information.";;
                   18813:   --help | --hel | -h )
                   18814:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      18815:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18816:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18817:     ac_cs_silent=: ;;
                   18818: 
                   18819:   # This is an error.
1.150     moko     18820:   -*) as_fn_error $? "unrecognized option: \`$1'
                   18821: Try \`$0 --help' for more information." ;;
1.62      paf      18822: 
1.150     moko     18823:   *) as_fn_append ac_config_targets " $1"
                   18824:      ac_need_defaults=false ;;
1.62      paf      18825: 
                   18826:   esac
                   18827:   shift
                   18828: done
                   18829: 
                   18830: ac_configure_extra_args=
                   18831: 
                   18832: if $ac_cs_silent; then
                   18833:   exec 6>/dev/null
1.150     moko     18834:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18835: fi
                   18836: 
                   18837: _ACEOF
                   18838: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   18839: if \$ac_cs_recheck; then
                   18840:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18841:   shift
                   18842:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   18843:   CONFIG_SHELL='$SHELL'
                   18844:   export CONFIG_SHELL
                   18845:   exec "\$@"
                   18846: fi
                   18847: 
                   18848: _ACEOF
                   18849: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   18850: exec 5>>config.log
                   18851: {
                   18852:   echo
                   18853:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18854: ## Running $as_me. ##
                   18855: _ASBOX
                   18856:   $as_echo "$ac_log"
                   18857: } >&5
1.62      paf      18858: 
                   18859: _ACEOF
1.150     moko     18860: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      18861: #
1.150     moko     18862: # INIT-COMMANDS
1.1       paf      18863: #
1.62      paf      18864: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18865: 
1.128     moko     18866: 
                   18867: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18868: # if CDPATH is set.
                   18869: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18870: 
                   18871: sed_quote_subst='$sed_quote_subst'
                   18872: double_quote_subst='$double_quote_subst'
                   18873: delay_variable_subst='$delay_variable_subst'
                   18874: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18875: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   18876: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18877: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18878: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     18879: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     18880: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     18881: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     18882: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18883: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18884: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18885: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18886: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18887: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18888: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18889: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18890: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18891: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18892: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18893: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18894: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18895: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18896: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18897: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18898: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18899: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18900: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18901: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18902: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18903: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18904: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18905: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18906: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18907: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18908: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18909: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18910: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18911: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18912: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18913: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18914: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18915: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18916: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18917: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18918: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18919: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18920: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18921: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18922: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18923: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18924: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18925: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18926: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18927: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18928: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18929: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18930: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18931: 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"`'
                   18932: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18933: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18934: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18935: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18936: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18937: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18938: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18939: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18940: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18941: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18942: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18943: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18944: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18945: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18946: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18947: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18948: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18949: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18950: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18951: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18952: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18953: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18954: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18955: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18956: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18957: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18958: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18959: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18960: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18961: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18962: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18963: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18964: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18965: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18966: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18967: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18968: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18969: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18970: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18971: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18972: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18973: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18974: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18975: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18976: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18977: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18978: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18979: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18980: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18981: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18982: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18983: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18984: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18985: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18986: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18987: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18988: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18989: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18990: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18991: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18992: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18993: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18994: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18995: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18996: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18997: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18998: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18999: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19000: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19001: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19002: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19003: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19004: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19005: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19006: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19007: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19008: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19009: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19010: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19011: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19012: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19013: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19014: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19015: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19016: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19017: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19018: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19019: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19020: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19021: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19022: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19023: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19024: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19025: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19026: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19027: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19028: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19029: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19030: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19031: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19032: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19033: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19034: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19035: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19036: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19037: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19038: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19039: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19040: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19041: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19042: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19043: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19044: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19045: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19046: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19047: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19048: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19049: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19050: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19051: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19052: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19053: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19054: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19055: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19056: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19057: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19058: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19059: 
                   19060: LTCC='$LTCC'
                   19061: LTCFLAGS='$LTCFLAGS'
                   19062: compiler='$compiler_DEFAULT'
                   19063: 
                   19064: # A function that is used when there is no print builtin or printf.
                   19065: func_fallback_echo ()
                   19066: {
                   19067:   eval 'cat <<_LTECHO_EOF
                   19068: \$1
                   19069: _LTECHO_EOF'
                   19070: }
                   19071: 
                   19072: # Quote evaled strings.
                   19073: for var in AS \
                   19074: DLLTOOL \
                   19075: OBJDUMP \
                   19076: SHELL \
                   19077: ECHO \
                   19078: PATH_SEPARATOR \
                   19079: SED \
                   19080: GREP \
                   19081: EGREP \
                   19082: FGREP \
                   19083: LD \
                   19084: NM \
                   19085: LN_S \
                   19086: lt_SP2NL \
                   19087: lt_NL2SP \
                   19088: reload_flag \
                   19089: deplibs_check_method \
                   19090: file_magic_cmd \
                   19091: file_magic_glob \
                   19092: want_nocaseglob \
                   19093: sharedlib_from_linklib_cmd \
                   19094: AR \
                   19095: AR_FLAGS \
                   19096: archiver_list_spec \
                   19097: STRIP \
                   19098: RANLIB \
                   19099: CC \
                   19100: CFLAGS \
                   19101: compiler \
                   19102: lt_cv_sys_global_symbol_pipe \
                   19103: lt_cv_sys_global_symbol_to_cdecl \
                   19104: lt_cv_sys_global_symbol_to_c_name_address \
                   19105: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19106: nm_file_list_spec \
                   19107: lt_prog_compiler_no_builtin_flag \
                   19108: lt_prog_compiler_pic \
                   19109: lt_prog_compiler_wl \
                   19110: lt_prog_compiler_static \
                   19111: lt_cv_prog_compiler_c_o \
                   19112: need_locks \
                   19113: MANIFEST_TOOL \
                   19114: DSYMUTIL \
                   19115: NMEDIT \
                   19116: LIPO \
                   19117: OTOOL \
                   19118: OTOOL64 \
                   19119: shrext_cmds \
                   19120: export_dynamic_flag_spec \
                   19121: whole_archive_flag_spec \
                   19122: compiler_needs_object \
                   19123: with_gnu_ld \
                   19124: allow_undefined_flag \
                   19125: no_undefined_flag \
                   19126: hardcode_libdir_flag_spec \
                   19127: hardcode_libdir_separator \
                   19128: exclude_expsyms \
                   19129: include_expsyms \
                   19130: file_list_spec \
                   19131: variables_saved_for_relink \
                   19132: libname_spec \
                   19133: library_names_spec \
                   19134: soname_spec \
                   19135: install_override_mode \
                   19136: finish_eval \
                   19137: old_striplib \
                   19138: striplib \
                   19139: compiler_lib_search_dirs \
                   19140: predep_objects \
                   19141: postdep_objects \
                   19142: predeps \
                   19143: postdeps \
                   19144: compiler_lib_search_path \
                   19145: LD_CXX \
                   19146: reload_flag_CXX \
                   19147: compiler_CXX \
                   19148: lt_prog_compiler_no_builtin_flag_CXX \
                   19149: lt_prog_compiler_pic_CXX \
                   19150: lt_prog_compiler_wl_CXX \
                   19151: lt_prog_compiler_static_CXX \
                   19152: lt_cv_prog_compiler_c_o_CXX \
                   19153: export_dynamic_flag_spec_CXX \
                   19154: whole_archive_flag_spec_CXX \
                   19155: compiler_needs_object_CXX \
                   19156: with_gnu_ld_CXX \
                   19157: allow_undefined_flag_CXX \
                   19158: no_undefined_flag_CXX \
                   19159: hardcode_libdir_flag_spec_CXX \
                   19160: hardcode_libdir_separator_CXX \
                   19161: exclude_expsyms_CXX \
                   19162: include_expsyms_CXX \
                   19163: file_list_spec_CXX \
                   19164: compiler_lib_search_dirs_CXX \
                   19165: predep_objects_CXX \
                   19166: postdep_objects_CXX \
                   19167: predeps_CXX \
                   19168: postdeps_CXX \
                   19169: compiler_lib_search_path_CXX; do
                   19170:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19171:     *[\\\\\\\`\\"\\\$]*)
                   19172:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19173:       ;;
                   19174:     *)
                   19175:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19176:       ;;
                   19177:     esac
                   19178: done
                   19179: 
                   19180: # Double-quote double-evaled strings.
                   19181: for var in reload_cmds \
                   19182: old_postinstall_cmds \
                   19183: old_postuninstall_cmds \
                   19184: old_archive_cmds \
                   19185: extract_expsyms_cmds \
                   19186: old_archive_from_new_cmds \
                   19187: old_archive_from_expsyms_cmds \
                   19188: archive_cmds \
                   19189: archive_expsym_cmds \
                   19190: module_cmds \
                   19191: module_expsym_cmds \
                   19192: export_symbols_cmds \
                   19193: prelink_cmds \
                   19194: postlink_cmds \
                   19195: postinstall_cmds \
                   19196: postuninstall_cmds \
                   19197: finish_cmds \
                   19198: sys_lib_search_path_spec \
                   19199: sys_lib_dlsearch_path_spec \
                   19200: reload_cmds_CXX \
                   19201: old_archive_cmds_CXX \
                   19202: old_archive_from_new_cmds_CXX \
                   19203: old_archive_from_expsyms_cmds_CXX \
                   19204: archive_cmds_CXX \
                   19205: archive_expsym_cmds_CXX \
                   19206: module_cmds_CXX \
                   19207: module_expsym_cmds_CXX \
                   19208: export_symbols_cmds_CXX \
                   19209: prelink_cmds_CXX \
                   19210: postlink_cmds_CXX; do
                   19211:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19212:     *[\\\\\\\`\\"\\\$]*)
                   19213:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19214:       ;;
                   19215:     *)
                   19216:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19217:       ;;
                   19218:     esac
                   19219: done
                   19220: 
                   19221: ac_aux_dir='$ac_aux_dir'
                   19222: xsi_shell='$xsi_shell'
                   19223: lt_shell_append='$lt_shell_append'
                   19224: 
                   19225: # See if we are running on zsh, and set the options which allow our
                   19226: # commands through without removal of \ escapes INIT.
                   19227: if test -n "\${ZSH_VERSION+set}" ; then
                   19228:    setopt NO_GLOB_SUBST
                   19229: fi
                   19230: 
                   19231: 
                   19232:     PACKAGE='$PACKAGE'
                   19233:     VERSION='$VERSION'
                   19234:     TIMESTAMP='$TIMESTAMP'
                   19235:     RM='$RM'
                   19236:     ofile='$ofile'
                   19237: 
                   19238: 
                   19239: 
                   19240: 
                   19241: 
                   19242: 
1.62      paf      19243: _ACEOF
                   19244: 
1.150     moko     19245: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19246: 
1.150     moko     19247: # Handling of arguments.
1.62      paf      19248: for ac_config_target in $ac_config_targets
1.1       paf      19249: do
1.150     moko     19250:   case $ac_config_target in
                   19251:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19252:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19253:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19254:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19255:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19256:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19257:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19258:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19259:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19260:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19261:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19262:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19263:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19264:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19265:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19266:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19267:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19268:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19269:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19270:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19271:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19272:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19273:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
                   19274:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19275:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19276:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19277:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19278:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19279:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19280:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19281:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19282:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19283:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19284: 
                   19285:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19286:   esac
                   19287: done
                   19288: 
1.150     moko     19289: 
1.62      paf      19290: # If the user did not use the arguments to specify the items to instantiate,
                   19291: # then the envvar interface is used.  Set only those that are not.
                   19292: # We use the long form for the default assignment because of an extremely
                   19293: # bizarre bug on SunOS 4.1.3.
                   19294: if $ac_need_defaults; then
                   19295:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19296:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19297:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19298: fi
                   19299: 
                   19300: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19301: # simply because there is no reason against having it here, and in addition,
1.62      paf      19302: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19303: # Hook for its removal unless debugging.
                   19304: # Note that there is a small window in which the directory will not be cleaned:
                   19305: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19306: $debug ||
                   19307: {
1.150     moko     19308:   tmp= ac_tmp=
                   19309:   trap 'exit_status=$?
                   19310:   : "${ac_tmp:=$tmp}"
                   19311:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19312: ' 0
                   19313:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19314: }
                   19315: # Create a (secure) tmp directory for tmp files.
                   19316: 
                   19317: {
1.150     moko     19318:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19319:   test -d "$tmp"
1.62      paf      19320: }  ||
                   19321: {
1.150     moko     19322:   tmp=./conf$$-$RANDOM
                   19323:   (umask 077 && mkdir "$tmp")
                   19324: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19325: ac_tmp=$tmp
                   19326: 
                   19327: # Set up the scripts for CONFIG_FILES section.
                   19328: # No need to generate them if there are no CONFIG_FILES.
                   19329: # This happens for instance with `./config.status config.h'.
                   19330: if test -n "$CONFIG_FILES"; then
                   19331: 
                   19332: 
                   19333: ac_cr=`echo X | tr X '\015'`
                   19334: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19335: # But we know of no other shell where ac_cr would be empty at this
                   19336: # point, so we can use a bashism as a fallback.
                   19337: if test "x$ac_cr" = x; then
                   19338:   eval ac_cr=\$\'\\r\'
                   19339: fi
                   19340: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19341: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19342:   ac_cs_awk_cr='\\r'
                   19343: else
                   19344:   ac_cs_awk_cr=$ac_cr
                   19345: fi
                   19346: 
                   19347: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19348: _ACEOF
                   19349: 
                   19350: 
1.62      paf      19351: {
1.150     moko     19352:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19353:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19354:   echo "_ACEOF"
                   19355: } >conf$$subs.sh ||
                   19356:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19357: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19358: ac_delim='%!_!# '
                   19359: for ac_last_try in false false false false false :; do
                   19360:   . ./conf$$subs.sh ||
                   19361:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19362: 
                   19363:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19364:   if test $ac_delim_n = $ac_delim_num; then
                   19365:     break
                   19366:   elif $ac_last_try; then
                   19367:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19368:   else
                   19369:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19370:   fi
                   19371: done
                   19372: rm -f conf$$subs.sh
                   19373: 
                   19374: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19375: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19376: _ACEOF
                   19377: sed -n '
                   19378: h
                   19379: s/^/S["/; s/!.*/"]=/
                   19380: p
                   19381: g
                   19382: s/^[^!]*!//
                   19383: :repl
                   19384: t repl
                   19385: s/'"$ac_delim"'$//
                   19386: t delim
                   19387: :nl
                   19388: h
                   19389: s/\(.\{148\}\)..*/\1/
                   19390: t more1
                   19391: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19392: p
                   19393: n
                   19394: b repl
                   19395: :more1
                   19396: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19397: p
                   19398: g
                   19399: s/.\{148\}//
                   19400: t nl
                   19401: :delim
                   19402: h
                   19403: s/\(.\{148\}\)..*/\1/
                   19404: t more2
                   19405: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   19406: p
                   19407: b
                   19408: :more2
                   19409: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19410: p
                   19411: g
                   19412: s/.\{148\}//
                   19413: t delim
                   19414: ' <conf$$subs.awk | sed '
                   19415: /^[^""]/{
                   19416:   N
                   19417:   s/\n//
                   19418: }
                   19419: ' >>$CONFIG_STATUS || ac_write_fail=1
                   19420: rm -f conf$$subs.awk
                   19421: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19422: _ACAWK
                   19423: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   19424:   for (key in S) S_is_set[key] = 1
                   19425:   FS = ""
                   19426: 
                   19427: }
                   19428: {
                   19429:   line = $ 0
                   19430:   nfields = split(line, field, "@")
                   19431:   substed = 0
                   19432:   len = length(field[1])
                   19433:   for (i = 2; i < nfields; i++) {
                   19434:     key = field[i]
                   19435:     keylen = length(key)
                   19436:     if (S_is_set[key]) {
                   19437:       value = S[key]
                   19438:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   19439:       len += length(value) + length(field[++i])
                   19440:       substed = 1
                   19441:     } else
                   19442:       len += 1 + keylen
                   19443:   }
                   19444: 
                   19445:   print line
1.62      paf      19446: }
                   19447: 
1.150     moko     19448: _ACAWK
                   19449: _ACEOF
                   19450: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19451: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   19452:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   19453: else
                   19454:   cat
                   19455: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   19456:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19457: _ACEOF
1.1       paf      19458: 
1.150     moko     19459: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   19460: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   19461: # trailing colons and then remove the whole line if VPATH becomes empty
                   19462: # (actually we leave an empty line to preserve line numbers).
                   19463: if test "x$srcdir" = x.; then
                   19464:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   19465: h
                   19466: s///
                   19467: s/^/:/
                   19468: s/[     ]*$/:/
                   19469: s/:\$(srcdir):/:/g
                   19470: s/:\${srcdir}:/:/g
                   19471: s/:@srcdir@:/:/g
                   19472: s/^:*//
                   19473: s/:*$//
                   19474: x
                   19475: s/\(=[  ]*\).*/\1/
                   19476: G
                   19477: s/\n//
                   19478: s/^[^=]*=[      ]*$//
                   19479: }'
                   19480: fi
1.62      paf      19481: 
1.150     moko     19482: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19483: fi # test -n "$CONFIG_FILES"
1.1       paf      19484: 
1.150     moko     19485: # Set up the scripts for CONFIG_HEADERS section.
                   19486: # No need to generate them if there are no CONFIG_HEADERS.
                   19487: # This happens for instance with `./config.status Makefile'.
                   19488: if test -n "$CONFIG_HEADERS"; then
                   19489: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   19490: BEGIN {
                   19491: _ACEOF
                   19492: 
                   19493: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   19494: # here-document in config.status, that substitutes the proper values into
                   19495: # config.h.in to produce config.h.
                   19496: 
                   19497: # Create a delimiter string that does not exist in confdefs.h, to ease
                   19498: # handling of long lines.
                   19499: ac_delim='%!_!# '
                   19500: for ac_last_try in false false :; do
                   19501:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   19502:   if test -z "$ac_tt"; then
                   19503:     break
                   19504:   elif $ac_last_try; then
                   19505:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   19506:   else
                   19507:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19508:   fi
1.150     moko     19509: done
1.1       paf      19510: 
1.150     moko     19511: # For the awk script, D is an array of macro values keyed by name,
                   19512: # likewise P contains macro parameters if any.  Preserve backslash
                   19513: # newline sequences.
                   19514: 
                   19515: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   19516: sed -n '
                   19517: s/.\{148\}/&'"$ac_delim"'/g
                   19518: t rset
                   19519: :rset
                   19520: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   19521: t def
                   19522: d
                   19523: :def
                   19524: s/\\$//
                   19525: t bsnl
                   19526: s/["\\]/\\&/g
                   19527: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19528: D["\1"]=" \3"/p
                   19529: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   19530: d
                   19531: :bsnl
                   19532: s/["\\]/\\&/g
                   19533: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19534: D["\1"]=" \3\\\\\\n"\\/p
                   19535: t cont
                   19536: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   19537: t cont
                   19538: d
                   19539: :cont
                   19540: n
                   19541: s/.\{148\}/&'"$ac_delim"'/g
                   19542: t clear
                   19543: :clear
                   19544: s/\\$//
                   19545: t bsnlc
                   19546: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   19547: d
                   19548: :bsnlc
                   19549: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   19550: b cont
                   19551: ' <confdefs.h | sed '
                   19552: s/'"$ac_delim"'/"\\\
                   19553: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   19554: 
                   19555: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19556:   for (key in D) D_is_set[key] = 1
                   19557:   FS = ""
                   19558: }
                   19559: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   19560:   line = \$ 0
                   19561:   split(line, arg, " ")
                   19562:   if (arg[1] == "#") {
                   19563:     defundef = arg[2]
                   19564:     mac1 = arg[3]
                   19565:   } else {
                   19566:     defundef = substr(arg[1], 2)
                   19567:     mac1 = arg[2]
                   19568:   }
                   19569:   split(mac1, mac2, "(") #)
                   19570:   macro = mac2[1]
                   19571:   prefix = substr(line, 1, index(line, defundef) - 1)
                   19572:   if (D_is_set[macro]) {
                   19573:     # Preserve the white space surrounding the "#".
                   19574:     print prefix "define", macro P[macro] D[macro]
                   19575:     next
                   19576:   } else {
                   19577:     # Replace #undef with comments.  This is necessary, for example,
                   19578:     # in the case of _POSIX_SOURCE, which is predefined and required
                   19579:     # on some systems where configure will not decide to define it.
                   19580:     if (defundef == "undef") {
                   19581:       print "/*", prefix defundef, macro, "*/"
                   19582:       next
                   19583:     }
                   19584:   }
                   19585: }
                   19586: { print }
                   19587: _ACAWK
1.62      paf      19588: _ACEOF
1.150     moko     19589: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19590:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   19591: fi # test -n "$CONFIG_HEADERS"
                   19592: 
                   19593: 
                   19594: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   19595: shift
                   19596: for ac_tag
                   19597: do
                   19598:   case $ac_tag in
                   19599:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   19600:   esac
                   19601:   case $ac_mode$ac_tag in
                   19602:   :[FHL]*:*);;
                   19603:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   19604:   :[FH]-) ac_tag=-:-;;
                   19605:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   19606:   esac
                   19607:   ac_save_IFS=$IFS
                   19608:   IFS=:
                   19609:   set x $ac_tag
                   19610:   IFS=$ac_save_IFS
                   19611:   shift
                   19612:   ac_file=$1
                   19613:   shift
                   19614: 
                   19615:   case $ac_mode in
                   19616:   :L) ac_source=$1;;
                   19617:   :[FH])
                   19618:     ac_file_inputs=
                   19619:     for ac_f
                   19620:     do
                   19621:       case $ac_f in
                   19622:       -) ac_f="$ac_tmp/stdin";;
                   19623:       *) # Look for the file first in the build tree, then in the source tree
                   19624:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   19625:         # because $ac_f cannot contain `:'.
                   19626:         test -f "$ac_f" ||
                   19627:           case $ac_f in
                   19628:           [\\/$]*) false;;
                   19629:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   19630:           esac ||
                   19631:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   19632:       esac
                   19633:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   19634:       as_fn_append ac_file_inputs " '$ac_f'"
                   19635:     done
                   19636: 
                   19637:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19638:     # use $as_me), people would be surprised to read:
                   19639:     #    /* config.h.  Generated by config.status.  */
                   19640:     configure_input='Generated from '`
                   19641:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   19642:        `' by configure.'
                   19643:     if test x"$ac_file" != x-; then
                   19644:       configure_input="$ac_file.  $configure_input"
                   19645:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   19646: $as_echo "$as_me: creating $ac_file" >&6;}
                   19647:     fi
                   19648:     # Neutralize special characters interpreted by sed in replacement strings.
                   19649:     case $configure_input in #(
                   19650:     *\&* | *\|* | *\\* )
                   19651:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   19652:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   19653:     *) ac_sed_conf_input=$configure_input;;
                   19654:     esac
                   19655: 
                   19656:     case $ac_tag in
                   19657:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   19658:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   19659:     esac
                   19660:     ;;
1.1       paf      19661:   esac
                   19662: 
1.150     moko     19663:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      19664: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19665:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19666:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     19667:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   19668: $as_echo X"$ac_file" |
                   19669:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19670:            s//\1/
                   19671:            q
                   19672:          }
                   19673:          /^X\(\/\/\)[^/].*/{
                   19674:            s//\1/
                   19675:            q
                   19676:          }
                   19677:          /^X\(\/\/\)$/{
                   19678:            s//\1/
                   19679:            q
                   19680:          }
                   19681:          /^X\(\/\).*/{
                   19682:            s//\1/
                   19683:            q
                   19684:          }
                   19685:          s/.*/./; q'`
                   19686:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      19687:   ac_builddir=.
                   19688: 
1.150     moko     19689: case "$ac_dir" in
                   19690: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19691: *)
                   19692:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   19693:   # A ".." for each directory in $ac_dir_suffix.
                   19694:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   19695:   case $ac_top_builddir_sub in
                   19696:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   19697:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   19698:   esac ;;
                   19699: esac
                   19700: ac_abs_top_builddir=$ac_pwd
                   19701: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   19702: # for backward compatibility:
                   19703: ac_top_builddir=$ac_top_build_prefix
1.62      paf      19704: 
                   19705: case $srcdir in
1.150     moko     19706:   .)  # We are building in place.
1.62      paf      19707:     ac_srcdir=.
1.150     moko     19708:     ac_top_srcdir=$ac_top_builddir_sub
                   19709:     ac_abs_top_srcdir=$ac_pwd ;;
                   19710:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      19711:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     19712:     ac_top_srcdir=$srcdir
                   19713:     ac_abs_top_srcdir=$srcdir ;;
                   19714:   *) # Relative name.
                   19715:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   19716:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   19717:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      19718: esac
1.150     moko     19719: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      19720: 
1.62      paf      19721: 
1.150     moko     19722:   case $ac_mode in
                   19723:   :F)
                   19724:   #
                   19725:   # CONFIG_FILE
                   19726:   #
1.1       paf      19727: 
1.62      paf      19728:   case $INSTALL in
                   19729:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     19730:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      19731:   esac
1.150     moko     19732:   ac_MKDIR_P=$MKDIR_P
                   19733:   case $MKDIR_P in
                   19734:   [\\/$]* | ?:[\\/]* ) ;;
                   19735:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   19736:   esac
                   19737: _ACEOF
1.1       paf      19738: 
1.150     moko     19739: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19740: # If the template does not know about datarootdir, expand it.
                   19741: # FIXME: This hack should be removed a few years after 2.60.
                   19742: ac_datarootdir_hack=; ac_datarootdir_seen=
                   19743: ac_sed_dataroot='
                   19744: /datarootdir/ {
                   19745:   p
                   19746:   q
                   19747: }
                   19748: /@datadir@/p
                   19749: /@docdir@/p
                   19750: /@infodir@/p
                   19751: /@localedir@/p
                   19752: /@mandir@/p'
                   19753: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   19754: *datarootdir*) ac_datarootdir_seen=yes;;
                   19755: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   19756:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   19757: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   19758: _ACEOF
                   19759: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19760:   ac_datarootdir_hack='
                   19761:   s&@datadir@&$datadir&g
                   19762:   s&@docdir@&$docdir&g
                   19763:   s&@infodir@&$infodir&g
                   19764:   s&@localedir@&$localedir&g
                   19765:   s&@mandir@&$mandir&g
                   19766:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   19767: esac
                   19768: _ACEOF
1.62      paf      19769: 
1.150     moko     19770: # Neutralize VPATH when `$srcdir' = `.'.
                   19771: # Shell code in configure.ac might set extrasub.
                   19772: # FIXME: do we really want to maintain this feature?
                   19773: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19774: ac_sed_extra="$ac_vpsub
1.62      paf      19775: $extrasub
                   19776: _ACEOF
1.150     moko     19777: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19778: :t
                   19779: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     19780: s|@configure_input@|$ac_sed_conf_input|;t t
                   19781: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   19782: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   19783: s&@srcdir@&$ac_srcdir&;t t
                   19784: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   19785: s&@top_srcdir@&$ac_top_srcdir&;t t
                   19786: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   19787: s&@builddir@&$ac_builddir&;t t
                   19788: s&@abs_builddir@&$ac_abs_builddir&;t t
                   19789: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   19790: s&@INSTALL@&$ac_INSTALL&;t t
                   19791: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   19792: $ac_datarootdir_hack
                   19793: "
                   19794: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   19795:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19796: 
                   19797: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   19798:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   19799:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   19800:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   19801:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19802: which seems to be undefined.  Please make sure it is defined" >&5
                   19803: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   19804: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      19805: 
1.150     moko     19806:   rm -f "$ac_tmp/stdin"
1.62      paf      19807:   case $ac_file in
1.150     moko     19808:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   19809:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   19810:   esac \
                   19811:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19812:  ;;
                   19813:   :H)
                   19814:   #
                   19815:   # CONFIG_HEADER
                   19816:   #
1.62      paf      19817:   if test x"$ac_file" != x-; then
1.150     moko     19818:     {
                   19819:       $as_echo "/* $configure_input  */" \
                   19820:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   19821:     } >"$ac_tmp/config.h" \
                   19822:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   19823:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   19824:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   19825: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      19826:     else
1.150     moko     19827:       rm -f "$ac_file"
                   19828:       mv "$ac_tmp/config.h" "$ac_file" \
                   19829:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      19830:     fi
                   19831:   else
1.150     moko     19832:     $as_echo "/* $configure_input  */" \
                   19833:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   19834:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      19835:   fi
1.150     moko     19836: # Compute "$ac_file"'s index in $config_headers.
                   19837: _am_arg="$ac_file"
1.86      paf      19838: _am_stamp_count=1
                   19839: for _am_header in $config_headers :; do
                   19840:   case $_am_header in
1.150     moko     19841:     $_am_arg | $_am_arg:* )
1.86      paf      19842:       break ;;
                   19843:     * )
                   19844:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19845:   esac
                   19846: done
1.150     moko     19847: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   19848: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19849:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   19850:         X"$_am_arg" : 'X\(//\)$' \| \
                   19851:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   19852: $as_echo X"$_am_arg" |
                   19853:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19854:            s//\1/
                   19855:            q
                   19856:          }
                   19857:          /^X\(\/\/\)[^/].*/{
                   19858:            s//\1/
                   19859:            q
                   19860:          }
                   19861:          /^X\(\/\/\)$/{
                   19862:            s//\1/
                   19863:            q
                   19864:          }
                   19865:          /^X\(\/\).*/{
                   19866:            s//\1/
                   19867:            q
                   19868:          }
                   19869:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19870:  ;;
1.62      paf      19871: 
1.150     moko     19872:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   19873: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   19874:  ;;
                   19875:   esac
1.86      paf      19876: 
1.62      paf      19877: 
1.150     moko     19878:   case $ac_file$ac_mode in
                   19879:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   19880:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   19881:   # are listed without --file.  Let's play safe and only enable the eval
                   19882:   # if we detect the quoting.
                   19883:   case $CONFIG_FILES in
                   19884:   *\'*) eval set x "$CONFIG_FILES" ;;
                   19885:   *)   set x $CONFIG_FILES ;;
                   19886:   esac
                   19887:   shift
                   19888:   for mf
                   19889:   do
                   19890:     # Strip MF so we end up with the name of the file.
                   19891:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19892:     # Check whether this is an Automake generated Makefile or not.
                   19893:     # We used to match only the files named `Makefile.in', but
                   19894:     # some people rename them; so instead we look at the file content.
                   19895:     # Grep'ing the first line is not enough: some people post-process
                   19896:     # each Makefile.in and add a new line on top of each file to say so.
                   19897:     # Grep'ing the whole file is not good either: AIX grep has a line
                   19898:     # limit of 2048, but all sed's we know have understand at least 4000.
                   19899:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   19900:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      19901: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19902:         X"$mf" : 'X\(//\)[^/]' \| \
                   19903:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     19904:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   19905: $as_echo X"$mf" |
                   19906:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19907:            s//\1/
                   19908:            q
                   19909:          }
                   19910:          /^X\(\/\/\)[^/].*/{
                   19911:            s//\1/
                   19912:            q
                   19913:          }
                   19914:          /^X\(\/\/\)$/{
                   19915:            s//\1/
                   19916:            q
                   19917:          }
                   19918:          /^X\(\/\).*/{
                   19919:            s//\1/
                   19920:            q
                   19921:          }
                   19922:          s/.*/./; q'`
                   19923:     else
                   19924:       continue
                   19925:     fi
                   19926:     # Extract the definition of DEPDIR, am__include, and am__quote
                   19927:     # from the Makefile without running `make'.
                   19928:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19929:     test -z "$DEPDIR" && continue
                   19930:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19931:     test -z "am__include" && continue
                   19932:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19933:     # When using ansi2knr, U may be empty or an underscore; expand it
                   19934:     U=`sed -n 's/^U = //p' < "$mf"`
                   19935:     # Find all dependency output files, they are included files with
                   19936:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19937:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   19938:     # expansion.
                   19939:     for file in `sed -n "
                   19940:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19941:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19942:       # Make sure the directory exists.
                   19943:       test -f "$dirpart/$file" && continue
                   19944:       fdir=`$as_dirname -- "$file" ||
1.62      paf      19945: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      19946:         X"$file" : 'X\(//\)[^/]' \| \
                   19947:         X"$file" : 'X\(//\)$' \| \
1.150     moko     19948:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   19949: $as_echo X"$file" |
                   19950:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   19951:            s//\1/
                   19952:            q
                   19953:          }
                   19954:          /^X\(\/\/\)[^/].*/{
                   19955:            s//\1/
                   19956:            q
                   19957:          }
                   19958:          /^X\(\/\/\)$/{
                   19959:            s//\1/
                   19960:            q
                   19961:          }
                   19962:          /^X\(\/\).*/{
                   19963:            s//\1/
                   19964:            q
                   19965:          }
                   19966:          s/.*/./; q'`
                   19967:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   19968:       # echo "creating $dirpart/$file"
                   19969:       echo '# dummy' > "$dirpart/$file"
1.62      paf      19970:     done
                   19971:   done
1.150     moko     19972: }
1.62      paf      19973:  ;;
1.150     moko     19974:     "libtool":C)
1.128     moko     19975: 
                   19976:     # See if we are running on zsh, and set the options which allow our
                   19977:     # commands through without removal of \ escapes.
                   19978:     if test -n "${ZSH_VERSION+set}" ; then
                   19979:       setopt NO_GLOB_SUBST
                   19980:     fi
                   19981: 
                   19982:     cfgfile="${ofile}T"
                   19983:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19984:     $RM "$cfgfile"
                   19985: 
                   19986:     cat <<_LT_EOF >> "$cfgfile"
                   19987: #! $SHELL
                   19988: 
                   19989: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19990: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19991: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19992: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19993: #
                   19994: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19995: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19996: #                 Foundation, Inc.
                   19997: #   Written by Gordon Matzigkeit, 1996
                   19998: #
                   19999: #   This file is part of GNU Libtool.
                   20000: #
                   20001: # GNU Libtool is free software; you can redistribute it and/or
                   20002: # modify it under the terms of the GNU General Public License as
                   20003: # published by the Free Software Foundation; either version 2 of
                   20004: # the License, or (at your option) any later version.
                   20005: #
                   20006: # As a special exception to the GNU General Public License,
                   20007: # if you distribute this file as part of a program or library that
                   20008: # is built using GNU Libtool, you may include this file under the
                   20009: # same distribution terms that you use for the rest of that program.
                   20010: #
                   20011: # GNU Libtool is distributed in the hope that it will be useful,
                   20012: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20013: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20014: # GNU General Public License for more details.
                   20015: #
                   20016: # You should have received a copy of the GNU General Public License
                   20017: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20018: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20019: # obtained by writing to the Free Software Foundation, Inc.,
                   20020: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20021: 
                   20022: 
                   20023: # The names of the tagged configurations supported by this script.
                   20024: available_tags="CXX "
                   20025: 
                   20026: # ### BEGIN LIBTOOL CONFIG
                   20027: 
                   20028: # Which release of libtool.m4 was used?
                   20029: macro_version=$macro_version
                   20030: macro_revision=$macro_revision
                   20031: 
                   20032: # Assembler program.
                   20033: AS=$lt_AS
                   20034: 
                   20035: # DLL creation program.
                   20036: DLLTOOL=$lt_DLLTOOL
                   20037: 
                   20038: # Object dumper program.
                   20039: OBJDUMP=$lt_OBJDUMP
                   20040: 
1.145     moko     20041: # What type of objects to build.
                   20042: pic_mode=$pic_mode
                   20043: 
1.128     moko     20044: # Whether or not to build shared libraries.
                   20045: build_libtool_libs=$enable_shared
                   20046: 
1.138     moko     20047: # Whether or not to build static libraries.
                   20048: build_old_libs=$enable_static
                   20049: 
1.128     moko     20050: # Whether or not to optimize for fast installation.
                   20051: fast_install=$enable_fast_install
                   20052: 
                   20053: # Shell to use when invoking shell scripts.
                   20054: SHELL=$lt_SHELL
                   20055: 
                   20056: # An echo program that protects backslashes.
                   20057: ECHO=$lt_ECHO
                   20058: 
                   20059: # The PATH separator for the build system.
                   20060: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20061: 
                   20062: # The host system.
                   20063: host_alias=$host_alias
                   20064: host=$host
                   20065: host_os=$host_os
                   20066: 
                   20067: # The build system.
                   20068: build_alias=$build_alias
                   20069: build=$build
                   20070: build_os=$build_os
                   20071: 
                   20072: # A sed program that does not truncate output.
                   20073: SED=$lt_SED
                   20074: 
                   20075: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20076: Xsed="\$SED -e 1s/^X//"
                   20077: 
                   20078: # A grep program that handles long lines.
                   20079: GREP=$lt_GREP
                   20080: 
                   20081: # An ERE matcher.
                   20082: EGREP=$lt_EGREP
                   20083: 
                   20084: # A literal string matcher.
                   20085: FGREP=$lt_FGREP
                   20086: 
                   20087: # A BSD- or MS-compatible name lister.
                   20088: NM=$lt_NM
                   20089: 
                   20090: # Whether we need soft or hard links.
                   20091: LN_S=$lt_LN_S
                   20092: 
                   20093: # What is the maximum length of a command?
                   20094: max_cmd_len=$max_cmd_len
                   20095: 
                   20096: # Object file suffix (normally "o").
                   20097: objext=$ac_objext
                   20098: 
                   20099: # Executable file suffix (normally "").
                   20100: exeext=$exeext
                   20101: 
                   20102: # whether the shell understands "unset".
                   20103: lt_unset=$lt_unset
                   20104: 
                   20105: # turn spaces into newlines.
                   20106: SP2NL=$lt_lt_SP2NL
                   20107: 
                   20108: # turn newlines into spaces.
                   20109: NL2SP=$lt_lt_NL2SP
                   20110: 
                   20111: # convert \$build file names to \$host format.
                   20112: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20113: 
                   20114: # convert \$build files to toolchain format.
                   20115: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20116: 
                   20117: # Method to check whether dependent libraries are shared objects.
                   20118: deplibs_check_method=$lt_deplibs_check_method
                   20119: 
                   20120: # Command to use when deplibs_check_method = "file_magic".
                   20121: file_magic_cmd=$lt_file_magic_cmd
                   20122: 
                   20123: # How to find potential files when deplibs_check_method = "file_magic".
                   20124: file_magic_glob=$lt_file_magic_glob
                   20125: 
                   20126: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20127: want_nocaseglob=$lt_want_nocaseglob
                   20128: 
                   20129: # Command to associate shared and link libraries.
                   20130: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20131: 
                   20132: # The archiver.
                   20133: AR=$lt_AR
                   20134: 
                   20135: # Flags to create an archive.
                   20136: AR_FLAGS=$lt_AR_FLAGS
                   20137: 
                   20138: # How to feed a file listing to the archiver.
                   20139: archiver_list_spec=$lt_archiver_list_spec
                   20140: 
                   20141: # A symbol stripping program.
                   20142: STRIP=$lt_STRIP
                   20143: 
                   20144: # Commands used to install an old-style archive.
                   20145: RANLIB=$lt_RANLIB
                   20146: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20147: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20148: 
                   20149: # Whether to use a lock for old archive extraction.
                   20150: lock_old_archive_extraction=$lock_old_archive_extraction
                   20151: 
                   20152: # A C compiler.
                   20153: LTCC=$lt_CC
                   20154: 
                   20155: # LTCC compiler flags.
                   20156: LTCFLAGS=$lt_CFLAGS
                   20157: 
                   20158: # Take the output of nm and produce a listing of raw symbols and C names.
                   20159: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20160: 
                   20161: # Transform the output of nm in a proper C declaration.
                   20162: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20163: 
                   20164: # Transform the output of nm in a C name address pair.
                   20165: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20166: 
                   20167: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20168: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20169: 
                   20170: # Specify filename containing input files for \$NM.
                   20171: nm_file_list_spec=$lt_nm_file_list_spec
                   20172: 
                   20173: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20174: lt_sysroot=$lt_sysroot
                   20175: 
                   20176: # The name of the directory that contains temporary libtool files.
                   20177: objdir=$objdir
                   20178: 
                   20179: # Used to examine libraries when file_magic_cmd begins with "file".
                   20180: MAGIC_CMD=$MAGIC_CMD
                   20181: 
                   20182: # Must we lock files when doing compilation?
                   20183: need_locks=$lt_need_locks
                   20184: 
                   20185: # Manifest tool.
                   20186: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20187: 
                   20188: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20189: DSYMUTIL=$lt_DSYMUTIL
                   20190: 
                   20191: # Tool to change global to local symbols on Mac OS X.
                   20192: NMEDIT=$lt_NMEDIT
                   20193: 
                   20194: # Tool to manipulate fat objects and archives on Mac OS X.
                   20195: LIPO=$lt_LIPO
                   20196: 
                   20197: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20198: OTOOL=$lt_OTOOL
                   20199: 
                   20200: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20201: OTOOL64=$lt_OTOOL64
                   20202: 
                   20203: # Old archive suffix (normally "a").
                   20204: libext=$libext
                   20205: 
                   20206: # Shared library suffix (normally ".so").
                   20207: shrext_cmds=$lt_shrext_cmds
                   20208: 
                   20209: # The commands to extract the exported symbol list from a shared archive.
                   20210: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20211: 
                   20212: # Variables whose values should be saved in libtool wrapper scripts and
                   20213: # restored at link time.
                   20214: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20215: 
                   20216: # Do we need the "lib" prefix for modules?
                   20217: need_lib_prefix=$need_lib_prefix
                   20218: 
                   20219: # Do we need a version for libraries?
                   20220: need_version=$need_version
                   20221: 
                   20222: # Library versioning type.
                   20223: version_type=$version_type
                   20224: 
                   20225: # Shared library runtime path variable.
                   20226: runpath_var=$runpath_var
                   20227: 
                   20228: # Shared library path variable.
                   20229: shlibpath_var=$shlibpath_var
                   20230: 
                   20231: # Is shlibpath searched before the hard-coded library search path?
                   20232: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20233: 
                   20234: # Format of library name prefix.
                   20235: libname_spec=$lt_libname_spec
                   20236: 
                   20237: # List of archive names.  First name is the real one, the rest are links.
                   20238: # The last name is the one that the linker finds with -lNAME
                   20239: library_names_spec=$lt_library_names_spec
                   20240: 
                   20241: # The coded name of the library, if different from the real name.
                   20242: soname_spec=$lt_soname_spec
                   20243: 
                   20244: # Permission mode override for installation of shared libraries.
                   20245: install_override_mode=$lt_install_override_mode
                   20246: 
                   20247: # Command to use after installation of a shared archive.
                   20248: postinstall_cmds=$lt_postinstall_cmds
                   20249: 
                   20250: # Command to use after uninstallation of a shared archive.
                   20251: postuninstall_cmds=$lt_postuninstall_cmds
                   20252: 
                   20253: # Commands used to finish a libtool library installation in a directory.
                   20254: finish_cmds=$lt_finish_cmds
                   20255: 
                   20256: # As "finish_cmds", except a single script fragment to be evaled but
                   20257: # not shown.
                   20258: finish_eval=$lt_finish_eval
                   20259: 
                   20260: # Whether we should hardcode library paths into libraries.
                   20261: hardcode_into_libs=$hardcode_into_libs
                   20262: 
                   20263: # Compile-time system search path for libraries.
                   20264: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20265: 
                   20266: # Run-time system search path for libraries.
                   20267: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20268: 
                   20269: # Whether dlopen is supported.
                   20270: dlopen_support=$enable_dlopen
                   20271: 
                   20272: # Whether dlopen of programs is supported.
                   20273: dlopen_self=$enable_dlopen_self
                   20274: 
                   20275: # Whether dlopen of statically linked programs is supported.
                   20276: dlopen_self_static=$enable_dlopen_self_static
                   20277: 
                   20278: # Commands to strip libraries.
                   20279: old_striplib=$lt_old_striplib
                   20280: striplib=$lt_striplib
                   20281: 
                   20282: 
                   20283: # The linker used to build libraries.
                   20284: LD=$lt_LD
                   20285: 
                   20286: # How to create reloadable object files.
                   20287: reload_flag=$lt_reload_flag
                   20288: reload_cmds=$lt_reload_cmds
                   20289: 
                   20290: # Commands used to build an old-style archive.
                   20291: old_archive_cmds=$lt_old_archive_cmds
                   20292: 
                   20293: # A language specific compiler.
                   20294: CC=$lt_compiler
                   20295: 
                   20296: # Is the compiler the GNU compiler?
                   20297: with_gcc=$GCC
                   20298: 
                   20299: # Compiler flag to turn off builtin functions.
                   20300: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20301: 
                   20302: # Additional compiler flags for building library objects.
                   20303: pic_flag=$lt_lt_prog_compiler_pic
                   20304: 
                   20305: # How to pass a linker flag through the compiler.
                   20306: wl=$lt_lt_prog_compiler_wl
                   20307: 
                   20308: # Compiler flag to prevent dynamic linking.
                   20309: link_static_flag=$lt_lt_prog_compiler_static
                   20310: 
                   20311: # Does compiler simultaneously support -c and -o options?
                   20312: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20313: 
                   20314: # Whether or not to add -lc for building shared libraries.
                   20315: build_libtool_need_lc=$archive_cmds_need_lc
                   20316: 
                   20317: # Whether or not to disallow shared libs when runtime libs are static.
                   20318: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   20319: 
                   20320: # Compiler flag to allow reflexive dlopens.
                   20321: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20322: 
                   20323: # Compiler flag to generate shared objects directly from archives.
                   20324: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20325: 
                   20326: # Whether the compiler copes with passing no objects directly.
                   20327: compiler_needs_object=$lt_compiler_needs_object
                   20328: 
                   20329: # Create an old-style archive from a shared archive.
                   20330: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   20331: 
                   20332: # Create a temporary old-style archive to link instead of a shared archive.
                   20333: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   20334: 
                   20335: # Commands used to build a shared archive.
                   20336: archive_cmds=$lt_archive_cmds
                   20337: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20338: 
                   20339: # Commands used to build a loadable module if different from building
                   20340: # a shared archive.
                   20341: module_cmds=$lt_module_cmds
                   20342: module_expsym_cmds=$lt_module_expsym_cmds
                   20343: 
                   20344: # Whether we are building with GNU ld or not.
                   20345: with_gnu_ld=$lt_with_gnu_ld
                   20346: 
                   20347: # Flag that allows shared libraries with undefined symbols to be built.
                   20348: allow_undefined_flag=$lt_allow_undefined_flag
                   20349: 
                   20350: # Flag that enforces no undefined symbols.
                   20351: no_undefined_flag=$lt_no_undefined_flag
                   20352: 
                   20353: # Flag to hardcode \$libdir into a binary during linking.
                   20354: # This must work even if \$libdir does not exist
                   20355: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   20356: 
                   20357: # Whether we need a single "-rpath" flag with a separated argument.
                   20358: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   20359: 
                   20360: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20361: # DIR into the resulting binary.
                   20362: hardcode_direct=$hardcode_direct
                   20363: 
                   20364: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20365: # DIR into the resulting binary and the resulting library dependency is
                   20366: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20367: # library is relocated.
                   20368: hardcode_direct_absolute=$hardcode_direct_absolute
                   20369: 
                   20370: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20371: # into the resulting binary.
                   20372: hardcode_minus_L=$hardcode_minus_L
                   20373: 
                   20374: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20375: # into the resulting binary.
                   20376: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   20377: 
                   20378: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20379: # into the library and all subsequent libraries and executables linked
                   20380: # against it.
                   20381: hardcode_automatic=$hardcode_automatic
                   20382: 
                   20383: # Set to yes if linker adds runtime paths of dependent libraries
                   20384: # to runtime path list.
                   20385: inherit_rpath=$inherit_rpath
                   20386: 
                   20387: # Whether libtool must link a program against all its dependency libraries.
                   20388: link_all_deplibs=$link_all_deplibs
                   20389: 
                   20390: # Set to "yes" if exported symbols are required.
                   20391: always_export_symbols=$always_export_symbols
                   20392: 
                   20393: # The commands to list exported symbols.
                   20394: export_symbols_cmds=$lt_export_symbols_cmds
                   20395: 
                   20396: # Symbols that should not be listed in the preloaded symbols.
                   20397: exclude_expsyms=$lt_exclude_expsyms
                   20398: 
                   20399: # Symbols that must always be exported.
                   20400: include_expsyms=$lt_include_expsyms
                   20401: 
                   20402: # Commands necessary for linking programs (against libraries) with templates.
                   20403: prelink_cmds=$lt_prelink_cmds
                   20404: 
                   20405: # Commands necessary for finishing linking programs.
                   20406: postlink_cmds=$lt_postlink_cmds
                   20407: 
                   20408: # Specify filename containing input files.
                   20409: file_list_spec=$lt_file_list_spec
                   20410: 
                   20411: # How to hardcode a shared library path into an executable.
                   20412: hardcode_action=$hardcode_action
                   20413: 
                   20414: # The directories searched by this compiler when creating a shared library.
                   20415: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20416: 
                   20417: # Dependencies to place before and after the objects being linked to
                   20418: # create a shared library.
                   20419: predep_objects=$lt_predep_objects
                   20420: postdep_objects=$lt_postdep_objects
                   20421: predeps=$lt_predeps
                   20422: postdeps=$lt_postdeps
                   20423: 
                   20424: # The library search path used internally by the compiler when linking
                   20425: # a shared library.
                   20426: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20427: 
                   20428: # ### END LIBTOOL CONFIG
                   20429: 
                   20430: _LT_EOF
                   20431: 
                   20432:   case $host_os in
                   20433:   aix3*)
                   20434:     cat <<\_LT_EOF >> "$cfgfile"
                   20435: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20436: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20437: # vanish in a puff of smoke.
                   20438: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20439:   COLLECT_NAMES=
                   20440:   export COLLECT_NAMES
                   20441: fi
                   20442: _LT_EOF
                   20443:     ;;
                   20444:   esac
                   20445: 
                   20446: 
                   20447: ltmain="$ac_aux_dir/ltmain.sh"
                   20448: 
                   20449: 
                   20450:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20451:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20452:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20453:   # is reportedly fixed, but why not run on old versions too?
                   20454:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20455:      || (rm -f "$cfgfile"; exit 1)
                   20456: 
                   20457:   if test x"$xsi_shell" = xyes; then
                   20458:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20459: func_dirname ()\
                   20460: {\
                   20461: \    case ${1} in\
                   20462: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20463: \      *  ) func_dirname_result="${3}" ;;\
                   20464: \    esac\
                   20465: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20466:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20467:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20468: test 0 -eq $? || _lt_function_replace_fail=:
                   20469: 
                   20470: 
                   20471:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20472: func_basename ()\
                   20473: {\
                   20474: \    func_basename_result="${1##*/}"\
                   20475: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20476:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20477:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20478: test 0 -eq $? || _lt_function_replace_fail=:
                   20479: 
                   20480: 
                   20481:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20482: func_dirname_and_basename ()\
                   20483: {\
                   20484: \    case ${1} in\
                   20485: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20486: \      *  ) func_dirname_result="${3}" ;;\
                   20487: \    esac\
                   20488: \    func_basename_result="${1##*/}"\
                   20489: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20490:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20491:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20492: test 0 -eq $? || _lt_function_replace_fail=:
                   20493: 
                   20494: 
                   20495:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20496: func_stripname ()\
                   20497: {\
                   20498: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20499: \    # positional parameters, so assign one to ordinary parameter first.\
                   20500: \    func_stripname_result=${3}\
                   20501: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20502: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20503: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20504:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20505:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20506: test 0 -eq $? || _lt_function_replace_fail=:
                   20507: 
                   20508: 
                   20509:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20510: func_split_long_opt ()\
                   20511: {\
                   20512: \    func_split_long_opt_name=${1%%=*}\
                   20513: \    func_split_long_opt_arg=${1#*=}\
                   20514: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20515:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20516:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20517: test 0 -eq $? || _lt_function_replace_fail=:
                   20518: 
                   20519: 
                   20520:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20521: func_split_short_opt ()\
                   20522: {\
                   20523: \    func_split_short_opt_arg=${1#??}\
                   20524: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20525: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20526:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20527:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20528: test 0 -eq $? || _lt_function_replace_fail=:
                   20529: 
                   20530: 
                   20531:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20532: func_lo2o ()\
                   20533: {\
                   20534: \    case ${1} in\
                   20535: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20536: \      *)    func_lo2o_result=${1} ;;\
                   20537: \    esac\
                   20538: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20539:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20540:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20541: test 0 -eq $? || _lt_function_replace_fail=:
                   20542: 
                   20543: 
                   20544:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20545: func_xform ()\
                   20546: {\
                   20547:     func_xform_result=${1%.*}.lo\
                   20548: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20549:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20550:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20551: test 0 -eq $? || _lt_function_replace_fail=:
                   20552: 
                   20553: 
                   20554:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20555: func_arith ()\
                   20556: {\
                   20557:     func_arith_result=$(( $* ))\
                   20558: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20559:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20560:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20561: test 0 -eq $? || _lt_function_replace_fail=:
                   20562: 
                   20563: 
                   20564:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20565: func_len ()\
                   20566: {\
                   20567:     func_len_result=${#1}\
                   20568: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20569:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20570:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20571: test 0 -eq $? || _lt_function_replace_fail=:
                   20572: 
                   20573: fi
                   20574: 
                   20575: if test x"$lt_shell_append" = xyes; then
                   20576:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20577: func_append ()\
                   20578: {\
                   20579:     eval "${1}+=\\${2}"\
                   20580: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20581:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20582:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20583: test 0 -eq $? || _lt_function_replace_fail=:
                   20584: 
                   20585: 
                   20586:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20587: func_append_quoted ()\
                   20588: {\
                   20589: \    func_quote_for_eval "${2}"\
                   20590: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20591: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20592:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20593:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20594: test 0 -eq $? || _lt_function_replace_fail=:
                   20595: 
                   20596: 
                   20597:   # Save a `func_append' function call where possible by direct use of '+='
                   20598:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20599:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20600:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20601:   test 0 -eq $? || _lt_function_replace_fail=:
                   20602: else
                   20603:   # Save a `func_append' function call even when '+=' is not available
                   20604:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20605:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20606:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20607:   test 0 -eq $? || _lt_function_replace_fail=:
                   20608: fi
                   20609: 
                   20610: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     20611:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20612: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20613: fi
                   20614: 
                   20615: 
                   20616:    mv -f "$cfgfile" "$ofile" ||
                   20617:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20618:   chmod +x "$ofile"
                   20619: 
                   20620: 
                   20621:     cat <<_LT_EOF >> "$ofile"
                   20622: 
                   20623: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20624: 
                   20625: # The linker used to build libraries.
                   20626: LD=$lt_LD_CXX
                   20627: 
                   20628: # How to create reloadable object files.
                   20629: reload_flag=$lt_reload_flag_CXX
                   20630: reload_cmds=$lt_reload_cmds_CXX
                   20631: 
                   20632: # Commands used to build an old-style archive.
                   20633: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20634: 
                   20635: # A language specific compiler.
                   20636: CC=$lt_compiler_CXX
                   20637: 
                   20638: # Is the compiler the GNU compiler?
                   20639: with_gcc=$GCC_CXX
                   20640: 
                   20641: # Compiler flag to turn off builtin functions.
                   20642: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20643: 
                   20644: # Additional compiler flags for building library objects.
                   20645: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20646: 
                   20647: # How to pass a linker flag through the compiler.
                   20648: wl=$lt_lt_prog_compiler_wl_CXX
                   20649: 
                   20650: # Compiler flag to prevent dynamic linking.
                   20651: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20652: 
                   20653: # Does compiler simultaneously support -c and -o options?
                   20654: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20655: 
                   20656: # Whether or not to add -lc for building shared libraries.
                   20657: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20658: 
                   20659: # Whether or not to disallow shared libs when runtime libs are static.
                   20660: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20661: 
                   20662: # Compiler flag to allow reflexive dlopens.
                   20663: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20664: 
                   20665: # Compiler flag to generate shared objects directly from archives.
                   20666: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20667: 
                   20668: # Whether the compiler copes with passing no objects directly.
                   20669: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20670: 
                   20671: # Create an old-style archive from a shared archive.
                   20672: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20673: 
                   20674: # Create a temporary old-style archive to link instead of a shared archive.
                   20675: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20676: 
                   20677: # Commands used to build a shared archive.
                   20678: archive_cmds=$lt_archive_cmds_CXX
                   20679: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20680: 
                   20681: # Commands used to build a loadable module if different from building
                   20682: # a shared archive.
                   20683: module_cmds=$lt_module_cmds_CXX
                   20684: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20685: 
                   20686: # Whether we are building with GNU ld or not.
                   20687: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20688: 
                   20689: # Flag that allows shared libraries with undefined symbols to be built.
                   20690: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20691: 
                   20692: # Flag that enforces no undefined symbols.
                   20693: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20694: 
                   20695: # Flag to hardcode \$libdir into a binary during linking.
                   20696: # This must work even if \$libdir does not exist
                   20697: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20698: 
                   20699: # Whether we need a single "-rpath" flag with a separated argument.
                   20700: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20701: 
                   20702: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20703: # DIR into the resulting binary.
                   20704: hardcode_direct=$hardcode_direct_CXX
                   20705: 
                   20706: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20707: # DIR into the resulting binary and the resulting library dependency is
                   20708: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20709: # library is relocated.
                   20710: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20711: 
                   20712: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20713: # into the resulting binary.
                   20714: hardcode_minus_L=$hardcode_minus_L_CXX
                   20715: 
                   20716: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20717: # into the resulting binary.
                   20718: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20719: 
                   20720: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20721: # into the library and all subsequent libraries and executables linked
                   20722: # against it.
                   20723: hardcode_automatic=$hardcode_automatic_CXX
                   20724: 
                   20725: # Set to yes if linker adds runtime paths of dependent libraries
                   20726: # to runtime path list.
                   20727: inherit_rpath=$inherit_rpath_CXX
                   20728: 
                   20729: # Whether libtool must link a program against all its dependency libraries.
                   20730: link_all_deplibs=$link_all_deplibs_CXX
                   20731: 
                   20732: # Set to "yes" if exported symbols are required.
                   20733: always_export_symbols=$always_export_symbols_CXX
                   20734: 
                   20735: # The commands to list exported symbols.
                   20736: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20737: 
                   20738: # Symbols that should not be listed in the preloaded symbols.
                   20739: exclude_expsyms=$lt_exclude_expsyms_CXX
                   20740: 
                   20741: # Symbols that must always be exported.
                   20742: include_expsyms=$lt_include_expsyms_CXX
                   20743: 
                   20744: # Commands necessary for linking programs (against libraries) with templates.
                   20745: prelink_cmds=$lt_prelink_cmds_CXX
                   20746: 
                   20747: # Commands necessary for finishing linking programs.
                   20748: postlink_cmds=$lt_postlink_cmds_CXX
                   20749: 
                   20750: # Specify filename containing input files.
                   20751: file_list_spec=$lt_file_list_spec_CXX
                   20752: 
                   20753: # How to hardcode a shared library path into an executable.
                   20754: hardcode_action=$hardcode_action_CXX
                   20755: 
                   20756: # The directories searched by this compiler when creating a shared library.
                   20757: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   20758: 
                   20759: # Dependencies to place before and after the objects being linked to
                   20760: # create a shared library.
                   20761: predep_objects=$lt_predep_objects_CXX
                   20762: postdep_objects=$lt_postdep_objects_CXX
                   20763: predeps=$lt_predeps_CXX
                   20764: postdeps=$lt_postdeps_CXX
                   20765: 
                   20766: # The library search path used internally by the compiler when linking
                   20767: # a shared library.
                   20768: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   20769: 
                   20770: # ### END LIBTOOL TAG CONFIG: CXX
                   20771: _LT_EOF
                   20772: 
                   20773:  ;;
1.150     moko     20774: 
1.62      paf      20775:   esac
1.150     moko     20776: done # for ac_tag
1.62      paf      20777: 
                   20778: 
1.150     moko     20779: as_fn_exit 0
1.62      paf      20780: _ACEOF
                   20781: ac_clean_files=$ac_clean_files_save
                   20782: 
1.150     moko     20783: test $ac_write_fail = 0 ||
                   20784:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   20785: 
1.1       paf      20786: 
1.62      paf      20787: # configure is writing to config.log, and then calls config.status.
                   20788: # config.status does its own redirection, appending to config.log.
                   20789: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20790: # by configure, so config.status won't be able to write to it; its
                   20791: # output is simply discarded.  So we exec the FD to /dev/null,
                   20792: # effectively closing config.log, so it can be properly (re)opened and
                   20793: # appended to by config.status.  When coming back to configure, we
                   20794: # need to make the FD available again.
                   20795: if test "$no_create" != yes; then
                   20796:   ac_cs_success=:
                   20797:   ac_config_status_args=
                   20798:   test "$silent" = yes &&
                   20799:     ac_config_status_args="$ac_config_status_args --quiet"
                   20800:   exec 5>/dev/null
                   20801:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20802:   exec 5>>config.log
                   20803:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20804:   # would make configure fail if this is the last instruction.
1.150     moko     20805:   $ac_cs_success || as_fn_exit 1
1.62      paf      20806: fi
                   20807: 
                   20808: #
                   20809: # CONFIG_SUBDIRS section.
                   20810: #
1.1       paf      20811: if test "$no_recursion" != yes; then
                   20812: 
1.150     moko     20813:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   20814:   # so they do not pile up.
1.1       paf      20815:   ac_sub_configure_args=
                   20816:   ac_prev=
1.150     moko     20817:   eval "set x $ac_configure_args"
                   20818:   shift
                   20819:   for ac_arg
                   20820:   do
1.1       paf      20821:     if test -n "$ac_prev"; then
                   20822:       ac_prev=
                   20823:       continue
                   20824:     fi
1.62      paf      20825:     case $ac_arg in
1.1       paf      20826:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20827:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20828:       ac_prev=cache_file ;;
                   20829:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      20830:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20831:     | --c=*)
                   20832:       ;;
                   20833:     --config-cache | -C)
1.1       paf      20834:       ;;
                   20835:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20836:       ac_prev=srcdir ;;
                   20837:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20838:       ;;
1.62      paf      20839:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20840:       ac_prev=prefix ;;
                   20841:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20842:       ;;
1.150     moko     20843:     --disable-option-checking)
                   20844:       ;;
                   20845:     *)
                   20846:       case $ac_arg in
                   20847:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20848:       esac
                   20849:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      20850:     esac
                   20851:   done
                   20852: 
1.62      paf      20853:   # Always prepend --prefix to ensure using the same prefix
                   20854:   # in subdir configurations.
1.150     moko     20855:   ac_arg="--prefix=$prefix"
                   20856:   case $ac_arg in
                   20857:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   20858:   esac
                   20859:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   20860: 
                   20861:   # Pass --silent
                   20862:   if test "$silent" = yes; then
                   20863:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   20864:   fi
                   20865: 
                   20866:   # Always prepend --disable-option-checking to silence warnings, since
                   20867:   # different subdirs can have different --enable and --with options.
                   20868:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      20869: 
                   20870:   ac_popdir=`pwd`
                   20871:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      20872: 
                   20873:     # Do not complain, so a configure script can configure whichever
                   20874:     # parts of a large source tree are present.
1.150     moko     20875:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      20876: 
1.150     moko     20877:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   20878:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   20879:     $as_echo "$ac_msg" >&6
                   20880:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20881:     ac_builddir=.
                   20882: 
1.150     moko     20883: case "$ac_dir" in
                   20884: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20885: *)
                   20886:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20887:   # A ".." for each directory in $ac_dir_suffix.
                   20888:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20889:   case $ac_top_builddir_sub in
                   20890:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20891:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20892:   esac ;;
                   20893: esac
                   20894: ac_abs_top_builddir=$ac_pwd
                   20895: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20896: # for backward compatibility:
                   20897: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20898: 
                   20899: case $srcdir in
1.150     moko     20900:   .)  # We are building in place.
1.62      paf      20901:     ac_srcdir=.
1.150     moko     20902:     ac_top_srcdir=$ac_top_builddir_sub
                   20903:     ac_abs_top_srcdir=$ac_pwd ;;
                   20904:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20905:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20906:     ac_top_srcdir=$srcdir
                   20907:     ac_abs_top_srcdir=$srcdir ;;
                   20908:   *) # Relative name.
                   20909:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20910:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20911:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      20912: esac
1.150     moko     20913: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      20914: 
                   20915: 
1.150     moko     20916:     cd "$ac_dir"
1.1       paf      20917: 
                   20918:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     20919:     if test -f "$ac_srcdir/configure.gnu"; then
                   20920:       ac_sub_configure=$ac_srcdir/configure.gnu
                   20921:     elif test -f "$ac_srcdir/configure"; then
                   20922:       ac_sub_configure=$ac_srcdir/configure
                   20923:     elif test -f "$ac_srcdir/configure.in"; then
                   20924:       # This should be Cygnus configure.
                   20925:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      20926:     else
1.150     moko     20927:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   20928: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      20929:       ac_sub_configure=
                   20930:     fi
                   20931: 
                   20932:     # The recursion is here.
                   20933:     if test -n "$ac_sub_configure"; then
                   20934:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      20935:       case $cache_file in
                   20936:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     20937:       *) # Relative name.
                   20938:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      20939:       esac
                   20940: 
1.150     moko     20941:       { $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
                   20942: $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      20943:       # The eval makes quoting arguments work.
1.150     moko     20944:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   20945:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   20946:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      20947:     fi
                   20948: 
1.150     moko     20949:     cd "$ac_popdir"
1.1       paf      20950:   done
                   20951: fi
1.150     moko     20952: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   20953:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   20954: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   20955: fi
1.1       paf      20956: 

E-mail: