Annotation of parser3/configure, revision 1.165

1.1       paf         1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.157     moko        3: # Generated by GNU Autoconf 2.68 for parser 3.4.3b.
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.157     moko      574: PACKAGE_VERSION='3.4.3b'
                    575: PACKAGE_STRING='parser 3.4.3b'
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.157     moko     1358: \`configure' configures parser 3.4.3b 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.157     moko     1428:      short | recursive ) echo "Configuration of parser 3.4.3b:";;
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.157     moko     1564: parser configure 3.4.3b
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.161     moko     2113: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2114: # ----------------------------------------------------
                   2115: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2116: # INCLUDES, setting cache variable VAR accordingly.
                   2117: ac_fn_c_check_member ()
                   2118: {
                   2119:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2120:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2121: $as_echo_n "checking for $2.$3... " >&6; }
                   2122: if eval \${$4+:} false; then :
                   2123:   $as_echo_n "(cached) " >&6
                   2124: else
                   2125:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2126: /* end confdefs.h.  */
                   2127: $5
                   2128: int
                   2129: main ()
                   2130: {
                   2131: static $2 ac_aggr;
                   2132: if (ac_aggr.$3)
                   2133: return 0;
                   2134:   ;
                   2135:   return 0;
                   2136: }
                   2137: _ACEOF
                   2138: if ac_fn_c_try_compile "$LINENO"; then :
                   2139:   eval "$4=yes"
                   2140: else
                   2141:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2142: /* end confdefs.h.  */
                   2143: $5
                   2144: int
                   2145: main ()
                   2146: {
                   2147: static $2 ac_aggr;
                   2148: if (sizeof ac_aggr.$3)
                   2149: return 0;
                   2150:   ;
                   2151:   return 0;
                   2152: }
                   2153: _ACEOF
                   2154: if ac_fn_c_try_compile "$LINENO"; then :
                   2155:   eval "$4=yes"
                   2156: else
                   2157:   eval "$4=no"
                   2158: fi
                   2159: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2160: fi
                   2161: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2162: fi
                   2163: eval ac_res=\$$4
                   2164:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2165: $as_echo "$ac_res" >&6; }
                   2166:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2167: 
                   2168: } # ac_fn_c_check_member
                   2169: 
1.150     moko     2170: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   2171: # -------------------------------------------------------
                   2172: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   2173: # the include files in INCLUDES and setting the cache variable VAR
                   2174: # accordingly.
                   2175: ac_fn_c_check_header_mongrel ()
                   2176: {
                   2177:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2178:   if eval \${$3+:} false; then :
                   2179:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2180: $as_echo_n "checking for $2... " >&6; }
                   2181: if eval \${$3+:} false; then :
                   2182:   $as_echo_n "(cached) " >&6
                   2183: fi
                   2184: eval ac_res=\$$3
                   2185:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2186: $as_echo "$ac_res" >&6; }
                   2187: else
                   2188:   # Is the header compilable?
                   2189: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   2190: $as_echo_n "checking $2 usability... " >&6; }
                   2191: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2192: /* end confdefs.h.  */
                   2193: $4
                   2194: #include <$2>
                   2195: _ACEOF
                   2196: if ac_fn_c_try_compile "$LINENO"; then :
                   2197:   ac_header_compiler=yes
                   2198: else
                   2199:   ac_header_compiler=no
                   2200: fi
                   2201: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   2203: $as_echo "$ac_header_compiler" >&6; }
                   2204: 
                   2205: # Is the header present?
                   2206: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   2207: $as_echo_n "checking $2 presence... " >&6; }
                   2208: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2209: /* end confdefs.h.  */
                   2210: #include <$2>
                   2211: _ACEOF
                   2212: if ac_fn_c_try_cpp "$LINENO"; then :
                   2213:   ac_header_preproc=yes
                   2214: else
                   2215:   ac_header_preproc=no
                   2216: fi
                   2217: rm -f conftest.err conftest.i conftest.$ac_ext
                   2218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   2219: $as_echo "$ac_header_preproc" >&6; }
                   2220: 
                   2221: # So?  What about this header?
                   2222: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   2223:   yes:no: )
                   2224:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   2225: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   2226:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2227: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2228:     ;;
                   2229:   no:yes:* )
                   2230:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   2231: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   2232:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   2233: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   2234:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   2235: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   2236:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   2237: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   2238:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2239: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2240:     ;;
                   2241: esac
                   2242:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2243: $as_echo_n "checking for $2... " >&6; }
                   2244: if eval \${$3+:} false; then :
                   2245:   $as_echo_n "(cached) " >&6
                   2246: else
                   2247:   eval "$3=\$ac_header_compiler"
                   2248: fi
                   2249: eval ac_res=\$$3
                   2250:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2251: $as_echo "$ac_res" >&6; }
                   2252: fi
                   2253:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2254: 
                   2255: } # ac_fn_c_check_header_mongrel
                   2256: cat >config.log <<_ACEOF
                   2257: This file contains any messages produced by compilers while
                   2258: running configure, to aid debugging if configure makes a mistake.
                   2259: 
1.157     moko     2260: It was created by parser $as_me 3.4.3b, which was
1.150     moko     2261: generated by GNU Autoconf 2.68.  Invocation command line was
                   2262: 
                   2263:   $ $0 $@
                   2264: 
                   2265: _ACEOF
                   2266: exec 5>>config.log
                   2267: {
                   2268: cat <<_ASUNAME
                   2269: ## --------- ##
                   2270: ## Platform. ##
                   2271: ## --------- ##
                   2272: 
                   2273: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2274: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2275: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2276: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2277: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2278: 
                   2279: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2280: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1.62      paf      2281: 
                   2282: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2283: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2284: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.150     moko     2285: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.62      paf      2286: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2287: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2288: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2289: 
                   2290: _ASUNAME
                   2291: 
                   2292: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2293: for as_dir in $PATH
                   2294: do
                   2295:   IFS=$as_save_IFS
                   2296:   test -z "$as_dir" && as_dir=.
1.150     moko     2297:     $as_echo "PATH: $as_dir"
                   2298:   done
                   2299: IFS=$as_save_IFS
1.1       paf      2300: 
1.62      paf      2301: } >&5
                   2302: 
                   2303: cat >&5 <<_ACEOF
                   2304: 
                   2305: 
                   2306: ## ----------- ##
                   2307: ## Core tests. ##
                   2308: ## ----------- ##
                   2309: 
                   2310: _ACEOF
                   2311: 
                   2312: 
                   2313: # Keep a trace of the command line.
                   2314: # Strip out --no-create and --no-recursion so they do not pile up.
                   2315: # Strip out --silent because we don't want to record it for future runs.
                   2316: # Also quote any args containing shell meta-characters.
                   2317: # Make two passes to allow for proper duplicate-argument suppression.
                   2318: ac_configure_args=
                   2319: ac_configure_args0=
                   2320: ac_configure_args1=
                   2321: ac_must_keep_next=false
                   2322: for ac_pass in 1 2
                   2323: do
                   2324:   for ac_arg
                   2325:   do
                   2326:     case $ac_arg in
                   2327:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2328:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2329:     | -silent | --silent | --silen | --sile | --sil)
                   2330:       continue ;;
1.150     moko     2331:     *\'*)
                   2332:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2333:     esac
                   2334:     case $ac_pass in
1.150     moko     2335:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.62      paf      2336:     2)
1.150     moko     2337:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.62      paf      2338:       if test $ac_must_keep_next = true; then
1.86      paf      2339:        ac_must_keep_next=false # Got value, back to normal.
1.62      paf      2340:       else
1.86      paf      2341:        case $ac_arg in
                   2342:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2343:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2344:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2345:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2346:            case "$ac_configure_args0 " in
                   2347:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2348:            esac
                   2349:            ;;
                   2350:          -* ) ac_must_keep_next=true ;;
                   2351:        esac
1.62      paf      2352:       fi
1.150     moko     2353:       as_fn_append ac_configure_args " '$ac_arg'"
1.62      paf      2354:       ;;
                   2355:     esac
                   2356:   done
                   2357: done
1.150     moko     2358: { ac_configure_args0=; unset ac_configure_args0;}
                   2359: { ac_configure_args1=; unset ac_configure_args1;}
1.62      paf      2360: 
                   2361: # When interrupted or exit'd, cleanup temporary files, and complete
                   2362: # config.log.  We remove comments because anyway the quotes in there
                   2363: # would cause problems or look ugly.
1.150     moko     2364: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2365: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.62      paf      2366: trap 'exit_status=$?
                   2367:   # Save into config.log some information that might help in debugging.
                   2368:   {
                   2369:     echo
                   2370: 
1.150     moko     2371:     $as_echo "## ---------------- ##
1.62      paf      2372: ## Cache variables. ##
1.150     moko     2373: ## ---------------- ##"
1.62      paf      2374:     echo
                   2375:     # The following way of writing the cache mishandles newlines in values,
1.150     moko     2376: (
                   2377:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2378:     eval ac_val=\$$ac_var
                   2379:     case $ac_val in #(
                   2380:     *${as_nl}*)
                   2381:       case $ac_var in #(
                   2382:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2383: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2384:       esac
                   2385:       case $ac_var in #(
                   2386:       _ | IFS | as_nl) ;; #(
                   2387:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2388:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2389:       esac ;;
                   2390:     esac
                   2391:   done
1.62      paf      2392:   (set) 2>&1 |
1.150     moko     2393:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2394:     *${as_nl}ac_space=\ *)
1.62      paf      2395:       sed -n \
1.150     moko     2396:        "s/'\''/'\''\\\\'\'''\''/g;
                   2397:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2398:       ;; #(
1.62      paf      2399:     *)
1.150     moko     2400:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      2401:       ;;
1.150     moko     2402:     esac |
                   2403:     sort
                   2404: )
1.62      paf      2405:     echo
                   2406: 
1.150     moko     2407:     $as_echo "## ----------------- ##
1.62      paf      2408: ## Output variables. ##
1.150     moko     2409: ## ----------------- ##"
1.62      paf      2410:     echo
                   2411:     for ac_var in $ac_subst_vars
                   2412:     do
1.150     moko     2413:       eval ac_val=\$$ac_var
                   2414:       case $ac_val in
                   2415:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2416:       esac
                   2417:       $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2418:     done | sort
                   2419:     echo
                   2420: 
                   2421:     if test -n "$ac_subst_files"; then
1.150     moko     2422:       $as_echo "## ------------------- ##
                   2423: ## File substitutions. ##
                   2424: ## ------------------- ##"
1.62      paf      2425:       echo
                   2426:       for ac_var in $ac_subst_files
                   2427:       do
1.150     moko     2428:        eval ac_val=\$$ac_var
                   2429:        case $ac_val in
                   2430:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2431:        esac
                   2432:        $as_echo "$ac_var='\''$ac_val'\''"
1.62      paf      2433:       done | sort
                   2434:       echo
                   2435:     fi
                   2436: 
                   2437:     if test -s confdefs.h; then
1.150     moko     2438:       $as_echo "## ----------- ##
1.62      paf      2439: ## confdefs.h. ##
1.150     moko     2440: ## ----------- ##"
1.62      paf      2441:       echo
1.150     moko     2442:       cat confdefs.h
1.62      paf      2443:       echo
                   2444:     fi
                   2445:     test "$ac_signal" != 0 &&
1.150     moko     2446:       $as_echo "$as_me: caught signal $ac_signal"
                   2447:     $as_echo "$as_me: exit $exit_status"
1.62      paf      2448:   } >&5
1.150     moko     2449:   rm -f core *.core core.conftest.* &&
                   2450:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.62      paf      2451:     exit $exit_status
1.150     moko     2452: ' 0
1.62      paf      2453: for ac_signal in 1 2 13 15; do
1.150     moko     2454:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.62      paf      2455: done
                   2456: ac_signal=0
                   2457: 
                   2458: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.150     moko     2459: rm -f -r conftest* confdefs.h
                   2460: 
                   2461: $as_echo "/* confdefs.h */" > confdefs.h
1.62      paf      2462: 
                   2463: # Predefined preprocessor variables.
                   2464: 
                   2465: cat >>confdefs.h <<_ACEOF
                   2466: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2467: _ACEOF
                   2468: 
                   2469: cat >>confdefs.h <<_ACEOF
                   2470: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2471: _ACEOF
                   2472: 
                   2473: cat >>confdefs.h <<_ACEOF
                   2474: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2475: _ACEOF
                   2476: 
                   2477: cat >>confdefs.h <<_ACEOF
                   2478: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2479: _ACEOF
                   2480: 
1.150     moko     2481: cat >>confdefs.h <<_ACEOF
                   2482: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2483: _ACEOF
1.62      paf      2484: 
                   2485: cat >>confdefs.h <<_ACEOF
1.150     moko     2486: #define PACKAGE_URL "$PACKAGE_URL"
1.62      paf      2487: _ACEOF
                   2488: 
                   2489: 
                   2490: # Let the site file select an alternate cache file if it wants to.
1.150     moko     2491: # Prefer an explicitly selected file to automatically selected ones.
                   2492: ac_site_file1=NONE
                   2493: ac_site_file2=NONE
                   2494: if test -n "$CONFIG_SITE"; then
                   2495:   # We do not want a PATH search for config.site.
                   2496:   case $CONFIG_SITE in #((
                   2497:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2498:     */*) ac_site_file1=$CONFIG_SITE;;
                   2499:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2500:   esac
                   2501: elif test "x$prefix" != xNONE; then
                   2502:   ac_site_file1=$prefix/share/config.site
                   2503:   ac_site_file2=$prefix/etc/config.site
                   2504: else
                   2505:   ac_site_file1=$ac_default_prefix/share/config.site
                   2506:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2507: fi
                   2508: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2509: do
                   2510:   test "x$ac_site_file" = xNONE && continue
                   2511:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2512:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2513: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.62      paf      2514:     sed 's/^/| /' "$ac_site_file" >&5
1.150     moko     2515:     . "$ac_site_file" \
                   2516:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2517: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2518: as_fn_error $? "failed to load site script $ac_site_file
                   2519: See \`config.log' for more details" "$LINENO" 5; }
1.1       paf      2520:   fi
                   2521: done
                   2522: 
                   2523: if test -r "$cache_file"; then
1.150     moko     2524:   # Some versions of bash will fail to source /dev/null (special files
                   2525:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2526:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2527:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2528: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.62      paf      2529:     case $cache_file in
1.150     moko     2530:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2531:       *)                      . "./$cache_file";;
1.62      paf      2532:     esac
                   2533:   fi
1.1       paf      2534: else
1.150     moko     2535:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2536: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.62      paf      2537:   >$cache_file
                   2538: fi
                   2539: 
                   2540: # Check that the precious variables saved in the cache have kept the same
                   2541: # value.
                   2542: ac_cache_corrupted=false
1.150     moko     2543: for ac_var in $ac_precious_vars; do
1.62      paf      2544:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2545:   eval ac_new_set=\$ac_env_${ac_var}_set
1.150     moko     2546:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2547:   eval ac_new_val=\$ac_env_${ac_var}_value
1.62      paf      2548:   case $ac_old_set,$ac_new_set in
                   2549:     set,)
1.150     moko     2550:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2551: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.62      paf      2552:       ac_cache_corrupted=: ;;
                   2553:     ,set)
1.150     moko     2554:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2555: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.62      paf      2556:       ac_cache_corrupted=: ;;
                   2557:     ,);;
                   2558:     *)
                   2559:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.150     moko     2560:        # differences in whitespace do not lead to failure.
                   2561:        ac_old_val_w=`echo x $ac_old_val`
                   2562:        ac_new_val_w=`echo x $ac_new_val`
                   2563:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2564:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2565: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2566:          ac_cache_corrupted=:
                   2567:        else
                   2568:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2569: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2570:          eval $ac_var=\$ac_old_val
                   2571:        fi
                   2572:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2573: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2574:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2575: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.62      paf      2576:       fi;;
                   2577:   esac
                   2578:   # Pass precious variables to config.status.
                   2579:   if test "$ac_new_set" = set; then
                   2580:     case $ac_new_val in
1.150     moko     2581:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.62      paf      2582:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2583:     esac
                   2584:     case " $ac_configure_args " in
                   2585:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.150     moko     2586:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.62      paf      2587:     esac
                   2588:   fi
                   2589: done
                   2590: if $ac_cache_corrupted; then
1.150     moko     2591:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2592: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2593:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2594: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2595:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2596: fi
                   2597: ## -------------------- ##
                   2598: ## Main body of script. ##
                   2599: ## -------------------- ##
1.1       paf      2600: 
                   2601: ac_ext=c
                   2602: ac_cpp='$CPP $CPPFLAGS'
1.62      paf      2603: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2604: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2605: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2606: 
                   2607: 
                   2608: 
                   2609: 
                   2610: 
1.150     moko     2611: am__api_version='1.11'
1.62      paf      2612: 
1.1       paf      2613: ac_aux_dir=
1.150     moko     2614: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2615:   if test -f "$ac_dir/install-sh"; then
1.1       paf      2616:     ac_aux_dir=$ac_dir
                   2617:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2618:     break
1.150     moko     2619:   elif test -f "$ac_dir/install.sh"; then
1.1       paf      2620:     ac_aux_dir=$ac_dir
                   2621:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2622:     break
1.150     moko     2623:   elif test -f "$ac_dir/shtool"; then
1.62      paf      2624:     ac_aux_dir=$ac_dir
                   2625:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2626:     break
1.1       paf      2627:   fi
                   2628: done
                   2629: if test -z "$ac_aux_dir"; then
1.150     moko     2630:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2631: fi
                   2632: 
                   2633: # These three variables are undocumented and unsupported,
                   2634: # and are intended to be withdrawn in a future Autoconf release.
                   2635: # They can cause serious problems if a builder's source tree is in a directory
                   2636: # whose full name contains unusual characters.
                   2637: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2638: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2639: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2640: 
1.1       paf      2641: 
                   2642: # Find a good install program.  We prefer a C program (faster),
                   2643: # so one script is as good as another.  But avoid the broken or
                   2644: # incompatible versions:
                   2645: # SysV /etc/install, /usr/sbin/install
                   2646: # SunOS /usr/etc/install
                   2647: # IRIX /sbin/install
                   2648: # AIX /bin/install
1.62      paf      2649: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       paf      2650: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2651: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2652: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.86      paf      2653: # OS/2's system install, which has a completely different semantic
1.1       paf      2654: # ./install, which can be erroneously created by make from ./install.sh.
1.150     moko     2655: # Reject install programs that cannot install multiple files.
                   2656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2657: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       paf      2658: if test -z "$INSTALL"; then
1.150     moko     2659: if ${ac_cv_path_install+:} false; then :
                   2660:   $as_echo_n "(cached) " >&6
1.1       paf      2661: else
1.62      paf      2662:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2663: for as_dir in $PATH
                   2664: do
                   2665:   IFS=$as_save_IFS
                   2666:   test -z "$as_dir" && as_dir=.
1.150     moko     2667:     # Account for people who put trailing slashes in PATH elements.
                   2668: case $as_dir/ in #((
                   2669:   ./ | .// | /[cC]/* | \
1.62      paf      2670:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.150     moko     2671:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.62      paf      2672:   /usr/ucb/* ) ;;
                   2673:   *)
                   2674:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2675:     # Don't use installbsd from OSF since it installs stuff as root
                   2676:     # by default.
                   2677:     for ac_prog in ginstall scoinst install; do
                   2678:       for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     2679:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.86      paf      2680:          if test $ac_prog = install &&
                   2681:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2682:            # AIX install.  It has an incompatible calling convention.
                   2683:            :
                   2684:          elif test $ac_prog = install &&
                   2685:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2686:            # program-specific install script used by HP pwplus--don't use.
                   2687:            :
                   2688:          else
1.150     moko     2689:            rm -rf conftest.one conftest.two conftest.dir
                   2690:            echo one > conftest.one
                   2691:            echo two > conftest.two
                   2692:            mkdir conftest.dir
                   2693:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2694:              test -s conftest.one && test -s conftest.two &&
                   2695:              test -s conftest.dir/conftest.one &&
                   2696:              test -s conftest.dir/conftest.two
                   2697:            then
                   2698:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2699:              break 3
                   2700:            fi
1.86      paf      2701:          fi
                   2702:        fi
1.1       paf      2703:       done
1.62      paf      2704:     done
                   2705:     ;;
                   2706: esac
                   2707: 
1.150     moko     2708:   done
                   2709: IFS=$as_save_IFS
                   2710: 
                   2711: rm -rf conftest.one conftest.two conftest.dir
1.1       paf      2712: 
                   2713: fi
                   2714:   if test "${ac_cv_path_install+set}" = set; then
1.62      paf      2715:     INSTALL=$ac_cv_path_install
1.1       paf      2716:   else
1.150     moko     2717:     # As a last resort, use the slow shell script.  Don't cache a
                   2718:     # value for INSTALL within a source directory, because that will
1.1       paf      2719:     # break other packages using the cache if that directory is
1.150     moko     2720:     # removed, or if the value is a relative name.
1.62      paf      2721:     INSTALL=$ac_install_sh
1.1       paf      2722:   fi
                   2723: fi
1.150     moko     2724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2725: $as_echo "$INSTALL" >&6; }
1.1       paf      2726: 
                   2727: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2728: # It thinks the first close brace ends the variable substitution.
                   2729: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2730: 
1.62      paf      2731: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       paf      2732: 
                   2733: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2734: 
1.150     moko     2735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2736: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       paf      2737: # Just in case
                   2738: sleep 1
1.62      paf      2739: echo timestamp > conftest.file
1.150     moko     2740: # Reject unsafe characters in $srcdir or the absolute working directory
                   2741: # name.  Accept space and tab only in the latter.
                   2742: am_lf='
                   2743: '
                   2744: case `pwd` in
                   2745:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2746:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2747: esac
                   2748: case $srcdir in
                   2749:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2750:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2751: esac
                   2752: 
1.1       paf      2753: # Do `set' in a subshell so we don't clobber the current shell's
                   2754: # arguments.  Must try -L first in case configure is actually a
                   2755: # symlink; some systems play weird games with the mod time of symlinks
                   2756: # (eg FreeBSD returns the mod time of the symlink's containing
                   2757: # directory).
                   2758: if (
1.150     moko     2759:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       paf      2760:    if test "$*" = "X"; then
                   2761:       # -L didn't work.
1.150     moko     2762:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       paf      2763:    fi
1.62      paf      2764:    rm -f conftest.file
                   2765:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2766:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       paf      2767: 
                   2768:       # If neither matched, then we have a broken ls.  This can happen
                   2769:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2770:       # broken ls alias from the environment.  This has actually
                   2771:       # happened.  Such a system could not be considered "sane".
1.150     moko     2772:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2773: alias in your environment" "$LINENO" 5
1.1       paf      2774:    fi
                   2775: 
1.62      paf      2776:    test "$2" = conftest.file
1.1       paf      2777:    )
                   2778: then
                   2779:    # Ok.
                   2780:    :
                   2781: else
1.150     moko     2782:    as_fn_error $? "newly created file is older than distributed files!
                   2783: Check your system clock" "$LINENO" 5
1.1       paf      2784: fi
1.150     moko     2785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2786: $as_echo "yes" >&6; }
1.1       paf      2787: test "$program_prefix" != NONE &&
1.150     moko     2788:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       paf      2789: # Use a double $ so make ignores it.
                   2790: test "$program_suffix" != NONE &&
1.150     moko     2791:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2792: # Double any \ or $.
1.62      paf      2793: # By default was `s,x,x', remove it if useless.
1.150     moko     2794: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2795: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.62      paf      2796: 
                   2797: # expand $ac_aux_dir to an absolute path
                   2798: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2799: 
1.150     moko     2800: if test x"${MISSING+set}" != xset; then
                   2801:   case $am_aux_dir in
                   2802:   *\ * | *\    *)
                   2803:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2804:   *)
                   2805:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2806:   esac
                   2807: fi
1.62      paf      2808: # Use eval to expand $SHELL
                   2809: if eval "$MISSING --run true"; then
                   2810:   am_missing_run="$MISSING --run "
                   2811: else
                   2812:   am_missing_run=
1.150     moko     2813:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2814: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.62      paf      2815: fi
                   2816: 
1.150     moko     2817: if test x"${install_sh}" != xset; then
                   2818:   case $am_aux_dir in
                   2819:   *\ * | *\    *)
                   2820:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2821:   *)
                   2822:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2823:   esac
1.86      paf      2824: fi
                   2825: 
1.150     moko     2826: # Installed binaries are usually stripped using `strip' when the user
                   2827: # run `make install-strip'.  However `strip' might not be the right
                   2828: # tool to use in cross-compilation environments, therefore Automake
                   2829: # will honor the `STRIP' environment variable to overrule this program.
                   2830: if test "$cross_compiling" != no; then
                   2831:   if test -n "$ac_tool_prefix"; then
                   2832:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2833: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2835: $as_echo_n "checking for $ac_word... " >&6; }
                   2836: if ${ac_cv_prog_STRIP+:} false; then :
                   2837:   $as_echo_n "(cached) " >&6
                   2838: else
                   2839:   if test -n "$STRIP"; then
                   2840:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2841: else
                   2842: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2843: for as_dir in $PATH
                   2844: do
                   2845:   IFS=$as_save_IFS
                   2846:   test -z "$as_dir" && as_dir=.
                   2847:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2848:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2849:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2850:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2851:     break 2
                   2852:   fi
                   2853: done
                   2854:   done
                   2855: IFS=$as_save_IFS
                   2856: 
                   2857: fi
                   2858: fi
                   2859: STRIP=$ac_cv_prog_STRIP
                   2860: if test -n "$STRIP"; then
                   2861:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2862: $as_echo "$STRIP" >&6; }
                   2863: else
                   2864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2865: $as_echo "no" >&6; }
                   2866: fi
                   2867: 
                   2868: 
                   2869: fi
                   2870: if test -z "$ac_cv_prog_STRIP"; then
                   2871:   ac_ct_STRIP=$STRIP
                   2872:   # Extract the first word of "strip", so it can be a program name with args.
                   2873: set dummy strip; ac_word=$2
                   2874: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2875: $as_echo_n "checking for $ac_word... " >&6; }
                   2876: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2877:   $as_echo_n "(cached) " >&6
                   2878: else
                   2879:   if test -n "$ac_ct_STRIP"; then
                   2880:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2881: else
                   2882: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2883: for as_dir in $PATH
                   2884: do
                   2885:   IFS=$as_save_IFS
                   2886:   test -z "$as_dir" && as_dir=.
                   2887:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2888:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2889:     ac_cv_prog_ac_ct_STRIP="strip"
                   2890:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2891:     break 2
                   2892:   fi
                   2893: done
                   2894:   done
                   2895: IFS=$as_save_IFS
                   2896: 
                   2897: fi
                   2898: fi
                   2899: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2900: if test -n "$ac_ct_STRIP"; then
                   2901:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2902: $as_echo "$ac_ct_STRIP" >&6; }
                   2903: else
                   2904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2905: $as_echo "no" >&6; }
                   2906: fi
                   2907: 
                   2908:   if test "x$ac_ct_STRIP" = x; then
                   2909:     STRIP=":"
                   2910:   else
                   2911:     case $cross_compiling:$ac_tool_warned in
                   2912: yes:)
                   2913: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2914: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2915: ac_tool_warned=yes ;;
                   2916: esac
                   2917:     STRIP=$ac_ct_STRIP
                   2918:   fi
                   2919: else
                   2920:   STRIP="$ac_cv_prog_STRIP"
                   2921: fi
                   2922: 
                   2923: fi
                   2924: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2925: 
                   2926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2927: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2928: if test -z "$MKDIR_P"; then
                   2929:   if ${ac_cv_path_mkdir+:} false; then :
                   2930:   $as_echo_n "(cached) " >&6
                   2931: else
                   2932:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2933: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2934: do
                   2935:   IFS=$as_save_IFS
                   2936:   test -z "$as_dir" && as_dir=.
                   2937:     for ac_prog in mkdir gmkdir; do
                   2938:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2939:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2940:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2941:             'mkdir (GNU coreutils) '* | \
                   2942:             'mkdir (coreutils) '* | \
                   2943:             'mkdir (fileutils) '4.1*)
                   2944:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2945:               break 3;;
                   2946:           esac
                   2947:         done
                   2948:        done
                   2949:   done
                   2950: IFS=$as_save_IFS
                   2951: 
                   2952: fi
                   2953: 
                   2954:   test -d ./--version && rmdir ./--version
                   2955:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2956:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2957:   else
                   2958:     # As a last resort, use the slow shell script.  Don't cache a
                   2959:     # value for MKDIR_P within a source directory, because that will
                   2960:     # break other packages using the cache if that directory is
                   2961:     # removed, or if the value is a relative name.
                   2962:     MKDIR_P="$ac_install_sh -d"
                   2963:   fi
                   2964: fi
                   2965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2966: $as_echo "$MKDIR_P" >&6; }
                   2967: 
                   2968: mkdir_p="$MKDIR_P"
                   2969: case $mkdir_p in
                   2970:   [\\/$]* | ?:[\\/]*) ;;
                   2971:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2972: esac
                   2973: 
                   2974: for ac_prog in gawk mawk nawk awk
1.62      paf      2975: do
                   2976:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2977: set dummy $ac_prog; ac_word=$2
1.150     moko     2978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2979: $as_echo_n "checking for $ac_word... " >&6; }
                   2980: if ${ac_cv_prog_AWK+:} false; then :
                   2981:   $as_echo_n "(cached) " >&6
1.62      paf      2982: else
                   2983:   if test -n "$AWK"; then
                   2984:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2985: else
                   2986: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2987: for as_dir in $PATH
                   2988: do
                   2989:   IFS=$as_save_IFS
                   2990:   test -z "$as_dir" && as_dir=.
1.150     moko     2991:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2992:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      2993:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     2994:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      2995:     break 2
                   2996:   fi
                   2997: done
1.150     moko     2998:   done
                   2999: IFS=$as_save_IFS
1.62      paf      3000: 
                   3001: fi
                   3002: fi
                   3003: AWK=$ac_cv_prog_AWK
                   3004: if test -n "$AWK"; then
1.150     moko     3005:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3006: $as_echo "$AWK" >&6; }
1.62      paf      3007: else
1.150     moko     3008:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3009: $as_echo "no" >&6; }
1.62      paf      3010: fi
1.1       paf      3011: 
1.150     moko     3012: 
1.62      paf      3013:   test -n "$AWK" && break
                   3014: done
1.1       paf      3015: 
1.150     moko     3016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3017: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3018: set x ${MAKE-make}
                   3019: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3020: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3021:   $as_echo_n "(cached) " >&6
1.1       paf      3022: else
1.62      paf      3023:   cat >conftest.make <<\_ACEOF
1.150     moko     3024: SHELL = /bin/sh
1.1       paf      3025: all:
1.150     moko     3026:        @echo '@@@%%%=$(MAKE)=@@@%%%'
1.62      paf      3027: _ACEOF
1.150     moko     3028: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3029: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3030:   *@@@%%%=?*=@@@%%%*)
                   3031:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3032:   *)
                   3033:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3034: esac
1.62      paf      3035: rm -f conftest.make
1.1       paf      3036: fi
1.150     moko     3037: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3039: $as_echo "yes" >&6; }
1.1       paf      3040:   SET_MAKE=
                   3041: else
1.150     moko     3042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3043: $as_echo "no" >&6; }
1.1       paf      3044:   SET_MAKE="MAKE=${MAKE-make}"
                   3045: fi
                   3046: 
1.86      paf      3047: rm -rf .tst 2>/dev/null
                   3048: mkdir .tst 2>/dev/null
                   3049: if test -d .tst; then
                   3050:   am__leading_dot=.
                   3051: else
                   3052:   am__leading_dot=_
                   3053: fi
                   3054: rmdir .tst 2>/dev/null
                   3055: 
1.150     moko     3056: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3057:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3058:   # is not polluted with repeated "-I."
                   3059:   am__isrc=' -I$(srcdir)'
                   3060:   # test to see if srcdir already configured
                   3061:   if test -f $srcdir/config.status; then
                   3062:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3063:   fi
1.62      paf      3064: fi
                   3065: 
                   3066: # test whether we have cygpath
                   3067: if test -z "$CYGPATH_W"; then
                   3068:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3069:     CYGPATH_W='cygpath -w'
                   3070:   else
                   3071:     CYGPATH_W=echo
                   3072:   fi
                   3073: fi
                   3074: 
                   3075: 
                   3076: # Define the identity of the package.
1.128     moko     3077:  PACKAGE='parser'
1.157     moko     3078:  VERSION='3.4.3b'
1.128     moko     3079: 
                   3080: 
                   3081: cat >>confdefs.h <<_ACEOF
                   3082: #define PACKAGE "$PACKAGE"
                   3083: _ACEOF
1.1       paf      3084: 
                   3085: 
1.128     moko     3086: cat >>confdefs.h <<_ACEOF
                   3087: #define VERSION "$VERSION"
                   3088: _ACEOF
                   3089: 
1.62      paf      3090: # Some tools Automake needs.
                   3091: 
                   3092: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3093: 
                   3094: 
                   3095: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3096: 
                   3097: 
                   3098: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3099: 
                   3100: 
                   3101: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3102: 
                   3103: 
                   3104: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       paf      3105: 
1.62      paf      3106: # We need awk for the "check" target.  The system "awk" is bad on
                   3107: # some platforms.
1.86      paf      3108: # Always define AMTAR for backward compatibility.
                   3109: 
                   3110: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3111: 
                   3112: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3113: 
                   3114: 
1.62      paf      3115: 
1.1       paf      3116: 
                   3117: 
                   3118: 
1.128     moko     3119: 
1.12      paf      3120: P3S=`cd $srcdir/src ; pwd`
1.1       paf      3121: 
                   3122: 
1.128     moko     3123: 
1.41      paf      3124: # Make sure we can run config.sub.
1.150     moko     3125: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3126:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.62      paf      3127: 
1.150     moko     3128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3129: $as_echo_n "checking build system type... " >&6; }
                   3130: if ${ac_cv_build+:} false; then :
                   3131:   $as_echo_n "(cached) " >&6
                   3132: else
                   3133:   ac_build_alias=$build_alias
                   3134: test "x$ac_build_alias" = x &&
                   3135:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3136: test "x$ac_build_alias" = x &&
                   3137:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3138: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3139:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3140: 
                   3141: fi
                   3142: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3143: $as_echo "$ac_cv_build" >&6; }
                   3144: case $ac_cv_build in
                   3145: *-*-*) ;;
                   3146: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3147: esac
                   3148: build=$ac_cv_build
                   3149: ac_save_IFS=$IFS; IFS='-'
                   3150: set x $ac_cv_build
                   3151: shift
                   3152: build_cpu=$1
                   3153: build_vendor=$2
                   3154: shift; shift
                   3155: # Remember, the first character of IFS is used to create $*,
                   3156: # except with old shells:
                   3157: build_os=$*
                   3158: IFS=$ac_save_IFS
                   3159: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3160: 
                   3161: 
                   3162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3163: $as_echo_n "checking host system type... " >&6; }
                   3164: if ${ac_cv_host+:} false; then :
                   3165:   $as_echo_n "(cached) " >&6
                   3166: else
                   3167:   if test "x$host_alias" = x; then
                   3168:   ac_cv_host=$ac_cv_build
                   3169: else
                   3170:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3171:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.62      paf      3172: fi
                   3173: 
                   3174: fi
1.150     moko     3175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3176: $as_echo "$ac_cv_host" >&6; }
                   3177: case $ac_cv_host in
                   3178: *-*-*) ;;
                   3179: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3180: esac
1.62      paf      3181: host=$ac_cv_host
1.150     moko     3182: ac_save_IFS=$IFS; IFS='-'
                   3183: set x $ac_cv_host
                   3184: shift
                   3185: host_cpu=$1
                   3186: host_vendor=$2
                   3187: shift; shift
                   3188: # Remember, the first character of IFS is used to create $*,
                   3189: # except with old shells:
                   3190: host_os=$*
                   3191: IFS=$ac_save_IFS
                   3192: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.81      paf      3193: 
                   3194: 
                   3195: 
1.148     moko     3196: cat >>confdefs.h <<_ACEOF
                   3197: #define PARSER_VERSION "$VERSION (compiled on $host)"
1.147     moko     3198: _ACEOF
                   3199: 
                   3200: 
1.41      paf      3201: 
1.67      paf      3202: case $host_os in
                   3203:   *cygwin* )
1.150     moko     3204: $as_echo "#define CYGWIN /**/" >>confdefs.h
1.67      paf      3205: ;;
                   3206: esac
1.41      paf      3207: 
1.128     moko     3208: 
1.1       paf      3209: 
1.62      paf      3210: for ac_prog in gawk mawk nawk awk
1.41      paf      3211: do
1.62      paf      3212:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3213: set dummy $ac_prog; ac_word=$2
1.150     moko     3214: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3215: $as_echo_n "checking for $ac_word... " >&6; }
                   3216: if ${ac_cv_prog_AWK+:} false; then :
                   3217:   $as_echo_n "(cached) " >&6
1.41      paf      3218: else
                   3219:   if test -n "$AWK"; then
                   3220:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3221: else
1.62      paf      3222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3223: for as_dir in $PATH
                   3224: do
                   3225:   IFS=$as_save_IFS
                   3226:   test -z "$as_dir" && as_dir=.
1.150     moko     3227:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3228:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3229:     ac_cv_prog_AWK="$ac_prog"
1.150     moko     3230:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3231:     break 2
                   3232:   fi
                   3233: done
1.150     moko     3234:   done
                   3235: IFS=$as_save_IFS
1.62      paf      3236: 
1.41      paf      3237: fi
                   3238: fi
1.62      paf      3239: AWK=$ac_cv_prog_AWK
1.41      paf      3240: if test -n "$AWK"; then
1.150     moko     3241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3242: $as_echo "$AWK" >&6; }
1.41      paf      3243: else
1.150     moko     3244:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3245: $as_echo "no" >&6; }
1.41      paf      3246: fi
                   3247: 
1.150     moko     3248: 
1.62      paf      3249:   test -n "$AWK" && break
1.41      paf      3250: done
                   3251: 
                   3252: 
                   3253: for ac_prog in 'bison -y' byacc
                   3254: do
1.62      paf      3255:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.41      paf      3256: set dummy $ac_prog; ac_word=$2
1.150     moko     3257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3258: $as_echo_n "checking for $ac_word... " >&6; }
                   3259: if ${ac_cv_prog_YACC+:} false; then :
                   3260:   $as_echo_n "(cached) " >&6
1.41      paf      3261: else
                   3262:   if test -n "$YACC"; then
                   3263:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   3264: else
1.62      paf      3265: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3266: for as_dir in $PATH
                   3267: do
                   3268:   IFS=$as_save_IFS
                   3269:   test -z "$as_dir" && as_dir=.
1.150     moko     3270:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3271:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.62      paf      3272:     ac_cv_prog_YACC="$ac_prog"
1.150     moko     3273:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3274:     break 2
                   3275:   fi
                   3276: done
1.150     moko     3277:   done
                   3278: IFS=$as_save_IFS
1.62      paf      3279: 
1.41      paf      3280: fi
                   3281: fi
1.62      paf      3282: YACC=$ac_cv_prog_YACC
1.41      paf      3283: if test -n "$YACC"; then
1.150     moko     3284:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   3285: $as_echo "$YACC" >&6; }
1.41      paf      3286: else
1.150     moko     3287:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3288: $as_echo "no" >&6; }
1.41      paf      3289: fi
                   3290: 
1.150     moko     3291: 
1.62      paf      3292:   test -n "$YACC" && break
1.41      paf      3293: done
                   3294: test -n "$YACC" || YACC="yacc"
                   3295: 
                   3296: if test "$YACC" != "bison -y"; then
1.150     moko     3297:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&5
                   3298: $as_echo "$as_me: WARNING: to regenerate Parser grammar YOU WOULD NEED BISON" >&2;}
1.41      paf      3299: else
1.150     moko     3300:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version" >&5
                   3301: $as_echo_n "checking bison version... " >&6; }
1.67      paf      3302:        oldIFS=$IFS; IFS=.
                   3303:        set `bison -V | sed -e 's/^GNU Bison version //' -e 's/^bison (GNU Bison) //' -e 's/$/./'`
                   3304:        IFS=$oldIFS
                   3305:        if test "$1" = "1" -a "$2" -lt "25"; then
1.150     moko     3306:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&5
                   3307: $as_echo "$as_me: WARNING: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." >&2;}
1.67      paf      3308:        fi
1.150     moko     3309:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $1.$2 (ok)" >&5
                   3310: $as_echo "$1.$2 (ok)" >&6; }
1.62      paf      3311: fi
                   3312: 
1.150     moko     3313: ac_ext=cpp
1.66      paf      3314: ac_cpp='$CXXCPP $CPPFLAGS'
                   3315: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3316: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3317: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     3318: if test -z "$CXX"; then
                   3319:   if test -n "$CCC"; then
                   3320:     CXX=$CCC
                   3321:   else
                   3322:     if test -n "$ac_tool_prefix"; then
                   3323:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3324:   do
                   3325:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3326: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     3327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3328: $as_echo_n "checking for $ac_word... " >&6; }
                   3329: if ${ac_cv_prog_CXX+:} false; then :
                   3330:   $as_echo_n "(cached) " >&6
1.62      paf      3331: else
1.66      paf      3332:   if test -n "$CXX"; then
                   3333:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
1.62      paf      3334: else
                   3335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3336: for as_dir in $PATH
                   3337: do
                   3338:   IFS=$as_save_IFS
                   3339:   test -z "$as_dir" && as_dir=.
1.150     moko     3340:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3341:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3342:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1.150     moko     3343:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3344:     break 2
                   3345:   fi
                   3346: done
1.150     moko     3347:   done
                   3348: IFS=$as_save_IFS
1.62      paf      3349: 
                   3350: fi
                   3351: fi
1.66      paf      3352: CXX=$ac_cv_prog_CXX
                   3353: if test -n "$CXX"; then
1.150     moko     3354:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
                   3355: $as_echo "$CXX" >&6; }
1.62      paf      3356: else
1.150     moko     3357:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3358: $as_echo "no" >&6; }
1.41      paf      3359: fi
                   3360: 
1.150     moko     3361: 
1.66      paf      3362:     test -n "$CXX" && break
                   3363:   done
1.62      paf      3364: fi
1.66      paf      3365: if test -z "$CXX"; then
                   3366:   ac_ct_CXX=$CXX
1.150     moko     3367:   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1.66      paf      3368: do
                   3369:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3370: set dummy $ac_prog; ac_word=$2
1.150     moko     3371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3372: $as_echo_n "checking for $ac_word... " >&6; }
                   3373: if ${ac_cv_prog_ac_ct_CXX+:} false; then :
                   3374:   $as_echo_n "(cached) " >&6
1.62      paf      3375: else
1.66      paf      3376:   if test -n "$ac_ct_CXX"; then
                   3377:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1.62      paf      3378: else
                   3379: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3380: for as_dir in $PATH
                   3381: do
                   3382:   IFS=$as_save_IFS
                   3383:   test -z "$as_dir" && as_dir=.
1.150     moko     3384:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3385:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      3386:     ac_cv_prog_ac_ct_CXX="$ac_prog"
1.150     moko     3387:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      3388:     break 2
                   3389:   fi
                   3390: done
1.150     moko     3391:   done
                   3392: IFS=$as_save_IFS
1.62      paf      3393: 
                   3394: fi
                   3395: fi
1.66      paf      3396: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   3397: if test -n "$ac_ct_CXX"; then
1.150     moko     3398:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
                   3399: $as_echo "$ac_ct_CXX" >&6; }
1.62      paf      3400: else
1.150     moko     3401:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3402: $as_echo "no" >&6; }
1.62      paf      3403: fi
                   3404: 
1.150     moko     3405: 
1.66      paf      3406:   test -n "$ac_ct_CXX" && break
                   3407: done
                   3408: 
1.150     moko     3409:   if test "x$ac_ct_CXX" = x; then
                   3410:     CXX="g++"
                   3411:   else
                   3412:     case $cross_compiling:$ac_tool_warned in
                   3413: yes:)
                   3414: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3415: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3416: ac_tool_warned=yes ;;
                   3417: esac
                   3418:     CXX=$ac_ct_CXX
                   3419:   fi
1.62      paf      3420: fi
                   3421: 
1.150     moko     3422:   fi
                   3423: fi
1.66      paf      3424: # Provide some information about the compiler.
1.150     moko     3425: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
                   3426: set X $ac_compile
                   3427: ac_compiler=$2
                   3428: for ac_option in --version -v -V -qversion; do
                   3429:   { { ac_try="$ac_compiler $ac_option >&5"
                   3430: case "(($ac_try" in
                   3431:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3432:   *) ac_try_echo=$ac_try;;
                   3433: esac
                   3434: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3435: $as_echo "$ac_try_echo"; } >&5
                   3436:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.66      paf      3437:   ac_status=$?
1.150     moko     3438:   if test -s conftest.err; then
                   3439:     sed '10a\
                   3440: ... rest of stderr output deleted ...
                   3441:          10q' conftest.err >conftest.er1
                   3442:     cat conftest.er1 >&5
                   3443:   fi
                   3444:   rm -f conftest.er1 conftest.err
                   3445:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3446:   test $ac_status = 0; }
                   3447: done
1.66      paf      3448: 
1.150     moko     3449: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3450: /* end confdefs.h.  */
                   3451: 
                   3452: int
                   3453: main ()
                   3454: {
                   3455: 
                   3456:   ;
                   3457:   return 0;
                   3458: }
                   3459: _ACEOF
                   3460: ac_clean_files_save=$ac_clean_files
1.150     moko     3461: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.66      paf      3462: # Try to create an executable without -o first, disregard a.out.
                   3463: # It will help us diagnose broken compilers, and finding out an intuition
                   3464: # of exeext.
1.150     moko     3465: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
                   3466: $as_echo_n "checking whether the C++ compiler works... " >&6; }
                   3467: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3468: 
                   3469: # The possible output files:
                   3470: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3471: 
                   3472: ac_rmfiles=
                   3473: for ac_file in $ac_files
                   3474: do
                   3475:   case $ac_file in
                   3476:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3477:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3478:   esac
                   3479: done
                   3480: rm -f $ac_rmfiles
                   3481: 
                   3482: if { { ac_try="$ac_link_default"
                   3483: case "(($ac_try" in
                   3484:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3485:   *) ac_try_echo=$ac_try;;
                   3486: esac
                   3487: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3488: $as_echo "$ac_try_echo"; } >&5
                   3489:   (eval "$ac_link_default") 2>&5
                   3490:   ac_status=$?
                   3491:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3492:   test $ac_status = 0; }; then :
                   3493:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3494: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3495: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3496: # so that the user can short-circuit this test for compilers unknown to
                   3497: # Autoconf.
                   3498: for ac_file in $ac_files ''
1.62      paf      3499: do
1.66      paf      3500:   test -f "$ac_file" || continue
                   3501:   case $ac_file in
1.150     moko     3502:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.86      paf      3503:        ;;
1.66      paf      3504:     [ab].out )
1.86      paf      3505:        # We found the default executable, but exeext='' is most
                   3506:        # certainly right.
                   3507:        break;;
1.66      paf      3508:     *.* )
1.150     moko     3509:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3510:        then :; else
                   3511:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3512:        fi
                   3513:        # We set ac_cv_exeext here because the later test for it is not
                   3514:        # safe: cross compilers may not add the suffix if given an `-o'
                   3515:        # argument, so we may need to know it at that point already.
                   3516:        # Even if this section looks crufty: it has the advantage of
                   3517:        # actually working.
1.86      paf      3518:        break;;
1.66      paf      3519:     * )
1.86      paf      3520:        break;;
1.66      paf      3521:   esac
1.62      paf      3522: done
1.150     moko     3523: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3524: 
1.66      paf      3525: else
1.150     moko     3526:   ac_file=''
                   3527: fi
                   3528: if test -z "$ac_file"; then :
                   3529:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3530: $as_echo "no" >&6; }
                   3531: $as_echo "$as_me: failed program was:" >&5
1.66      paf      3532: sed 's/^/| /' conftest.$ac_ext >&5
1.62      paf      3533: 
1.150     moko     3534: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3535: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3536: as_fn_error 77 "C++ compiler cannot create executables
                   3537: See \`config.log' for more details" "$LINENO" 5; }
                   3538: else
                   3539:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3540: $as_echo "yes" >&6; }
1.1       paf      3541: fi
1.150     moko     3542: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
                   3543: $as_echo_n "checking for C++ compiler default output file name... " >&6; }
                   3544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3545: $as_echo "$ac_file" >&6; }
1.66      paf      3546: ac_exeext=$ac_cv_exeext
1.62      paf      3547: 
1.150     moko     3548: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.66      paf      3549: ac_clean_files=$ac_clean_files_save
1.150     moko     3550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3551: $as_echo_n "checking for suffix of executables... " >&6; }
                   3552: if { { ac_try="$ac_link"
                   3553: case "(($ac_try" in
                   3554:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3555:   *) ac_try_echo=$ac_try;;
                   3556: esac
                   3557: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3558: $as_echo "$ac_try_echo"; } >&5
                   3559:   (eval "$ac_link") 2>&5
1.62      paf      3560:   ac_status=$?
1.150     moko     3561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3562:   test $ac_status = 0; }; then :
1.62      paf      3563:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3564: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3565: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3566: # `rm'.
                   3567: for ac_file in conftest.exe conftest conftest.*; do
                   3568:   test -f "$ac_file" || continue
                   3569:   case $ac_file in
1.150     moko     3570:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.62      paf      3571:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.86      paf      3572:          break;;
1.62      paf      3573:     * ) break;;
                   3574:   esac
                   3575: done
                   3576: else
1.150     moko     3577:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3578: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3579: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3580: See \`config.log' for more details" "$LINENO" 5; }
                   3581: fi
                   3582: rm -f conftest conftest$ac_cv_exeext
                   3583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3584: $as_echo "$ac_cv_exeext" >&6; }
1.62      paf      3585: 
                   3586: rm -f conftest.$ac_ext
                   3587: EXEEXT=$ac_cv_exeext
                   3588: ac_exeext=$EXEEXT
1.150     moko     3589: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3590: /* end confdefs.h.  */
                   3591: #include <stdio.h>
                   3592: int
                   3593: main ()
                   3594: {
                   3595: FILE *f = fopen ("conftest.out", "w");
                   3596:  return ferror (f) || fclose (f) != 0;
                   3597: 
                   3598:   ;
                   3599:   return 0;
                   3600: }
                   3601: _ACEOF
                   3602: ac_clean_files="$ac_clean_files conftest.out"
                   3603: # Check that the compiler produces executables we can run.  If not, either
                   3604: # the compiler is broken, or we cross compile.
                   3605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3606: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3607: if test "$cross_compiling" != yes; then
                   3608:   { { ac_try="$ac_link"
                   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_link") 2>&5
                   3616:   ac_status=$?
                   3617:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3618:   test $ac_status = 0; }
                   3619:   if { ac_try='./conftest$ac_cv_exeext'
                   3620:   { { case "(($ac_try" in
                   3621:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3622:   *) ac_try_echo=$ac_try;;
                   3623: esac
                   3624: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3625: $as_echo "$ac_try_echo"; } >&5
                   3626:   (eval "$ac_try") 2>&5
                   3627:   ac_status=$?
                   3628:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3629:   test $ac_status = 0; }; }; then
                   3630:     cross_compiling=no
                   3631:   else
                   3632:     if test "$cross_compiling" = maybe; then
                   3633:        cross_compiling=yes
                   3634:     else
                   3635:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3636: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3637: as_fn_error $? "cannot run C++ compiled programs.
                   3638: If you meant to cross compile, use \`--host'.
                   3639: See \`config.log' for more details" "$LINENO" 5; }
                   3640:     fi
                   3641:   fi
                   3642: fi
                   3643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3644: $as_echo "$cross_compiling" >&6; }
                   3645: 
                   3646: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3647: ac_clean_files=$ac_clean_files_save
                   3648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3649: $as_echo_n "checking for suffix of object files... " >&6; }
                   3650: if ${ac_cv_objext+:} false; then :
                   3651:   $as_echo_n "(cached) " >&6
1.62      paf      3652: else
1.150     moko     3653:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3654: /* end confdefs.h.  */
                   3655: 
                   3656: int
                   3657: main ()
                   3658: {
                   3659: 
                   3660:   ;
                   3661:   return 0;
                   3662: }
                   3663: _ACEOF
                   3664: rm -f conftest.o conftest.obj
1.150     moko     3665: if { { ac_try="$ac_compile"
                   3666: case "(($ac_try" in
                   3667:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3668:   *) ac_try_echo=$ac_try;;
                   3669: esac
                   3670: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3671: $as_echo "$ac_try_echo"; } >&5
                   3672:   (eval "$ac_compile") 2>&5
                   3673:   ac_status=$?
                   3674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3675:   test $ac_status = 0; }; then :
                   3676:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3677:   test -f "$ac_file" || continue;
1.62      paf      3678:   case $ac_file in
1.150     moko     3679:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.62      paf      3680:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3681:        break;;
                   3682:   esac
                   3683: done
                   3684: else
1.150     moko     3685:   $as_echo "$as_me: failed program was:" >&5
1.62      paf      3686: sed 's/^/| /' conftest.$ac_ext >&5
                   3687: 
1.150     moko     3688: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3689: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3690: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3691: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      3692: fi
                   3693: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3694: fi
1.150     moko     3695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3696: $as_echo "$ac_cv_objext" >&6; }
1.66      paf      3697: OBJEXT=$ac_cv_objext
                   3698: ac_objext=$OBJEXT
1.150     moko     3699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
                   3700: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
                   3701: if ${ac_cv_cxx_compiler_gnu+:} false; then :
                   3702:   $as_echo_n "(cached) " >&6
1.62      paf      3703: else
1.150     moko     3704:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      3705: /* end confdefs.h.  */
1.66      paf      3706: 
1.62      paf      3707: int
                   3708: main ()
                   3709: {
1.66      paf      3710: #ifndef __GNUC__
                   3711:        choke me
                   3712: #endif
                   3713: 
1.62      paf      3714:   ;
                   3715:   return 0;
                   3716: }
                   3717: _ACEOF
1.150     moko     3718: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3719:   ac_compiler_gnu=yes
1.62      paf      3720: else
1.150     moko     3721:   ac_compiler_gnu=no
1.1       paf      3722: fi
1.150     moko     3723: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      3724: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1.1       paf      3725: 
                   3726: fi
1.150     moko     3727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
                   3728: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
                   3729: if test $ac_compiler_gnu = yes; then
                   3730:   GXX=yes
                   3731: else
                   3732:   GXX=
                   3733: fi
1.66      paf      3734: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   3735: ac_save_CXXFLAGS=$CXXFLAGS
1.150     moko     3736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
                   3737: $as_echo_n "checking whether $CXX accepts -g... " >&6; }
                   3738: if ${ac_cv_prog_cxx_g+:} false; then :
                   3739:   $as_echo_n "(cached) " >&6
                   3740: else
                   3741:   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
                   3742:    ac_cxx_werror_flag=yes
                   3743:    ac_cv_prog_cxx_g=no
                   3744:    CXXFLAGS="-g"
                   3745:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      3746: /* end confdefs.h.  */
1.1       paf      3747: 
1.66      paf      3748: int
                   3749: main ()
                   3750: {
1.1       paf      3751: 
1.66      paf      3752:   ;
                   3753:   return 0;
                   3754: }
1.62      paf      3755: _ACEOF
1.150     moko     3756: if ac_fn_cxx_try_compile "$LINENO"; then :
1.66      paf      3757:   ac_cv_prog_cxx_g=yes
                   3758: else
1.150     moko     3759:   CXXFLAGS=""
                   3760:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3761: /* end confdefs.h.  */
1.66      paf      3762: 
1.62      paf      3763: int
                   3764: main ()
                   3765: {
1.150     moko     3766: 
1.62      paf      3767:   ;
                   3768:   return 0;
                   3769: }
                   3770: _ACEOF
1.150     moko     3771: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3772: 
1.1       paf      3773: else
1.150     moko     3774:   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3775:         CXXFLAGS="-g"
                   3776:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3777: /* end confdefs.h.  */
1.62      paf      3778: 
                   3779: int
                   3780: main ()
                   3781: {
1.150     moko     3782: 
1.62      paf      3783:   ;
                   3784:   return 0;
                   3785: }
                   3786: _ACEOF
1.150     moko     3787: if ac_fn_cxx_try_compile "$LINENO"; then :
                   3788:   ac_cv_prog_cxx_g=yes
                   3789: fi
                   3790: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3791: fi
                   3792: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3793: fi
                   3794: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3795:    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
                   3796: fi
                   3797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
                   3798: $as_echo "$ac_cv_prog_cxx_g" >&6; }
                   3799: if test "$ac_test_CXXFLAGS" = set; then
                   3800:   CXXFLAGS=$ac_save_CXXFLAGS
                   3801: elif test $ac_cv_prog_cxx_g = yes; then
                   3802:   if test "$GXX" = yes; then
                   3803:     CXXFLAGS="-g -O2"
                   3804:   else
                   3805:     CXXFLAGS="-g"
                   3806:   fi
1.1       paf      3807: else
1.150     moko     3808:   if test "$GXX" = yes; then
                   3809:     CXXFLAGS="-O2"
                   3810:   else
                   3811:     CXXFLAGS=
                   3812:   fi
1.1       paf      3813: fi
1.62      paf      3814: ac_ext=c
                   3815: ac_cpp='$CPP $CPPFLAGS'
                   3816: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3817: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3818: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.86      paf      3819: DEPDIR="${am__leading_dot}deps"
1.62      paf      3820: 
1.150     moko     3821: ac_config_commands="$ac_config_commands depfiles"
1.62      paf      3822: 
                   3823: 
                   3824: am_make=${MAKE-make}
                   3825: cat > confinc << 'END'
1.86      paf      3826: am__doit:
1.150     moko     3827:        @echo this is the am__doit target
1.86      paf      3828: .PHONY: am__doit
1.62      paf      3829: END
                   3830: # If we don't find an include directive, just comment out the code.
1.150     moko     3831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3832: $as_echo_n "checking for style of include used by $am_make... " >&6; }
1.62      paf      3833: am__include="#"
                   3834: am__quote=
                   3835: _am_result=none
                   3836: # First try GNU make style include.
                   3837: echo "include confinc" > confmf
1.150     moko     3838: # Ignore all kinds of additional output from `make'.
                   3839: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3840: *the\ am__doit\ target*)
                   3841:   am__include=include
                   3842:   am__quote=
                   3843:   _am_result=GNU
                   3844:   ;;
                   3845: esac
1.62      paf      3846: # Now try BSD make style include.
                   3847: if test "$am__include" = "#"; then
                   3848:    echo '.include "confinc"' > confmf
1.150     moko     3849:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3850:    *the\ am__doit\ target*)
                   3851:      am__include=.include
                   3852:      am__quote="\""
                   3853:      _am_result=BSD
                   3854:      ;;
                   3855:    esac
1.62      paf      3856: fi
                   3857: 
                   3858: 
1.150     moko     3859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3860: $as_echo "$_am_result" >&6; }
1.62      paf      3861: rm -f confinc confmf
                   3862: 
1.150     moko     3863: # Check whether --enable-dependency-tracking was given.
                   3864: if test "${enable_dependency_tracking+set}" = set; then :
                   3865:   enableval=$enable_dependency_tracking;
                   3866: fi
1.62      paf      3867: 
                   3868: if test "x$enable_dependency_tracking" != xno; then
                   3869:   am_depcomp="$ac_aux_dir/depcomp"
                   3870:   AMDEPBACKSLASH='\'
1.1       paf      3871: fi
1.150     moko     3872:  if test "x$enable_dependency_tracking" != xno; then
1.62      paf      3873:   AMDEP_TRUE=
                   3874:   AMDEP_FALSE='#'
                   3875: else
                   3876:   AMDEP_TRUE='#'
                   3877:   AMDEP_FALSE=
                   3878: fi
1.1       paf      3879: 
                   3880: 
                   3881: 
1.66      paf      3882: depcc="$CXX"  am_compiler_list=
1.1       paf      3883: 
1.150     moko     3884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3885: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3886: if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
                   3887:   $as_echo_n "(cached) " >&6
1.62      paf      3888: else
                   3889:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3890:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3891:   # making bogus files that we don't know about and never remove.  For
                   3892:   # instance it was reported that on HP-UX the gcc test will end up
                   3893:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3894:   # in D'.
                   3895:   mkdir conftest.dir
                   3896:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3897:   # using a relative directory.
                   3898:   cp "$am_depcomp" conftest.dir
                   3899:   cd conftest.dir
1.86      paf      3900:   # We will build objects and dependencies in a subdirectory because
                   3901:   # it helps to detect inapplicable dependency modes.  For instance
                   3902:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3903:   # side effect of compilation, but ICC will put the dependencies in
                   3904:   # the current directory while Tru64 will put them in the object
                   3905:   # directory.
                   3906:   mkdir sub
1.1       paf      3907: 
1.66      paf      3908:   am_cv_CXX_dependencies_compiler_type=none
1.62      paf      3909:   if test "$am_compiler_list" = ""; then
                   3910:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1.1       paf      3911:   fi
1.150     moko     3912:   am__universal=false
                   3913:   case " $depcc " in #(
                   3914:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3915:      esac
                   3916: 
1.62      paf      3917:   for depmode in $am_compiler_list; do
1.86      paf      3918:     # Setup a source with many dependencies, because some compilers
                   3919:     # like to wrap large dependency lists on column 80 (with \), and
                   3920:     # we should not choose a depcomp mode which is confused by this.
                   3921:     #
1.62      paf      3922:     # We need to recreate these files for each test, as the compiler may
                   3923:     # overwrite some of them when testing with obscure command lines.
                   3924:     # This happens at least with the AIX C compiler.
1.86      paf      3925:     : > sub/conftest.c
                   3926:     for i in 1 2 3 4 5 6; do
                   3927:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3928:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3929:       # Solaris 8's {/usr,}/bin/sh.
                   3930:       touch sub/conftst$i.h
                   3931:     done
                   3932:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      3933: 
1.150     moko     3934:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3935:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3936:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3937:     # versions had trouble with output in subdirs
                   3938:     am__obj=sub/conftest.${OBJEXT-o}
                   3939:     am__minus_obj="-o $am__obj"
1.62      paf      3940:     case $depmode in
1.150     moko     3941:     gcc)
                   3942:       # This depmode causes a compiler race in universal mode.
                   3943:       test "$am__universal" = false || continue
                   3944:       ;;
1.62      paf      3945:     nosideeffect)
                   3946:       # after this tag, mechanisms are not by side-effect, so they'll
                   3947:       # only be used when explicitly requested
                   3948:       if test "x$enable_dependency_tracking" = xyes; then
                   3949:        continue
                   3950:       else
                   3951:        break
                   3952:       fi
                   3953:       ;;
1.150     moko     3954:     msvisualcpp | msvcmsys)
                   3955:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3956:       # not run yet.  These depmodes are late enough in the game, and
                   3957:       # so weak that their functioning should not be impacted.
                   3958:       am__obj=conftest.${OBJEXT-o}
                   3959:       am__minus_obj=
                   3960:       ;;
1.62      paf      3961:     none) break ;;
                   3962:     esac
                   3963:     if depmode=$depmode \
1.150     moko     3964:        source=sub/conftest.c object=$am__obj \
1.86      paf      3965:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     3966:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      3967:          >/dev/null 2>conftest.err &&
1.150     moko     3968:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      3969:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     3970:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.62      paf      3971:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      3972:       # icc doesn't choke on unknown options, it will just issue warnings
                   3973:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3974:       # that says an option was ignored or not supported.
                   3975:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3976:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3977:       # The diagnosis changed in icc 8.0:
                   3978:       #   icc: Command line remark: option '-MP' not supported
                   3979:       if (grep 'ignoring option' conftest.err ||
                   3980:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3981:         am_cv_CXX_dependencies_compiler_type=$depmode
                   3982:         break
                   3983:       fi
1.66      paf      3984:     fi
                   3985:   done
                   3986: 
                   3987:   cd ..
                   3988:   rm -rf conftest.dir
                   3989: else
                   3990:   am_cv_CXX_dependencies_compiler_type=none
                   3991: fi
                   3992: 
                   3993: fi
1.150     moko     3994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   3995: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
1.66      paf      3996: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   3997: 
1.150     moko     3998:  if
1.66      paf      3999:   test "x$enable_dependency_tracking" != xno \
                   4000:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   4001:   am__fastdepCXX_TRUE=
                   4002:   am__fastdepCXX_FALSE='#'
                   4003: else
                   4004:   am__fastdepCXX_TRUE='#'
                   4005:   am__fastdepCXX_FALSE=
                   4006: fi
                   4007: 
                   4008: 
                   4009: ac_ext=c
                   4010: ac_cpp='$CPP $CPPFLAGS'
                   4011: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4012: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4013: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4014: if test -n "$ac_tool_prefix"; then
                   4015:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4016: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.150     moko     4017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4018: $as_echo_n "checking for $ac_word... " >&6; }
                   4019: if ${ac_cv_prog_CC+:} false; then :
                   4020:   $as_echo_n "(cached) " >&6
1.66      paf      4021: else
                   4022:   if test -n "$CC"; then
                   4023:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4024: else
                   4025: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4026: for as_dir in $PATH
                   4027: do
                   4028:   IFS=$as_save_IFS
                   4029:   test -z "$as_dir" && as_dir=.
1.150     moko     4030:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4031:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4032:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.150     moko     4033:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4034:     break 2
                   4035:   fi
                   4036: done
1.150     moko     4037:   done
                   4038: IFS=$as_save_IFS
1.66      paf      4039: 
                   4040: fi
                   4041: fi
                   4042: CC=$ac_cv_prog_CC
                   4043: if test -n "$CC"; then
1.150     moko     4044:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4045: $as_echo "$CC" >&6; }
1.66      paf      4046: else
1.150     moko     4047:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4048: $as_echo "no" >&6; }
1.66      paf      4049: fi
                   4050: 
1.150     moko     4051: 
1.66      paf      4052: fi
                   4053: if test -z "$ac_cv_prog_CC"; then
                   4054:   ac_ct_CC=$CC
                   4055:   # Extract the first word of "gcc", so it can be a program name with args.
                   4056: set dummy gcc; ac_word=$2
1.150     moko     4057: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4058: $as_echo_n "checking for $ac_word... " >&6; }
                   4059: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4060:   $as_echo_n "(cached) " >&6
1.66      paf      4061: else
                   4062:   if test -n "$ac_ct_CC"; then
                   4063:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4064: else
                   4065: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4066: for as_dir in $PATH
                   4067: do
                   4068:   IFS=$as_save_IFS
                   4069:   test -z "$as_dir" && as_dir=.
1.150     moko     4070:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4071:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4072:     ac_cv_prog_ac_ct_CC="gcc"
1.150     moko     4073:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4074:     break 2
                   4075:   fi
                   4076: done
1.150     moko     4077:   done
                   4078: IFS=$as_save_IFS
1.66      paf      4079: 
                   4080: fi
                   4081: fi
                   4082: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4083: if test -n "$ac_ct_CC"; then
1.150     moko     4084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4085: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4086: else
1.150     moko     4087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4088: $as_echo "no" >&6; }
1.62      paf      4089: fi
                   4090: 
1.150     moko     4091:   if test "x$ac_ct_CC" = x; then
                   4092:     CC=""
                   4093:   else
                   4094:     case $cross_compiling:$ac_tool_warned in
                   4095: yes:)
                   4096: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4097: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4098: ac_tool_warned=yes ;;
                   4099: esac
                   4100:     CC=$ac_ct_CC
                   4101:   fi
1.66      paf      4102: else
                   4103:   CC="$ac_cv_prog_CC"
1.1       paf      4104: fi
1.62      paf      4105: 
1.66      paf      4106: if test -z "$CC"; then
1.150     moko     4107:           if test -n "$ac_tool_prefix"; then
                   4108:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.66      paf      4109: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.150     moko     4110: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4111: $as_echo_n "checking for $ac_word... " >&6; }
                   4112: if ${ac_cv_prog_CC+:} false; then :
                   4113:   $as_echo_n "(cached) " >&6
1.66      paf      4114: else
                   4115:   if test -n "$CC"; then
                   4116:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4117: else
                   4118: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4119: for as_dir in $PATH
                   4120: do
                   4121:   IFS=$as_save_IFS
                   4122:   test -z "$as_dir" && as_dir=.
1.150     moko     4123:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4124:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4125:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.150     moko     4126:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4127:     break 2
                   4128:   fi
                   4129: done
1.150     moko     4130:   done
                   4131: IFS=$as_save_IFS
1.62      paf      4132: 
1.66      paf      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.62      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
1.1       paf      4146: fi
1.66      paf      4147: if test -z "$CC"; then
                   4148:   # Extract the first word of "cc", so it can be a program name with args.
                   4149: set dummy cc; ac_word=$2
1.150     moko     4150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4151: $as_echo_n "checking for $ac_word... " >&6; }
                   4152: if ${ac_cv_prog_CC+:} false; then :
                   4153:   $as_echo_n "(cached) " >&6
1.66      paf      4154: else
                   4155:   if test -n "$CC"; then
                   4156:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4157: else
                   4158:   ac_prog_rejected=no
                   4159: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4160: for as_dir in $PATH
                   4161: do
                   4162:   IFS=$as_save_IFS
                   4163:   test -z "$as_dir" && as_dir=.
1.150     moko     4164:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4165:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4166:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4167:        ac_prog_rejected=yes
                   4168:        continue
                   4169:      fi
                   4170:     ac_cv_prog_CC="cc"
1.150     moko     4171:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.66      paf      4172:     break 2
                   4173:   fi
                   4174: done
1.150     moko     4175:   done
                   4176: IFS=$as_save_IFS
1.62      paf      4177: 
1.66      paf      4178: if test $ac_prog_rejected = yes; then
                   4179:   # We found a bogon in the path, so make sure we never use it.
                   4180:   set dummy $ac_cv_prog_CC
                   4181:   shift
                   4182:   if test $# != 0; then
                   4183:     # We chose a different compiler from the bogus one.
                   4184:     # However, it has the same basename, so the bogon will be chosen
                   4185:     # first if we set CC to just the basename; use the full file name.
                   4186:     shift
                   4187:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4188:   fi
                   4189: fi
                   4190: fi
                   4191: fi
                   4192: CC=$ac_cv_prog_CC
                   4193: if test -n "$CC"; then
1.150     moko     4194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4195: $as_echo "$CC" >&6; }
1.66      paf      4196: else
1.150     moko     4197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4198: $as_echo "no" >&6; }
1.1       paf      4199: fi
                   4200: 
1.150     moko     4201: 
1.66      paf      4202: fi
                   4203: if test -z "$CC"; then
                   4204:   if test -n "$ac_tool_prefix"; then
1.150     moko     4205:   for ac_prog in cl.exe
1.62      paf      4206:   do
                   4207:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4208: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     4209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4210: $as_echo_n "checking for $ac_word... " >&6; }
                   4211: if ${ac_cv_prog_CC+:} false; then :
                   4212:   $as_echo_n "(cached) " >&6
1.62      paf      4213: else
1.66      paf      4214:   if test -n "$CC"; then
                   4215:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.62      paf      4216: else
                   4217: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4218: for as_dir in $PATH
                   4219: do
                   4220:   IFS=$as_save_IFS
                   4221:   test -z "$as_dir" && as_dir=.
1.150     moko     4222:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4223:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4224:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.150     moko     4225:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4226:     break 2
                   4227:   fi
                   4228: done
1.150     moko     4229:   done
                   4230: IFS=$as_save_IFS
1.1       paf      4231: 
1.62      paf      4232: fi
                   4233: fi
1.66      paf      4234: CC=$ac_cv_prog_CC
                   4235: if test -n "$CC"; then
1.150     moko     4236:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4237: $as_echo "$CC" >&6; }
1.1       paf      4238: else
1.150     moko     4239:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4240: $as_echo "no" >&6; }
1.1       paf      4241: fi
                   4242: 
1.150     moko     4243: 
1.66      paf      4244:     test -n "$CC" && break
1.62      paf      4245:   done
                   4246: fi
1.66      paf      4247: if test -z "$CC"; then
                   4248:   ac_ct_CC=$CC
1.150     moko     4249:   for ac_prog in cl.exe
1.62      paf      4250: do
                   4251:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4252: set dummy $ac_prog; ac_word=$2
1.150     moko     4253: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4254: $as_echo_n "checking for $ac_word... " >&6; }
                   4255: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4256:   $as_echo_n "(cached) " >&6
1.62      paf      4257: else
1.66      paf      4258:   if test -n "$ac_ct_CC"; then
                   4259:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       paf      4260: else
1.62      paf      4261: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4262: for as_dir in $PATH
                   4263: do
                   4264:   IFS=$as_save_IFS
                   4265:   test -z "$as_dir" && as_dir=.
1.150     moko     4266:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4267:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.66      paf      4268:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.150     moko     4269:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.62      paf      4270:     break 2
                   4271:   fi
                   4272: done
1.150     moko     4273:   done
                   4274: IFS=$as_save_IFS
1.62      paf      4275: 
                   4276: fi
                   4277: fi
1.66      paf      4278: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4279: if test -n "$ac_ct_CC"; then
1.150     moko     4280:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4281: $as_echo "$ac_ct_CC" >&6; }
1.1       paf      4282: else
1.150     moko     4283:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4284: $as_echo "no" >&6; }
1.1       paf      4285: fi
                   4286: 
1.150     moko     4287: 
1.66      paf      4288:   test -n "$ac_ct_CC" && break
                   4289: done
                   4290: 
1.150     moko     4291:   if test "x$ac_ct_CC" = x; then
                   4292:     CC=""
                   4293:   else
                   4294:     case $cross_compiling:$ac_tool_warned in
                   4295: yes:)
                   4296: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4297: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4298: ac_tool_warned=yes ;;
                   4299: esac
                   4300:     CC=$ac_ct_CC
                   4301:   fi
1.66      paf      4302: fi
                   4303: 
                   4304: fi
1.62      paf      4305: 
1.1       paf      4306: 
1.150     moko     4307: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4308: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4309: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4310: See \`config.log' for more details" "$LINENO" 5; }
1.62      paf      4311: 
                   4312: # Provide some information about the compiler.
1.150     moko     4313: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4314: set X $ac_compile
                   4315: ac_compiler=$2
                   4316: for ac_option in --version -v -V -qversion; do
                   4317:   { { ac_try="$ac_compiler $ac_option >&5"
                   4318: case "(($ac_try" in
                   4319:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4320:   *) ac_try_echo=$ac_try;;
                   4321: esac
                   4322: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4323: $as_echo "$ac_try_echo"; } >&5
                   4324:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.62      paf      4325:   ac_status=$?
1.150     moko     4326:   if test -s conftest.err; then
                   4327:     sed '10a\
                   4328: ... rest of stderr output deleted ...
                   4329:          10q' conftest.err >conftest.er1
                   4330:     cat conftest.er1 >&5
                   4331:   fi
                   4332:   rm -f conftest.er1 conftest.err
                   4333:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4334:   test $ac_status = 0; }
                   4335: done
                   4336: 
                   4337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4338: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4339: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4340:   $as_echo_n "(cached) " >&6
1.62      paf      4341: else
1.150     moko     4342:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4343: /* end confdefs.h.  */
                   4344: 
                   4345: int
                   4346: main ()
                   4347: {
                   4348: #ifndef __GNUC__
                   4349:        choke me
                   4350: #endif
                   4351: 
                   4352:   ;
                   4353:   return 0;
                   4354: }
                   4355: _ACEOF
1.150     moko     4356: if ac_fn_c_try_compile "$LINENO"; then :
1.62      paf      4357:   ac_compiler_gnu=yes
                   4358: else
1.150     moko     4359:   ac_compiler_gnu=no
1.62      paf      4360: fi
1.150     moko     4361: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      4362: ac_cv_c_compiler_gnu=$ac_compiler_gnu
1.62      paf      4363: 
                   4364: fi
1.150     moko     4365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4366: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4367: if test $ac_compiler_gnu = yes; then
                   4368:   GCC=yes
                   4369: else
                   4370:   GCC=
                   4371: fi
1.66      paf      4372: ac_test_CFLAGS=${CFLAGS+set}
                   4373: ac_save_CFLAGS=$CFLAGS
1.150     moko     4374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4375: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4376: if ${ac_cv_prog_cc_g+:} false; then :
                   4377:   $as_echo_n "(cached) " >&6
                   4378: else
                   4379:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4380:    ac_c_werror_flag=yes
                   4381:    ac_cv_prog_cc_g=no
                   4382:    CFLAGS="-g"
                   4383:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      4384: /* end confdefs.h.  */
                   4385: 
                   4386: int
                   4387: main ()
                   4388: {
                   4389: 
                   4390:   ;
                   4391:   return 0;
                   4392: }
                   4393: _ACEOF
1.150     moko     4394: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      4395:   ac_cv_prog_cc_g=yes
1.62      paf      4396: else
1.150     moko     4397:   CFLAGS=""
                   4398:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4399: /* end confdefs.h.  */
                   4400: 
                   4401: int
                   4402: main ()
                   4403: {
1.62      paf      4404: 
1.150     moko     4405:   ;
                   4406:   return 0;
                   4407: }
                   4408: _ACEOF
                   4409: if ac_fn_c_try_compile "$LINENO"; then :
                   4410: 
                   4411: else
                   4412:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4413:         CFLAGS="-g"
                   4414:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4415: /* end confdefs.h.  */
                   4416: 
                   4417: int
                   4418: main ()
                   4419: {
                   4420: 
                   4421:   ;
                   4422:   return 0;
                   4423: }
                   4424: _ACEOF
                   4425: if ac_fn_c_try_compile "$LINENO"; then :
                   4426:   ac_cv_prog_cc_g=yes
                   4427: fi
                   4428: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4429: fi
1.150     moko     4430: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      4431: fi
1.150     moko     4432: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4433:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4434: fi
                   4435: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4436: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.66      paf      4437: if test "$ac_test_CFLAGS" = set; then
                   4438:   CFLAGS=$ac_save_CFLAGS
                   4439: elif test $ac_cv_prog_cc_g = yes; then
                   4440:   if test "$GCC" = yes; then
                   4441:     CFLAGS="-g -O2"
1.1       paf      4442:   else
1.66      paf      4443:     CFLAGS="-g"
1.1       paf      4444:   fi
                   4445: else
1.66      paf      4446:   if test "$GCC" = yes; then
                   4447:     CFLAGS="-O2"
1.1       paf      4448:   else
1.66      paf      4449:     CFLAGS=
1.1       paf      4450:   fi
                   4451: fi
1.150     moko     4452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4453: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4454: if ${ac_cv_prog_cc_c89+:} false; then :
                   4455:   $as_echo_n "(cached) " >&6
1.66      paf      4456: else
1.150     moko     4457:   ac_cv_prog_cc_c89=no
1.66      paf      4458: ac_save_CC=$CC
1.150     moko     4459: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      4460: /* end confdefs.h.  */
                   4461: #include <stdarg.h>
                   4462: #include <stdio.h>
                   4463: #include <sys/types.h>
                   4464: #include <sys/stat.h>
                   4465: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4466: struct buf { int x; };
                   4467: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4468: static char *e (p, i)
                   4469:      char **p;
                   4470:      int i;
                   4471: {
                   4472:   return p[i];
                   4473: }
                   4474: static char *f (char * (*g) (char **, int), char **p, ...)
                   4475: {
                   4476:   char *s;
                   4477:   va_list v;
                   4478:   va_start (v,p);
                   4479:   s = g (p, va_arg (v,int));
                   4480:   va_end (v);
                   4481:   return s;
                   4482: }
1.86      paf      4483: 
                   4484: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4485:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4486:    These don't provoke an error unfortunately, instead are silently treated
1.150     moko     4487:    as 'x'.  The following induces an error, until -std is added to get
1.86      paf      4488:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4489:    array size at least.  It's necessary to write '\x00'==0 to get something
1.150     moko     4490:    that's true only with -std.  */
1.86      paf      4491: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4492: 
1.150     moko     4493: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4494:    inside strings and character constants.  */
                   4495: #define FOO(x) 'x'
                   4496: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4497: 
1.66      paf      4498: int test (int i, double x);
                   4499: struct s1 {int (*f) (int a);};
                   4500: struct s2 {int (*f) (double a);};
                   4501: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4502: int argc;
                   4503: char **argv;
                   4504: int
                   4505: main ()
                   4506: {
                   4507: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4508:   ;
                   4509:   return 0;
                   4510: }
                   4511: _ACEOF
1.150     moko     4512: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4513:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.66      paf      4514: do
                   4515:   CC="$ac_save_CC $ac_arg"
1.150     moko     4516:   if ac_fn_c_try_compile "$LINENO"; then :
                   4517:   ac_cv_prog_cc_c89=$ac_arg
1.66      paf      4518: fi
1.150     moko     4519: rm -f core conftest.err conftest.$ac_objext
                   4520:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.66      paf      4521: done
1.150     moko     4522: rm -f conftest.$ac_ext
1.66      paf      4523: CC=$ac_save_CC
                   4524: 
                   4525: fi
1.150     moko     4526: # AC_CACHE_VAL
                   4527: case "x$ac_cv_prog_cc_c89" in
                   4528:   x)
                   4529:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4530: $as_echo "none needed" >&6; } ;;
                   4531:   xno)
                   4532:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4533: $as_echo "unsupported" >&6; } ;;
1.66      paf      4534:   *)
1.150     moko     4535:     CC="$CC $ac_cv_prog_cc_c89"
                   4536:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4537: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.66      paf      4538: esac
1.150     moko     4539: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.62      paf      4540: 
                   4541: fi
1.66      paf      4542: 
1.62      paf      4543: ac_ext=c
                   4544: ac_cpp='$CPP $CPPFLAGS'
                   4545: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4546: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4547: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4548: 
1.66      paf      4549: depcc="$CC"   am_compiler_list=
1.62      paf      4550: 
1.150     moko     4551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4552: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4553: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4554:   $as_echo_n "(cached) " >&6
1.62      paf      4555: else
                   4556:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4557:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4558:   # making bogus files that we don't know about and never remove.  For
                   4559:   # instance it was reported that on HP-UX the gcc test will end up
                   4560:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4561:   # in D'.
                   4562:   mkdir conftest.dir
                   4563:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4564:   # using a relative directory.
                   4565:   cp "$am_depcomp" conftest.dir
                   4566:   cd conftest.dir
1.86      paf      4567:   # We will build objects and dependencies in a subdirectory because
                   4568:   # it helps to detect inapplicable dependency modes.  For instance
                   4569:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4570:   # side effect of compilation, but ICC will put the dependencies in
                   4571:   # the current directory while Tru64 will put them in the object
                   4572:   # directory.
                   4573:   mkdir sub
1.62      paf      4574: 
1.66      paf      4575:   am_cv_CC_dependencies_compiler_type=none
1.62      paf      4576:   if test "$am_compiler_list" = ""; then
                   4577:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4578:   fi
1.150     moko     4579:   am__universal=false
                   4580:   case " $depcc " in #(
                   4581:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4582:      esac
                   4583: 
1.62      paf      4584:   for depmode in $am_compiler_list; do
1.86      paf      4585:     # Setup a source with many dependencies, because some compilers
                   4586:     # like to wrap large dependency lists on column 80 (with \), and
                   4587:     # we should not choose a depcomp mode which is confused by this.
                   4588:     #
1.62      paf      4589:     # We need to recreate these files for each test, as the compiler may
                   4590:     # overwrite some of them when testing with obscure command lines.
                   4591:     # This happens at least with the AIX C compiler.
1.86      paf      4592:     : > sub/conftest.c
                   4593:     for i in 1 2 3 4 5 6; do
                   4594:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4595:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4596:       # Solaris 8's {/usr,}/bin/sh.
                   4597:       touch sub/conftst$i.h
                   4598:     done
                   4599:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.62      paf      4600: 
1.150     moko     4601:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4602:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4603:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4604:     # versions had trouble with output in subdirs
                   4605:     am__obj=sub/conftest.${OBJEXT-o}
                   4606:     am__minus_obj="-o $am__obj"
1.62      paf      4607:     case $depmode in
1.150     moko     4608:     gcc)
                   4609:       # This depmode causes a compiler race in universal mode.
                   4610:       test "$am__universal" = false || continue
                   4611:       ;;
1.62      paf      4612:     nosideeffect)
                   4613:       # after this tag, mechanisms are not by side-effect, so they'll
                   4614:       # only be used when explicitly requested
                   4615:       if test "x$enable_dependency_tracking" = xyes; then
                   4616:        continue
                   4617:       else
                   4618:        break
                   4619:       fi
                   4620:       ;;
1.150     moko     4621:     msvisualcpp | msvcmsys)
                   4622:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4623:       # not run yet.  These depmodes are late enough in the game, and
                   4624:       # so weak that their functioning should not be impacted.
                   4625:       am__obj=conftest.${OBJEXT-o}
                   4626:       am__minus_obj=
                   4627:       ;;
1.62      paf      4628:     none) break ;;
                   4629:     esac
1.66      paf      4630:     if depmode=$depmode \
1.150     moko     4631:        source=sub/conftest.c object=$am__obj \
1.86      paf      4632:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.150     moko     4633:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.86      paf      4634:          >/dev/null 2>conftest.err &&
1.150     moko     4635:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.86      paf      4636:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.150     moko     4637:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.66      paf      4638:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.86      paf      4639:       # icc doesn't choke on unknown options, it will just issue warnings
                   4640:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4641:       # that says an option was ignored or not supported.
                   4642:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4643:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4644:       # The diagnosis changed in icc 8.0:
                   4645:       #   icc: Command line remark: option '-MP' not supported
                   4646:       if (grep 'ignoring option' conftest.err ||
                   4647:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4648:         am_cv_CC_dependencies_compiler_type=$depmode
                   4649:         break
                   4650:       fi
1.66      paf      4651:     fi
                   4652:   done
                   4653: 
                   4654:   cd ..
                   4655:   rm -rf conftest.dir
                   4656: else
                   4657:   am_cv_CC_dependencies_compiler_type=none
                   4658: fi
                   4659: 
                   4660: fi
1.150     moko     4661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4662: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.66      paf      4663: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4664: 
1.150     moko     4665:  if
1.66      paf      4666:   test "x$enable_dependency_tracking" != xno \
                   4667:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4668:   am__fastdepCC_TRUE=
                   4669:   am__fastdepCC_FALSE='#'
                   4670: else
                   4671:   am__fastdepCC_TRUE='#'
                   4672:   am__fastdepCC_FALSE=
                   4673: fi
                   4674: 
                   4675: 
1.128     moko     4676: 
1.66      paf      4677: ac_ext=c
                   4678: ac_cpp='$CPP $CPPFLAGS'
                   4679: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4680: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4681: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4682: 
1.67      paf      4683: 
1.62      paf      4684: 
1.150     moko     4685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dynamic-link library extension" >&5
                   4686: $as_echo_n "checking for dynamic-link library extension... " >&6; }
1.128     moko     4687: case "$host_os" in
1.158     moko     4688:   *cygwin* ) dll_extension=dll;;
                   4689:   * ) dll_extension=so
1.66      paf      4690: esac
1.150     moko     4691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dll_extension" >&5
                   4692: $as_echo "$dll_extension" >&6; }
1.1       paf      4693: 
1.71      paf      4694: 
                   4695: 
                   4696: 
1.150     moko     4697: # Check whether --with-build-warnings was given.
                   4698: if test "${with_build_warnings+set}" = set; then :
                   4699:   withval=$with_build_warnings; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling compiler warnings" >&5
                   4700: $as_echo "$as_me: WARNING: enabling compiler warnings" >&2;}
1.71      paf      4701:        CXXFLAGS="$CXXFLAGS -W -Wall -Wstrict-prototypes -Wmissing-prototypes"
                   4702: 
1.150     moko     4703: fi
                   4704: 
1.1       paf      4705: 
                   4706: 
1.150     moko     4707: # Check whether --with-assertions was given.
                   4708: if test "${with_assertions+set}" = set; then :
                   4709:   withval=$with_assertions; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling assertions" >&5
                   4710: $as_echo "$as_me: WARNING: enabling assertions" >&2;}
1.67      paf      4711: 
                   4712: else
                   4713: 
1.150     moko     4714: $as_echo "#define NDEBUG /**/" >>confdefs.h
                   4715: 
1.67      paf      4716: 
1.150     moko     4717: fi
1.67      paf      4718: 
                   4719: 
1.94      misha    4720: 
1.150     moko     4721: # Check whether --with-sjlj-exceptions was given.
                   4722: if test "${with_sjlj_exceptions+set}" = set; then :
                   4723:   withval=$with_sjlj_exceptions;
                   4724: $as_echo "#define PA_WITH_SJLJ_EXCEPTIONS /**/" >>confdefs.h
1.128     moko     4725: 
                   4726: 
1.150     moko     4727: fi
1.128     moko     4728: 
                   4729: 
1.62      paf      4730: 
1.150     moko     4731: # Check whether --enable-safe-mode was given.
                   4732: if test "${enable_safe_mode+set}" = set; then :
                   4733:   enableval=$enable_safe_mode;
1.67      paf      4734:        SAFE_MODE=$enableval
1.60      paf      4735: 
1.1       paf      4736: 
1.150     moko     4737: fi
                   4738: 
1.128     moko     4739: 
1.60      paf      4740: if test "$SAFE_MODE" = "no"; then
1.150     moko     4741:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: enabling reading of files belonging to group+user other then effective" >&5
                   4742: $as_echo "$as_me: WARNING: enabling reading of files belonging to group+user other then effective" >&2;}
1.60      paf      4743: else
1.62      paf      4744: 
1.150     moko     4745: $as_echo "#define PA_SAFE_MODE /**/" >>confdefs.h
1.1       paf      4746: 
                   4747: fi
                   4748: 
1.94      misha    4749: 
1.150     moko     4750: # Check whether --enable-execs was given.
                   4751: if test "${enable_execs+set}" = set; then :
                   4752:   enableval=$enable_execs;
1.13      paf      4753: if test "$enableval" = "no"; then
1.150     moko     4754:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling file execs" >&5
                   4755: $as_echo "$as_me: WARNING: disabling file execs" >&2;}
1.62      paf      4756: 
1.150     moko     4757: $as_echo "#define NO_PA_EXECS /**/" >>confdefs.h
1.13      paf      4758: 
                   4759: fi
                   4760: 
                   4761: 
1.150     moko     4762: fi
1.13      paf      4763: 
1.60      paf      4764: 
1.94      misha    4765: 
1.150     moko     4766: # Check whether --enable-stringstream was given.
                   4767: if test "${enable_stringstream+set}" = set; then :
                   4768:   enableval=$enable_stringstream;
1.94      misha    4769: if test "$enableval" = "no"; then
1.150     moko     4770:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling stringstream usage" >&5
                   4771: $as_echo "$as_me: WARNING: disabling stringstream usage" >&2;}
1.94      misha    4772: 
1.150     moko     4773: $as_echo "#define NO_STRINGSTREAM /**/" >>confdefs.h
1.94      misha    4774: 
                   4775: fi
                   4776: 
                   4777: 
1.150     moko     4778: fi
1.94      misha    4779: 
                   4780: 
1.62      paf      4781: 
1.17      paf      4782: 
1.150     moko     4783: # Check whether --with-gc was given.
                   4784: if test "${with_gc+set}" = set; then :
                   4785:   withval=$with_gc;
1.17      paf      4786: 
1.142     moko     4787:        GC=$withval
                   4788:        GC_LIBS="$GC/libgc.la"
                   4789: 
                   4790:        if test -f $GC_LIBS; then
                   4791:                GC_OK="yes"
                   4792:        else
                   4793:                GC_LIBS="-L$GC -lgc"
                   4794:        fi
1.62      paf      4795: 
1.151     moko     4796:        if test "$GC" = "yes"; then
                   4797:                GC=""
                   4798:                GC_LIBS="-lgc"
                   4799:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc value was not specified, hoping linker would find it" >&5
                   4800: $as_echo "$as_me: WARNING: --with-gc value was not specified, hoping linker would find it" >&2;}
                   4801:        fi
                   4802: 
1.142     moko     4803: else
1.17      paf      4804: 
1.142     moko     4805:        GC_LIBS="-lgc"
1.150     moko     4806:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gc was not specified, hoping linker would find it" >&5
                   4807: $as_echo "$as_me: WARNING: --with-gc was not specified, hoping linker would find it" >&2;}
                   4808: 
                   4809: fi
1.17      paf      4810: 
                   4811: 
1.142     moko     4812: if test -z "$GC_OK"; then
1.150     moko     4813:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgc" >&5
                   4814: $as_echo_n "checking for libgc... " >&6; }
1.138     moko     4815:        SAVE_LIBS=$LIBS
                   4816:        LIBS="$LIBS $GC_LIBS"
1.128     moko     4817: 
1.150     moko     4818: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      4819: /* end confdefs.h.  */
1.142     moko     4820:  extern int GC_dont_gc;
1.67      paf      4821: int
                   4822: main ()
                   4823: {
1.142     moko     4824:  GC_dont_gc=0;
1.67      paf      4825:   ;
                   4826:   return 0;
                   4827: }
                   4828: _ACEOF
1.150     moko     4829: if ac_fn_c_try_link "$LINENO"; then :
                   4830:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4831: $as_echo "yes" >&6; }
1.67      paf      4832: 
                   4833: else
1.150     moko     4834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4835: $as_echo "no" >&6; }
1.142     moko     4836:                if test -z "$GC"; then
1.151     moko     4837:                        as_fn_error $? "please specify path to libgc: --with-gc=D" "$LINENO" 5
1.142     moko     4838:                else
1.150     moko     4839:                        as_fn_error $? "$GC does not seem to be valid libgc installation directory" "$LINENO" 5
1.142     moko     4840:                fi
1.67      paf      4841: 
                   4842: fi
1.150     moko     4843: rm -f core conftest.err conftest.$ac_objext \
                   4844:     conftest$ac_exeext conftest.$ac_ext
1.138     moko     4845:        LIBS=$SAVE_LIBS
                   4846: fi
1.67      paf      4847: 
                   4848: 
1.1       paf      4849: 
1.15      paf      4850: 
1.142     moko     4851: 
1.150     moko     4852: # Check whether --with-pcre was given.
                   4853: if test "${with_pcre+set}" = set; then :
                   4854:   withval=$with_pcre;
1.100     misha    4855:        PCRE=$withval
1.142     moko     4856:        PCRE_INCLUDES="-I$PCRE/include"
                   4857:        PCRE_LIBS="$PCRE/lib/libpcre.la"
1.100     misha    4858: 
1.142     moko     4859:        if test -f $PCRE/include/pcre.h -a -f $PCRE_LIBS; then
                   4860:                PCRE_OK="yes"
                   4861:        else
                   4862:                PCRE_LIBS="-L$PCRE -lpcre"
1.100     misha    4863:        fi
                   4864: 
1.151     moko     4865:        if test "$PCRE" = "yes"; then
                   4866:                PCRE=""
                   4867:                PCRE_LIBS="-lpcre"
                   4868:                PCRE_INCLUDES=""
                   4869:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre value was not specified, hoping linker would find it" >&5
                   4870: $as_echo "$as_me: WARNING: --with-pcre value was not specified, hoping linker would find it" >&2;}
                   4871:        fi
1.142     moko     4872: 
                   4873: else
                   4874: 
                   4875:        PCRE_LIBS="-lpcre"
1.149     moko     4876:        PCRE_INCLUDES=""
1.150     moko     4877:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pcre was not specified, hoping linker would find it" >&5
                   4878: $as_echo "$as_me: WARNING: --with-pcre was not specified, hoping linker would find it" >&2;}
                   4879: 
                   4880: fi
1.100     misha    4881: 
                   4882: 
1.142     moko     4883: if test -z "$PCRE_OK"; then
1.150     moko     4884:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prce" >&5
                   4885: $as_echo_n "checking for prce... " >&6; }
1.142     moko     4886:        SAVE_LIBS=$LIBS
                   4887:        LIBS="$LIBS $PCRE_LIBS $PCRE_INCLUDES"
1.150     moko     4888:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4889: /* end confdefs.h.  */
                   4890:  #include <pcre.h>
                   4891: int
                   4892: main ()
                   4893: {
                   4894:  const char *v=pcre_version();
                   4895:   ;
                   4896:   return 0;
                   4897: }
                   4898: _ACEOF
1.150     moko     4899: if ac_fn_c_try_link "$LINENO"; then :
                   4900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4901: $as_echo "yes" >&6; }
1.142     moko     4902: 
                   4903: else
1.150     moko     4904:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4905: $as_echo "no" >&6; }
1.142     moko     4906:                if test -z "$PCRE"; then
1.151     moko     4907:                        as_fn_error $? "please specify path to PCRE: --with-pcre=D" "$LINENO" 5
1.142     moko     4908:                else
1.150     moko     4909:                        as_fn_error $? "$PCRE does not seem to be valid PCRE installation directory" "$LINENO" 5
1.142     moko     4910:                fi
                   4911: 
                   4912: fi
1.150     moko     4913: rm -f core conftest.err conftest.$ac_objext \
                   4914:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4915:        LIBS=$SAVE_LIBS
                   4916: fi
1.100     misha    4917: 
                   4918: 
                   4919: 
                   4920: 
1.66      paf      4921: 
                   4922: 
1.150     moko     4923: # Check whether --with-xml was given.
                   4924: if test "${with_xml+set}" = set; then :
                   4925:   withval=$with_xml;
1.66      paf      4926: 
1.142     moko     4927:        XML=$withval
                   4928:        XML_LIBS="-lxml2 -lxslt -lexslt"
                   4929: 
                   4930:        if test -z "$XML" -o "$XML" = "yes"; then
                   4931:                XML=""
                   4932:                XML_INCLUDES="-I/usr/include/libxml2"
1.150     moko     4933:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-xml value was not specified, hoping linker would find it" >&5
                   4934: $as_echo "$as_me: WARNING: --with-xml value was not specified, hoping linker would find it" >&2;}
1.142     moko     4935:        else
                   4936:                XML_INCLUDES="-I$XML/include -I$XML/include/libxml2"
1.67      paf      4937: 
1.142     moko     4938:                if test -f $XML/include/libxslt/xslt.h -a -f $XML/lib/libxml2.la \
                   4939:                        -a -f $XML/lib/libxslt.la -a -f $XML/lib/libexslt.la; then
                   4940:                        XML_LIBS="$XML/lib/libxml2.la $XML/lib/libxslt.la $XML/lib/libexslt.la"
                   4941:                        XML_OK="yes"
                   4942:                fi
1.67      paf      4943:        fi
1.66      paf      4944: 
1.142     moko     4945:        if test -z "$XML_OK"; then
1.150     moko     4946:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
                   4947: $as_echo_n "checking for xml... " >&6; }
1.142     moko     4948:                SAVE_LIBS=$LIBS
                   4949:                LIBS="$LIBS $XML_LIBS $XML_INCLUDES"
1.150     moko     4950:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.142     moko     4951: /* end confdefs.h.  */
                   4952:  #include <libxslt/xslt.h>
                   4953: int
                   4954: main ()
                   4955: {
                   4956:  const char *v=xsltEngineVersion;
                   4957:   ;
                   4958:   return 0;
                   4959: }
                   4960: _ACEOF
1.150     moko     4961: if ac_fn_c_try_link "$LINENO"; then :
                   4962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4963: $as_echo "yes" >&6; }
1.142     moko     4964: 
                   4965: else
1.150     moko     4966:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4967: $as_echo "no" >&6; }
1.142     moko     4968:                        if test -z "$XML"; then
1.151     moko     4969:                                as_fn_error $? "please specify path to Gnome XML libraries: --with-xml=D" "$LINENO" 5
1.142     moko     4970:                        else
1.150     moko     4971:                                as_fn_error $? "$XML does not seem to be valid Gnome XML installation directory" "$LINENO" 5
1.142     moko     4972:                        fi
                   4973: 
                   4974: fi
1.150     moko     4975: rm -f core conftest.err conftest.$ac_objext \
                   4976:     conftest$ac_exeext conftest.$ac_ext
1.142     moko     4977:                LIBS=$SAVE_LIBS
1.67      paf      4978:        fi
1.66      paf      4979: 
1.150     moko     4980: $as_echo "#define XML /**/" >>confdefs.h
                   4981: 
1.66      paf      4982: 
1.150     moko     4983: fi
1.66      paf      4984: 
1.90      paf      4985: 
1.66      paf      4986: 
                   4987: 
                   4988: 
                   4989: 
1.90      paf      4990: 
1.154     moko     4991: # Check whether --with-mailreceive was given.
                   4992: if test "${with_mailreceive+set}" = set; then :
                   4993:   withval=$with_mailreceive;
                   4994:        MIME=$withval
1.155     moko     4995:        GLIB="glib-2.0"
1.154     moko     4996:        GMIME="gmime-2.4"
                   4997: 
                   4998:        if test -z "$MIME" -o "$MIME" = "yes"; then
                   4999:                MIME=""
                   5000:                MIME_INCLUDES=`pkg-config --cflags $GMIME 2>/dev/null`
                   5001:                MIME_LIBS=`pkg-config --libs $GMIME 2>/dev/null`
                   5002:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&5
                   5003: $as_echo "$as_me: WARNING: --with-mailreceive value was not specified, hoping linker would find Gnome MIME library" >&2;}
                   5004:        else
1.155     moko     5005:                MIME_INCLUDES="-I$MIME/include/$GMIME"
1.154     moko     5006:                MIME_LIBS="-l$GMIME"
                   5007:                if test -f $MIME/include/$GMIME/gmime/gmime.h -a -f $MIME/lib/lib$GMIME.la; then
                   5008:                        MIME_LIBS="$MIME/lib/lib$GMIME.la"
1.155     moko     5009:                        if test -f $MIME/lib/lib$GLIB.la; then
                   5010:                                MIME_INCLUDES="$MIME_INCLUDES -I$MIME/include/$GLIB -I$MIME/lib/$GLIB/include"
                   5011:                        else
                   5012:                                GLIB_INCLUDES=`pkg-config --cflags $GLIB 2>/dev/null`
                   5013:                                MIME_INCLUDES="$MIME_INCLUDES $GLIB_INCLUDES"
                   5014:                        fi
1.154     moko     5015:                        MIME_OK="yes"
                   5016:                fi
1.67      paf      5017:        fi
1.66      paf      5018: 
1.154     moko     5019:        if test -z "$MIME_OK"; then
                   5020:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mime" >&5
                   5021: $as_echo_n "checking for mime... " >&6; }
                   5022:                SAVE_LIBS=$LIBS
                   5023:                LIBS="$LIBS $MIME_LIBS $MIME_INCLUDES"
                   5024:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5025: /* end confdefs.h.  */
                   5026:  #include <gmime/gmime.h>
                   5027: int
                   5028: main ()
                   5029: {
                   5030:  guint v=gmime_major_version;
                   5031:   ;
                   5032:   return 0;
                   5033: }
                   5034: _ACEOF
                   5035: if ac_fn_c_try_link "$LINENO"; then :
                   5036:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5037: $as_echo "yes" >&6; }
1.66      paf      5038: 
1.154     moko     5039: else
                   5040:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5041: $as_echo "no" >&6; }
                   5042:                        if test -z "$MIME"; then
                   5043:                                as_fn_error $? "please specify path to Gnome MIME library: --with-mailreceive=D" "$LINENO" 5
                   5044:                        else
                   5045:                                as_fn_error $? "$MIME does not seem to be valid Gnome MIME installation directory" "$LINENO" 5
1.90      paf      5046:                        fi
1.66      paf      5047: 
1.150     moko     5048: fi
1.154     moko     5049: rm -f core conftest.err conftest.$ac_objext \
                   5050:     conftest$ac_exeext conftest.$ac_ext
                   5051:                LIBS=$SAVE_LIBS
1.67      paf      5052:        fi
1.66      paf      5053: 
1.150     moko     5054: $as_echo "#define WITH_MAILRECEIVE /**/" >>confdefs.h
1.66      paf      5055: 
                   5056: 
1.154     moko     5057: fi
1.66      paf      5058: 
                   5059: 
                   5060: 
                   5061: 
                   5062: 
                   5063: 
                   5064: 
1.150     moko     5065: # Check whether --with-sendmail was given.
                   5066: if test "${with_sendmail+set}" = set; then :
                   5067:   withval=$with_sendmail;
1.66      paf      5068: cat >>confdefs.h <<_ACEOF
                   5069: #define PA_FORCED_SENDMAIL "$withval"
                   5070: _ACEOF
                   5071: 
                   5072: 
1.150     moko     5073: fi
1.66      paf      5074: 
                   5075: 
                   5076: 
1.122     moko     5077: 
1.150     moko     5078: # Check whether --with-apache was given.
                   5079: if test "${with_apache+set}" = set; then :
                   5080:   withval=$with_apache;
1.122     moko     5081:        APXS=$withval
                   5082: 
                   5083:        if test -z "$APXS" -o "$APXS" = "yes"; then
                   5084:                APXS=`which apxs 2>/dev/null`
1.142     moko     5085:                if test -z "$APXS"; then
                   5086:                        APXS=`which apxs2 2>/dev/null`
                   5087:                fi
                   5088:        fi
1.122     moko     5089: 
                   5090:        APACHE=`$APXS -q TARGET 2>/dev/null`
                   5091: 
                   5092:        if test -z "$APACHE"; then
1.150     moko     5093:                as_fn_error $? "$APXS does not seem to be valid apache apxs utility path" "$LINENO" 5
1.67      paf      5094:        fi
1.7       paf      5095: 
1.122     moko     5096:        APACHE_MAIN_INC=`$APXS -q INCLUDEDIR`
                   5097:        APACHE_EXTRA_INC=`$APXS -q EXTRA_INCLUDES 2>/dev/null`
                   5098:        APACHE_INC="-I$APACHE_MAIN_INC $APACHE_EXTRA_INC"
                   5099:        APACHE_CFLAGS=`$APXS -q CFLAGS`
                   5100: 
1.150     moko     5101: fi
1.7       paf      5102: 
                   5103: 
1.62      paf      5104: 
1.122     moko     5105: 
1.150     moko     5106:  if test -n "$APACHE"; then
1.122     moko     5107:   COMPILE_APACHE_MODULE_TRUE=
                   5108:   COMPILE_APACHE_MODULE_FALSE='#'
1.66      paf      5109: else
1.122     moko     5110:   COMPILE_APACHE_MODULE_TRUE='#'
                   5111:   COMPILE_APACHE_MODULE_FALSE=
1.66      paf      5112: fi
1.1       paf      5113: 
                   5114: 
                   5115: 
1.62      paf      5116: 
                   5117: 
1.7       paf      5118: 
1.1       paf      5119: 
                   5120: 
                   5121: 
1.62      paf      5122: 
1.128     moko     5123: case `pwd` in
                   5124:   *\ * | *\    *)
1.150     moko     5125:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5126: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.128     moko     5127: esac
                   5128: 
                   5129: 
                   5130: 
                   5131: macro_version='2.4.2'
                   5132: macro_revision='1.3337'
                   5133: 
                   5134: 
                   5135: 
                   5136: 
                   5137: 
                   5138: 
                   5139: 
                   5140: 
                   5141: 
                   5142: 
                   5143: 
                   5144: 
                   5145: 
                   5146: ltmain="$ac_aux_dir/ltmain.sh"
                   5147: 
                   5148: # Backslashify metacharacters that are still active within
                   5149: # double-quoted strings.
                   5150: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.10      paf      5151: 
1.128     moko     5152: # Same as above, but do not quote variable references.
                   5153: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.10      paf      5154: 
1.128     moko     5155: # Sed substitution to delay expansion of an escaped shell variable in a
                   5156: # double_quote_subst'ed string.
                   5157: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.62      paf      5158: 
1.128     moko     5159: # Sed substitution to delay expansion of an escaped single quote.
                   5160: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.86      paf      5161: 
1.128     moko     5162: # Sed substitution to avoid accidental globbing in evaled expressions
                   5163: no_glob_subst='s/\*/\\\*/g'
1.86      paf      5164: 
1.128     moko     5165: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5166: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5167: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1.86      paf      5168: 
1.150     moko     5169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5170: $as_echo_n "checking how to print strings... " >&6; }
1.128     moko     5171: # Test print first, because it will be a builtin if present.
                   5172: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5173:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5174:   ECHO='print -r --'
                   5175: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5176:   ECHO='printf %s\n'
                   5177: else
                   5178:   # Use this function as a fallback that always works.
                   5179:   func_fallback_echo ()
                   5180:   {
                   5181:     eval 'cat <<_LTECHO_EOF
                   5182: $1
                   5183: _LTECHO_EOF'
                   5184:   }
                   5185:   ECHO='func_fallback_echo'
                   5186: fi
1.86      paf      5187: 
1.128     moko     5188: # func_echo_all arg...
                   5189: # Invoke $ECHO with all args, space-separated.
                   5190: func_echo_all ()
1.66      paf      5191: {
1.128     moko     5192:     $ECHO ""
1.66      paf      5193: }
1.10      paf      5194: 
1.128     moko     5195: case "$ECHO" in
1.150     moko     5196:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5197: $as_echo "printf" >&6; } ;;
                   5198:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5199: $as_echo "print -r" >&6; } ;;
                   5200:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5201: $as_echo "cat" >&6; } ;;
1.128     moko     5202: esac
                   5203: 
                   5204: 
                   5205: 
                   5206: 
                   5207: 
                   5208: 
                   5209: 
                   5210: 
                   5211: 
                   5212: 
                   5213: 
                   5214: 
                   5215: 
                   5216: 
1.150     moko     5217: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5218: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5219: if ${ac_cv_path_SED+:} false; then :
                   5220:   $as_echo_n "(cached) " >&6
                   5221: else
                   5222:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5223:      for ac_i in 1 2 3 4 5 6 7; do
                   5224:        ac_script="$ac_script$as_nl$ac_script"
                   5225:      done
                   5226:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5227:      { ac_script=; unset ac_script;}
                   5228:      if test -z "$SED"; then
                   5229:   ac_path_SED_found=false
                   5230:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5231:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.128     moko     5232: for as_dir in $PATH
                   5233: do
                   5234:   IFS=$as_save_IFS
                   5235:   test -z "$as_dir" && as_dir=.
1.150     moko     5236:     for ac_prog in sed gsed; do
1.128     moko     5237:     for ac_exec_ext in '' $ac_executable_extensions; do
1.150     moko     5238:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5239:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5240: # Check for GNU ac_path_SED and select it if it is found.
                   5241:   # Check for GNU $ac_path_SED
                   5242: case `"$ac_path_SED" --version 2>&1` in
                   5243: *GNU*)
                   5244:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5245: *)
                   5246:   ac_count=0
                   5247:   $as_echo_n 0123456789 >"conftest.in"
                   5248:   while :
                   5249:   do
                   5250:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5251:     mv "conftest.tmp" "conftest.in"
                   5252:     cp "conftest.in" "conftest.nl"
                   5253:     $as_echo '' >> "conftest.nl"
                   5254:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5255:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5256:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5257:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5258:       # Best one so far, save it but keep looking for a better one
                   5259:       ac_cv_path_SED="$ac_path_SED"
                   5260:       ac_path_SED_max=$ac_count
                   5261:     fi
                   5262:     # 10*(2^10) chars as input seems more than enough
                   5263:     test $ac_count -gt 10 && break
                   5264:   done
                   5265:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5266: esac
                   5267: 
                   5268:       $ac_path_SED_found && break 3
1.128     moko     5269:     done
                   5270:   done
1.150     moko     5271:   done
1.128     moko     5272: IFS=$as_save_IFS
1.150     moko     5273:   if test -z "$ac_cv_path_SED"; then
                   5274:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.128     moko     5275:   fi
1.150     moko     5276: else
                   5277:   ac_cv_path_SED=$SED
                   5278: fi
1.10      paf      5279: 
1.66      paf      5280: fi
1.150     moko     5281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5282: $as_echo "$ac_cv_path_SED" >&6; }
                   5283:  SED="$ac_cv_path_SED"
                   5284:   rm -f conftest.sed
1.128     moko     5285: 
                   5286: test -z "$SED" && SED=sed
                   5287: Xsed="$SED -e 1s/^X//"
1.10      paf      5288: 
1.128     moko     5289: 
                   5290: 
                   5291: 
                   5292: 
                   5293: 
                   5294: 
                   5295: 
                   5296: 
                   5297: 
                   5298: 
1.150     moko     5299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   5300: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   5301: if ${ac_cv_path_GREP+:} false; then :
                   5302:   $as_echo_n "(cached) " >&6
                   5303: else
                   5304:   if test -z "$GREP"; then
                   5305:   ac_path_GREP_found=false
                   5306:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5307:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5308: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5309: do
                   5310:   IFS=$as_save_IFS
                   5311:   test -z "$as_dir" && as_dir=.
                   5312:     for ac_prog in grep ggrep; do
                   5313:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5314:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   5315:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   5316: # Check for GNU ac_path_GREP and select it if it is found.
                   5317:   # Check for GNU $ac_path_GREP
                   5318: case `"$ac_path_GREP" --version 2>&1` in
                   5319: *GNU*)
                   5320:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   5321: *)
                   5322:   ac_count=0
                   5323:   $as_echo_n 0123456789 >"conftest.in"
                   5324:   while :
                   5325:   do
                   5326:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5327:     mv "conftest.tmp" "conftest.in"
                   5328:     cp "conftest.in" "conftest.nl"
                   5329:     $as_echo 'GREP' >> "conftest.nl"
                   5330:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5331:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5332:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5333:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   5334:       # Best one so far, save it but keep looking for a better one
                   5335:       ac_cv_path_GREP="$ac_path_GREP"
                   5336:       ac_path_GREP_max=$ac_count
1.128     moko     5337:     fi
1.150     moko     5338:     # 10*(2^10) chars as input seems more than enough
                   5339:     test $ac_count -gt 10 && break
                   5340:   done
                   5341:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5342: esac
                   5343: 
                   5344:       $ac_path_GREP_found && break 3
                   5345:     done
                   5346:   done
                   5347:   done
                   5348: IFS=$as_save_IFS
                   5349:   if test -z "$ac_cv_path_GREP"; then
                   5350:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5351:   fi
                   5352: else
                   5353:   ac_cv_path_GREP=$GREP
                   5354: fi
                   5355: 
1.128     moko     5356: fi
1.150     moko     5357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   5358: $as_echo "$ac_cv_path_GREP" >&6; }
                   5359:  GREP="$ac_cv_path_GREP"
                   5360: 
                   5361: 
                   5362: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   5363: $as_echo_n "checking for egrep... " >&6; }
                   5364: if ${ac_cv_path_EGREP+:} false; then :
                   5365:   $as_echo_n "(cached) " >&6
                   5366: else
                   5367:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   5368:    then ac_cv_path_EGREP="$GREP -E"
                   5369:    else
                   5370:      if test -z "$EGREP"; then
                   5371:   ac_path_EGREP_found=false
                   5372:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5373:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5374: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5375: do
                   5376:   IFS=$as_save_IFS
                   5377:   test -z "$as_dir" && as_dir=.
                   5378:     for ac_prog in egrep; do
                   5379:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5380:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5381:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   5382: # Check for GNU ac_path_EGREP and select it if it is found.
                   5383:   # Check for GNU $ac_path_EGREP
                   5384: case `"$ac_path_EGREP" --version 2>&1` in
                   5385: *GNU*)
                   5386:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   5387: *)
                   5388:   ac_count=0
                   5389:   $as_echo_n 0123456789 >"conftest.in"
                   5390:   while :
                   5391:   do
                   5392:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5393:     mv "conftest.tmp" "conftest.in"
                   5394:     cp "conftest.in" "conftest.nl"
                   5395:     $as_echo 'EGREP' >> "conftest.nl"
                   5396:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5397:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5398:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5399:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   5400:       # Best one so far, save it but keep looking for a better one
                   5401:       ac_cv_path_EGREP="$ac_path_EGREP"
                   5402:       ac_path_EGREP_max=$ac_count
                   5403:     fi
                   5404:     # 10*(2^10) chars as input seems more than enough
                   5405:     test $ac_count -gt 10 && break
                   5406:   done
                   5407:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5408: esac
1.128     moko     5409: 
1.150     moko     5410:       $ac_path_EGREP_found && break 3
                   5411:     done
                   5412:   done
                   5413:   done
                   5414: IFS=$as_save_IFS
                   5415:   if test -z "$ac_cv_path_EGREP"; then
                   5416:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5417:   fi
                   5418: else
                   5419:   ac_cv_path_EGREP=$EGREP
                   5420: fi
1.128     moko     5421: 
1.150     moko     5422:    fi
                   5423: fi
                   5424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   5425: $as_echo "$ac_cv_path_EGREP" >&6; }
                   5426:  EGREP="$ac_cv_path_EGREP"
                   5427: 
                   5428: 
                   5429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5430: $as_echo_n "checking for fgrep... " >&6; }
                   5431: if ${ac_cv_path_FGREP+:} false; then :
                   5432:   $as_echo_n "(cached) " >&6
                   5433: else
                   5434:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5435:    then ac_cv_path_FGREP="$GREP -F"
                   5436:    else
                   5437:      if test -z "$FGREP"; then
                   5438:   ac_path_FGREP_found=false
                   5439:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5440:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5441: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5442: do
                   5443:   IFS=$as_save_IFS
                   5444:   test -z "$as_dir" && as_dir=.
                   5445:     for ac_prog in fgrep; do
                   5446:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5447:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5448:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5449: # Check for GNU ac_path_FGREP and select it if it is found.
                   5450:   # Check for GNU $ac_path_FGREP
                   5451: case `"$ac_path_FGREP" --version 2>&1` in
                   5452: *GNU*)
                   5453:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5454: *)
                   5455:   ac_count=0
                   5456:   $as_echo_n 0123456789 >"conftest.in"
                   5457:   while :
                   5458:   do
                   5459:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5460:     mv "conftest.tmp" "conftest.in"
                   5461:     cp "conftest.in" "conftest.nl"
                   5462:     $as_echo 'FGREP' >> "conftest.nl"
                   5463:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5464:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5465:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5466:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5467:       # Best one so far, save it but keep looking for a better one
                   5468:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5469:       ac_path_FGREP_max=$ac_count
1.128     moko     5470:     fi
1.150     moko     5471:     # 10*(2^10) chars as input seems more than enough
                   5472:     test $ac_count -gt 10 && break
                   5473:   done
                   5474:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5475: esac
                   5476: 
                   5477:       $ac_path_FGREP_found && break 3
                   5478:     done
                   5479:   done
                   5480:   done
                   5481: IFS=$as_save_IFS
                   5482:   if test -z "$ac_cv_path_FGREP"; then
                   5483:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5484:   fi
                   5485: else
                   5486:   ac_cv_path_FGREP=$FGREP
                   5487: fi
                   5488: 
                   5489:    fi
1.128     moko     5490: fi
1.150     moko     5491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5492: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5493:  FGREP="$ac_cv_path_FGREP"
1.128     moko     5494: 
                   5495: 
                   5496: test -z "$GREP" && GREP=grep
                   5497: 
                   5498: 
                   5499: 
                   5500: 
                   5501: 
                   5502: 
                   5503: 
                   5504: 
                   5505: 
                   5506: 
                   5507: 
                   5508: 
                   5509: 
                   5510: 
                   5511: 
                   5512: 
                   5513: 
                   5514: 
                   5515: 
1.150     moko     5516: # Check whether --with-gnu-ld was given.
                   5517: if test "${with_gnu_ld+set}" = set; then :
                   5518:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     5519: else
                   5520:   with_gnu_ld=no
1.150     moko     5521: fi
                   5522: 
1.128     moko     5523: ac_prog=ld
                   5524: if test "$GCC" = yes; then
                   5525:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     5526:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5527: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     5528:   case $host in
                   5529:   *-*-mingw*)
                   5530:     # gcc leaves a trailing carriage return which upsets mingw
                   5531:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5532:   *)
                   5533:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5534:   esac
                   5535:   case $ac_prog in
                   5536:     # Accept absolute paths.
                   5537:     [\\/]* | ?:[\\/]*)
                   5538:       re_direlt='/[^/][^/]*/\.\./'
                   5539:       # Canonicalize the pathname of ld
                   5540:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5541:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5542:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5543:       done
                   5544:       test -z "$LD" && LD="$ac_prog"
                   5545:       ;;
                   5546:   "")
                   5547:     # If it fails, then pretend we aren't using GCC.
                   5548:     ac_prog=ld
                   5549:     ;;
                   5550:   *)
                   5551:     # If it is relative, then search for the first ld in PATH.
                   5552:     with_gnu_ld=unknown
                   5553:     ;;
                   5554:   esac
                   5555: elif test "$with_gnu_ld" = yes; then
1.150     moko     5556:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5557: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     5558: else
1.150     moko     5559:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5560: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     5561: fi
1.150     moko     5562: if ${lt_cv_path_LD+:} false; then :
                   5563:   $as_echo_n "(cached) " >&6
1.128     moko     5564: else
                   5565:   if test -z "$LD"; then
                   5566:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5567:   for ac_dir in $PATH; do
                   5568:     IFS="$lt_save_ifs"
                   5569:     test -z "$ac_dir" && ac_dir=.
                   5570:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5571:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5572:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5573:       # but apparently some variants of GNU ld only accept -v.
                   5574:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5575:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5576:       *GNU* | *'with BFD'*)
                   5577:        test "$with_gnu_ld" != no && break
                   5578:        ;;
                   5579:       *)
                   5580:        test "$with_gnu_ld" != yes && break
                   5581:        ;;
                   5582:       esac
                   5583:     fi
                   5584:   done
                   5585:   IFS="$lt_save_ifs"
                   5586: else
                   5587:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5588: fi
                   5589: fi
                   5590: 
                   5591: LD="$lt_cv_path_LD"
                   5592: if test -n "$LD"; then
1.150     moko     5593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5594: $as_echo "$LD" >&6; }
1.128     moko     5595: else
1.150     moko     5596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5597: $as_echo "no" >&6; }
1.128     moko     5598: fi
1.150     moko     5599: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5601: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5602: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5603:   $as_echo_n "(cached) " >&6
1.128     moko     5604: else
                   5605:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5606: case `$LD -v 2>&1 </dev/null` in
                   5607: *GNU* | *'with BFD'*)
                   5608:   lt_cv_prog_gnu_ld=yes
                   5609:   ;;
                   5610: *)
                   5611:   lt_cv_prog_gnu_ld=no
                   5612:   ;;
                   5613: esac
                   5614: fi
1.150     moko     5615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5616: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     5617: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5618: 
                   5619: 
                   5620: 
                   5621: 
                   5622: 
                   5623: 
                   5624: 
                   5625: 
                   5626: 
1.150     moko     5627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5628: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5629: if ${lt_cv_path_NM+:} false; then :
                   5630:   $as_echo_n "(cached) " >&6
1.128     moko     5631: else
                   5632:   if test -n "$NM"; then
                   5633:   # Let the user override the test.
                   5634:   lt_cv_path_NM="$NM"
                   5635: else
                   5636:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5637:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5638:     lt_nm_to_check="$lt_nm_to_check nm"
                   5639:   fi
                   5640:   for lt_tmp_nm in $lt_nm_to_check; do
                   5641:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5642:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5643:       IFS="$lt_save_ifs"
                   5644:       test -z "$ac_dir" && ac_dir=.
                   5645:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5646:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5647:        # Check to see if the nm accepts a BSD-compat flag.
                   5648:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5649:        #   nm: unknown option "B" ignored
                   5650:        # Tru64's nm complains that /dev/null is an invalid object file
                   5651:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5652:        */dev/null* | *'Invalid file or object type'*)
                   5653:          lt_cv_path_NM="$tmp_nm -B"
                   5654:          break
                   5655:          ;;
                   5656:        *)
                   5657:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5658:          */dev/null*)
                   5659:            lt_cv_path_NM="$tmp_nm -p"
                   5660:            break
                   5661:            ;;
                   5662:          *)
                   5663:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5664:            continue # so that we can try to find one that supports BSD flags
                   5665:            ;;
                   5666:          esac
                   5667:          ;;
                   5668:        esac
                   5669:       fi
                   5670:     done
                   5671:     IFS="$lt_save_ifs"
                   5672:   done
                   5673:   : ${lt_cv_path_NM=no}
                   5674: fi
                   5675: fi
1.150     moko     5676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5677: $as_echo "$lt_cv_path_NM" >&6; }
1.128     moko     5678: if test "$lt_cv_path_NM" != "no"; then
                   5679:   NM="$lt_cv_path_NM"
                   5680: else
                   5681:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5682:   if test -n "$DUMPBIN"; then :
                   5683:     # Let the user override the test.
                   5684:   else
                   5685:     if test -n "$ac_tool_prefix"; then
                   5686:   for ac_prog in dumpbin "link -dump"
                   5687:   do
                   5688:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5689: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     5690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5691: $as_echo_n "checking for $ac_word... " >&6; }
                   5692: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5693:   $as_echo_n "(cached) " >&6
1.128     moko     5694: else
                   5695:   if test -n "$DUMPBIN"; then
                   5696:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5697: else
                   5698: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5699: for as_dir in $PATH
                   5700: do
                   5701:   IFS=$as_save_IFS
                   5702:   test -z "$as_dir" && as_dir=.
1.150     moko     5703:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5704:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5705:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.150     moko     5706:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5707:     break 2
                   5708:   fi
                   5709: done
1.150     moko     5710:   done
                   5711: IFS=$as_save_IFS
1.128     moko     5712: 
                   5713: fi
                   5714: fi
                   5715: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5716: if test -n "$DUMPBIN"; then
1.150     moko     5717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5718: $as_echo "$DUMPBIN" >&6; }
1.128     moko     5719: else
1.150     moko     5720:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5721: $as_echo "no" >&6; }
1.128     moko     5722: fi
                   5723: 
1.150     moko     5724: 
1.128     moko     5725:     test -n "$DUMPBIN" && break
                   5726:   done
                   5727: fi
                   5728: if test -z "$DUMPBIN"; then
                   5729:   ac_ct_DUMPBIN=$DUMPBIN
                   5730:   for ac_prog in dumpbin "link -dump"
                   5731: do
                   5732:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5733: set dummy $ac_prog; ac_word=$2
1.150     moko     5734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5735: $as_echo_n "checking for $ac_word... " >&6; }
                   5736: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5737:   $as_echo_n "(cached) " >&6
1.128     moko     5738: else
                   5739:   if test -n "$ac_ct_DUMPBIN"; then
                   5740:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5741: else
                   5742: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5743: for as_dir in $PATH
                   5744: do
                   5745:   IFS=$as_save_IFS
                   5746:   test -z "$as_dir" && as_dir=.
1.150     moko     5747:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5748:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     5749:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.150     moko     5750:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     5751:     break 2
                   5752:   fi
                   5753: done
1.150     moko     5754:   done
                   5755: IFS=$as_save_IFS
1.128     moko     5756: 
                   5757: fi
                   5758: fi
                   5759: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5760: if test -n "$ac_ct_DUMPBIN"; then
1.150     moko     5761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5762: $as_echo "$ac_ct_DUMPBIN" >&6; }
1.128     moko     5763: else
1.150     moko     5764:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5765: $as_echo "no" >&6; }
1.128     moko     5766: fi
                   5767: 
1.150     moko     5768: 
1.128     moko     5769:   test -n "$ac_ct_DUMPBIN" && break
                   5770: done
                   5771: 
1.150     moko     5772:   if test "x$ac_ct_DUMPBIN" = x; then
                   5773:     DUMPBIN=":"
                   5774:   else
                   5775:     case $cross_compiling:$ac_tool_warned in
                   5776: yes:)
                   5777: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5778: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5779: ac_tool_warned=yes ;;
                   5780: esac
                   5781:     DUMPBIN=$ac_ct_DUMPBIN
                   5782:   fi
1.128     moko     5783: fi
                   5784: 
                   5785:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5786:     *COFF*)
                   5787:       DUMPBIN="$DUMPBIN -symbols"
                   5788:       ;;
                   5789:     *)
                   5790:       DUMPBIN=:
                   5791:       ;;
                   5792:     esac
                   5793:   fi
                   5794: 
                   5795:   if test "$DUMPBIN" != ":"; then
                   5796:     NM="$DUMPBIN"
                   5797:   fi
                   5798: fi
                   5799: test -z "$NM" && NM=nm
                   5800: 
                   5801: 
                   5802: 
                   5803: 
                   5804: 
                   5805: 
1.150     moko     5806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5807: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5808: if ${lt_cv_nm_interface+:} false; then :
                   5809:   $as_echo_n "(cached) " >&6
1.128     moko     5810: else
                   5811:   lt_cv_nm_interface="BSD nm"
                   5812:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5813:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5814:   (eval "$ac_compile" 2>conftest.err)
                   5815:   cat conftest.err >&5
                   5816:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5817:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5818:   cat conftest.err >&5
                   5819:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5820:   cat conftest.out >&5
                   5821:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5822:     lt_cv_nm_interface="MS dumpbin"
                   5823:   fi
                   5824:   rm -f conftest*
                   5825: fi
1.150     moko     5826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5827: $as_echo "$lt_cv_nm_interface" >&6; }
1.128     moko     5828: 
1.150     moko     5829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5830: $as_echo_n "checking whether ln -s works... " >&6; }
1.128     moko     5831: LN_S=$as_ln_s
                   5832: if test "$LN_S" = "ln -s"; then
1.150     moko     5833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5834: $as_echo "yes" >&6; }
1.128     moko     5835: else
1.150     moko     5836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5837: $as_echo "no, using $LN_S" >&6; }
1.128     moko     5838: fi
                   5839: 
                   5840: # find the maximum length of command line arguments
1.150     moko     5841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5842: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5843: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5844:   $as_echo_n "(cached) " >&6
1.128     moko     5845: else
                   5846:     i=0
                   5847:   teststring="ABCD"
                   5848: 
                   5849:   case $build_os in
                   5850:   msdosdjgpp*)
                   5851:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5852:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5853:     # during glob expansion).  Even if it were fixed, the result of this
                   5854:     # check would be larger than it should be.
                   5855:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5856:     ;;
                   5857: 
                   5858:   gnu*)
                   5859:     # Under GNU Hurd, this test is not required because there is
                   5860:     # no limit to the length of command line arguments.
                   5861:     # Libtool will interpret -1 as no limit whatsoever
                   5862:     lt_cv_sys_max_cmd_len=-1;
                   5863:     ;;
                   5864: 
                   5865:   cygwin* | mingw* | cegcc*)
                   5866:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5867:     # about 5 minutes as the teststring grows exponentially.
                   5868:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5869:     # you end up with a "frozen" computer, even though with patience
                   5870:     # the test eventually succeeds (with a max line length of 256k).
                   5871:     # Instead, let's just punt: use the minimum linelength reported by
                   5872:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5873:     lt_cv_sys_max_cmd_len=8192;
                   5874:     ;;
                   5875: 
                   5876:   mint*)
                   5877:     # On MiNT this can take a long time and run out of memory.
                   5878:     lt_cv_sys_max_cmd_len=8192;
                   5879:     ;;
                   5880: 
                   5881:   amigaos*)
                   5882:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5883:     # So we just punt and use a minimum line length of 8192.
                   5884:     lt_cv_sys_max_cmd_len=8192;
                   5885:     ;;
                   5886: 
                   5887:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5888:     # This has been around since 386BSD, at least.  Likely further.
                   5889:     if test -x /sbin/sysctl; then
                   5890:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5891:     elif test -x /usr/sbin/sysctl; then
                   5892:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5893:     else
                   5894:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5895:     fi
                   5896:     # And add a safety zone
                   5897:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5898:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5899:     ;;
                   5900: 
                   5901:   interix*)
                   5902:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5903:     lt_cv_sys_max_cmd_len=196608
                   5904:     ;;
                   5905: 
                   5906:   os2*)
                   5907:     # The test takes a long time on OS/2.
                   5908:     lt_cv_sys_max_cmd_len=8192
                   5909:     ;;
                   5910: 
                   5911:   osf*)
                   5912:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5913:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5914:     # nice to cause kernel panics so lets avoid the loop below.
                   5915:     # First set a reasonable default.
                   5916:     lt_cv_sys_max_cmd_len=16384
                   5917:     #
                   5918:     if test -x /sbin/sysconfig; then
                   5919:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5920:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5921:       esac
                   5922:     fi
                   5923:     ;;
                   5924:   sco3.2v5*)
                   5925:     lt_cv_sys_max_cmd_len=102400
                   5926:     ;;
                   5927:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5928:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5929:     if test -n "$kargmax"; then
                   5930:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5931:     else
                   5932:       lt_cv_sys_max_cmd_len=32768
                   5933:     fi
                   5934:     ;;
                   5935:   *)
                   5936:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5937:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5938:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5939:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5940:     else
                   5941:       # Make teststring a little bigger before we do anything with it.
                   5942:       # a 1K string should be a reasonable start.
                   5943:       for i in 1 2 3 4 5 6 7 8 ; do
                   5944:         teststring=$teststring$teststring
                   5945:       done
                   5946:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5947:       # If test is not a shell built-in, we'll probably end up computing a
                   5948:       # maximum length that is only half of the actual maximum length, but
                   5949:       # we can't tell.
                   5950:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   5951:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5952:              test $i != 17 # 1/2 MB should be enough
                   5953:       do
                   5954:         i=`expr $i + 1`
                   5955:         teststring=$teststring$teststring
                   5956:       done
                   5957:       # Only check the string length outside the loop.
                   5958:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5959:       teststring=
                   5960:       # Add a significant safety factor because C++ compilers can tack on
                   5961:       # massive amounts of additional arguments before passing them to the
                   5962:       # linker.  It appears as though 1/2 is a usable value.
                   5963:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5964:     fi
                   5965:     ;;
                   5966:   esac
                   5967: 
                   5968: fi
                   5969: 
                   5970: if test -n $lt_cv_sys_max_cmd_len ; then
1.150     moko     5971:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5972: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
1.128     moko     5973: else
1.150     moko     5974:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5975: $as_echo "none" >&6; }
1.128     moko     5976: fi
                   5977: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5978: 
                   5979: 
                   5980: 
                   5981: 
                   5982: 
                   5983: 
                   5984: : ${CP="cp -f"}
                   5985: : ${MV="mv -f"}
                   5986: : ${RM="rm -f"}
                   5987: 
1.150     moko     5988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5989: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
1.128     moko     5990: # Try some XSI features
                   5991: xsi_shell=no
                   5992: ( _lt_dummy="a/b/c"
                   5993:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5994:       = c,a/b,b/c, \
                   5995:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5996:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5997:   && xsi_shell=yes
1.150     moko     5998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5999: $as_echo "$xsi_shell" >&6; }
1.128     moko     6000: 
                   6001: 
1.150     moko     6002: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   6003: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
1.128     moko     6004: lt_shell_append=no
                   6005: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   6006:     >/dev/null 2>&1 \
                   6007:   && lt_shell_append=yes
1.150     moko     6008: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   6009: $as_echo "$lt_shell_append" >&6; }
1.128     moko     6010: 
                   6011: 
                   6012: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   6013:   lt_unset=unset
                   6014: else
                   6015:   lt_unset=false
                   6016: fi
                   6017: 
                   6018: 
                   6019: 
                   6020: 
                   6021: 
                   6022: # test EBCDIC or ASCII
                   6023: case `echo X|tr X '\101'` in
                   6024:  A) # ASCII based system
                   6025:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   6026:   lt_SP2NL='tr \040 \012'
                   6027:   lt_NL2SP='tr \015\012 \040\040'
                   6028:   ;;
                   6029:  *) # EBCDIC based system
                   6030:   lt_SP2NL='tr \100 \n'
                   6031:   lt_NL2SP='tr \r\n \100\100'
                   6032:   ;;
                   6033: esac
                   6034: 
                   6035: 
                   6036: 
                   6037: 
                   6038: 
                   6039: 
                   6040: 
                   6041: 
                   6042: 
1.150     moko     6043: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   6044: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   6045: if ${lt_cv_to_host_file_cmd+:} false; then :
                   6046:   $as_echo_n "(cached) " >&6
1.128     moko     6047: else
                   6048:   case $host in
                   6049:   *-*-mingw* )
                   6050:     case $build in
                   6051:       *-*-mingw* ) # actually msys
                   6052:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   6053:         ;;
                   6054:       *-*-cygwin* )
                   6055:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   6056:         ;;
                   6057:       * ) # otherwise, assume *nix
                   6058:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   6059:         ;;
                   6060:     esac
                   6061:     ;;
                   6062:   *-*-cygwin* )
                   6063:     case $build in
                   6064:       *-*-mingw* ) # actually msys
                   6065:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   6066:         ;;
                   6067:       *-*-cygwin* )
                   6068:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   6069:         ;;
                   6070:       * ) # otherwise, assume *nix
                   6071:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   6072:         ;;
                   6073:     esac
                   6074:     ;;
                   6075:   * ) # unhandled hosts (and "normal" native builds)
                   6076:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   6077:     ;;
                   6078: esac
                   6079: 
                   6080: fi
                   6081: 
                   6082: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.150     moko     6083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   6084: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
1.128     moko     6085: 
                   6086: 
                   6087: 
                   6088: 
                   6089: 
1.150     moko     6090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   6091: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   6092: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   6093:   $as_echo_n "(cached) " >&6
1.128     moko     6094: else
                   6095:   #assume ordinary cross tools, or native build.
                   6096: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   6097: case $host in
                   6098:   *-*-mingw* )
                   6099:     case $build in
                   6100:       *-*-mingw* ) # actually msys
                   6101:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   6102:         ;;
                   6103:     esac
                   6104:     ;;
                   6105: esac
                   6106: 
                   6107: fi
                   6108: 
                   6109: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.150     moko     6110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   6111: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
1.128     moko     6112: 
                   6113: 
                   6114: 
                   6115: 
                   6116: 
1.150     moko     6117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   6118: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   6119: if ${lt_cv_ld_reload_flag+:} false; then :
                   6120:   $as_echo_n "(cached) " >&6
1.128     moko     6121: else
                   6122:   lt_cv_ld_reload_flag='-r'
                   6123: fi
1.150     moko     6124: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   6125: $as_echo "$lt_cv_ld_reload_flag" >&6; }
1.128     moko     6126: reload_flag=$lt_cv_ld_reload_flag
                   6127: case $reload_flag in
                   6128: "" | " "*) ;;
                   6129: *) reload_flag=" $reload_flag" ;;
                   6130: esac
                   6131: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6132: case $host_os in
                   6133:   cygwin* | mingw* | pw32* | cegcc*)
                   6134:     if test "$GCC" != yes; then
                   6135:       reload_cmds=false
                   6136:     fi
                   6137:     ;;
                   6138:   darwin*)
                   6139:     if test "$GCC" = yes; then
                   6140:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   6141:     else
                   6142:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   6143:     fi
                   6144:     ;;
                   6145: esac
                   6146: 
                   6147: 
                   6148: 
                   6149: 
                   6150: 
                   6151: 
                   6152: 
                   6153: 
                   6154: 
                   6155: if test -n "$ac_tool_prefix"; then
                   6156:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6157: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     6158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6159: $as_echo_n "checking for $ac_word... " >&6; }
                   6160: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   6161:   $as_echo_n "(cached) " >&6
1.128     moko     6162: else
                   6163:   if test -n "$OBJDUMP"; then
                   6164:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6165: else
                   6166: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6167: for as_dir in $PATH
                   6168: do
                   6169:   IFS=$as_save_IFS
                   6170:   test -z "$as_dir" && as_dir=.
1.150     moko     6171:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6172:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6173:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     6174:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6175:     break 2
                   6176:   fi
                   6177: done
1.150     moko     6178:   done
                   6179: IFS=$as_save_IFS
1.128     moko     6180: 
                   6181: fi
                   6182: fi
                   6183: OBJDUMP=$ac_cv_prog_OBJDUMP
                   6184: if test -n "$OBJDUMP"; then
1.150     moko     6185:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   6186: $as_echo "$OBJDUMP" >&6; }
1.128     moko     6187: else
1.150     moko     6188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6189: $as_echo "no" >&6; }
1.128     moko     6190: fi
                   6191: 
1.150     moko     6192: 
1.128     moko     6193: fi
                   6194: if test -z "$ac_cv_prog_OBJDUMP"; then
                   6195:   ac_ct_OBJDUMP=$OBJDUMP
                   6196:   # Extract the first word of "objdump", so it can be a program name with args.
                   6197: set dummy objdump; ac_word=$2
1.150     moko     6198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6199: $as_echo_n "checking for $ac_word... " >&6; }
                   6200: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   6201:   $as_echo_n "(cached) " >&6
1.128     moko     6202: else
                   6203:   if test -n "$ac_ct_OBJDUMP"; then
                   6204:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   6205: else
                   6206: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6207: for as_dir in $PATH
                   6208: do
                   6209:   IFS=$as_save_IFS
                   6210:   test -z "$as_dir" && as_dir=.
1.150     moko     6211:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6212:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6213:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     6214:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6215:     break 2
                   6216:   fi
                   6217: done
1.150     moko     6218:   done
                   6219: IFS=$as_save_IFS
1.128     moko     6220: 
                   6221: fi
                   6222: fi
                   6223: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   6224: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     6225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   6226: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     6227: else
1.150     moko     6228:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6229: $as_echo "no" >&6; }
1.128     moko     6230: fi
                   6231: 
1.150     moko     6232:   if test "x$ac_ct_OBJDUMP" = x; then
                   6233:     OBJDUMP="false"
                   6234:   else
                   6235:     case $cross_compiling:$ac_tool_warned in
                   6236: yes:)
                   6237: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6238: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6239: ac_tool_warned=yes ;;
                   6240: esac
                   6241:     OBJDUMP=$ac_ct_OBJDUMP
                   6242:   fi
1.128     moko     6243: else
                   6244:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6245: fi
                   6246: 
                   6247: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6248: 
                   6249: 
                   6250: 
                   6251: 
                   6252: 
                   6253: 
1.150     moko     6254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6255: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6256: if ${lt_cv_deplibs_check_method+:} false; then :
                   6257:   $as_echo_n "(cached) " >&6
1.128     moko     6258: else
                   6259:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6260: lt_cv_file_magic_test_file=
                   6261: lt_cv_deplibs_check_method='unknown'
                   6262: # Need to set the preceding variable on all platforms that support
                   6263: # interlibrary dependencies.
                   6264: # 'none' -- dependencies not supported.
                   6265: # `unknown' -- same as none, but documents that we really don't know.
                   6266: # 'pass_all' -- all dependencies passed with no checks.
                   6267: # 'test_compile' -- check by making test program.
                   6268: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6269: # which responds to the $file_magic_cmd with a given extended regex.
                   6270: # If you have `file' or equivalent on your system and you're not sure
                   6271: # whether `pass_all' will *always* work, you probably want this one.
                   6272: 
                   6273: case $host_os in
                   6274: aix[4-9]*)
                   6275:   lt_cv_deplibs_check_method=pass_all
                   6276:   ;;
                   6277: 
                   6278: beos*)
                   6279:   lt_cv_deplibs_check_method=pass_all
                   6280:   ;;
                   6281: 
                   6282: bsdi[45]*)
                   6283:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6284:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6285:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6286:   ;;
                   6287: 
                   6288: cygwin*)
                   6289:   # func_win32_libid is a shell function defined in ltmain.sh
                   6290:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6291:   lt_cv_file_magic_cmd='func_win32_libid'
                   6292:   ;;
                   6293: 
                   6294: mingw* | pw32*)
                   6295:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6296:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6297:   # unless we find 'file', for example because we are cross-compiling.
                   6298:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6299:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6300:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6301:     lt_cv_file_magic_cmd='func_win32_libid'
                   6302:   else
                   6303:     # Keep this pattern in sync with the one in func_win32_libid.
                   6304:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6305:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6306:   fi
                   6307:   ;;
                   6308: 
                   6309: cegcc*)
                   6310:   # use the weaker test based on 'objdump'. See mingw*.
                   6311:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6312:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6313:   ;;
                   6314: 
                   6315: darwin* | rhapsody*)
                   6316:   lt_cv_deplibs_check_method=pass_all
                   6317:   ;;
                   6318: 
                   6319: freebsd* | dragonfly*)
                   6320:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6321:     case $host_cpu in
                   6322:     i*86 )
                   6323:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6324:       # Let's accept both of them until this is cleared up.
                   6325:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6326:       lt_cv_file_magic_cmd=/usr/bin/file
                   6327:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6328:       ;;
                   6329:     esac
                   6330:   else
                   6331:     lt_cv_deplibs_check_method=pass_all
                   6332:   fi
                   6333:   ;;
                   6334: 
                   6335: gnu*)
                   6336:   lt_cv_deplibs_check_method=pass_all
                   6337:   ;;
                   6338: 
                   6339: haiku*)
                   6340:   lt_cv_deplibs_check_method=pass_all
                   6341:   ;;
                   6342: 
                   6343: hpux10.20* | hpux11*)
                   6344:   lt_cv_file_magic_cmd=/usr/bin/file
                   6345:   case $host_cpu in
                   6346:   ia64*)
                   6347:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6348:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6349:     ;;
                   6350:   hppa*64*)
                   6351:     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]'
                   6352:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6353:     ;;
                   6354:   *)
                   6355:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6356:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6357:     ;;
                   6358:   esac
                   6359:   ;;
                   6360: 
                   6361: interix[3-9]*)
                   6362:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6363:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6364:   ;;
                   6365: 
                   6366: irix5* | irix6* | nonstopux*)
                   6367:   case $LD in
                   6368:   *-32|*"-32 ") libmagic=32-bit;;
                   6369:   *-n32|*"-n32 ") libmagic=N32;;
                   6370:   *-64|*"-64 ") libmagic=64-bit;;
                   6371:   *) libmagic=never-match;;
                   6372:   esac
                   6373:   lt_cv_deplibs_check_method=pass_all
                   6374:   ;;
                   6375: 
                   6376: # This must be glibc/ELF.
                   6377: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6378:   lt_cv_deplibs_check_method=pass_all
                   6379:   ;;
                   6380: 
                   6381: netbsd*)
                   6382:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6383:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6384:   else
                   6385:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6386:   fi
                   6387:   ;;
                   6388: 
                   6389: newos6*)
                   6390:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6391:   lt_cv_file_magic_cmd=/usr/bin/file
                   6392:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6393:   ;;
                   6394: 
                   6395: *nto* | *qnx*)
                   6396:   lt_cv_deplibs_check_method=pass_all
                   6397:   ;;
                   6398: 
                   6399: openbsd*)
                   6400:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6401:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6402:   else
                   6403:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6404:   fi
                   6405:   ;;
                   6406: 
                   6407: osf3* | osf4* | osf5*)
                   6408:   lt_cv_deplibs_check_method=pass_all
                   6409:   ;;
                   6410: 
                   6411: rdos*)
                   6412:   lt_cv_deplibs_check_method=pass_all
                   6413:   ;;
                   6414: 
                   6415: solaris*)
                   6416:   lt_cv_deplibs_check_method=pass_all
                   6417:   ;;
                   6418: 
                   6419: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6420:   lt_cv_deplibs_check_method=pass_all
                   6421:   ;;
                   6422: 
                   6423: sysv4 | sysv4.3*)
                   6424:   case $host_vendor in
                   6425:   motorola)
                   6426:     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]'
                   6427:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6428:     ;;
                   6429:   ncr)
                   6430:     lt_cv_deplibs_check_method=pass_all
                   6431:     ;;
                   6432:   sequent)
                   6433:     lt_cv_file_magic_cmd='/bin/file'
                   6434:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6435:     ;;
                   6436:   sni)
                   6437:     lt_cv_file_magic_cmd='/bin/file'
                   6438:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6439:     lt_cv_file_magic_test_file=/lib/libc.so
                   6440:     ;;
                   6441:   siemens)
                   6442:     lt_cv_deplibs_check_method=pass_all
                   6443:     ;;
                   6444:   pc)
                   6445:     lt_cv_deplibs_check_method=pass_all
                   6446:     ;;
                   6447:   esac
                   6448:   ;;
                   6449: 
                   6450: tpf*)
                   6451:   lt_cv_deplibs_check_method=pass_all
                   6452:   ;;
                   6453: esac
                   6454: 
                   6455: fi
1.150     moko     6456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6457: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.128     moko     6458: 
                   6459: file_magic_glob=
                   6460: want_nocaseglob=no
                   6461: if test "$build" = "$host"; then
                   6462:   case $host_os in
                   6463:   mingw* | pw32*)
                   6464:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6465:       want_nocaseglob=yes
                   6466:     else
                   6467:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6468:     fi
                   6469:     ;;
                   6470:   esac
                   6471: fi
                   6472: 
                   6473: file_magic_cmd=$lt_cv_file_magic_cmd
                   6474: deplibs_check_method=$lt_cv_deplibs_check_method
                   6475: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6476: 
                   6477: 
                   6478: 
                   6479: 
                   6480: 
                   6481: 
                   6482: 
                   6483: 
                   6484: 
                   6485: 
                   6486: 
                   6487: 
                   6488: 
                   6489: 
                   6490: 
                   6491: 
                   6492: 
                   6493: 
                   6494: 
                   6495: 
                   6496: 
                   6497: 
                   6498: if test -n "$ac_tool_prefix"; then
                   6499:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6500: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     6501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6502: $as_echo_n "checking for $ac_word... " >&6; }
                   6503: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6504:   $as_echo_n "(cached) " >&6
1.128     moko     6505: else
                   6506:   if test -n "$DLLTOOL"; then
                   6507:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6508: else
                   6509: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6510: for as_dir in $PATH
                   6511: do
                   6512:   IFS=$as_save_IFS
                   6513:   test -z "$as_dir" && as_dir=.
1.150     moko     6514:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6515:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6516:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     6517:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6518:     break 2
                   6519:   fi
                   6520: done
1.150     moko     6521:   done
                   6522: IFS=$as_save_IFS
1.128     moko     6523: 
                   6524: fi
                   6525: fi
                   6526: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6527: if test -n "$DLLTOOL"; then
1.150     moko     6528:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6529: $as_echo "$DLLTOOL" >&6; }
1.128     moko     6530: else
1.150     moko     6531:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6532: $as_echo "no" >&6; }
1.128     moko     6533: fi
                   6534: 
1.150     moko     6535: 
1.128     moko     6536: fi
                   6537: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6538:   ac_ct_DLLTOOL=$DLLTOOL
                   6539:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6540: set dummy dlltool; ac_word=$2
1.150     moko     6541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6542: $as_echo_n "checking for $ac_word... " >&6; }
                   6543: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6544:   $as_echo_n "(cached) " >&6
1.128     moko     6545: else
                   6546:   if test -n "$ac_ct_DLLTOOL"; then
                   6547:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6548: else
                   6549: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6550: for as_dir in $PATH
                   6551: do
                   6552:   IFS=$as_save_IFS
                   6553:   test -z "$as_dir" && as_dir=.
1.150     moko     6554:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6555:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6556:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     6557:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6558:     break 2
                   6559:   fi
                   6560: done
1.150     moko     6561:   done
                   6562: IFS=$as_save_IFS
1.128     moko     6563: 
                   6564: fi
                   6565: fi
                   6566: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6567: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     6568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6569: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     6570: else
1.150     moko     6571:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6572: $as_echo "no" >&6; }
1.128     moko     6573: fi
                   6574: 
1.150     moko     6575:   if test "x$ac_ct_DLLTOOL" = x; then
                   6576:     DLLTOOL="false"
                   6577:   else
                   6578:     case $cross_compiling:$ac_tool_warned in
                   6579: yes:)
                   6580: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6581: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6582: ac_tool_warned=yes ;;
                   6583: esac
                   6584:     DLLTOOL=$ac_ct_DLLTOOL
                   6585:   fi
1.128     moko     6586: else
                   6587:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6588: fi
                   6589: 
                   6590: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6591: 
                   6592: 
                   6593: 
                   6594: 
                   6595: 
                   6596: 
                   6597: 
1.150     moko     6598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6599: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6600: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6601:   $as_echo_n "(cached) " >&6
1.128     moko     6602: else
                   6603:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6604: 
                   6605: case $host_os in
                   6606: cygwin* | mingw* | pw32* | cegcc*)
                   6607:   # two different shell functions defined in ltmain.sh
                   6608:   # decide which to use based on capabilities of $DLLTOOL
                   6609:   case `$DLLTOOL --help 2>&1` in
                   6610:   *--identify-strict*)
                   6611:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6612:     ;;
                   6613:   *)
                   6614:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6615:     ;;
                   6616:   esac
                   6617:   ;;
                   6618: *)
                   6619:   # fallback: assume linklib IS sharedlib
                   6620:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6621:   ;;
                   6622: esac
                   6623: 
                   6624: fi
1.150     moko     6625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6626: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
1.128     moko     6627: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6628: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6629: 
                   6630: 
                   6631: 
                   6632: 
                   6633: 
                   6634: 
                   6635: 
                   6636: if test -n "$ac_tool_prefix"; then
                   6637:   for ac_prog in ar
                   6638:   do
                   6639:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6640: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.150     moko     6641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6642: $as_echo_n "checking for $ac_word... " >&6; }
                   6643: if ${ac_cv_prog_AR+:} false; then :
                   6644:   $as_echo_n "(cached) " >&6
1.128     moko     6645: else
                   6646:   if test -n "$AR"; then
                   6647:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6648: else
                   6649: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6650: for as_dir in $PATH
                   6651: do
                   6652:   IFS=$as_save_IFS
                   6653:   test -z "$as_dir" && as_dir=.
1.150     moko     6654:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6655:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6656:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.150     moko     6657:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6658:     break 2
                   6659:   fi
                   6660: done
1.150     moko     6661:   done
                   6662: IFS=$as_save_IFS
1.128     moko     6663: 
                   6664: fi
                   6665: fi
                   6666: AR=$ac_cv_prog_AR
                   6667: if test -n "$AR"; then
1.150     moko     6668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6669: $as_echo "$AR" >&6; }
1.128     moko     6670: else
1.150     moko     6671:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6672: $as_echo "no" >&6; }
1.128     moko     6673: fi
                   6674: 
1.150     moko     6675: 
1.128     moko     6676:     test -n "$AR" && break
                   6677:   done
                   6678: fi
                   6679: if test -z "$AR"; then
                   6680:   ac_ct_AR=$AR
                   6681:   for ac_prog in ar
                   6682: do
                   6683:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6684: set dummy $ac_prog; ac_word=$2
1.150     moko     6685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6686: $as_echo_n "checking for $ac_word... " >&6; }
                   6687: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6688:   $as_echo_n "(cached) " >&6
1.128     moko     6689: else
                   6690:   if test -n "$ac_ct_AR"; then
                   6691:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6692: else
                   6693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6694: for as_dir in $PATH
                   6695: do
                   6696:   IFS=$as_save_IFS
                   6697:   test -z "$as_dir" && as_dir=.
1.150     moko     6698:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6699:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6700:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.150     moko     6701:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6702:     break 2
                   6703:   fi
                   6704: done
1.150     moko     6705:   done
                   6706: IFS=$as_save_IFS
1.128     moko     6707: 
                   6708: fi
                   6709: fi
                   6710: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6711: if test -n "$ac_ct_AR"; then
1.150     moko     6712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6713: $as_echo "$ac_ct_AR" >&6; }
1.128     moko     6714: else
1.150     moko     6715:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6716: $as_echo "no" >&6; }
1.128     moko     6717: fi
                   6718: 
1.150     moko     6719: 
1.128     moko     6720:   test -n "$ac_ct_AR" && break
                   6721: done
                   6722: 
1.150     moko     6723:   if test "x$ac_ct_AR" = x; then
                   6724:     AR="false"
                   6725:   else
                   6726:     case $cross_compiling:$ac_tool_warned in
                   6727: yes:)
                   6728: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6729: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6730: ac_tool_warned=yes ;;
                   6731: esac
                   6732:     AR=$ac_ct_AR
                   6733:   fi
1.128     moko     6734: fi
                   6735: 
                   6736: : ${AR=ar}
                   6737: : ${AR_FLAGS=cru}
                   6738: 
                   6739: 
                   6740: 
                   6741: 
                   6742: 
                   6743: 
                   6744: 
                   6745: 
                   6746: 
                   6747: 
                   6748: 
1.150     moko     6749: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6750: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6751: if ${lt_cv_ar_at_file+:} false; then :
                   6752:   $as_echo_n "(cached) " >&6
1.128     moko     6753: else
                   6754:   lt_cv_ar_at_file=no
1.150     moko     6755:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     6756: /* end confdefs.h.  */
                   6757: 
                   6758: int
                   6759: main ()
                   6760: {
                   6761: 
                   6762:   ;
                   6763:   return 0;
                   6764: }
                   6765: _ACEOF
1.150     moko     6766: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     6767:   echo conftest.$ac_objext > conftest.lst
                   6768:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
1.150     moko     6769:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6770:   (eval $lt_ar_try) 2>&5
                   6771:   ac_status=$?
1.150     moko     6772:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6773:   test $ac_status = 0; }
1.128     moko     6774:       if test "$ac_status" -eq 0; then
                   6775:        # Ensure the archiver fails upon bogus file names.
                   6776:        rm -f conftest.$ac_objext libconftest.a
1.150     moko     6777:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
1.128     moko     6778:   (eval $lt_ar_try) 2>&5
                   6779:   ac_status=$?
1.150     moko     6780:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6781:   test $ac_status = 0; }
1.128     moko     6782:        if test "$ac_status" -ne 0; then
                   6783:           lt_cv_ar_at_file=@
                   6784:         fi
                   6785:       fi
                   6786:       rm -f conftest.* libconftest.a
                   6787: 
                   6788: fi
1.150     moko     6789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     6790: 
                   6791: fi
1.150     moko     6792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6793: $as_echo "$lt_cv_ar_at_file" >&6; }
1.128     moko     6794: 
                   6795: if test "x$lt_cv_ar_at_file" = xno; then
                   6796:   archiver_list_spec=
                   6797: else
                   6798:   archiver_list_spec=$lt_cv_ar_at_file
                   6799: fi
                   6800: 
                   6801: 
                   6802: 
                   6803: 
                   6804: 
                   6805: 
                   6806: 
                   6807: if test -n "$ac_tool_prefix"; then
                   6808:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6809: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.150     moko     6810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6811: $as_echo_n "checking for $ac_word... " >&6; }
                   6812: if ${ac_cv_prog_STRIP+:} false; then :
                   6813:   $as_echo_n "(cached) " >&6
1.128     moko     6814: else
                   6815:   if test -n "$STRIP"; then
                   6816:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6817: else
                   6818: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6819: for as_dir in $PATH
                   6820: do
                   6821:   IFS=$as_save_IFS
                   6822:   test -z "$as_dir" && as_dir=.
1.150     moko     6823:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6824:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6825:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.150     moko     6826:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6827:     break 2
                   6828:   fi
                   6829: done
1.150     moko     6830:   done
                   6831: IFS=$as_save_IFS
1.128     moko     6832: 
                   6833: fi
                   6834: fi
                   6835: STRIP=$ac_cv_prog_STRIP
                   6836: if test -n "$STRIP"; then
1.150     moko     6837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6838: $as_echo "$STRIP" >&6; }
1.128     moko     6839: else
1.150     moko     6840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6841: $as_echo "no" >&6; }
1.128     moko     6842: fi
                   6843: 
1.150     moko     6844: 
1.128     moko     6845: fi
                   6846: if test -z "$ac_cv_prog_STRIP"; then
                   6847:   ac_ct_STRIP=$STRIP
                   6848:   # Extract the first word of "strip", so it can be a program name with args.
                   6849: set dummy strip; ac_word=$2
1.150     moko     6850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6851: $as_echo_n "checking for $ac_word... " >&6; }
                   6852: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6853:   $as_echo_n "(cached) " >&6
1.128     moko     6854: else
                   6855:   if test -n "$ac_ct_STRIP"; then
                   6856:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6857: else
                   6858: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6859: for as_dir in $PATH
                   6860: do
                   6861:   IFS=$as_save_IFS
                   6862:   test -z "$as_dir" && as_dir=.
1.150     moko     6863:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6864:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6865:     ac_cv_prog_ac_ct_STRIP="strip"
1.150     moko     6866:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6867:     break 2
                   6868:   fi
                   6869: done
1.150     moko     6870:   done
                   6871: IFS=$as_save_IFS
1.128     moko     6872: 
                   6873: fi
                   6874: fi
                   6875: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6876: if test -n "$ac_ct_STRIP"; then
1.150     moko     6877:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6878: $as_echo "$ac_ct_STRIP" >&6; }
1.128     moko     6879: else
1.150     moko     6880:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6881: $as_echo "no" >&6; }
1.128     moko     6882: fi
                   6883: 
1.150     moko     6884:   if test "x$ac_ct_STRIP" = x; then
                   6885:     STRIP=":"
                   6886:   else
                   6887:     case $cross_compiling:$ac_tool_warned in
                   6888: yes:)
                   6889: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6890: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6891: ac_tool_warned=yes ;;
                   6892: esac
                   6893:     STRIP=$ac_ct_STRIP
                   6894:   fi
1.128     moko     6895: else
                   6896:   STRIP="$ac_cv_prog_STRIP"
                   6897: fi
                   6898: 
                   6899: test -z "$STRIP" && STRIP=:
                   6900: 
                   6901: 
                   6902: 
                   6903: 
                   6904: 
                   6905: 
                   6906: if test -n "$ac_tool_prefix"; then
                   6907:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6908: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.150     moko     6909: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6910: $as_echo_n "checking for $ac_word... " >&6; }
                   6911: if ${ac_cv_prog_RANLIB+:} false; then :
                   6912:   $as_echo_n "(cached) " >&6
1.128     moko     6913: else
                   6914:   if test -n "$RANLIB"; then
                   6915:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6916: else
                   6917: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6918: for as_dir in $PATH
                   6919: do
                   6920:   IFS=$as_save_IFS
                   6921:   test -z "$as_dir" && as_dir=.
1.150     moko     6922:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6923:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6924:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.150     moko     6925:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6926:     break 2
                   6927:   fi
                   6928: done
1.150     moko     6929:   done
                   6930: IFS=$as_save_IFS
1.128     moko     6931: 
                   6932: fi
                   6933: fi
                   6934: RANLIB=$ac_cv_prog_RANLIB
                   6935: if test -n "$RANLIB"; then
1.150     moko     6936:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6937: $as_echo "$RANLIB" >&6; }
1.128     moko     6938: else
1.150     moko     6939:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6940: $as_echo "no" >&6; }
1.128     moko     6941: fi
                   6942: 
1.150     moko     6943: 
1.128     moko     6944: fi
                   6945: if test -z "$ac_cv_prog_RANLIB"; then
                   6946:   ac_ct_RANLIB=$RANLIB
                   6947:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6948: set dummy ranlib; ac_word=$2
1.150     moko     6949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6950: $as_echo_n "checking for $ac_word... " >&6; }
                   6951: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6952:   $as_echo_n "(cached) " >&6
1.128     moko     6953: else
                   6954:   if test -n "$ac_ct_RANLIB"; then
                   6955:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6956: else
                   6957: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6958: for as_dir in $PATH
                   6959: do
                   6960:   IFS=$as_save_IFS
                   6961:   test -z "$as_dir" && as_dir=.
1.150     moko     6962:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6963:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     6964:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.150     moko     6965:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     6966:     break 2
                   6967:   fi
                   6968: done
1.150     moko     6969:   done
                   6970: IFS=$as_save_IFS
1.128     moko     6971: 
                   6972: fi
                   6973: fi
                   6974: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6975: if test -n "$ac_ct_RANLIB"; then
1.150     moko     6976:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6977: $as_echo "$ac_ct_RANLIB" >&6; }
1.128     moko     6978: else
1.150     moko     6979:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6980: $as_echo "no" >&6; }
1.128     moko     6981: fi
                   6982: 
1.150     moko     6983:   if test "x$ac_ct_RANLIB" = x; then
                   6984:     RANLIB=":"
                   6985:   else
                   6986:     case $cross_compiling:$ac_tool_warned in
                   6987: yes:)
                   6988: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6989: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6990: ac_tool_warned=yes ;;
                   6991: esac
                   6992:     RANLIB=$ac_ct_RANLIB
                   6993:   fi
1.128     moko     6994: else
                   6995:   RANLIB="$ac_cv_prog_RANLIB"
                   6996: fi
                   6997: 
                   6998: test -z "$RANLIB" && RANLIB=:
                   6999: 
                   7000: 
                   7001: 
                   7002: 
                   7003: 
                   7004: 
                   7005: # Determine commands to create old-style static archives.
                   7006: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   7007: old_postinstall_cmds='chmod 644 $oldlib'
                   7008: old_postuninstall_cmds=
                   7009: 
                   7010: if test -n "$RANLIB"; then
                   7011:   case $host_os in
                   7012:   openbsd*)
                   7013:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   7014:     ;;
                   7015:   *)
                   7016:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   7017:     ;;
                   7018:   esac
                   7019:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
                   7020: fi
                   7021: 
                   7022: case $host_os in
                   7023:   darwin*)
                   7024:     lock_old_archive_extraction=yes ;;
                   7025:   *)
                   7026:     lock_old_archive_extraction=no ;;
                   7027: esac
                   7028: 
                   7029: 
                   7030: 
                   7031: 
                   7032: 
                   7033: 
                   7034: 
                   7035: 
                   7036: 
                   7037: 
                   7038: 
                   7039: 
                   7040: 
                   7041: 
                   7042: 
                   7043: 
                   7044: 
                   7045: 
                   7046: 
                   7047: 
                   7048: 
                   7049: 
                   7050: 
                   7051: 
                   7052: 
                   7053: 
                   7054: 
                   7055: 
                   7056: 
                   7057: 
                   7058: 
                   7059: 
                   7060: 
                   7061: 
                   7062: 
                   7063: 
                   7064: 
                   7065: 
                   7066: 
                   7067: # If no C compiler was specified, use CC.
                   7068: LTCC=${LTCC-"$CC"}
                   7069: 
                   7070: # If no C compiler flags were specified, use CFLAGS.
                   7071: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7072: 
                   7073: # Allow CC to be a program name with arguments.
                   7074: compiler=$CC
                   7075: 
                   7076: 
                   7077: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.150     moko     7078: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   7079: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   7080: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   7081:   $as_echo_n "(cached) " >&6
1.128     moko     7082: else
                   7083: 
                   7084: # These are sane defaults that work on at least a few old systems.
                   7085: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   7086: 
                   7087: # Character class describing NM global symbol codes.
                   7088: symcode='[BCDEGRST]'
                   7089: 
                   7090: # Regexp to match symbols that can be accessed directly from C.
                   7091: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   7092: 
                   7093: # Define system-specific variables.
                   7094: case $host_os in
                   7095: aix*)
                   7096:   symcode='[BCDT]'
                   7097:   ;;
                   7098: cygwin* | mingw* | pw32* | cegcc*)
                   7099:   symcode='[ABCDGISTW]'
                   7100:   ;;
                   7101: hpux*)
                   7102:   if test "$host_cpu" = ia64; then
                   7103:     symcode='[ABCDEGRST]'
                   7104:   fi
                   7105:   ;;
                   7106: irix* | nonstopux*)
                   7107:   symcode='[BCDEGRST]'
                   7108:   ;;
                   7109: osf*)
                   7110:   symcode='[BCDEGQRST]'
                   7111:   ;;
                   7112: solaris*)
                   7113:   symcode='[BDRT]'
                   7114:   ;;
                   7115: sco3.2v5*)
                   7116:   symcode='[DT]'
                   7117:   ;;
                   7118: sysv4.2uw2*)
                   7119:   symcode='[DT]'
                   7120:   ;;
                   7121: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   7122:   symcode='[ABDT]'
                   7123:   ;;
                   7124: sysv4)
                   7125:   symcode='[DFNSTU]'
                   7126:   ;;
                   7127: esac
                   7128: 
                   7129: # If we're using GNU nm, then use its standard symbol codes.
                   7130: case `$NM -V 2>&1` in
                   7131: *GNU* | *'with BFD'*)
                   7132:   symcode='[ABCDGIRSTW]' ;;
                   7133: esac
                   7134: 
                   7135: # Transform an extracted symbol line into a proper C declaration.
                   7136: # Some systems (esp. on ia64) link data and code symbols differently,
                   7137: # so use this general approach.
                   7138: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   7139: 
                   7140: # Transform an extracted symbol line into symbol name and symbol address
                   7141: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   7142: 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'"
                   7143: 
                   7144: # Handle CRLF in mingw tool chain
                   7145: opt_cr=
                   7146: case $build_os in
                   7147: mingw*)
                   7148:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   7149:   ;;
                   7150: esac
                   7151: 
                   7152: # Try without a prefix underscore, then with it.
                   7153: for ac_symprfx in "" "_"; do
                   7154: 
                   7155:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   7156:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   7157: 
                   7158:   # Write the raw and C identifiers.
                   7159:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7160:     # Fake it for dumpbin and say T for any non-static function
                   7161:     # and D for any global variable.
                   7162:     # Also find C++ and __fastcall symbols from MSVC++,
                   7163:     # which start with @ or ?.
                   7164:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   7165: "     {last_section=section; section=\$ 3};"\
                   7166: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   7167: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   7168: "     \$ 0!~/External *\|/{next};"\
                   7169: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   7170: "     {if(hide[section]) next};"\
                   7171: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   7172: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   7173: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   7174: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   7175: "     ' prfx=^$ac_symprfx"
                   7176:   else
                   7177:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   7178:   fi
                   7179:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   7180: 
                   7181:   # Check to see that the pipe works correctly.
                   7182:   pipe_works=no
                   7183: 
                   7184:   rm -f conftest*
                   7185:   cat > conftest.$ac_ext <<_LT_EOF
                   7186: #ifdef __cplusplus
                   7187: extern "C" {
                   7188: #endif
                   7189: char nm_test_var;
                   7190: void nm_test_func(void);
                   7191: void nm_test_func(void){}
                   7192: #ifdef __cplusplus
                   7193: }
                   7194: #endif
                   7195: int main(){nm_test_var='a';nm_test_func();return(0);}
                   7196: _LT_EOF
                   7197: 
1.150     moko     7198:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7199:   (eval $ac_compile) 2>&5
                   7200:   ac_status=$?
1.150     moko     7201:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7202:   test $ac_status = 0; }; then
1.128     moko     7203:     # Now try to grab the symbols.
                   7204:     nlist=conftest.nm
1.150     moko     7205:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
1.128     moko     7206:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   7207:   ac_status=$?
1.150     moko     7208:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7209:   test $ac_status = 0; } && test -s "$nlist"; then
1.128     moko     7210:       # Try sorting and uniquifying the output.
                   7211:       if sort "$nlist" | uniq > "$nlist"T; then
                   7212:        mv -f "$nlist"T "$nlist"
                   7213:       else
                   7214:        rm -f "$nlist"T
                   7215:       fi
                   7216: 
                   7217:       # Make sure that we snagged all the symbols we need.
                   7218:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   7219:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   7220:          cat <<_LT_EOF > conftest.$ac_ext
                   7221: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   7222: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   7223: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   7224:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   7225: # define LT_DLSYM_CONST
                   7226: #elif defined(__osf__)
                   7227: /* This system does not cope well with relocations in const data.  */
                   7228: # define LT_DLSYM_CONST
                   7229: #else
                   7230: # define LT_DLSYM_CONST const
                   7231: #endif
                   7232: 
                   7233: #ifdef __cplusplus
                   7234: extern "C" {
                   7235: #endif
                   7236: 
                   7237: _LT_EOF
                   7238:          # Now generate the symbol file.
                   7239:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7240: 
                   7241:          cat <<_LT_EOF >> conftest.$ac_ext
                   7242: 
                   7243: /* The mapping between symbol names and symbols.  */
                   7244: LT_DLSYM_CONST struct {
                   7245:   const char *name;
                   7246:   void       *address;
                   7247: }
                   7248: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7249: {
                   7250:   { "@PROGRAM@", (void *) 0 },
                   7251: _LT_EOF
                   7252:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7253:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7254:   {0, (void *) 0}
                   7255: };
                   7256: 
                   7257: /* This works around a problem in FreeBSD linker */
                   7258: #ifdef FREEBSD_WORKAROUND
                   7259: static const void *lt_preloaded_setup() {
                   7260:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7261: }
                   7262: #endif
                   7263: 
                   7264: #ifdef __cplusplus
                   7265: }
                   7266: #endif
                   7267: _LT_EOF
                   7268:          # Now try linking the two files.
                   7269:          mv conftest.$ac_objext conftstm.$ac_objext
                   7270:          lt_globsym_save_LIBS=$LIBS
                   7271:          lt_globsym_save_CFLAGS=$CFLAGS
                   7272:          LIBS="conftstm.$ac_objext"
                   7273:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.150     moko     7274:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     7275:   (eval $ac_link) 2>&5
                   7276:   ac_status=$?
1.150     moko     7277:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7278:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.128     moko     7279:            pipe_works=yes
                   7280:          fi
                   7281:          LIBS=$lt_globsym_save_LIBS
                   7282:          CFLAGS=$lt_globsym_save_CFLAGS
                   7283:        else
                   7284:          echo "cannot find nm_test_func in $nlist" >&5
                   7285:        fi
                   7286:       else
                   7287:        echo "cannot find nm_test_var in $nlist" >&5
                   7288:       fi
                   7289:     else
                   7290:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7291:     fi
                   7292:   else
                   7293:     echo "$progname: failed program was:" >&5
                   7294:     cat conftest.$ac_ext >&5
                   7295:   fi
                   7296:   rm -rf conftest* conftst*
                   7297: 
                   7298:   # Do not use the global_symbol_pipe unless it works.
                   7299:   if test "$pipe_works" = yes; then
                   7300:     break
                   7301:   else
                   7302:     lt_cv_sys_global_symbol_pipe=
                   7303:   fi
                   7304: done
                   7305: 
                   7306: fi
                   7307: 
                   7308: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7309:   lt_cv_sys_global_symbol_to_cdecl=
                   7310: fi
                   7311: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.150     moko     7312:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7313: $as_echo "failed" >&6; }
1.128     moko     7314: else
1.150     moko     7315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7316: $as_echo "ok" >&6; }
1.128     moko     7317: fi
                   7318: 
                   7319: # Response file support.
                   7320: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7321:   nm_file_list_spec='@'
                   7322: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7323:   nm_file_list_spec='@'
                   7324: fi
                   7325: 
                   7326: 
                   7327: 
                   7328: 
                   7329: 
                   7330: 
                   7331: 
                   7332: 
                   7333: 
                   7334: 
                   7335: 
                   7336: 
                   7337: 
                   7338: 
                   7339: 
                   7340: 
                   7341: 
                   7342: 
                   7343: 
                   7344: 
                   7345: 
                   7346: 
                   7347: 
                   7348: 
                   7349: 
                   7350: 
                   7351: 
1.150     moko     7352: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7353: $as_echo_n "checking for sysroot... " >&6; }
1.128     moko     7354: 
1.150     moko     7355: # Check whether --with-sysroot was given.
                   7356: if test "${with_sysroot+set}" = set; then :
                   7357:   withval=$with_sysroot;
1.128     moko     7358: else
                   7359:   with_sysroot=no
1.150     moko     7360: fi
                   7361: 
1.128     moko     7362: 
                   7363: lt_sysroot=
                   7364: case ${with_sysroot} in #(
                   7365:  yes)
                   7366:    if test "$GCC" = yes; then
                   7367:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7368:    fi
                   7369:    ;; #(
                   7370:  /*)
                   7371:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7372:    ;; #(
                   7373:  no|'')
                   7374:    ;; #(
                   7375:  *)
1.150     moko     7376:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7377: $as_echo "${with_sysroot}" >&6; }
                   7378:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
1.128     moko     7379:    ;;
                   7380: esac
                   7381: 
1.150     moko     7382:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7383: $as_echo "${lt_sysroot:-no}" >&6; }
1.128     moko     7384: 
                   7385: 
                   7386: 
                   7387: 
                   7388: 
1.150     moko     7389: # Check whether --enable-libtool-lock was given.
                   7390: if test "${enable_libtool_lock+set}" = set; then :
                   7391:   enableval=$enable_libtool_lock;
                   7392: fi
1.128     moko     7393: 
                   7394: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7395: 
                   7396: # Some flags need to be propagated to the compiler or linker for good
                   7397: # libtool support.
                   7398: case $host in
                   7399: ia64-*-hpux*)
                   7400:   # Find out which ABI we are using.
                   7401:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7402:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7403:   (eval $ac_compile) 2>&5
                   7404:   ac_status=$?
1.150     moko     7405:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7406:   test $ac_status = 0; }; then
1.128     moko     7407:     case `/usr/bin/file conftest.$ac_objext` in
                   7408:       *ELF-32*)
                   7409:        HPUX_IA64_MODE="32"
                   7410:        ;;
                   7411:       *ELF-64*)
                   7412:        HPUX_IA64_MODE="64"
                   7413:        ;;
                   7414:     esac
                   7415:   fi
                   7416:   rm -rf conftest*
                   7417:   ;;
                   7418: *-*-irix6*)
                   7419:   # Find out which ABI we are using.
                   7420:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.150     moko     7421:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7422:   (eval $ac_compile) 2>&5
                   7423:   ac_status=$?
1.150     moko     7424:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7425:   test $ac_status = 0; }; then
1.128     moko     7426:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7427:       case `/usr/bin/file conftest.$ac_objext` in
                   7428:        *32-bit*)
                   7429:          LD="${LD-ld} -melf32bsmip"
                   7430:          ;;
                   7431:        *N32*)
                   7432:          LD="${LD-ld} -melf32bmipn32"
                   7433:          ;;
                   7434:        *64-bit*)
                   7435:          LD="${LD-ld} -melf64bmip"
                   7436:        ;;
                   7437:       esac
                   7438:     else
                   7439:       case `/usr/bin/file conftest.$ac_objext` in
                   7440:        *32-bit*)
                   7441:          LD="${LD-ld} -32"
                   7442:          ;;
                   7443:        *N32*)
                   7444:          LD="${LD-ld} -n32"
                   7445:          ;;
                   7446:        *64-bit*)
                   7447:          LD="${LD-ld} -64"
                   7448:          ;;
                   7449:       esac
                   7450:     fi
                   7451:   fi
                   7452:   rm -rf conftest*
                   7453:   ;;
                   7454: 
                   7455: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7456: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7457:   # Find out which ABI we are using.
                   7458:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7459:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7460:   (eval $ac_compile) 2>&5
                   7461:   ac_status=$?
1.150     moko     7462:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7463:   test $ac_status = 0; }; then
1.128     moko     7464:     case `/usr/bin/file conftest.o` in
                   7465:       *32-bit*)
                   7466:        case $host in
                   7467:          x86_64-*kfreebsd*-gnu)
                   7468:            LD="${LD-ld} -m elf_i386_fbsd"
                   7469:            ;;
                   7470:          x86_64-*linux*)
                   7471:            LD="${LD-ld} -m elf_i386"
                   7472:            ;;
                   7473:          ppc64-*linux*|powerpc64-*linux*)
                   7474:            LD="${LD-ld} -m elf32ppclinux"
                   7475:            ;;
                   7476:          s390x-*linux*)
                   7477:            LD="${LD-ld} -m elf_s390"
                   7478:            ;;
                   7479:          sparc64-*linux*)
                   7480:            LD="${LD-ld} -m elf32_sparc"
                   7481:            ;;
                   7482:        esac
                   7483:        ;;
                   7484:       *64-bit*)
                   7485:        case $host in
                   7486:          x86_64-*kfreebsd*-gnu)
                   7487:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7488:            ;;
                   7489:          x86_64-*linux*)
                   7490:            LD="${LD-ld} -m elf_x86_64"
                   7491:            ;;
                   7492:          ppc*-*linux*|powerpc*-*linux*)
                   7493:            LD="${LD-ld} -m elf64ppc"
                   7494:            ;;
                   7495:          s390*-*linux*|s390*-*tpf*)
                   7496:            LD="${LD-ld} -m elf64_s390"
                   7497:            ;;
                   7498:          sparc*-*linux*)
                   7499:            LD="${LD-ld} -m elf64_sparc"
                   7500:            ;;
                   7501:        esac
                   7502:        ;;
                   7503:     esac
                   7504:   fi
                   7505:   rm -rf conftest*
                   7506:   ;;
                   7507: 
                   7508: *-*-sco3.2v5*)
                   7509:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7510:   SAVE_CFLAGS="$CFLAGS"
                   7511:   CFLAGS="$CFLAGS -belf"
1.150     moko     7512:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7513: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7514: if ${lt_cv_cc_needs_belf+:} false; then :
                   7515:   $as_echo_n "(cached) " >&6
1.128     moko     7516: else
                   7517:   ac_ext=c
                   7518: ac_cpp='$CPP $CPPFLAGS'
                   7519: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7520: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7521: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7522: 
1.150     moko     7523:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     7524: /* end confdefs.h.  */
                   7525: 
                   7526: int
                   7527: main ()
                   7528: {
                   7529: 
                   7530:   ;
                   7531:   return 0;
                   7532: }
                   7533: _ACEOF
1.150     moko     7534: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     7535:   lt_cv_cc_needs_belf=yes
                   7536: else
1.150     moko     7537:   lt_cv_cc_needs_belf=no
1.128     moko     7538: fi
1.150     moko     7539: rm -f core conftest.err conftest.$ac_objext \
                   7540:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     7541:      ac_ext=c
                   7542: ac_cpp='$CPP $CPPFLAGS'
                   7543: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7544: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7545: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7546: 
                   7547: fi
1.150     moko     7548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7549: $as_echo "$lt_cv_cc_needs_belf" >&6; }
1.128     moko     7550:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7551:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7552:     CFLAGS="$SAVE_CFLAGS"
                   7553:   fi
                   7554:   ;;
                   7555: *-*solaris*)
                   7556:   # Find out which ABI we are using.
                   7557:   echo 'int i;' > conftest.$ac_ext
1.150     moko     7558:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     7559:   (eval $ac_compile) 2>&5
                   7560:   ac_status=$?
1.150     moko     7561:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7562:   test $ac_status = 0; }; then
1.128     moko     7563:     case `/usr/bin/file conftest.o` in
                   7564:     *64-bit*)
                   7565:       case $lt_cv_prog_gnu_ld in
                   7566:       yes*)
                   7567:         case $host in
                   7568:         i?86-*-solaris*)
                   7569:           LD="${LD-ld} -m elf_x86_64"
                   7570:           ;;
                   7571:         sparc*-*-solaris*)
                   7572:           LD="${LD-ld} -m elf64_sparc"
                   7573:           ;;
                   7574:         esac
                   7575:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   7576:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   7577:           LD="${LD-ld}_sol2"
                   7578:         fi
                   7579:         ;;
                   7580:       *)
                   7581:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7582:          LD="${LD-ld} -64"
                   7583:        fi
                   7584:        ;;
                   7585:       esac
                   7586:       ;;
                   7587:     esac
                   7588:   fi
                   7589:   rm -rf conftest*
                   7590:   ;;
                   7591: esac
                   7592: 
                   7593: need_locks="$enable_libtool_lock"
                   7594: 
                   7595: if test -n "$ac_tool_prefix"; then
                   7596:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7597: set dummy ${ac_tool_prefix}mt; ac_word=$2
1.150     moko     7598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7599: $as_echo_n "checking for $ac_word... " >&6; }
                   7600: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7601:   $as_echo_n "(cached) " >&6
1.128     moko     7602: else
                   7603:   if test -n "$MANIFEST_TOOL"; then
                   7604:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7605: else
                   7606: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7607: for as_dir in $PATH
                   7608: do
                   7609:   IFS=$as_save_IFS
                   7610:   test -z "$as_dir" && as_dir=.
1.150     moko     7611:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7612:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7613:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
1.150     moko     7614:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7615:     break 2
                   7616:   fi
                   7617: done
1.150     moko     7618:   done
                   7619: IFS=$as_save_IFS
1.128     moko     7620: 
                   7621: fi
                   7622: fi
                   7623: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7624: if test -n "$MANIFEST_TOOL"; then
1.150     moko     7625:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7626: $as_echo "$MANIFEST_TOOL" >&6; }
1.128     moko     7627: else
1.150     moko     7628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7629: $as_echo "no" >&6; }
1.128     moko     7630: fi
                   7631: 
1.150     moko     7632: 
1.128     moko     7633: fi
                   7634: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7635:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7636:   # Extract the first word of "mt", so it can be a program name with args.
                   7637: set dummy mt; ac_word=$2
1.150     moko     7638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7639: $as_echo_n "checking for $ac_word... " >&6; }
                   7640: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7641:   $as_echo_n "(cached) " >&6
1.128     moko     7642: else
                   7643:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7644:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7645: else
                   7646: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7647: for as_dir in $PATH
                   7648: do
                   7649:   IFS=$as_save_IFS
                   7650:   test -z "$as_dir" && as_dir=.
1.150     moko     7651:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7652:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7653:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
1.150     moko     7654:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7655:     break 2
                   7656:   fi
                   7657: done
1.150     moko     7658:   done
                   7659: IFS=$as_save_IFS
1.128     moko     7660: 
                   7661: fi
                   7662: fi
                   7663: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7664: if test -n "$ac_ct_MANIFEST_TOOL"; then
1.150     moko     7665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7666: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
1.128     moko     7667: else
1.150     moko     7668:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7669: $as_echo "no" >&6; }
1.128     moko     7670: fi
                   7671: 
1.150     moko     7672:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7673:     MANIFEST_TOOL=":"
                   7674:   else
                   7675:     case $cross_compiling:$ac_tool_warned in
                   7676: yes:)
                   7677: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7678: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7679: ac_tool_warned=yes ;;
                   7680: esac
                   7681:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7682:   fi
1.128     moko     7683: else
                   7684:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7685: fi
                   7686: 
                   7687: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
1.150     moko     7688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7689: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7690: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7691:   $as_echo_n "(cached) " >&6
1.128     moko     7692: else
                   7693:   lt_cv_path_mainfest_tool=no
                   7694:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7695:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7696:   cat conftest.err >&5
                   7697:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7698:     lt_cv_path_mainfest_tool=yes
                   7699:   fi
                   7700:   rm -f conftest*
                   7701: fi
1.150     moko     7702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7703: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
1.128     moko     7704: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7705:   MANIFEST_TOOL=:
                   7706: fi
                   7707: 
                   7708: 
                   7709: 
                   7710: 
                   7711: 
                   7712: 
                   7713:   case $host_os in
                   7714:     rhapsody* | darwin*)
                   7715:     if test -n "$ac_tool_prefix"; then
                   7716:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7717: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.150     moko     7718: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7719: $as_echo_n "checking for $ac_word... " >&6; }
                   7720: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7721:   $as_echo_n "(cached) " >&6
1.128     moko     7722: else
                   7723:   if test -n "$DSYMUTIL"; then
                   7724:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7725: else
                   7726: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7727: for as_dir in $PATH
                   7728: do
                   7729:   IFS=$as_save_IFS
                   7730:   test -z "$as_dir" && as_dir=.
1.150     moko     7731:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7732:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7733:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.150     moko     7734:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7735:     break 2
                   7736:   fi
                   7737: done
1.150     moko     7738:   done
                   7739: IFS=$as_save_IFS
1.128     moko     7740: 
                   7741: fi
                   7742: fi
                   7743: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7744: if test -n "$DSYMUTIL"; then
1.150     moko     7745:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7746: $as_echo "$DSYMUTIL" >&6; }
1.128     moko     7747: else
1.150     moko     7748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7749: $as_echo "no" >&6; }
1.128     moko     7750: fi
                   7751: 
1.150     moko     7752: 
1.128     moko     7753: fi
                   7754: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7755:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7756:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7757: set dummy dsymutil; ac_word=$2
1.150     moko     7758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7759: $as_echo_n "checking for $ac_word... " >&6; }
                   7760: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7761:   $as_echo_n "(cached) " >&6
1.128     moko     7762: else
                   7763:   if test -n "$ac_ct_DSYMUTIL"; then
                   7764:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7765: else
                   7766: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7767: for as_dir in $PATH
                   7768: do
                   7769:   IFS=$as_save_IFS
                   7770:   test -z "$as_dir" && as_dir=.
1.150     moko     7771:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7772:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7773:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.150     moko     7774:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7775:     break 2
                   7776:   fi
                   7777: done
1.150     moko     7778:   done
                   7779: IFS=$as_save_IFS
1.128     moko     7780: 
                   7781: fi
                   7782: fi
                   7783: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7784: if test -n "$ac_ct_DSYMUTIL"; then
1.150     moko     7785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7786: $as_echo "$ac_ct_DSYMUTIL" >&6; }
1.128     moko     7787: else
1.150     moko     7788:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7789: $as_echo "no" >&6; }
1.128     moko     7790: fi
                   7791: 
1.150     moko     7792:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7793:     DSYMUTIL=":"
                   7794:   else
                   7795:     case $cross_compiling:$ac_tool_warned in
                   7796: yes:)
                   7797: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7798: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7799: ac_tool_warned=yes ;;
                   7800: esac
                   7801:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7802:   fi
1.128     moko     7803: else
                   7804:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7805: fi
                   7806: 
                   7807:     if test -n "$ac_tool_prefix"; then
                   7808:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7809: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.150     moko     7810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7811: $as_echo_n "checking for $ac_word... " >&6; }
                   7812: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7813:   $as_echo_n "(cached) " >&6
1.128     moko     7814: else
                   7815:   if test -n "$NMEDIT"; then
                   7816:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7817: else
                   7818: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7819: for as_dir in $PATH
                   7820: do
                   7821:   IFS=$as_save_IFS
                   7822:   test -z "$as_dir" && as_dir=.
1.150     moko     7823:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7824:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7825:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.150     moko     7826:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7827:     break 2
                   7828:   fi
                   7829: done
1.150     moko     7830:   done
                   7831: IFS=$as_save_IFS
1.128     moko     7832: 
                   7833: fi
                   7834: fi
                   7835: NMEDIT=$ac_cv_prog_NMEDIT
                   7836: if test -n "$NMEDIT"; then
1.150     moko     7837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7838: $as_echo "$NMEDIT" >&6; }
1.128     moko     7839: else
1.150     moko     7840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7841: $as_echo "no" >&6; }
1.128     moko     7842: fi
                   7843: 
1.150     moko     7844: 
1.128     moko     7845: fi
                   7846: if test -z "$ac_cv_prog_NMEDIT"; then
                   7847:   ac_ct_NMEDIT=$NMEDIT
                   7848:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7849: set dummy nmedit; ac_word=$2
1.150     moko     7850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7851: $as_echo_n "checking for $ac_word... " >&6; }
                   7852: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7853:   $as_echo_n "(cached) " >&6
1.128     moko     7854: else
                   7855:   if test -n "$ac_ct_NMEDIT"; then
                   7856:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7857: else
                   7858: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7859: for as_dir in $PATH
                   7860: do
                   7861:   IFS=$as_save_IFS
                   7862:   test -z "$as_dir" && as_dir=.
1.150     moko     7863:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7864:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7865:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.150     moko     7866:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7867:     break 2
                   7868:   fi
                   7869: done
1.150     moko     7870:   done
                   7871: IFS=$as_save_IFS
1.128     moko     7872: 
                   7873: fi
                   7874: fi
                   7875: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7876: if test -n "$ac_ct_NMEDIT"; then
1.150     moko     7877:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7878: $as_echo "$ac_ct_NMEDIT" >&6; }
1.128     moko     7879: else
1.150     moko     7880:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7881: $as_echo "no" >&6; }
1.128     moko     7882: fi
                   7883: 
1.150     moko     7884:   if test "x$ac_ct_NMEDIT" = x; then
                   7885:     NMEDIT=":"
                   7886:   else
                   7887:     case $cross_compiling:$ac_tool_warned in
                   7888: yes:)
                   7889: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7890: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7891: ac_tool_warned=yes ;;
                   7892: esac
                   7893:     NMEDIT=$ac_ct_NMEDIT
                   7894:   fi
1.128     moko     7895: else
                   7896:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7897: fi
                   7898: 
                   7899:     if test -n "$ac_tool_prefix"; then
                   7900:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7901: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.150     moko     7902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7903: $as_echo_n "checking for $ac_word... " >&6; }
                   7904: if ${ac_cv_prog_LIPO+:} false; then :
                   7905:   $as_echo_n "(cached) " >&6
1.128     moko     7906: else
                   7907:   if test -n "$LIPO"; then
                   7908:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7909: else
                   7910: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7911: for as_dir in $PATH
                   7912: do
                   7913:   IFS=$as_save_IFS
                   7914:   test -z "$as_dir" && as_dir=.
1.150     moko     7915:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7916:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7917:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.150     moko     7918:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7919:     break 2
                   7920:   fi
                   7921: done
1.150     moko     7922:   done
                   7923: IFS=$as_save_IFS
1.128     moko     7924: 
                   7925: fi
                   7926: fi
                   7927: LIPO=$ac_cv_prog_LIPO
                   7928: if test -n "$LIPO"; then
1.150     moko     7929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7930: $as_echo "$LIPO" >&6; }
1.128     moko     7931: else
1.150     moko     7932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7933: $as_echo "no" >&6; }
1.128     moko     7934: fi
                   7935: 
1.150     moko     7936: 
1.128     moko     7937: fi
                   7938: if test -z "$ac_cv_prog_LIPO"; then
                   7939:   ac_ct_LIPO=$LIPO
                   7940:   # Extract the first word of "lipo", so it can be a program name with args.
                   7941: set dummy lipo; ac_word=$2
1.150     moko     7942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7943: $as_echo_n "checking for $ac_word... " >&6; }
                   7944: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7945:   $as_echo_n "(cached) " >&6
1.128     moko     7946: else
                   7947:   if test -n "$ac_ct_LIPO"; then
                   7948:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7949: else
                   7950: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7951: for as_dir in $PATH
                   7952: do
                   7953:   IFS=$as_save_IFS
                   7954:   test -z "$as_dir" && as_dir=.
1.150     moko     7955:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7956:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     7957:     ac_cv_prog_ac_ct_LIPO="lipo"
1.150     moko     7958:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     7959:     break 2
                   7960:   fi
                   7961: done
1.150     moko     7962:   done
                   7963: IFS=$as_save_IFS
1.128     moko     7964: 
                   7965: fi
                   7966: fi
                   7967: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7968: if test -n "$ac_ct_LIPO"; then
1.150     moko     7969:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7970: $as_echo "$ac_ct_LIPO" >&6; }
1.128     moko     7971: else
1.150     moko     7972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7973: $as_echo "no" >&6; }
1.128     moko     7974: fi
                   7975: 
1.150     moko     7976:   if test "x$ac_ct_LIPO" = x; then
                   7977:     LIPO=":"
                   7978:   else
                   7979:     case $cross_compiling:$ac_tool_warned in
                   7980: yes:)
                   7981: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7982: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7983: ac_tool_warned=yes ;;
                   7984: esac
                   7985:     LIPO=$ac_ct_LIPO
                   7986:   fi
1.128     moko     7987: else
                   7988:   LIPO="$ac_cv_prog_LIPO"
                   7989: fi
                   7990: 
                   7991:     if test -n "$ac_tool_prefix"; then
                   7992:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7993: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.150     moko     7994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7995: $as_echo_n "checking for $ac_word... " >&6; }
                   7996: if ${ac_cv_prog_OTOOL+:} false; then :
                   7997:   $as_echo_n "(cached) " >&6
1.128     moko     7998: else
                   7999:   if test -n "$OTOOL"; then
                   8000:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   8001: else
                   8002: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8003: for as_dir in $PATH
                   8004: do
                   8005:   IFS=$as_save_IFS
                   8006:   test -z "$as_dir" && as_dir=.
1.150     moko     8007:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8008:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8009:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.150     moko     8010:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8011:     break 2
                   8012:   fi
                   8013: done
1.150     moko     8014:   done
                   8015: IFS=$as_save_IFS
1.128     moko     8016: 
                   8017: fi
                   8018: fi
                   8019: OTOOL=$ac_cv_prog_OTOOL
                   8020: if test -n "$OTOOL"; then
1.150     moko     8021:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   8022: $as_echo "$OTOOL" >&6; }
1.128     moko     8023: else
1.150     moko     8024:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8025: $as_echo "no" >&6; }
1.128     moko     8026: fi
                   8027: 
1.150     moko     8028: 
1.128     moko     8029: fi
                   8030: if test -z "$ac_cv_prog_OTOOL"; then
                   8031:   ac_ct_OTOOL=$OTOOL
                   8032:   # Extract the first word of "otool", so it can be a program name with args.
                   8033: set dummy otool; ac_word=$2
1.150     moko     8034: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8035: $as_echo_n "checking for $ac_word... " >&6; }
                   8036: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   8037:   $as_echo_n "(cached) " >&6
1.128     moko     8038: else
                   8039:   if test -n "$ac_ct_OTOOL"; then
                   8040:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   8041: else
                   8042: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8043: for as_dir in $PATH
                   8044: do
                   8045:   IFS=$as_save_IFS
                   8046:   test -z "$as_dir" && as_dir=.
1.150     moko     8047:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8048:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8049:     ac_cv_prog_ac_ct_OTOOL="otool"
1.150     moko     8050:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8051:     break 2
                   8052:   fi
                   8053: done
1.150     moko     8054:   done
                   8055: IFS=$as_save_IFS
1.128     moko     8056: 
                   8057: fi
                   8058: fi
                   8059: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   8060: if test -n "$ac_ct_OTOOL"; then
1.150     moko     8061:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   8062: $as_echo "$ac_ct_OTOOL" >&6; }
1.128     moko     8063: else
1.150     moko     8064:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8065: $as_echo "no" >&6; }
1.128     moko     8066: fi
                   8067: 
1.150     moko     8068:   if test "x$ac_ct_OTOOL" = x; then
                   8069:     OTOOL=":"
                   8070:   else
                   8071:     case $cross_compiling:$ac_tool_warned in
                   8072: yes:)
                   8073: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8074: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8075: ac_tool_warned=yes ;;
                   8076: esac
                   8077:     OTOOL=$ac_ct_OTOOL
                   8078:   fi
1.128     moko     8079: else
                   8080:   OTOOL="$ac_cv_prog_OTOOL"
                   8081: fi
                   8082: 
                   8083:     if test -n "$ac_tool_prefix"; then
                   8084:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   8085: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.150     moko     8086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8087: $as_echo_n "checking for $ac_word... " >&6; }
                   8088: if ${ac_cv_prog_OTOOL64+:} false; then :
                   8089:   $as_echo_n "(cached) " >&6
1.128     moko     8090: else
                   8091:   if test -n "$OTOOL64"; then
                   8092:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   8093: else
                   8094: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8095: for as_dir in $PATH
                   8096: do
                   8097:   IFS=$as_save_IFS
                   8098:   test -z "$as_dir" && as_dir=.
1.150     moko     8099:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8100:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8101:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.150     moko     8102:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8103:     break 2
                   8104:   fi
                   8105: done
1.150     moko     8106:   done
                   8107: IFS=$as_save_IFS
1.128     moko     8108: 
                   8109: fi
                   8110: fi
                   8111: OTOOL64=$ac_cv_prog_OTOOL64
                   8112: if test -n "$OTOOL64"; then
1.150     moko     8113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   8114: $as_echo "$OTOOL64" >&6; }
1.128     moko     8115: else
1.150     moko     8116:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8117: $as_echo "no" >&6; }
1.128     moko     8118: fi
                   8119: 
1.150     moko     8120: 
1.128     moko     8121: fi
                   8122: if test -z "$ac_cv_prog_OTOOL64"; then
                   8123:   ac_ct_OTOOL64=$OTOOL64
                   8124:   # Extract the first word of "otool64", so it can be a program name with args.
                   8125: set dummy otool64; ac_word=$2
1.150     moko     8126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8127: $as_echo_n "checking for $ac_word... " >&6; }
                   8128: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   8129:   $as_echo_n "(cached) " >&6
1.128     moko     8130: else
                   8131:   if test -n "$ac_ct_OTOOL64"; then
                   8132:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   8133: else
                   8134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8135: for as_dir in $PATH
                   8136: do
                   8137:   IFS=$as_save_IFS
                   8138:   test -z "$as_dir" && as_dir=.
1.150     moko     8139:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8140:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8141:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.150     moko     8142:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8143:     break 2
                   8144:   fi
                   8145: done
1.150     moko     8146:   done
                   8147: IFS=$as_save_IFS
1.128     moko     8148: 
                   8149: fi
                   8150: fi
                   8151: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   8152: if test -n "$ac_ct_OTOOL64"; then
1.150     moko     8153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   8154: $as_echo "$ac_ct_OTOOL64" >&6; }
1.128     moko     8155: else
1.150     moko     8156:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8157: $as_echo "no" >&6; }
1.128     moko     8158: fi
                   8159: 
1.150     moko     8160:   if test "x$ac_ct_OTOOL64" = x; then
                   8161:     OTOOL64=":"
                   8162:   else
                   8163:     case $cross_compiling:$ac_tool_warned in
                   8164: yes:)
                   8165: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8166: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8167: ac_tool_warned=yes ;;
                   8168: esac
                   8169:     OTOOL64=$ac_ct_OTOOL64
                   8170:   fi
1.128     moko     8171: else
                   8172:   OTOOL64="$ac_cv_prog_OTOOL64"
                   8173: fi
                   8174: 
                   8175: 
                   8176: 
                   8177: 
                   8178: 
                   8179: 
                   8180: 
                   8181: 
                   8182: 
                   8183: 
                   8184: 
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: 
                   8200: 
1.150     moko     8201:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   8202: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   8203: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   8204:   $as_echo_n "(cached) " >&6
1.128     moko     8205: else
                   8206:   lt_cv_apple_cc_single_mod=no
                   8207:       if test -z "${LT_MULTI_MODULE}"; then
                   8208:        # By default we will add the -single_module flag. You can override
                   8209:        # by either setting the environment variable LT_MULTI_MODULE
                   8210:        # non-empty at configure time, or by adding -multi_module to the
                   8211:        # link flags.
                   8212:        rm -rf libconftest.dylib*
                   8213:        echo "int foo(void){return 1;}" > conftest.c
                   8214:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8215: -dynamiclib -Wl,-single_module conftest.c" >&5
                   8216:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   8217:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   8218:         _lt_result=$?
                   8219:        # If there is a non-empty error log, and "single_module"
                   8220:        # appears in it, assume the flag caused a linker warning
                   8221:         if test -s conftest.err && $GREP single_module conftest.err; then
                   8222:          cat conftest.err >&5
                   8223:        # Otherwise, if the output was created with a 0 exit code from
                   8224:        # the compiler, it worked.
                   8225:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   8226:          lt_cv_apple_cc_single_mod=yes
                   8227:        else
                   8228:          cat conftest.err >&5
                   8229:        fi
                   8230:        rm -rf libconftest.dylib*
                   8231:        rm -f conftest.*
                   8232:       fi
                   8233: fi
1.150     moko     8234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8235: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.128     moko     8236: 
1.150     moko     8237:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8238: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8239: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8240:   $as_echo_n "(cached) " >&6
1.128     moko     8241: else
                   8242:   lt_cv_ld_exported_symbols_list=no
                   8243:       save_LDFLAGS=$LDFLAGS
                   8244:       echo "_main" > conftest.sym
                   8245:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.150     moko     8246:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8247: /* end confdefs.h.  */
                   8248: 
                   8249: int
                   8250: main ()
                   8251: {
                   8252: 
                   8253:   ;
                   8254:   return 0;
                   8255: }
                   8256: _ACEOF
1.150     moko     8257: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     8258:   lt_cv_ld_exported_symbols_list=yes
                   8259: else
1.150     moko     8260:   lt_cv_ld_exported_symbols_list=no
1.128     moko     8261: fi
1.150     moko     8262: rm -f core conftest.err conftest.$ac_objext \
                   8263:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     8264:        LDFLAGS="$save_LDFLAGS"
                   8265: 
                   8266: fi
1.150     moko     8267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8268: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.128     moko     8269: 
1.150     moko     8270:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8271: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8272: if ${lt_cv_ld_force_load+:} false; then :
                   8273:   $as_echo_n "(cached) " >&6
1.128     moko     8274: else
                   8275:   lt_cv_ld_force_load=no
                   8276:       cat > conftest.c << _LT_EOF
                   8277: int forced_loaded() { return 2;}
                   8278: _LT_EOF
                   8279:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8280:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8281:       echo "$AR cru libconftest.a conftest.o" >&5
                   8282:       $AR cru libconftest.a conftest.o 2>&5
                   8283:       echo "$RANLIB libconftest.a" >&5
                   8284:       $RANLIB libconftest.a 2>&5
                   8285:       cat > conftest.c << _LT_EOF
                   8286: int main() { return 0;}
                   8287: _LT_EOF
                   8288:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8289:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8290:       _lt_result=$?
                   8291:       if test -s conftest.err && $GREP force_load conftest.err; then
                   8292:        cat conftest.err >&5
                   8293:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   8294:        lt_cv_ld_force_load=yes
                   8295:       else
                   8296:        cat conftest.err >&5
                   8297:       fi
                   8298:         rm -f conftest.err libconftest.a conftest conftest.c
                   8299:         rm -rf conftest.dSYM
                   8300: 
                   8301: fi
1.150     moko     8302: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8303: $as_echo "$lt_cv_ld_force_load" >&6; }
1.128     moko     8304:     case $host_os in
                   8305:     rhapsody* | darwin1.[012])
                   8306:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8307:     darwin1.*)
                   8308:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8309:     darwin*) # darwin 5.x on
                   8310:       # if running on 10.5 or later, the deployment target defaults
                   8311:       # to the OS version, if on x86, and 10.4, the deployment
                   8312:       # target defaults to 10.4. Don't you love it?
                   8313:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8314:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8315:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8316:        10.[012]*)
                   8317:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8318:        10.*)
                   8319:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8320:       esac
                   8321:     ;;
                   8322:   esac
                   8323:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8324:       _lt_dar_single_mod='$single_module'
                   8325:     fi
                   8326:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8327:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8328:     else
                   8329:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8330:     fi
                   8331:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8332:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8333:     else
                   8334:       _lt_dsymutil=
                   8335:     fi
                   8336:     ;;
                   8337:   esac
                   8338: 
                   8339: ac_ext=c
                   8340: ac_cpp='$CPP $CPPFLAGS'
                   8341: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8342: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8343: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.150     moko     8344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   8345: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.128     moko     8346: # On Suns, sometimes $CPP names a directory.
                   8347: if test -n "$CPP" && test -d "$CPP"; then
                   8348:   CPP=
                   8349: fi
                   8350: if test -z "$CPP"; then
1.150     moko     8351:   if ${ac_cv_prog_CPP+:} false; then :
                   8352:   $as_echo_n "(cached) " >&6
1.128     moko     8353: else
                   8354:       # Double quotes because CPP needs to be expanded
                   8355:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   8356:     do
                   8357:       ac_preproc_ok=false
                   8358: for ac_c_preproc_warn_flag in '' yes
                   8359: do
                   8360:   # Use a header file that comes with gcc, so configuring glibc
                   8361:   # with a fresh cross-compiler works.
                   8362:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8363:   # <limits.h> exists even on freestanding compilers.
                   8364:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8365:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8366:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8367: /* end confdefs.h.  */
                   8368: #ifdef __STDC__
                   8369: # include <limits.h>
                   8370: #else
                   8371: # include <assert.h>
                   8372: #endif
                   8373:                     Syntax error
                   8374: _ACEOF
1.150     moko     8375: if ac_fn_c_try_cpp "$LINENO"; then :
                   8376: 
1.128     moko     8377: else
                   8378:   # Broken: fails on valid input.
                   8379: continue
                   8380: fi
1.150     moko     8381: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8382: 
1.150     moko     8383:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8384:   # can be detected and how.
1.150     moko     8385:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8386: /* end confdefs.h.  */
                   8387: #include <ac_nonexistent.h>
                   8388: _ACEOF
1.150     moko     8389: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8390:   # Broken: success on invalid input.
                   8391: continue
                   8392: else
                   8393:   # Passes both tests.
                   8394: ac_preproc_ok=:
                   8395: break
                   8396: fi
1.150     moko     8397: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8398: 
                   8399: done
                   8400: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8401: rm -f conftest.i conftest.err conftest.$ac_ext
                   8402: if $ac_preproc_ok; then :
1.128     moko     8403:   break
                   8404: fi
                   8405: 
                   8406:     done
                   8407:     ac_cv_prog_CPP=$CPP
                   8408: 
                   8409: fi
                   8410:   CPP=$ac_cv_prog_CPP
                   8411: else
                   8412:   ac_cv_prog_CPP=$CPP
                   8413: fi
1.150     moko     8414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   8415: $as_echo "$CPP" >&6; }
1.128     moko     8416: ac_preproc_ok=false
                   8417: for ac_c_preproc_warn_flag in '' yes
                   8418: do
                   8419:   # Use a header file that comes with gcc, so configuring glibc
                   8420:   # with a fresh cross-compiler works.
                   8421:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   8422:   # <limits.h> exists even on freestanding compilers.
                   8423:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   8424:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     8425:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8426: /* end confdefs.h.  */
                   8427: #ifdef __STDC__
                   8428: # include <limits.h>
                   8429: #else
                   8430: # include <assert.h>
                   8431: #endif
                   8432:                     Syntax error
                   8433: _ACEOF
1.150     moko     8434: if ac_fn_c_try_cpp "$LINENO"; then :
                   8435: 
1.128     moko     8436: else
                   8437:   # Broken: fails on valid input.
                   8438: continue
                   8439: fi
1.150     moko     8440: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8441: 
1.150     moko     8442:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     8443:   # can be detected and how.
1.150     moko     8444:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8445: /* end confdefs.h.  */
                   8446: #include <ac_nonexistent.h>
                   8447: _ACEOF
1.150     moko     8448: if ac_fn_c_try_cpp "$LINENO"; then :
1.128     moko     8449:   # Broken: success on invalid input.
                   8450: continue
                   8451: else
                   8452:   # Passes both tests.
                   8453: ac_preproc_ok=:
                   8454: break
                   8455: fi
1.150     moko     8456: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     8457: 
                   8458: done
                   8459: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     8460: rm -f conftest.i conftest.err conftest.$ac_ext
                   8461: if $ac_preproc_ok; then :
                   8462: 
1.128     moko     8463: else
1.150     moko     8464:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   8465: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   8466: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   8467: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     8468: fi
                   8469: 
                   8470: ac_ext=c
                   8471: ac_cpp='$CPP $CPPFLAGS'
                   8472: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8473: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8474: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8475: 
                   8476: 
1.150     moko     8477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   8478: $as_echo_n "checking for ANSI C header files... " >&6; }
                   8479: if ${ac_cv_header_stdc+:} false; then :
                   8480:   $as_echo_n "(cached) " >&6
1.128     moko     8481: else
1.150     moko     8482:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8483: /* end confdefs.h.  */
                   8484: #include <stdlib.h>
                   8485: #include <stdarg.h>
                   8486: #include <string.h>
                   8487: #include <float.h>
                   8488: 
                   8489: int
                   8490: main ()
                   8491: {
                   8492: 
                   8493:   ;
                   8494:   return 0;
                   8495: }
                   8496: _ACEOF
1.150     moko     8497: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     8498:   ac_cv_header_stdc=yes
                   8499: else
1.150     moko     8500:   ac_cv_header_stdc=no
1.128     moko     8501: fi
1.150     moko     8502: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     8503: 
                   8504: if test $ac_cv_header_stdc = yes; then
                   8505:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.150     moko     8506:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8507: /* end confdefs.h.  */
                   8508: #include <string.h>
                   8509: 
                   8510: _ACEOF
                   8511: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8512:   $EGREP "memchr" >/dev/null 2>&1; then :
                   8513: 
1.128     moko     8514: else
                   8515:   ac_cv_header_stdc=no
                   8516: fi
                   8517: rm -f conftest*
                   8518: 
                   8519: fi
                   8520: 
                   8521: if test $ac_cv_header_stdc = yes; then
                   8522:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.150     moko     8523:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8524: /* end confdefs.h.  */
                   8525: #include <stdlib.h>
                   8526: 
                   8527: _ACEOF
                   8528: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.150     moko     8529:   $EGREP "free" >/dev/null 2>&1; then :
                   8530: 
1.128     moko     8531: else
                   8532:   ac_cv_header_stdc=no
                   8533: fi
                   8534: rm -f conftest*
                   8535: 
                   8536: fi
                   8537: 
                   8538: if test $ac_cv_header_stdc = yes; then
                   8539:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.150     moko     8540:   if test "$cross_compiling" = yes; then :
1.128     moko     8541:   :
                   8542: else
1.150     moko     8543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     8544: /* end confdefs.h.  */
                   8545: #include <ctype.h>
1.150     moko     8546: #include <stdlib.h>
1.128     moko     8547: #if ((' ' & 0x0FF) == 0x020)
                   8548: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   8549: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   8550: #else
                   8551: # define ISLOWER(c) \
                   8552:                   (('a' <= (c) && (c) <= 'i') \
                   8553:                     || ('j' <= (c) && (c) <= 'r') \
                   8554:                     || ('s' <= (c) && (c) <= 'z'))
                   8555: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   8556: #endif
                   8557: 
                   8558: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   8559: int
                   8560: main ()
                   8561: {
                   8562:   int i;
                   8563:   for (i = 0; i < 256; i++)
                   8564:     if (XOR (islower (i), ISLOWER (i))
                   8565:        || toupper (i) != TOUPPER (i))
1.150     moko     8566:       return 2;
                   8567:   return 0;
1.128     moko     8568: }
                   8569: _ACEOF
1.150     moko     8570: if ac_fn_c_try_run "$LINENO"; then :
                   8571: 
1.128     moko     8572: else
1.150     moko     8573:   ac_cv_header_stdc=no
1.128     moko     8574: fi
1.150     moko     8575: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8576:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     8577: fi
1.150     moko     8578: 
1.128     moko     8579: fi
                   8580: fi
1.150     moko     8581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   8582: $as_echo "$ac_cv_header_stdc" >&6; }
1.128     moko     8583: if test $ac_cv_header_stdc = yes; then
                   8584: 
1.150     moko     8585: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.128     moko     8586: 
                   8587: fi
                   8588: 
                   8589: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.150     moko     8590: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   8591:                  inttypes.h stdint.h unistd.h
                   8592: do :
                   8593:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   8594: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   8595: "
                   8596: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   8597:   cat >>confdefs.h <<_ACEOF
                   8598: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   8599: _ACEOF
1.128     moko     8600: 
1.150     moko     8601: fi
1.128     moko     8602: 
1.150     moko     8603: done
1.128     moko     8604: 
                   8605: 
1.150     moko     8606: for ac_header in dlfcn.h
                   8607: do :
                   8608:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8609: "
                   8610: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8611:   cat >>confdefs.h <<_ACEOF
                   8612: #define HAVE_DLFCN_H 1
                   8613: _ACEOF
1.128     moko     8614: 
1.150     moko     8615: fi
1.128     moko     8616: 
1.150     moko     8617: done
1.128     moko     8618: 
                   8619: 
                   8620: 
                   8621: 
1.150     moko     8622: func_stripname_cnf ()
                   8623: {
                   8624:   case ${2} in
                   8625:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   8626:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   8627:   esac
                   8628: } # func_stripname_cnf
1.128     moko     8629: 
                   8630: 
                   8631: 
                   8632: 
                   8633: 
                   8634: # Set options
                   8635: enable_dlopen=yes
                   8636: enable_win32_dll=yes
                   8637: 
                   8638: case $host in
                   8639: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   8640:   if test -n "$ac_tool_prefix"; then
                   8641:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   8642: set dummy ${ac_tool_prefix}as; ac_word=$2
1.150     moko     8643: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8644: $as_echo_n "checking for $ac_word... " >&6; }
                   8645: if ${ac_cv_prog_AS+:} false; then :
                   8646:   $as_echo_n "(cached) " >&6
1.128     moko     8647: else
                   8648:   if test -n "$AS"; then
                   8649:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   8650: else
                   8651: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8652: for as_dir in $PATH
                   8653: do
                   8654:   IFS=$as_save_IFS
                   8655:   test -z "$as_dir" && as_dir=.
1.150     moko     8656:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8657:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8658:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.150     moko     8659:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8660:     break 2
                   8661:   fi
                   8662: done
1.150     moko     8663:   done
                   8664: IFS=$as_save_IFS
1.128     moko     8665: 
                   8666: fi
                   8667: fi
                   8668: AS=$ac_cv_prog_AS
                   8669: if test -n "$AS"; then
1.150     moko     8670:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   8671: $as_echo "$AS" >&6; }
1.128     moko     8672: else
1.150     moko     8673:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8674: $as_echo "no" >&6; }
1.128     moko     8675: fi
                   8676: 
1.150     moko     8677: 
1.128     moko     8678: fi
                   8679: if test -z "$ac_cv_prog_AS"; then
                   8680:   ac_ct_AS=$AS
                   8681:   # Extract the first word of "as", so it can be a program name with args.
                   8682: set dummy as; ac_word=$2
1.150     moko     8683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8684: $as_echo_n "checking for $ac_word... " >&6; }
                   8685: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   8686:   $as_echo_n "(cached) " >&6
1.128     moko     8687: else
                   8688:   if test -n "$ac_ct_AS"; then
                   8689:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   8690: else
                   8691: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8692: for as_dir in $PATH
                   8693: do
                   8694:   IFS=$as_save_IFS
                   8695:   test -z "$as_dir" && as_dir=.
1.150     moko     8696:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8697:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8698:     ac_cv_prog_ac_ct_AS="as"
1.150     moko     8699:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8700:     break 2
                   8701:   fi
                   8702: done
1.150     moko     8703:   done
                   8704: IFS=$as_save_IFS
1.128     moko     8705: 
                   8706: fi
                   8707: fi
                   8708: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   8709: if test -n "$ac_ct_AS"; then
1.150     moko     8710:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   8711: $as_echo "$ac_ct_AS" >&6; }
1.128     moko     8712: else
1.150     moko     8713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8714: $as_echo "no" >&6; }
1.128     moko     8715: fi
                   8716: 
1.150     moko     8717:   if test "x$ac_ct_AS" = x; then
                   8718:     AS="false"
                   8719:   else
                   8720:     case $cross_compiling:$ac_tool_warned in
                   8721: yes:)
                   8722: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8723: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8724: ac_tool_warned=yes ;;
                   8725: esac
                   8726:     AS=$ac_ct_AS
                   8727:   fi
1.128     moko     8728: else
                   8729:   AS="$ac_cv_prog_AS"
                   8730: fi
                   8731: 
                   8732:   if test -n "$ac_tool_prefix"; then
                   8733:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   8734: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.150     moko     8735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8736: $as_echo_n "checking for $ac_word... " >&6; }
                   8737: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   8738:   $as_echo_n "(cached) " >&6
1.128     moko     8739: else
                   8740:   if test -n "$DLLTOOL"; then
                   8741:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   8742: else
                   8743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8744: for as_dir in $PATH
                   8745: do
                   8746:   IFS=$as_save_IFS
                   8747:   test -z "$as_dir" && as_dir=.
1.150     moko     8748:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8749:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8750:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.150     moko     8751:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8752:     break 2
                   8753:   fi
                   8754: done
1.150     moko     8755:   done
                   8756: IFS=$as_save_IFS
1.128     moko     8757: 
                   8758: fi
                   8759: fi
                   8760: DLLTOOL=$ac_cv_prog_DLLTOOL
                   8761: if test -n "$DLLTOOL"; then
1.150     moko     8762:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   8763: $as_echo "$DLLTOOL" >&6; }
1.128     moko     8764: else
1.150     moko     8765:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8766: $as_echo "no" >&6; }
1.128     moko     8767: fi
                   8768: 
1.150     moko     8769: 
1.128     moko     8770: fi
                   8771: if test -z "$ac_cv_prog_DLLTOOL"; then
                   8772:   ac_ct_DLLTOOL=$DLLTOOL
                   8773:   # Extract the first word of "dlltool", so it can be a program name with args.
                   8774: set dummy dlltool; ac_word=$2
1.150     moko     8775: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8776: $as_echo_n "checking for $ac_word... " >&6; }
                   8777: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   8778:   $as_echo_n "(cached) " >&6
1.128     moko     8779: else
                   8780:   if test -n "$ac_ct_DLLTOOL"; then
                   8781:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   8782: else
                   8783: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8784: for as_dir in $PATH
                   8785: do
                   8786:   IFS=$as_save_IFS
                   8787:   test -z "$as_dir" && as_dir=.
1.150     moko     8788:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8789:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8790:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.150     moko     8791:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8792:     break 2
                   8793:   fi
                   8794: done
1.150     moko     8795:   done
                   8796: IFS=$as_save_IFS
1.128     moko     8797: 
                   8798: fi
                   8799: fi
                   8800: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   8801: if test -n "$ac_ct_DLLTOOL"; then
1.150     moko     8802:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   8803: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.128     moko     8804: else
1.150     moko     8805:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8806: $as_echo "no" >&6; }
1.128     moko     8807: fi
                   8808: 
1.150     moko     8809:   if test "x$ac_ct_DLLTOOL" = x; then
                   8810:     DLLTOOL="false"
                   8811:   else
                   8812:     case $cross_compiling:$ac_tool_warned in
                   8813: yes:)
                   8814: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8815: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8816: ac_tool_warned=yes ;;
                   8817: esac
                   8818:     DLLTOOL=$ac_ct_DLLTOOL
                   8819:   fi
1.128     moko     8820: else
                   8821:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   8822: fi
                   8823: 
                   8824:   if test -n "$ac_tool_prefix"; then
                   8825:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8826: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.150     moko     8827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8828: $as_echo_n "checking for $ac_word... " >&6; }
                   8829: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8830:   $as_echo_n "(cached) " >&6
1.128     moko     8831: else
                   8832:   if test -n "$OBJDUMP"; then
                   8833:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8834: else
                   8835: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8836: for as_dir in $PATH
                   8837: do
                   8838:   IFS=$as_save_IFS
                   8839:   test -z "$as_dir" && as_dir=.
1.150     moko     8840:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8841:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8842:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.150     moko     8843:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8844:     break 2
                   8845:   fi
                   8846: done
1.150     moko     8847:   done
                   8848: IFS=$as_save_IFS
1.128     moko     8849: 
                   8850: fi
                   8851: fi
                   8852: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8853: if test -n "$OBJDUMP"; then
1.150     moko     8854:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8855: $as_echo "$OBJDUMP" >&6; }
1.128     moko     8856: else
1.150     moko     8857:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8858: $as_echo "no" >&6; }
1.128     moko     8859: fi
                   8860: 
1.150     moko     8861: 
1.128     moko     8862: fi
                   8863: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8864:   ac_ct_OBJDUMP=$OBJDUMP
                   8865:   # Extract the first word of "objdump", so it can be a program name with args.
                   8866: set dummy objdump; ac_word=$2
1.150     moko     8867: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8868: $as_echo_n "checking for $ac_word... " >&6; }
                   8869: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8870:   $as_echo_n "(cached) " >&6
1.128     moko     8871: else
                   8872:   if test -n "$ac_ct_OBJDUMP"; then
                   8873:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8874: else
                   8875: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8876: for as_dir in $PATH
                   8877: do
                   8878:   IFS=$as_save_IFS
                   8879:   test -z "$as_dir" && as_dir=.
1.150     moko     8880:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8881:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.128     moko     8882:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.150     moko     8883:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.128     moko     8884:     break 2
                   8885:   fi
                   8886: done
1.150     moko     8887:   done
                   8888: IFS=$as_save_IFS
1.128     moko     8889: 
                   8890: fi
                   8891: fi
                   8892: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8893: if test -n "$ac_ct_OBJDUMP"; then
1.150     moko     8894:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8895: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.128     moko     8896: else
1.150     moko     8897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8898: $as_echo "no" >&6; }
1.128     moko     8899: fi
                   8900: 
1.150     moko     8901:   if test "x$ac_ct_OBJDUMP" = x; then
                   8902:     OBJDUMP="false"
                   8903:   else
                   8904:     case $cross_compiling:$ac_tool_warned in
                   8905: yes:)
                   8906: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8907: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8908: ac_tool_warned=yes ;;
                   8909: esac
                   8910:     OBJDUMP=$ac_ct_OBJDUMP
                   8911:   fi
1.128     moko     8912: else
                   8913:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   8914: fi
                   8915: 
                   8916:   ;;
                   8917: esac
                   8918: 
                   8919: test -z "$AS" && AS=as
                   8920: 
                   8921: 
                   8922: 
                   8923: 
                   8924: 
                   8925: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   8926: 
                   8927: 
                   8928: 
                   8929: 
                   8930: 
                   8931: test -z "$OBJDUMP" && OBJDUMP=objdump
                   8932: 
                   8933: 
                   8934: 
                   8935: 
                   8936: 
1.150     moko     8937: # Check whether --with-pic was given.
                   8938: if test "${with_pic+set}" = set; then :
                   8939:   withval=$with_pic; lt_p=${PACKAGE-default}
1.145     moko     8940:     case $withval in
                   8941:     yes|no) pic_mode=$withval ;;
                   8942:     *)
                   8943:       pic_mode=default
                   8944:       # Look at the argument we got.  We use all the common list separators.
                   8945:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8946:       for lt_pkg in $withval; do
                   8947:        IFS="$lt_save_ifs"
                   8948:        if test "X$lt_pkg" = "X$lt_p"; then
                   8949:          pic_mode=yes
                   8950:        fi
                   8951:       done
                   8952:       IFS="$lt_save_ifs"
                   8953:       ;;
                   8954:     esac
                   8955: else
                   8956:   pic_mode=default
1.150     moko     8957: fi
                   8958: 
1.145     moko     8959: 
                   8960: test -z "$pic_mode" && pic_mode=no
                   8961: 
                   8962: 
                   8963: 
                   8964: 
                   8965: 
                   8966: 
1.128     moko     8967: 
                   8968: 
                   8969: 
                   8970: 
1.150     moko     8971:             # Check whether --enable-shared was given.
                   8972: if test "${enable_shared+set}" = set; then :
                   8973:   enableval=$enable_shared; p=${PACKAGE-default}
1.128     moko     8974:     case $enableval in
                   8975:     yes) enable_shared=yes ;;
                   8976:     no) enable_shared=no ;;
                   8977:     *)
                   8978:       enable_shared=no
                   8979:       # Look at the argument we got.  We use all the common list separators.
                   8980:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8981:       for pkg in $enableval; do
                   8982:        IFS="$lt_save_ifs"
                   8983:        if test "X$pkg" = "X$p"; then
                   8984:          enable_shared=yes
                   8985:        fi
                   8986:       done
                   8987:       IFS="$lt_save_ifs"
                   8988:       ;;
                   8989:     esac
                   8990: else
                   8991:   enable_shared=yes
1.150     moko     8992: fi
                   8993: 
1.128     moko     8994: 
                   8995: 
                   8996: 
                   8997: 
                   8998: 
                   8999: 
                   9000: 
                   9001: 
1.150     moko     9002:   # Check whether --enable-static was given.
                   9003: if test "${enable_static+set}" = set; then :
                   9004:   enableval=$enable_static; p=${PACKAGE-default}
1.138     moko     9005:     case $enableval in
                   9006:     yes) enable_static=yes ;;
                   9007:     no) enable_static=no ;;
                   9008:     *)
                   9009:      enable_static=no
                   9010:       # Look at the argument we got.  We use all the common list separators.
                   9011:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9012:       for pkg in $enableval; do
                   9013:        IFS="$lt_save_ifs"
                   9014:        if test "X$pkg" = "X$p"; then
                   9015:          enable_static=yes
                   9016:        fi
                   9017:       done
                   9018:       IFS="$lt_save_ifs"
                   9019:       ;;
                   9020:     esac
                   9021: else
                   9022:   enable_static=yes
1.150     moko     9023: fi
                   9024: 
1.138     moko     9025: 
                   9026: 
                   9027: 
                   9028: 
                   9029: 
                   9030: 
                   9031: 
1.128     moko     9032: 
                   9033: 
1.150     moko     9034:   # Check whether --enable-fast-install was given.
                   9035: if test "${enable_fast_install+set}" = set; then :
                   9036:   enableval=$enable_fast_install; p=${PACKAGE-default}
1.128     moko     9037:     case $enableval in
                   9038:     yes) enable_fast_install=yes ;;
                   9039:     no) enable_fast_install=no ;;
                   9040:     *)
                   9041:       enable_fast_install=no
                   9042:       # Look at the argument we got.  We use all the common list separators.
                   9043:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   9044:       for pkg in $enableval; do
                   9045:        IFS="$lt_save_ifs"
                   9046:        if test "X$pkg" = "X$p"; then
                   9047:          enable_fast_install=yes
                   9048:        fi
                   9049:       done
                   9050:       IFS="$lt_save_ifs"
                   9051:       ;;
                   9052:     esac
                   9053: else
                   9054:   enable_fast_install=yes
1.150     moko     9055: fi
                   9056: 
1.128     moko     9057: 
                   9058: 
                   9059: 
                   9060: 
                   9061: 
                   9062: 
                   9063: 
                   9064: 
                   9065: 
                   9066: 
                   9067: # This can be used to rebuild libtool when needed
                   9068: LIBTOOL_DEPS="$ltmain"
                   9069: 
                   9070: # Always use our own libtool.
                   9071: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   9072: 
                   9073: 
                   9074: 
                   9075: 
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: 
                   9081: 
                   9082: 
                   9083: 
                   9084: 
                   9085: 
                   9086: 
                   9087: 
                   9088: 
                   9089: 
                   9090: 
                   9091: 
                   9092: 
                   9093: 
                   9094: 
                   9095: 
                   9096: 
                   9097: 
                   9098: 
                   9099: 
                   9100: 
                   9101: 
                   9102: test -z "$LN_S" && LN_S="ln -s"
                   9103: 
                   9104: 
                   9105: 
                   9106: 
                   9107: 
                   9108: 
                   9109: 
                   9110: 
                   9111: 
                   9112: 
                   9113: 
                   9114: 
                   9115: 
                   9116: 
                   9117: if test -n "${ZSH_VERSION+set}" ; then
                   9118:    setopt NO_GLOB_SUBST
                   9119: fi
                   9120: 
1.150     moko     9121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   9122: $as_echo_n "checking for objdir... " >&6; }
                   9123: if ${lt_cv_objdir+:} false; then :
                   9124:   $as_echo_n "(cached) " >&6
1.128     moko     9125: else
                   9126:   rm -f .libs 2>/dev/null
                   9127: mkdir .libs 2>/dev/null
                   9128: if test -d .libs; then
                   9129:   lt_cv_objdir=.libs
                   9130: else
                   9131:   # MS-DOS does not allow filenames that begin with a dot.
                   9132:   lt_cv_objdir=_libs
                   9133: fi
                   9134: rmdir .libs 2>/dev/null
                   9135: fi
1.150     moko     9136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9137: $as_echo "$lt_cv_objdir" >&6; }
1.128     moko     9138: objdir=$lt_cv_objdir
                   9139: 
                   9140: 
                   9141: 
                   9142: 
                   9143: 
                   9144: cat >>confdefs.h <<_ACEOF
                   9145: #define LT_OBJDIR "$lt_cv_objdir/"
                   9146: _ACEOF
                   9147: 
                   9148: 
                   9149: 
                   9150: 
                   9151: case $host_os in
                   9152: aix3*)
                   9153:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9154:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9155:   # vanish in a puff of smoke.
                   9156:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9157:     COLLECT_NAMES=
                   9158:     export COLLECT_NAMES
                   9159:   fi
                   9160:   ;;
                   9161: esac
                   9162: 
                   9163: # Global variables:
                   9164: ofile=libtool
                   9165: can_build_shared=yes
                   9166: 
                   9167: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9168: # which needs '.lib').
                   9169: libext=a
                   9170: 
                   9171: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9172: 
                   9173: old_CC="$CC"
                   9174: old_CFLAGS="$CFLAGS"
                   9175: 
                   9176: # Set sane defaults for various variables
                   9177: test -z "$CC" && CC=cc
                   9178: test -z "$LTCC" && LTCC=$CC
                   9179: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9180: test -z "$LD" && LD=ld
                   9181: test -z "$ac_objext" && ac_objext=o
                   9182: 
                   9183: for cc_temp in $compiler""; do
                   9184:   case $cc_temp in
                   9185:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9186:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9187:     \-*) ;;
                   9188:     *) break;;
                   9189:   esac
                   9190: done
                   9191: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9192: 
                   9193: 
                   9194: # Only perform the check for file, if the check method requires it
                   9195: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9196: case $deplibs_check_method in
                   9197: file_magic*)
                   9198:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.150     moko     9199:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9200: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9201: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9202:   $as_echo_n "(cached) " >&6
1.128     moko     9203: else
                   9204:   case $MAGIC_CMD in
                   9205: [\\/*] |  ?:[\\/]*)
                   9206:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9207:   ;;
                   9208: *)
                   9209:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9210:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9211:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9212:   for ac_dir in $ac_dummy; do
                   9213:     IFS="$lt_save_ifs"
                   9214:     test -z "$ac_dir" && ac_dir=.
                   9215:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9216:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9217:       if test -n "$file_magic_test_file"; then
                   9218:        case $deplibs_check_method in
                   9219:        "file_magic "*)
                   9220:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9221:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9222:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9223:            $EGREP "$file_magic_regex" > /dev/null; then
                   9224:            :
                   9225:          else
                   9226:            cat <<_LT_EOF 1>&2
                   9227: 
                   9228: *** Warning: the command libtool uses to detect shared libraries,
                   9229: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9230: *** The result is that libtool may fail to recognize shared libraries
                   9231: *** as such.  This will affect the creation of libtool libraries that
                   9232: *** depend on shared libraries, but programs linked with such libtool
                   9233: *** libraries will work regardless of this problem.  Nevertheless, you
                   9234: *** may want to report the problem to your system manager and/or to
                   9235: *** bug-libtool@gnu.org
                   9236: 
                   9237: _LT_EOF
                   9238:          fi ;;
                   9239:        esac
                   9240:       fi
                   9241:       break
                   9242:     fi
                   9243:   done
                   9244:   IFS="$lt_save_ifs"
                   9245:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9246:   ;;
                   9247: esac
                   9248: fi
                   9249: 
                   9250: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9251: if test -n "$MAGIC_CMD"; then
1.150     moko     9252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9253: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9254: else
1.150     moko     9255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9256: $as_echo "no" >&6; }
1.128     moko     9257: fi
                   9258: 
                   9259: 
                   9260: 
                   9261: 
                   9262: 
                   9263: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9264:   if test -n "$ac_tool_prefix"; then
1.150     moko     9265:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9266: $as_echo_n "checking for file... " >&6; }
                   9267: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9268:   $as_echo_n "(cached) " >&6
1.128     moko     9269: else
                   9270:   case $MAGIC_CMD in
                   9271: [\\/*] |  ?:[\\/]*)
                   9272:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9273:   ;;
                   9274: *)
                   9275:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9276:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9277:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9278:   for ac_dir in $ac_dummy; do
                   9279:     IFS="$lt_save_ifs"
                   9280:     test -z "$ac_dir" && ac_dir=.
                   9281:     if test -f $ac_dir/file; then
                   9282:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9283:       if test -n "$file_magic_test_file"; then
                   9284:        case $deplibs_check_method in
                   9285:        "file_magic "*)
                   9286:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9287:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9288:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9289:            $EGREP "$file_magic_regex" > /dev/null; then
                   9290:            :
                   9291:          else
                   9292:            cat <<_LT_EOF 1>&2
                   9293: 
                   9294: *** Warning: the command libtool uses to detect shared libraries,
                   9295: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9296: *** The result is that libtool may fail to recognize shared libraries
                   9297: *** as such.  This will affect the creation of libtool libraries that
                   9298: *** depend on shared libraries, but programs linked with such libtool
                   9299: *** libraries will work regardless of this problem.  Nevertheless, you
                   9300: *** may want to report the problem to your system manager and/or to
                   9301: *** bug-libtool@gnu.org
                   9302: 
                   9303: _LT_EOF
                   9304:          fi ;;
                   9305:        esac
                   9306:       fi
                   9307:       break
                   9308:     fi
                   9309:   done
                   9310:   IFS="$lt_save_ifs"
                   9311:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9312:   ;;
                   9313: esac
                   9314: fi
                   9315: 
                   9316: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9317: if test -n "$MAGIC_CMD"; then
1.150     moko     9318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9319: $as_echo "$MAGIC_CMD" >&6; }
1.128     moko     9320: else
1.150     moko     9321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9322: $as_echo "no" >&6; }
1.128     moko     9323: fi
                   9324: 
                   9325: 
                   9326:   else
                   9327:     MAGIC_CMD=:
                   9328:   fi
                   9329: fi
                   9330: 
                   9331:   fi
                   9332:   ;;
                   9333: esac
                   9334: 
                   9335: # Use C for the default configuration in the libtool script
                   9336: 
                   9337: lt_save_CC="$CC"
                   9338: ac_ext=c
                   9339: ac_cpp='$CPP $CPPFLAGS'
                   9340: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9341: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9342: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9343: 
                   9344: 
                   9345: # Source file extension for C test sources.
                   9346: ac_ext=c
                   9347: 
                   9348: # Object file extension for compiled C test sources.
                   9349: objext=o
                   9350: objext=$objext
                   9351: 
                   9352: # Code to be used in simple compile tests
                   9353: lt_simple_compile_test_code="int some_variable = 0;"
                   9354: 
                   9355: # Code to be used in simple link tests
                   9356: lt_simple_link_test_code='int main(){return(0);}'
                   9357: 
                   9358: 
                   9359: 
                   9360: 
                   9361: 
                   9362: 
                   9363: 
                   9364: # If no C compiler was specified, use CC.
                   9365: LTCC=${LTCC-"$CC"}
                   9366: 
                   9367: # If no C compiler flags were specified, use CFLAGS.
                   9368: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9369: 
                   9370: # Allow CC to be a program name with arguments.
                   9371: compiler=$CC
                   9372: 
                   9373: # Save the default compiler, since it gets overwritten when the other
                   9374: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9375: compiler_DEFAULT=$CC
                   9376: 
                   9377: # save warnings/boilerplate of simple test code
                   9378: ac_outfile=conftest.$ac_objext
                   9379: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9380: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9381: _lt_compiler_boilerplate=`cat conftest.err`
                   9382: $RM conftest*
                   9383: 
                   9384: ac_outfile=conftest.$ac_objext
                   9385: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9386: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9387: _lt_linker_boilerplate=`cat conftest.err`
                   9388: $RM -r conftest*
                   9389: 
                   9390: 
                   9391: ## CAVEAT EMPTOR:
                   9392: ## There is no encapsulation within the following macros, do not change
                   9393: ## the running order or otherwise move them around unless you know exactly
                   9394: ## what you are doing...
                   9395: if test -n "$compiler"; then
                   9396: 
                   9397: lt_prog_compiler_no_builtin_flag=
                   9398: 
                   9399: if test "$GCC" = yes; then
                   9400:   case $cc_basename in
                   9401:   nvcc*)
                   9402:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9403:   *)
                   9404:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9405:   esac
                   9406: 
1.150     moko     9407:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9408: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9409: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9410:   $as_echo_n "(cached) " >&6
1.128     moko     9411: else
                   9412:   lt_cv_prog_compiler_rtti_exceptions=no
                   9413:    ac_outfile=conftest.$ac_objext
                   9414:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9415:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   9416:    # Insert the option either (1) after the last *FLAGS variable, or
                   9417:    # (2) before a word containing "conftest.", or (3) at the end.
                   9418:    # Note that $ac_compile itself does not contain backslashes and begins
                   9419:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9420:    # The option is referenced via a variable to avoid confusing sed.
                   9421:    lt_compile=`echo "$ac_compile" | $SED \
                   9422:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9423:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9424:    -e 's:$: $lt_compiler_flag:'`
                   9425:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9426:    (eval "$lt_compile" 2>conftest.err)
                   9427:    ac_status=$?
                   9428:    cat conftest.err >&5
                   9429:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9430:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9431:      # The compiler can only warn and ignore the option if not recognized
                   9432:      # So say no if there are warnings other than the usual output.
                   9433:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9434:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9435:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9436:        lt_cv_prog_compiler_rtti_exceptions=yes
                   9437:      fi
                   9438:    fi
                   9439:    $RM conftest*
                   9440: 
                   9441: fi
1.150     moko     9442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   9443: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.128     moko     9444: 
                   9445: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   9446:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   9447: else
                   9448:     :
                   9449: fi
                   9450: 
                   9451: fi
                   9452: 
                   9453: 
                   9454: 
                   9455: 
                   9456: 
                   9457: 
                   9458:   lt_prog_compiler_wl=
                   9459: lt_prog_compiler_pic=
                   9460: lt_prog_compiler_static=
                   9461: 
                   9462: 
                   9463:   if test "$GCC" = yes; then
                   9464:     lt_prog_compiler_wl='-Wl,'
                   9465:     lt_prog_compiler_static='-static'
                   9466: 
                   9467:     case $host_os in
                   9468:       aix*)
                   9469:       # All AIX code is PIC.
                   9470:       if test "$host_cpu" = ia64; then
                   9471:        # AIX 5 now supports IA64 processor
                   9472:        lt_prog_compiler_static='-Bstatic'
                   9473:       fi
                   9474:       ;;
                   9475: 
                   9476:     amigaos*)
                   9477:       case $host_cpu in
                   9478:       powerpc)
                   9479:             # see comment about AmigaOS4 .so support
                   9480:             lt_prog_compiler_pic='-fPIC'
                   9481:         ;;
                   9482:       m68k)
                   9483:             # FIXME: we need at least 68020 code to build shared libraries, but
                   9484:             # adding the `-m68020' flag to GCC prevents building anything better,
                   9485:             # like `-m68040'.
                   9486:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   9487:         ;;
                   9488:       esac
                   9489:       ;;
                   9490: 
                   9491:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   9492:       # PIC is the default for these OSes.
                   9493:       ;;
                   9494: 
                   9495:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9496:       # This hack is so that the source file can tell whether it is being
                   9497:       # built for inclusion in a dll (and should export symbols for example).
                   9498:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   9499:       # (--disable-auto-import) libraries
                   9500:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9501:       ;;
                   9502: 
                   9503:     darwin* | rhapsody*)
                   9504:       # PIC is the default on this platform
                   9505:       # Common symbols not allowed in MH_DYLIB files
                   9506:       lt_prog_compiler_pic='-fno-common'
                   9507:       ;;
                   9508: 
                   9509:     haiku*)
                   9510:       # PIC is the default for Haiku.
                   9511:       # The "-static" flag exists, but is broken.
                   9512:       lt_prog_compiler_static=
                   9513:       ;;
                   9514: 
                   9515:     hpux*)
                   9516:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   9517:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   9518:       # sets the default TLS model and affects inlining.
                   9519:       case $host_cpu in
                   9520:       hppa*64*)
                   9521:        # +Z the default
                   9522:        ;;
                   9523:       *)
                   9524:        lt_prog_compiler_pic='-fPIC'
                   9525:        ;;
                   9526:       esac
                   9527:       ;;
                   9528: 
                   9529:     interix[3-9]*)
                   9530:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   9531:       # Instead, we relocate shared libraries at runtime.
                   9532:       ;;
                   9533: 
                   9534:     msdosdjgpp*)
                   9535:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   9536:       # on systems that don't support them.
                   9537:       lt_prog_compiler_can_build_shared=no
                   9538:       enable_shared=no
                   9539:       ;;
                   9540: 
                   9541:     *nto* | *qnx*)
                   9542:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9543:       # it will coredump.
                   9544:       lt_prog_compiler_pic='-fPIC -shared'
                   9545:       ;;
                   9546: 
                   9547:     sysv4*MP*)
                   9548:       if test -d /usr/nec; then
                   9549:        lt_prog_compiler_pic=-Kconform_pic
                   9550:       fi
                   9551:       ;;
                   9552: 
                   9553:     *)
                   9554:       lt_prog_compiler_pic='-fPIC'
                   9555:       ;;
                   9556:     esac
                   9557: 
                   9558:     case $cc_basename in
                   9559:     nvcc*) # Cuda Compiler Driver 2.2
                   9560:       lt_prog_compiler_wl='-Xlinker '
                   9561:       if test -n "$lt_prog_compiler_pic"; then
                   9562:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   9563:       fi
                   9564:       ;;
                   9565:     esac
                   9566:   else
                   9567:     # PORTME Check for flag to pass linker flags through the system compiler.
                   9568:     case $host_os in
                   9569:     aix*)
                   9570:       lt_prog_compiler_wl='-Wl,'
                   9571:       if test "$host_cpu" = ia64; then
                   9572:        # AIX 5 now supports IA64 processor
                   9573:        lt_prog_compiler_static='-Bstatic'
                   9574:       else
                   9575:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   9576:       fi
                   9577:       ;;
                   9578: 
                   9579:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   9580:       # This hack is so that the source file can tell whether it is being
                   9581:       # built for inclusion in a dll (and should export symbols for example).
                   9582:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   9583:       ;;
                   9584: 
                   9585:     hpux9* | hpux10* | hpux11*)
                   9586:       lt_prog_compiler_wl='-Wl,'
                   9587:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   9588:       # not for PA HP-UX.
                   9589:       case $host_cpu in
                   9590:       hppa*64*|ia64*)
                   9591:        # +Z the default
                   9592:        ;;
                   9593:       *)
                   9594:        lt_prog_compiler_pic='+Z'
                   9595:        ;;
                   9596:       esac
                   9597:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   9598:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   9599:       ;;
                   9600: 
                   9601:     irix5* | irix6* | nonstopux*)
                   9602:       lt_prog_compiler_wl='-Wl,'
                   9603:       # PIC (with -KPIC) is the default.
                   9604:       lt_prog_compiler_static='-non_shared'
                   9605:       ;;
                   9606: 
                   9607:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9608:       case $cc_basename in
                   9609:       # old Intel for x86_64 which still supported -KPIC.
                   9610:       ecc*)
                   9611:        lt_prog_compiler_wl='-Wl,'
                   9612:        lt_prog_compiler_pic='-KPIC'
                   9613:        lt_prog_compiler_static='-static'
                   9614:         ;;
                   9615:       # icc used to be incompatible with GCC.
                   9616:       # ICC 10 doesn't accept -KPIC any more.
                   9617:       icc* | ifort*)
                   9618:        lt_prog_compiler_wl='-Wl,'
                   9619:        lt_prog_compiler_pic='-fPIC'
                   9620:        lt_prog_compiler_static='-static'
                   9621:         ;;
                   9622:       # Lahey Fortran 8.1.
                   9623:       lf95*)
                   9624:        lt_prog_compiler_wl='-Wl,'
                   9625:        lt_prog_compiler_pic='--shared'
                   9626:        lt_prog_compiler_static='--static'
                   9627:        ;;
                   9628:       nagfor*)
                   9629:        # NAG Fortran compiler
                   9630:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   9631:        lt_prog_compiler_pic='-PIC'
                   9632:        lt_prog_compiler_static='-Bstatic'
                   9633:        ;;
                   9634:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   9635:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   9636:        # which looks to be a dead project)
                   9637:        lt_prog_compiler_wl='-Wl,'
                   9638:        lt_prog_compiler_pic='-fpic'
                   9639:        lt_prog_compiler_static='-Bstatic'
                   9640:         ;;
                   9641:       ccc*)
                   9642:         lt_prog_compiler_wl='-Wl,'
                   9643:         # All Alpha code is PIC.
                   9644:         lt_prog_compiler_static='-non_shared'
                   9645:         ;;
                   9646:       xl* | bgxl* | bgf* | mpixl*)
                   9647:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   9648:        lt_prog_compiler_wl='-Wl,'
                   9649:        lt_prog_compiler_pic='-qpic'
                   9650:        lt_prog_compiler_static='-qstaticlink'
                   9651:        ;;
                   9652:       *)
                   9653:        case `$CC -V 2>&1 | sed 5q` in
                   9654:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   9655:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   9656:          lt_prog_compiler_pic='-KPIC'
                   9657:          lt_prog_compiler_static='-Bstatic'
                   9658:          lt_prog_compiler_wl=''
                   9659:          ;;
                   9660:        *Sun\ F* | *Sun*Fortran*)
                   9661:          lt_prog_compiler_pic='-KPIC'
                   9662:          lt_prog_compiler_static='-Bstatic'
                   9663:          lt_prog_compiler_wl='-Qoption ld '
                   9664:          ;;
                   9665:        *Sun\ C*)
                   9666:          # Sun C 5.9
                   9667:          lt_prog_compiler_pic='-KPIC'
                   9668:          lt_prog_compiler_static='-Bstatic'
                   9669:          lt_prog_compiler_wl='-Wl,'
                   9670:          ;;
                   9671:         *Intel*\ [CF]*Compiler*)
                   9672:          lt_prog_compiler_wl='-Wl,'
                   9673:          lt_prog_compiler_pic='-fPIC'
                   9674:          lt_prog_compiler_static='-static'
                   9675:          ;;
                   9676:        *Portland\ Group*)
                   9677:          lt_prog_compiler_wl='-Wl,'
                   9678:          lt_prog_compiler_pic='-fpic'
                   9679:          lt_prog_compiler_static='-Bstatic'
                   9680:          ;;
                   9681:        esac
                   9682:        ;;
                   9683:       esac
                   9684:       ;;
                   9685: 
                   9686:     newsos6)
                   9687:       lt_prog_compiler_pic='-KPIC'
                   9688:       lt_prog_compiler_static='-Bstatic'
                   9689:       ;;
                   9690: 
                   9691:     *nto* | *qnx*)
                   9692:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   9693:       # it will coredump.
                   9694:       lt_prog_compiler_pic='-fPIC -shared'
                   9695:       ;;
                   9696: 
                   9697:     osf3* | osf4* | osf5*)
                   9698:       lt_prog_compiler_wl='-Wl,'
                   9699:       # All OSF/1 code is PIC.
                   9700:       lt_prog_compiler_static='-non_shared'
                   9701:       ;;
                   9702: 
                   9703:     rdos*)
                   9704:       lt_prog_compiler_static='-non_shared'
                   9705:       ;;
                   9706: 
                   9707:     solaris*)
                   9708:       lt_prog_compiler_pic='-KPIC'
                   9709:       lt_prog_compiler_static='-Bstatic'
                   9710:       case $cc_basename in
                   9711:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   9712:        lt_prog_compiler_wl='-Qoption ld ';;
                   9713:       *)
                   9714:        lt_prog_compiler_wl='-Wl,';;
                   9715:       esac
                   9716:       ;;
                   9717: 
                   9718:     sunos4*)
                   9719:       lt_prog_compiler_wl='-Qoption ld '
                   9720:       lt_prog_compiler_pic='-PIC'
                   9721:       lt_prog_compiler_static='-Bstatic'
                   9722:       ;;
                   9723: 
                   9724:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   9725:       lt_prog_compiler_wl='-Wl,'
                   9726:       lt_prog_compiler_pic='-KPIC'
                   9727:       lt_prog_compiler_static='-Bstatic'
                   9728:       ;;
                   9729: 
                   9730:     sysv4*MP*)
                   9731:       if test -d /usr/nec ;then
                   9732:        lt_prog_compiler_pic='-Kconform_pic'
                   9733:        lt_prog_compiler_static='-Bstatic'
                   9734:       fi
                   9735:       ;;
                   9736: 
                   9737:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   9738:       lt_prog_compiler_wl='-Wl,'
                   9739:       lt_prog_compiler_pic='-KPIC'
                   9740:       lt_prog_compiler_static='-Bstatic'
                   9741:       ;;
                   9742: 
                   9743:     unicos*)
                   9744:       lt_prog_compiler_wl='-Wl,'
                   9745:       lt_prog_compiler_can_build_shared=no
                   9746:       ;;
                   9747: 
                   9748:     uts4*)
                   9749:       lt_prog_compiler_pic='-pic'
                   9750:       lt_prog_compiler_static='-Bstatic'
                   9751:       ;;
                   9752: 
                   9753:     *)
                   9754:       lt_prog_compiler_can_build_shared=no
                   9755:       ;;
                   9756:     esac
                   9757:   fi
                   9758: 
                   9759: case $host_os in
                   9760:   # For platforms which do not support PIC, -DPIC is meaningless:
                   9761:   *djgpp*)
                   9762:     lt_prog_compiler_pic=
                   9763:     ;;
                   9764:   *)
                   9765:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   9766:     ;;
                   9767: esac
                   9768: 
1.150     moko     9769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   9770: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   9771: if ${lt_cv_prog_compiler_pic+:} false; then :
                   9772:   $as_echo_n "(cached) " >&6
1.128     moko     9773: else
                   9774:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   9775: fi
1.150     moko     9776: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   9777: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
1.128     moko     9778: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   9779: 
                   9780: #
                   9781: # Check to make sure the PIC flag actually works.
                   9782: #
                   9783: if test -n "$lt_prog_compiler_pic"; then
1.150     moko     9784:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   9785: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   9786: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   9787:   $as_echo_n "(cached) " >&6
1.128     moko     9788: else
                   9789:   lt_cv_prog_compiler_pic_works=no
                   9790:    ac_outfile=conftest.$ac_objext
                   9791:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9792:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   9793:    # Insert the option either (1) after the last *FLAGS variable, or
                   9794:    # (2) before a word containing "conftest.", or (3) at the end.
                   9795:    # Note that $ac_compile itself does not contain backslashes and begins
                   9796:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9797:    # The option is referenced via a variable to avoid confusing sed.
                   9798:    lt_compile=`echo "$ac_compile" | $SED \
                   9799:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9800:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9801:    -e 's:$: $lt_compiler_flag:'`
                   9802:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9803:    (eval "$lt_compile" 2>conftest.err)
                   9804:    ac_status=$?
                   9805:    cat conftest.err >&5
                   9806:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9807:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   9808:      # The compiler can only warn and ignore the option if not recognized
                   9809:      # So say no if there are warnings other than the usual output.
                   9810:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9811:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9812:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9813:        lt_cv_prog_compiler_pic_works=yes
                   9814:      fi
                   9815:    fi
                   9816:    $RM conftest*
                   9817: 
                   9818: fi
1.150     moko     9819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9820: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.128     moko     9821: 
                   9822: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9823:     case $lt_prog_compiler_pic in
                   9824:      "" | " "*) ;;
                   9825:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9826:      esac
                   9827: else
                   9828:     lt_prog_compiler_pic=
                   9829:      lt_prog_compiler_can_build_shared=no
                   9830: fi
                   9831: 
                   9832: fi
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: 
                   9841: 
                   9842: 
                   9843: 
                   9844: #
                   9845: # Check to make sure the static flag actually works.
                   9846: #
                   9847: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.150     moko     9848: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9849: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9850: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9851:   $as_echo_n "(cached) " >&6
1.128     moko     9852: else
                   9853:   lt_cv_prog_compiler_static_works=no
                   9854:    save_LDFLAGS="$LDFLAGS"
                   9855:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9856:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9857:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9858:      # The linker can only warn and ignore the option if not recognized
                   9859:      # So say no if there are warnings
                   9860:      if test -s conftest.err; then
                   9861:        # Append any errors to the config.log.
                   9862:        cat conftest.err 1>&5
                   9863:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9864:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9865:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9866:          lt_cv_prog_compiler_static_works=yes
                   9867:        fi
                   9868:      else
                   9869:        lt_cv_prog_compiler_static_works=yes
                   9870:      fi
                   9871:    fi
                   9872:    $RM -r conftest*
                   9873:    LDFLAGS="$save_LDFLAGS"
                   9874: 
                   9875: fi
1.150     moko     9876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9877: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.128     moko     9878: 
                   9879: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9880:     :
                   9881: else
                   9882:     lt_prog_compiler_static=
                   9883: fi
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
1.150     moko     9891:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9892: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9893: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9894:   $as_echo_n "(cached) " >&6
1.128     moko     9895: else
                   9896:   lt_cv_prog_compiler_c_o=no
                   9897:    $RM -r conftest 2>/dev/null
                   9898:    mkdir conftest
                   9899:    cd conftest
                   9900:    mkdir out
                   9901:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9902: 
                   9903:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9904:    # Insert the option either (1) after the last *FLAGS variable, or
                   9905:    # (2) before a word containing "conftest.", or (3) at the end.
                   9906:    # Note that $ac_compile itself does not contain backslashes and begins
                   9907:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9908:    lt_compile=`echo "$ac_compile" | $SED \
                   9909:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9910:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9911:    -e 's:$: $lt_compiler_flag:'`
                   9912:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9913:    (eval "$lt_compile" 2>out/conftest.err)
                   9914:    ac_status=$?
                   9915:    cat out/conftest.err >&5
                   9916:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9917:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9918:    then
                   9919:      # The compiler can only warn and ignore the option if not recognized
                   9920:      # So say no if there are warnings
                   9921:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9922:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9923:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9924:        lt_cv_prog_compiler_c_o=yes
                   9925:      fi
                   9926:    fi
                   9927:    chmod u+w . 2>&5
                   9928:    $RM conftest*
                   9929:    # SGI C++ compiler will create directory out/ii_files/ for
                   9930:    # template instantiation
                   9931:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9932:    $RM out/* && rmdir out
                   9933:    cd ..
                   9934:    $RM -r conftest
                   9935:    $RM conftest*
                   9936: 
                   9937: fi
1.150     moko     9938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9939: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9940: 
                   9941: 
                   9942: 
                   9943: 
                   9944: 
                   9945: 
1.150     moko     9946:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9947: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9948: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9949:   $as_echo_n "(cached) " >&6
1.128     moko     9950: else
                   9951:   lt_cv_prog_compiler_c_o=no
                   9952:    $RM -r conftest 2>/dev/null
                   9953:    mkdir conftest
                   9954:    cd conftest
                   9955:    mkdir out
                   9956:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9957: 
                   9958:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9959:    # Insert the option either (1) after the last *FLAGS variable, or
                   9960:    # (2) before a word containing "conftest.", or (3) at the end.
                   9961:    # Note that $ac_compile itself does not contain backslashes and begins
                   9962:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9963:    lt_compile=`echo "$ac_compile" | $SED \
                   9964:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9965:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9966:    -e 's:$: $lt_compiler_flag:'`
                   9967:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9968:    (eval "$lt_compile" 2>out/conftest.err)
                   9969:    ac_status=$?
                   9970:    cat out/conftest.err >&5
                   9971:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9972:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9973:    then
                   9974:      # The compiler can only warn and ignore the option if not recognized
                   9975:      # So say no if there are warnings
                   9976:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9977:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9978:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9979:        lt_cv_prog_compiler_c_o=yes
                   9980:      fi
                   9981:    fi
                   9982:    chmod u+w . 2>&5
                   9983:    $RM conftest*
                   9984:    # SGI C++ compiler will create directory out/ii_files/ for
                   9985:    # template instantiation
                   9986:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9987:    $RM out/* && rmdir out
                   9988:    cd ..
                   9989:    $RM -r conftest
                   9990:    $RM conftest*
                   9991: 
                   9992: fi
1.150     moko     9993: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9994: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
1.128     moko     9995: 
                   9996: 
                   9997: 
                   9998: 
                   9999: hard_links="nottested"
                   10000: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10001:   # do not overwrite the value of need_locks provided by the user
1.150     moko     10002:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10003: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     10004:   hard_links=yes
                   10005:   $RM conftest*
                   10006:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10007:   touch conftest.a
                   10008:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10009:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     10010:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10011: $as_echo "$hard_links" >&6; }
1.128     moko     10012:   if test "$hard_links" = no; then
1.150     moko     10013:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10014: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     10015:     need_locks=warn
                   10016:   fi
                   10017: else
                   10018:   need_locks=no
                   10019: fi
                   10020: 
                   10021: 
                   10022: 
                   10023: 
                   10024: 
                   10025: 
1.150     moko     10026:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10027: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     10028: 
                   10029:   runpath_var=
                   10030:   allow_undefined_flag=
                   10031:   always_export_symbols=no
                   10032:   archive_cmds=
                   10033:   archive_expsym_cmds=
                   10034:   compiler_needs_object=no
                   10035:   enable_shared_with_static_runtimes=no
                   10036:   export_dynamic_flag_spec=
                   10037:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10038:   hardcode_automatic=no
                   10039:   hardcode_direct=no
                   10040:   hardcode_direct_absolute=no
                   10041:   hardcode_libdir_flag_spec=
                   10042:   hardcode_libdir_separator=
                   10043:   hardcode_minus_L=no
                   10044:   hardcode_shlibpath_var=unsupported
                   10045:   inherit_rpath=no
                   10046:   link_all_deplibs=unknown
                   10047:   module_cmds=
                   10048:   module_expsym_cmds=
                   10049:   old_archive_from_new_cmds=
                   10050:   old_archive_from_expsyms_cmds=
                   10051:   thread_safe_flag_spec=
                   10052:   whole_archive_flag_spec=
                   10053:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10054:   # included in the symbol list
                   10055:   include_expsyms=
                   10056:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10057:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10058:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10059:   # as well as any symbol that contains `d'.
                   10060:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10061:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10062:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10063:   # the symbol is explicitly referenced.  Since portable code cannot
                   10064:   # rely on this symbol name, it's probably fine to never include it in
                   10065:   # preloaded symbol tables.
                   10066:   # Exclude shared library initialization/finalization symbols.
                   10067:   extract_expsyms_cmds=
                   10068: 
                   10069:   case $host_os in
                   10070:   cygwin* | mingw* | pw32* | cegcc*)
                   10071:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10072:     # When not using gcc, we currently assume that we are using
                   10073:     # Microsoft Visual C++.
                   10074:     if test "$GCC" != yes; then
                   10075:       with_gnu_ld=no
                   10076:     fi
                   10077:     ;;
                   10078:   interix*)
                   10079:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10080:     with_gnu_ld=yes
                   10081:     ;;
                   10082:   openbsd*)
                   10083:     with_gnu_ld=no
                   10084:     ;;
                   10085:   esac
                   10086: 
                   10087:   ld_shlibs=yes
                   10088: 
                   10089:   # On some targets, GNU ld is compatible enough with the native linker
                   10090:   # that we're better off using the native interface for both.
                   10091:   lt_use_gnu_ld_interface=no
                   10092:   if test "$with_gnu_ld" = yes; then
                   10093:     case $host_os in
                   10094:       aix*)
                   10095:        # The AIX port of GNU ld has always aspired to compatibility
                   10096:        # with the native linker.  However, as the warning in the GNU ld
                   10097:        # block says, versions before 2.19.5* couldn't really create working
                   10098:        # shared libraries, regardless of the interface used.
                   10099:        case `$LD -v 2>&1` in
                   10100:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10101:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10102:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10103:          *)
                   10104:            lt_use_gnu_ld_interface=yes
                   10105:            ;;
                   10106:        esac
                   10107:        ;;
                   10108:       *)
                   10109:        lt_use_gnu_ld_interface=yes
                   10110:        ;;
                   10111:     esac
                   10112:   fi
                   10113: 
                   10114:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10115:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10116:     wlarc='${wl}'
                   10117: 
                   10118:     # Set some defaults for GNU ld with shared library support. These
                   10119:     # are reset later if shared libraries are not supported. Putting them
                   10120:     # here allows them to be overridden if necessary.
                   10121:     runpath_var=LD_RUN_PATH
                   10122:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10123:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10124:     # ancient GNU ld didn't support --whole-archive et. al.
                   10125:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10126:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10127:     else
                   10128:       whole_archive_flag_spec=
                   10129:     fi
                   10130:     supports_anon_versioning=no
                   10131:     case `$LD -v 2>&1` in
                   10132:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10133:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10134:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10135:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10136:       *\ 2.11.*) ;; # other 2.11 versions
                   10137:       *) supports_anon_versioning=yes ;;
                   10138:     esac
                   10139: 
                   10140:     # See if GNU ld supports shared libraries.
                   10141:     case $host_os in
                   10142:     aix[3-9]*)
                   10143:       # On AIX/PPC, the GNU linker is very broken
                   10144:       if test "$host_cpu" != ia64; then
                   10145:        ld_shlibs=no
                   10146:        cat <<_LT_EOF 1>&2
                   10147: 
                   10148: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10149: *** to be unable to reliably create shared libraries on AIX.
                   10150: *** Therefore, libtool is disabling shared libraries support.  If you
                   10151: *** really care for shared libraries, you may want to install binutils
                   10152: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10153: *** You will then need to restart the configuration process.
                   10154: 
                   10155: _LT_EOF
                   10156:       fi
                   10157:       ;;
                   10158: 
                   10159:     amigaos*)
                   10160:       case $host_cpu in
                   10161:       powerpc)
                   10162:             # see comment about AmigaOS4 .so support
                   10163:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10164:             archive_expsym_cmds=''
                   10165:         ;;
                   10166:       m68k)
                   10167:             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)'
                   10168:             hardcode_libdir_flag_spec='-L$libdir'
                   10169:             hardcode_minus_L=yes
                   10170:         ;;
                   10171:       esac
                   10172:       ;;
                   10173: 
                   10174:     beos*)
                   10175:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10176:        allow_undefined_flag=unsupported
                   10177:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10178:        # support --undefined.  This deserves some investigation.  FIXME
                   10179:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10180:       else
                   10181:        ld_shlibs=no
                   10182:       fi
                   10183:       ;;
                   10184: 
                   10185:     cygwin* | mingw* | pw32* | cegcc*)
                   10186:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10187:       # as there is no search path for DLLs.
                   10188:       hardcode_libdir_flag_spec='-L$libdir'
                   10189:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10190:       allow_undefined_flag=unsupported
                   10191:       always_export_symbols=no
                   10192:       enable_shared_with_static_runtimes=yes
                   10193:       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'
                   10194:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10195: 
                   10196:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10197:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10198:        # If the export-symbols file already is a .def file (1st line
                   10199:        # is EXPORTS), use it as is; otherwise, prepend...
                   10200:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10201:          cp $export_symbols $output_objdir/$soname.def;
                   10202:        else
                   10203:          echo EXPORTS > $output_objdir/$soname.def;
                   10204:          cat $export_symbols >> $output_objdir/$soname.def;
                   10205:        fi~
                   10206:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10207:       else
                   10208:        ld_shlibs=no
                   10209:       fi
                   10210:       ;;
                   10211: 
                   10212:     haiku*)
                   10213:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10214:       link_all_deplibs=yes
                   10215:       ;;
                   10216: 
                   10217:     interix[3-9]*)
                   10218:       hardcode_direct=no
                   10219:       hardcode_shlibpath_var=no
                   10220:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10221:       export_dynamic_flag_spec='${wl}-E'
                   10222:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10223:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10224:       # default) and relocated if they conflict, which is a slow very memory
                   10225:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10226:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10227:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10228:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10229:       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'
                   10230:       ;;
                   10231: 
                   10232:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10233:       tmp_diet=no
                   10234:       if test "$host_os" = linux-dietlibc; then
                   10235:        case $cc_basename in
                   10236:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10237:        esac
                   10238:       fi
                   10239:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10240:         && test "$tmp_diet" = no
                   10241:       then
                   10242:        tmp_addflag=' $pic_flag'
                   10243:        tmp_sharedflag='-shared'
                   10244:        case $cc_basename,$host_cpu in
                   10245:         pgcc*)                         # Portland Group C compiler
                   10246:          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'
                   10247:          tmp_addflag=' $pic_flag'
                   10248:          ;;
                   10249:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10250:                                        # Portland Group f77 and f90 compilers
                   10251:          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'
                   10252:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10253:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10254:          tmp_addflag=' -i_dynamic' ;;
                   10255:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10256:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10257:        ifc* | ifort*)                  # Intel Fortran compiler
                   10258:          tmp_addflag=' -nofor_main' ;;
                   10259:        lf95*)                          # Lahey Fortran 8.1
                   10260:          whole_archive_flag_spec=
                   10261:          tmp_sharedflag='--shared' ;;
                   10262:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10263:          tmp_sharedflag='-qmkshrobj'
                   10264:          tmp_addflag= ;;
                   10265:        nvcc*)  # Cuda Compiler Driver 2.2
                   10266:          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'
                   10267:          compiler_needs_object=yes
                   10268:          ;;
                   10269:        esac
                   10270:        case `$CC -V 2>&1 | sed 5q` in
                   10271:        *Sun\ C*)                       # Sun C 5.9
                   10272:          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'
                   10273:          compiler_needs_object=yes
                   10274:          tmp_sharedflag='-G' ;;
                   10275:        *Sun\ F*)                       # Sun Fortran 8.3
                   10276:          tmp_sharedflag='-G' ;;
                   10277:        esac
                   10278:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10279: 
                   10280:         if test "x$supports_anon_versioning" = xyes; then
                   10281:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10282:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10283:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10284:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10285:         fi
                   10286: 
                   10287:        case $cc_basename in
                   10288:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10289:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10290:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   10291:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10292:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10293:          if test "x$supports_anon_versioning" = xyes; then
                   10294:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10295:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10296:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10297:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10298:          fi
                   10299:          ;;
                   10300:        esac
                   10301:       else
                   10302:         ld_shlibs=no
                   10303:       fi
                   10304:       ;;
                   10305: 
                   10306:     netbsd*)
                   10307:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10308:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10309:        wlarc=
                   10310:       else
                   10311:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10312:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10313:       fi
                   10314:       ;;
                   10315: 
                   10316:     solaris*)
                   10317:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10318:        ld_shlibs=no
                   10319:        cat <<_LT_EOF 1>&2
                   10320: 
                   10321: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10322: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10323: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10324: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10325: *** your PATH or compiler configuration so that the native linker is
                   10326: *** used, and then restart.
                   10327: 
                   10328: _LT_EOF
                   10329:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10330:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10331:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10332:       else
                   10333:        ld_shlibs=no
                   10334:       fi
                   10335:       ;;
                   10336: 
                   10337:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10338:       case `$LD -v 2>&1` in
                   10339:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10340:        ld_shlibs=no
                   10341:        cat <<_LT_EOF 1>&2
                   10342: 
                   10343: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10344: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10345: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10346: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10347: *** your PATH or compiler configuration so that the native linker is
                   10348: *** used, and then restart.
                   10349: 
                   10350: _LT_EOF
                   10351:        ;;
                   10352:        *)
                   10353:          # For security reasons, it is highly recommended that you always
                   10354:          # use absolute paths for naming shared libraries, and exclude the
                   10355:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10356:          # requires that you compile everything twice, which is a pain.
                   10357:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10358:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10359:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10360:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10361:          else
                   10362:            ld_shlibs=no
                   10363:          fi
                   10364:        ;;
                   10365:       esac
                   10366:       ;;
                   10367: 
                   10368:     sunos4*)
                   10369:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10370:       wlarc=
                   10371:       hardcode_direct=yes
                   10372:       hardcode_shlibpath_var=no
                   10373:       ;;
                   10374: 
                   10375:     *)
                   10376:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10377:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10378:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10379:       else
                   10380:        ld_shlibs=no
                   10381:       fi
                   10382:       ;;
                   10383:     esac
                   10384: 
                   10385:     if test "$ld_shlibs" = no; then
                   10386:       runpath_var=
                   10387:       hardcode_libdir_flag_spec=
                   10388:       export_dynamic_flag_spec=
                   10389:       whole_archive_flag_spec=
                   10390:     fi
                   10391:   else
                   10392:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10393:     case $host_os in
                   10394:     aix3*)
                   10395:       allow_undefined_flag=unsupported
                   10396:       always_export_symbols=yes
                   10397:       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'
                   10398:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10399:       # are no directories specified by -L.
                   10400:       hardcode_minus_L=yes
                   10401:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10402:        # Neither direct hardcoding nor static linking is supported with a
                   10403:        # broken collect2.
                   10404:        hardcode_direct=unsupported
                   10405:       fi
                   10406:       ;;
                   10407: 
                   10408:     aix[4-9]*)
                   10409:       if test "$host_cpu" = ia64; then
                   10410:        # On IA64, the linker does run time linking by default, so we don't
                   10411:        # have to do anything special.
                   10412:        aix_use_runtimelinking=no
                   10413:        exp_sym_flag='-Bexport'
                   10414:        no_entry_flag=""
                   10415:       else
                   10416:        # If we're using GNU nm, then we don't want the "-C" option.
                   10417:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   10418:        # Also, AIX nm treats weak defined symbols like other global
                   10419:        # defined symbols, whereas GNU nm marks them as "W".
                   10420:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   10421:          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'
                   10422:        else
                   10423:          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'
                   10424:        fi
                   10425:        aix_use_runtimelinking=no
                   10426: 
                   10427:        # Test if we are trying to use run time linking or normal
                   10428:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   10429:        # need to do runtime linking.
                   10430:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   10431:          for ld_flag in $LDFLAGS; do
                   10432:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   10433:            aix_use_runtimelinking=yes
                   10434:            break
                   10435:          fi
                   10436:          done
                   10437:          ;;
                   10438:        esac
                   10439: 
                   10440:        exp_sym_flag='-bexport'
                   10441:        no_entry_flag='-bnoentry'
                   10442:       fi
                   10443: 
                   10444:       # When large executables or shared objects are built, AIX ld can
                   10445:       # have problems creating the table of contents.  If linking a library
                   10446:       # or program results in "error TOC overflow" add -mminimal-toc to
                   10447:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   10448:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   10449: 
                   10450:       archive_cmds=''
                   10451:       hardcode_direct=yes
                   10452:       hardcode_direct_absolute=yes
                   10453:       hardcode_libdir_separator=':'
                   10454:       link_all_deplibs=yes
                   10455:       file_list_spec='${wl}-f,'
                   10456: 
                   10457:       if test "$GCC" = yes; then
                   10458:        case $host_os in aix4.[012]|aix4.[012].*)
                   10459:        # We only want to do this on AIX 4.2 and lower, the check
                   10460:        # below for broken collect2 doesn't work under 4.3+
                   10461:          collect2name=`${CC} -print-prog-name=collect2`
                   10462:          if test -f "$collect2name" &&
                   10463:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   10464:          then
                   10465:          # We have reworked collect2
                   10466:          :
                   10467:          else
                   10468:          # We have old collect2
                   10469:          hardcode_direct=unsupported
                   10470:          # It fails to find uninstalled libraries when the uninstalled
                   10471:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   10472:          # to unsupported forces relinking
                   10473:          hardcode_minus_L=yes
                   10474:          hardcode_libdir_flag_spec='-L$libdir'
                   10475:          hardcode_libdir_separator=
                   10476:          fi
                   10477:          ;;
                   10478:        esac
                   10479:        shared_flag='-shared'
                   10480:        if test "$aix_use_runtimelinking" = yes; then
                   10481:          shared_flag="$shared_flag "'${wl}-G'
                   10482:        fi
                   10483:       else
                   10484:        # not using gcc
                   10485:        if test "$host_cpu" = ia64; then
                   10486:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   10487:        # chokes on -Wl,-G. The following line is correct:
                   10488:          shared_flag='-G'
                   10489:        else
                   10490:          if test "$aix_use_runtimelinking" = yes; then
                   10491:            shared_flag='${wl}-G'
                   10492:          else
                   10493:            shared_flag='${wl}-bM:SRE'
                   10494:          fi
                   10495:        fi
                   10496:       fi
                   10497: 
                   10498:       export_dynamic_flag_spec='${wl}-bexpall'
                   10499:       # It seems that -bexpall does not export symbols beginning with
                   10500:       # underscore (_), so it is better to generate a list of symbols to export.
                   10501:       always_export_symbols=yes
                   10502:       if test "$aix_use_runtimelinking" = yes; then
                   10503:        # Warning - without using the other runtime loading flags (-brtl),
                   10504:        # -berok will link without error, but may produce a broken library.
                   10505:        allow_undefined_flag='-berok'
                   10506:         # Determine the default libpath from the value encoded in an
                   10507:         # empty executable.
                   10508:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10509:   aix_libpath=$lt_cv_aix_libpath
                   10510: else
1.150     moko     10511:   if ${lt_cv_aix_libpath_+:} false; then :
                   10512:   $as_echo_n "(cached) " >&6
1.128     moko     10513: else
1.150     moko     10514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10515: /* end confdefs.h.  */
                   10516: 
                   10517: int
                   10518: main ()
                   10519: {
                   10520: 
                   10521:   ;
                   10522:   return 0;
                   10523: }
                   10524: _ACEOF
1.150     moko     10525: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10526: 
                   10527:   lt_aix_libpath_sed='
                   10528:       /Import File Strings/,/^$/ {
                   10529:          /^0/ {
                   10530:              s/^0  *\([^ ]*\) *$/\1/
                   10531:              p
                   10532:          }
                   10533:       }'
                   10534:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10535:   # Check for a 64-bit object if we didn't find anything.
                   10536:   if test -z "$lt_cv_aix_libpath_"; then
                   10537:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10538:   fi
                   10539: fi
1.150     moko     10540: rm -f core conftest.err conftest.$ac_objext \
                   10541:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10542:   if test -z "$lt_cv_aix_libpath_"; then
                   10543:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10544:   fi
                   10545: 
                   10546: fi
                   10547: 
                   10548:   aix_libpath=$lt_cv_aix_libpath_
                   10549: fi
                   10550: 
                   10551:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10552:         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"
                   10553:       else
                   10554:        if test "$host_cpu" = ia64; then
                   10555:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   10556:          allow_undefined_flag="-z nodefs"
                   10557:          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"
                   10558:        else
                   10559:         # Determine the default libpath from the value encoded in an
                   10560:         # empty executable.
                   10561:         if test "${lt_cv_aix_libpath+set}" = set; then
                   10562:   aix_libpath=$lt_cv_aix_libpath
                   10563: else
1.150     moko     10564:   if ${lt_cv_aix_libpath_+:} false; then :
                   10565:   $as_echo_n "(cached) " >&6
1.128     moko     10566: else
1.150     moko     10567:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10568: /* end confdefs.h.  */
                   10569: 
                   10570: int
                   10571: main ()
                   10572: {
                   10573: 
                   10574:   ;
                   10575:   return 0;
                   10576: }
                   10577: _ACEOF
1.150     moko     10578: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10579: 
                   10580:   lt_aix_libpath_sed='
                   10581:       /Import File Strings/,/^$/ {
                   10582:          /^0/ {
                   10583:              s/^0  *\([^ ]*\) *$/\1/
                   10584:              p
                   10585:          }
                   10586:       }'
                   10587:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10588:   # Check for a 64-bit object if we didn't find anything.
                   10589:   if test -z "$lt_cv_aix_libpath_"; then
                   10590:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   10591:   fi
                   10592: fi
1.150     moko     10593: rm -f core conftest.err conftest.$ac_objext \
                   10594:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10595:   if test -z "$lt_cv_aix_libpath_"; then
                   10596:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   10597:   fi
                   10598: 
                   10599: fi
                   10600: 
                   10601:   aix_libpath=$lt_cv_aix_libpath_
                   10602: fi
                   10603: 
                   10604:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   10605:          # Warning - without using the other run time loading flags,
                   10606:          # -berok will link without error, but may produce a broken library.
                   10607:          no_undefined_flag=' ${wl}-bernotok'
                   10608:          allow_undefined_flag=' ${wl}-berok'
                   10609:          if test "$with_gnu_ld" = yes; then
                   10610:            # We only use this code for GNU lds that support --whole-archive.
                   10611:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   10612:          else
                   10613:            # Exported symbols can be pulled into shared objects from archives
                   10614:            whole_archive_flag_spec='$convenience'
                   10615:          fi
                   10616:          archive_cmds_need_lc=yes
                   10617:          # This is similar to how AIX traditionally builds its shared libraries.
                   10618:          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'
                   10619:        fi
                   10620:       fi
                   10621:       ;;
                   10622: 
                   10623:     amigaos*)
                   10624:       case $host_cpu in
                   10625:       powerpc)
                   10626:             # see comment about AmigaOS4 .so support
                   10627:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10628:             archive_expsym_cmds=''
                   10629:         ;;
                   10630:       m68k)
                   10631:             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)'
                   10632:             hardcode_libdir_flag_spec='-L$libdir'
                   10633:             hardcode_minus_L=yes
                   10634:         ;;
                   10635:       esac
                   10636:       ;;
                   10637: 
                   10638:     bsdi[45]*)
                   10639:       export_dynamic_flag_spec=-rdynamic
                   10640:       ;;
                   10641: 
                   10642:     cygwin* | mingw* | pw32* | cegcc*)
                   10643:       # When not using gcc, we currently assume that we are using
                   10644:       # Microsoft Visual C++.
                   10645:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   10646:       # no search path for DLLs.
                   10647:       case $cc_basename in
                   10648:       cl*)
                   10649:        # Native MSVC
                   10650:        hardcode_libdir_flag_spec=' '
                   10651:        allow_undefined_flag=unsupported
                   10652:        always_export_symbols=yes
                   10653:        file_list_spec='@'
                   10654:        # Tell ltmain to make .lib files, not .a files.
                   10655:        libext=lib
                   10656:        # Tell ltmain to make .dll files, not .so files.
                   10657:        shrext_cmds=".dll"
                   10658:        # FIXME: Setting linknames here is a bad hack.
                   10659:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   10660:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10661:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   10662:          else
                   10663:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   10664:          fi~
                   10665:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   10666:          linknames='
                   10667:        # The linker will not automatically build a static lib if we build a DLL.
                   10668:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   10669:        enable_shared_with_static_runtimes=yes
                   10670:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   10671:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   10672:        # Don't use ranlib
                   10673:        old_postinstall_cmds='chmod 644 $oldlib'
                   10674:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   10675:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   10676:          case $lt_outputfile in
                   10677:            *.exe|*.EXE) ;;
                   10678:            *)
                   10679:              lt_outputfile="$lt_outputfile.exe"
                   10680:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   10681:              ;;
                   10682:          esac~
                   10683:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   10684:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   10685:            $RM "$lt_outputfile.manifest";
                   10686:          fi'
                   10687:        ;;
                   10688:       *)
                   10689:        # Assume MSVC wrapper
                   10690:        hardcode_libdir_flag_spec=' '
                   10691:        allow_undefined_flag=unsupported
                   10692:        # Tell ltmain to make .lib files, not .a files.
                   10693:        libext=lib
                   10694:        # Tell ltmain to make .dll files, not .so files.
                   10695:        shrext_cmds=".dll"
                   10696:        # FIXME: Setting linknames here is a bad hack.
                   10697:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   10698:        # The linker will automatically build a .lib file if we build a DLL.
                   10699:        old_archive_from_new_cmds='true'
                   10700:        # FIXME: Should let the user specify the lib program.
                   10701:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   10702:        enable_shared_with_static_runtimes=yes
                   10703:        ;;
                   10704:       esac
                   10705:       ;;
                   10706: 
                   10707:     darwin* | rhapsody*)
                   10708: 
                   10709: 
                   10710:   archive_cmds_need_lc=no
                   10711:   hardcode_direct=no
                   10712:   hardcode_automatic=yes
                   10713:   hardcode_shlibpath_var=unsupported
                   10714:   if test "$lt_cv_ld_force_load" = "yes"; then
                   10715:     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\"`'
                   10716: 
                   10717:   else
                   10718:     whole_archive_flag_spec=''
                   10719:   fi
                   10720:   link_all_deplibs=yes
                   10721:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   10722:   case $cc_basename in
                   10723:      ifort*) _lt_dar_can_shared=yes ;;
                   10724:      *) _lt_dar_can_shared=$GCC ;;
                   10725:   esac
                   10726:   if test "$_lt_dar_can_shared" = "yes"; then
                   10727:     output_verbose_link_cmd=func_echo_all
                   10728:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   10729:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   10730:     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}"
                   10731:     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}"
                   10732: 
                   10733:   else
                   10734:   ld_shlibs=no
                   10735:   fi
                   10736: 
                   10737:       ;;
                   10738: 
                   10739:     dgux*)
                   10740:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10741:       hardcode_libdir_flag_spec='-L$libdir'
                   10742:       hardcode_shlibpath_var=no
                   10743:       ;;
                   10744: 
                   10745:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   10746:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   10747:     # does not break anything, and helps significantly (at the cost of a little
                   10748:     # extra space).
                   10749:     freebsd2.2*)
                   10750:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   10751:       hardcode_libdir_flag_spec='-R$libdir'
                   10752:       hardcode_direct=yes
                   10753:       hardcode_shlibpath_var=no
                   10754:       ;;
                   10755: 
                   10756:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   10757:     freebsd2.*)
                   10758:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10759:       hardcode_direct=yes
                   10760:       hardcode_minus_L=yes
                   10761:       hardcode_shlibpath_var=no
                   10762:       ;;
                   10763: 
                   10764:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   10765:     freebsd* | dragonfly*)
                   10766:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10767:       hardcode_libdir_flag_spec='-R$libdir'
                   10768:       hardcode_direct=yes
                   10769:       hardcode_shlibpath_var=no
                   10770:       ;;
                   10771: 
                   10772:     hpux9*)
                   10773:       if test "$GCC" = yes; then
                   10774:        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'
                   10775:       else
                   10776:        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'
                   10777:       fi
                   10778:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10779:       hardcode_libdir_separator=:
                   10780:       hardcode_direct=yes
                   10781: 
                   10782:       # hardcode_minus_L: Not really in the search PATH,
                   10783:       # but as the default location of the library.
                   10784:       hardcode_minus_L=yes
                   10785:       export_dynamic_flag_spec='${wl}-E'
                   10786:       ;;
                   10787: 
                   10788:     hpux10*)
                   10789:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10790:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10791:       else
                   10792:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10793:       fi
                   10794:       if test "$with_gnu_ld" = no; then
                   10795:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10796:        hardcode_libdir_separator=:
                   10797:        hardcode_direct=yes
                   10798:        hardcode_direct_absolute=yes
                   10799:        export_dynamic_flag_spec='${wl}-E'
                   10800:        # hardcode_minus_L: Not really in the search PATH,
                   10801:        # but as the default location of the library.
                   10802:        hardcode_minus_L=yes
                   10803:       fi
                   10804:       ;;
                   10805: 
                   10806:     hpux11*)
                   10807:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   10808:        case $host_cpu in
                   10809:        hppa*64*)
                   10810:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10811:          ;;
                   10812:        ia64*)
                   10813:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10814:          ;;
                   10815:        *)
                   10816:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10817:          ;;
                   10818:        esac
                   10819:       else
                   10820:        case $host_cpu in
                   10821:        hppa*64*)
                   10822:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10823:          ;;
                   10824:        ia64*)
                   10825:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10826:          ;;
                   10827:        *)
                   10828: 
                   10829:          # Older versions of the 11.00 compiler do not understand -b yet
                   10830:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
1.150     moko     10831:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10832: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10833: if ${lt_cv_prog_compiler__b+:} false; then :
                   10834:   $as_echo_n "(cached) " >&6
1.128     moko     10835: else
                   10836:   lt_cv_prog_compiler__b=no
                   10837:    save_LDFLAGS="$LDFLAGS"
                   10838:    LDFLAGS="$LDFLAGS -b"
                   10839:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10840:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10841:      # The linker can only warn and ignore the option if not recognized
                   10842:      # So say no if there are warnings
                   10843:      if test -s conftest.err; then
                   10844:        # Append any errors to the config.log.
                   10845:        cat conftest.err 1>&5
                   10846:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10847:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10848:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10849:          lt_cv_prog_compiler__b=yes
                   10850:        fi
                   10851:      else
                   10852:        lt_cv_prog_compiler__b=yes
                   10853:      fi
                   10854:    fi
                   10855:    $RM -r conftest*
                   10856:    LDFLAGS="$save_LDFLAGS"
                   10857: 
                   10858: fi
1.150     moko     10859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10860: $as_echo "$lt_cv_prog_compiler__b" >&6; }
1.128     moko     10861: 
                   10862: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10863:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10864: else
                   10865:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10866: fi
                   10867: 
                   10868:          ;;
                   10869:        esac
                   10870:       fi
                   10871:       if test "$with_gnu_ld" = no; then
                   10872:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10873:        hardcode_libdir_separator=:
                   10874: 
                   10875:        case $host_cpu in
                   10876:        hppa*64*|ia64*)
                   10877:          hardcode_direct=no
                   10878:          hardcode_shlibpath_var=no
                   10879:          ;;
                   10880:        *)
                   10881:          hardcode_direct=yes
                   10882:          hardcode_direct_absolute=yes
                   10883:          export_dynamic_flag_spec='${wl}-E'
                   10884: 
                   10885:          # hardcode_minus_L: Not really in the search PATH,
                   10886:          # but as the default location of the library.
                   10887:          hardcode_minus_L=yes
                   10888:          ;;
                   10889:        esac
                   10890:       fi
                   10891:       ;;
                   10892: 
                   10893:     irix5* | irix6* | nonstopux*)
                   10894:       if test "$GCC" = yes; then
                   10895:        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'
                   10896:        # Try to use the -exported_symbol ld option, if it does not
                   10897:        # work, assume that -exports_file does not work either and
                   10898:        # implicitly export all symbols.
                   10899:        # This should be the same for all languages, so no per-tag cache variable.
1.150     moko     10900:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10901: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10902: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10903:   $as_echo_n "(cached) " >&6
1.128     moko     10904: else
                   10905:   save_LDFLAGS="$LDFLAGS"
                   10906:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.150     moko     10907:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     10908: /* end confdefs.h.  */
                   10909: int foo (void) { return 0; }
                   10910: _ACEOF
1.150     moko     10911: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     10912:   lt_cv_irix_exported_symbol=yes
                   10913: else
1.150     moko     10914:   lt_cv_irix_exported_symbol=no
1.128     moko     10915: fi
1.150     moko     10916: rm -f core conftest.err conftest.$ac_objext \
                   10917:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     10918:            LDFLAGS="$save_LDFLAGS"
                   10919: fi
1.150     moko     10920: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10921: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
1.128     moko     10922:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10923:           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'
                   10924:        fi
                   10925:       else
                   10926:        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'
                   10927:        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'
                   10928:       fi
                   10929:       archive_cmds_need_lc='no'
                   10930:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10931:       hardcode_libdir_separator=:
                   10932:       inherit_rpath=yes
                   10933:       link_all_deplibs=yes
                   10934:       ;;
                   10935: 
                   10936:     netbsd*)
                   10937:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10938:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10939:       else
                   10940:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10941:       fi
                   10942:       hardcode_libdir_flag_spec='-R$libdir'
                   10943:       hardcode_direct=yes
                   10944:       hardcode_shlibpath_var=no
                   10945:       ;;
                   10946: 
                   10947:     newsos6)
                   10948:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10949:       hardcode_direct=yes
                   10950:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10951:       hardcode_libdir_separator=:
                   10952:       hardcode_shlibpath_var=no
                   10953:       ;;
                   10954: 
                   10955:     *nto* | *qnx*)
                   10956:       ;;
                   10957: 
                   10958:     openbsd*)
                   10959:       if test -f /usr/libexec/ld.so; then
                   10960:        hardcode_direct=yes
                   10961:        hardcode_shlibpath_var=no
                   10962:        hardcode_direct_absolute=yes
                   10963:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10964:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10965:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10966:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10967:          export_dynamic_flag_spec='${wl}-E'
                   10968:        else
                   10969:          case $host_os in
                   10970:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10971:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10972:             hardcode_libdir_flag_spec='-R$libdir'
                   10973:             ;;
                   10974:           *)
                   10975:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10976:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10977:             ;;
                   10978:          esac
                   10979:        fi
                   10980:       else
                   10981:        ld_shlibs=no
                   10982:       fi
                   10983:       ;;
                   10984: 
                   10985:     os2*)
                   10986:       hardcode_libdir_flag_spec='-L$libdir'
                   10987:       hardcode_minus_L=yes
                   10988:       allow_undefined_flag=unsupported
                   10989:       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'
                   10990:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10991:       ;;
                   10992: 
                   10993:     osf3*)
                   10994:       if test "$GCC" = yes; then
                   10995:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10996:        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'
                   10997:       else
                   10998:        allow_undefined_flag=' -expect_unresolved \*'
                   10999:        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'
                   11000:       fi
                   11001:       archive_cmds_need_lc='no'
                   11002:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11003:       hardcode_libdir_separator=:
                   11004:       ;;
                   11005: 
                   11006:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11007:       if test "$GCC" = yes; then
                   11008:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11009:        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'
                   11010:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11011:       else
                   11012:        allow_undefined_flag=' -expect_unresolved \*'
                   11013:        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'
                   11014:        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~
                   11015:        $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'
                   11016: 
                   11017:        # Both c and cxx compiler support -rpath directly
                   11018:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11019:       fi
                   11020:       archive_cmds_need_lc='no'
                   11021:       hardcode_libdir_separator=:
                   11022:       ;;
                   11023: 
                   11024:     solaris*)
                   11025:       no_undefined_flag=' -z defs'
                   11026:       if test "$GCC" = yes; then
                   11027:        wlarc='${wl}'
                   11028:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11029:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11030:          $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'
                   11031:       else
                   11032:        case `$CC -V 2>&1` in
                   11033:        *"Compilers 5.0"*)
                   11034:          wlarc=''
                   11035:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11036:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11037:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11038:          ;;
                   11039:        *)
                   11040:          wlarc='${wl}'
                   11041:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11042:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11043:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11044:          ;;
                   11045:        esac
                   11046:       fi
                   11047:       hardcode_libdir_flag_spec='-R$libdir'
                   11048:       hardcode_shlibpath_var=no
                   11049:       case $host_os in
                   11050:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11051:       *)
                   11052:        # The compiler driver will combine and reorder linker options,
                   11053:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11054:        # but is careful enough not to reorder.
                   11055:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11056:        if test "$GCC" = yes; then
                   11057:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11058:        else
                   11059:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11060:        fi
                   11061:        ;;
                   11062:       esac
                   11063:       link_all_deplibs=yes
                   11064:       ;;
                   11065: 
                   11066:     sunos4*)
                   11067:       if test "x$host_vendor" = xsequent; then
                   11068:        # Use $CC to link under sequent, because it throws in some extra .o
                   11069:        # files that make .init and .fini sections work.
                   11070:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11071:       else
                   11072:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11073:       fi
                   11074:       hardcode_libdir_flag_spec='-L$libdir'
                   11075:       hardcode_direct=yes
                   11076:       hardcode_minus_L=yes
                   11077:       hardcode_shlibpath_var=no
                   11078:       ;;
                   11079: 
                   11080:     sysv4)
                   11081:       case $host_vendor in
                   11082:        sni)
                   11083:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11084:          hardcode_direct=yes # is this really true???
                   11085:        ;;
                   11086:        siemens)
                   11087:          ## LD is ld it makes a PLAMLIB
                   11088:          ## CC just makes a GrossModule.
                   11089:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11090:          reload_cmds='$CC -r -o $output$reload_objs'
                   11091:          hardcode_direct=no
                   11092:         ;;
                   11093:        motorola)
                   11094:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11095:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11096:        ;;
                   11097:       esac
                   11098:       runpath_var='LD_RUN_PATH'
                   11099:       hardcode_shlibpath_var=no
                   11100:       ;;
                   11101: 
                   11102:     sysv4.3*)
                   11103:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11104:       hardcode_shlibpath_var=no
                   11105:       export_dynamic_flag_spec='-Bexport'
                   11106:       ;;
                   11107: 
                   11108:     sysv4*MP*)
                   11109:       if test -d /usr/nec; then
                   11110:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11111:        hardcode_shlibpath_var=no
                   11112:        runpath_var=LD_RUN_PATH
                   11113:        hardcode_runpath_var=yes
                   11114:        ld_shlibs=yes
                   11115:       fi
                   11116:       ;;
                   11117: 
                   11118:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11119:       no_undefined_flag='${wl}-z,text'
                   11120:       archive_cmds_need_lc=no
                   11121:       hardcode_shlibpath_var=no
                   11122:       runpath_var='LD_RUN_PATH'
                   11123: 
                   11124:       if test "$GCC" = yes; then
                   11125:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11126:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11127:       else
                   11128:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11129:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11130:       fi
                   11131:       ;;
                   11132: 
                   11133:     sysv5* | sco3.2v5* | sco5v6*)
                   11134:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11135:       # link with -lc, and that would cause any symbols used from libc to
                   11136:       # always be unresolved, which means just about no library would
                   11137:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11138:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11139:       # as -z defs.
                   11140:       no_undefined_flag='${wl}-z,text'
                   11141:       allow_undefined_flag='${wl}-z,nodefs'
                   11142:       archive_cmds_need_lc=no
                   11143:       hardcode_shlibpath_var=no
                   11144:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11145:       hardcode_libdir_separator=':'
                   11146:       link_all_deplibs=yes
                   11147:       export_dynamic_flag_spec='${wl}-Bexport'
                   11148:       runpath_var='LD_RUN_PATH'
                   11149: 
                   11150:       if test "$GCC" = yes; then
                   11151:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11152:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11153:       else
                   11154:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11155:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11156:       fi
                   11157:       ;;
                   11158: 
                   11159:     uts4*)
                   11160:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11161:       hardcode_libdir_flag_spec='-L$libdir'
                   11162:       hardcode_shlibpath_var=no
                   11163:       ;;
                   11164: 
                   11165:     *)
                   11166:       ld_shlibs=no
                   11167:       ;;
                   11168:     esac
                   11169: 
                   11170:     if test x$host_vendor = xsni; then
                   11171:       case $host in
                   11172:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11173:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11174:        ;;
                   11175:       esac
                   11176:     fi
                   11177:   fi
                   11178: 
1.150     moko     11179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11180: $as_echo "$ld_shlibs" >&6; }
1.128     moko     11181: test "$ld_shlibs" = no && can_build_shared=no
                   11182: 
                   11183: with_gnu_ld=$with_gnu_ld
                   11184: 
                   11185: 
                   11186: 
                   11187: 
                   11188: 
                   11189: 
                   11190: 
                   11191: 
                   11192: 
                   11193: 
                   11194: 
                   11195: 
                   11196: 
                   11197: 
                   11198: 
                   11199: #
                   11200: # Do we need to explicitly link libc?
                   11201: #
                   11202: case "x$archive_cmds_need_lc" in
                   11203: x|xyes)
                   11204:   # Assume -lc should be added
                   11205:   archive_cmds_need_lc=yes
                   11206: 
                   11207:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11208:     case $archive_cmds in
                   11209:     *'~'*)
                   11210:       # FIXME: we may have to deal with multi-command sequences.
                   11211:       ;;
                   11212:     '$CC '*)
                   11213:       # Test whether the compiler implicitly links with -lc since on some
                   11214:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11215:       # to ld, don't add -lc before -lgcc.
1.150     moko     11216:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11217: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11218: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11219:   $as_echo_n "(cached) " >&6
1.128     moko     11220: else
                   11221:   $RM conftest*
                   11222:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11223: 
1.150     moko     11224:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     11225:   (eval $ac_compile) 2>&5
                   11226:   ac_status=$?
1.150     moko     11227:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11228:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     11229:          soname=conftest
                   11230:          lib=conftest
                   11231:          libobjs=conftest.$ac_objext
                   11232:          deplibs=
                   11233:          wl=$lt_prog_compiler_wl
                   11234:          pic_flag=$lt_prog_compiler_pic
                   11235:          compiler_flags=-v
                   11236:          linker_flags=-v
                   11237:          verstring=
                   11238:          output_objdir=.
                   11239:          libname=conftest
                   11240:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11241:          allow_undefined_flag=
1.150     moko     11242:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     11243:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11244:   ac_status=$?
1.150     moko     11245:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11246:   test $ac_status = 0; }
1.128     moko     11247:          then
                   11248:            lt_cv_archive_cmds_need_lc=no
                   11249:          else
                   11250:            lt_cv_archive_cmds_need_lc=yes
                   11251:          fi
                   11252:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11253:        else
                   11254:          cat conftest.err 1>&5
                   11255:        fi
                   11256:        $RM conftest*
                   11257: 
                   11258: fi
1.150     moko     11259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11260: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
1.128     moko     11261:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11262:       ;;
                   11263:     esac
                   11264:   fi
                   11265:   ;;
                   11266: esac
                   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: 
                   11365: 
                   11366: 
                   11367: 
                   11368: 
                   11369: 
                   11370: 
                   11371: 
                   11372: 
                   11373: 
                   11374: 
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: 
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
                   11417: 
                   11418: 
1.150     moko     11419:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   11420: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     11421: 
                   11422: if test "$GCC" = yes; then
                   11423:   case $host_os in
                   11424:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   11425:     *) lt_awk_arg="/^libraries:/" ;;
                   11426:   esac
                   11427:   case $host_os in
                   11428:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   11429:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   11430:   esac
                   11431:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   11432:   case $lt_search_path_spec in
                   11433:   *\;*)
                   11434:     # if the path contains ";" then we assume it to be the separator
                   11435:     # otherwise default to the standard path separator (i.e. ":") - it is
                   11436:     # assumed that no part of a normal pathname contains ";" but that should
                   11437:     # okay in the real world where ";" in dirpaths is itself problematic.
                   11438:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   11439:     ;;
                   11440:   *)
                   11441:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   11442:     ;;
                   11443:   esac
                   11444:   # Ok, now we have the path, separated by spaces, we can step through it
                   11445:   # and add multilib dir if necessary.
                   11446:   lt_tmp_lt_search_path_spec=
                   11447:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   11448:   for lt_sys_path in $lt_search_path_spec; do
                   11449:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   11450:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   11451:     else
                   11452:       test -d "$lt_sys_path" && \
                   11453:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   11454:     fi
                   11455:   done
                   11456:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   11457: BEGIN {RS=" "; FS="/|\n";} {
                   11458:   lt_foo="";
                   11459:   lt_count=0;
                   11460:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   11461:     if ($lt_i != "" && $lt_i != ".") {
                   11462:       if ($lt_i == "..") {
                   11463:         lt_count++;
                   11464:       } else {
                   11465:         if (lt_count == 0) {
                   11466:           lt_foo="/" $lt_i lt_foo;
                   11467:         } else {
                   11468:           lt_count--;
                   11469:         }
                   11470:       }
                   11471:     }
                   11472:   }
                   11473:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   11474:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   11475: }'`
                   11476:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   11477:   # for these hosts.
                   11478:   case $host_os in
                   11479:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   11480:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   11481:   esac
                   11482:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   11483: else
                   11484:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   11485: fi
                   11486: library_names_spec=
                   11487: libname_spec='lib$name'
                   11488: soname_spec=
                   11489: shrext_cmds=".so"
                   11490: postinstall_cmds=
                   11491: postuninstall_cmds=
                   11492: finish_cmds=
                   11493: finish_eval=
                   11494: shlibpath_var=
                   11495: shlibpath_overrides_runpath=unknown
                   11496: version_type=none
                   11497: dynamic_linker="$host_os ld.so"
                   11498: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   11499: need_lib_prefix=unknown
                   11500: hardcode_into_libs=no
                   11501: 
                   11502: # when you set need_version to no, make sure it does not cause -set_version
                   11503: # flags to be left without arguments
                   11504: need_version=unknown
                   11505: 
                   11506: case $host_os in
                   11507: aix3*)
                   11508:   version_type=linux # correct to gnu/linux during the next big refactor
                   11509:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   11510:   shlibpath_var=LIBPATH
                   11511: 
                   11512:   # AIX 3 has no versioning support, so we append a major version to the name.
                   11513:   soname_spec='${libname}${release}${shared_ext}$major'
                   11514:   ;;
                   11515: 
                   11516: aix[4-9]*)
                   11517:   version_type=linux # correct to gnu/linux during the next big refactor
                   11518:   need_lib_prefix=no
                   11519:   need_version=no
                   11520:   hardcode_into_libs=yes
                   11521:   if test "$host_cpu" = ia64; then
                   11522:     # AIX 5 supports IA64
                   11523:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   11524:     shlibpath_var=LD_LIBRARY_PATH
                   11525:   else
                   11526:     # With GCC up to 2.95.x, collect2 would create an import file
                   11527:     # for dependence libraries.  The import file would start with
                   11528:     # the line `#! .'.  This would cause the generated library to
                   11529:     # depend on `.', always an invalid library.  This was fixed in
                   11530:     # development snapshots of GCC prior to 3.0.
                   11531:     case $host_os in
                   11532:       aix4 | aix4.[01] | aix4.[01].*)
                   11533:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   11534:           echo ' yes '
                   11535:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   11536:        :
                   11537:       else
                   11538:        can_build_shared=no
                   11539:       fi
                   11540:       ;;
                   11541:     esac
                   11542:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   11543:     # soname into executable. Probably we can add versioning support to
                   11544:     # collect2, so additional links can be useful in future.
                   11545:     if test "$aix_use_runtimelinking" = yes; then
                   11546:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   11547:       # instead of lib<name>.a to let people know that these are not
                   11548:       # typical AIX shared libraries.
                   11549:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11550:     else
                   11551:       # We preserve .a as extension for shared libraries through AIX4.2
                   11552:       # and later when we are not doing run time linking.
                   11553:       library_names_spec='${libname}${release}.a $libname.a'
                   11554:       soname_spec='${libname}${release}${shared_ext}$major'
                   11555:     fi
                   11556:     shlibpath_var=LIBPATH
                   11557:   fi
                   11558:   ;;
                   11559: 
                   11560: amigaos*)
                   11561:   case $host_cpu in
                   11562:   powerpc)
                   11563:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   11564:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   11565:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11566:     ;;
                   11567:   m68k)
                   11568:     library_names_spec='$libname.ixlibrary $libname.a'
                   11569:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   11570:     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'
                   11571:     ;;
                   11572:   esac
                   11573:   ;;
                   11574: 
                   11575: beos*)
                   11576:   library_names_spec='${libname}${shared_ext}'
                   11577:   dynamic_linker="$host_os ld.so"
                   11578:   shlibpath_var=LIBRARY_PATH
                   11579:   ;;
                   11580: 
                   11581: bsdi[45]*)
                   11582:   version_type=linux # correct to gnu/linux during the next big refactor
                   11583:   need_version=no
                   11584:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11585:   soname_spec='${libname}${release}${shared_ext}$major'
                   11586:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   11587:   shlibpath_var=LD_LIBRARY_PATH
                   11588:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   11589:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   11590:   # the default ld.so.conf also contains /usr/contrib/lib and
                   11591:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   11592:   # libtool to hard-code these into programs
                   11593:   ;;
                   11594: 
                   11595: cygwin* | mingw* | pw32* | cegcc*)
                   11596:   version_type=windows
                   11597:   shrext_cmds=".dll"
                   11598:   need_version=no
                   11599:   need_lib_prefix=no
                   11600: 
                   11601:   case $GCC,$cc_basename in
                   11602:   yes,*)
                   11603:     # gcc
                   11604:     library_names_spec='$libname.dll.a'
                   11605:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11606:     postinstall_cmds='base_file=`basename \${file}`~
                   11607:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11608:       dldir=$destdir/`dirname \$dlpath`~
                   11609:       test -d \$dldir || mkdir -p \$dldir~
                   11610:       $install_prog $dir/$dlname \$dldir/$dlname~
                   11611:       chmod a+x \$dldir/$dlname~
                   11612:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   11613:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   11614:       fi'
                   11615:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11616:       dlpath=$dir/\$dldll~
                   11617:        $RM \$dlpath'
                   11618:     shlibpath_overrides_runpath=yes
                   11619: 
                   11620:     case $host_os in
                   11621:     cygwin*)
                   11622:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   11623:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11624: 
                   11625:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   11626:       ;;
                   11627:     mingw* | cegcc*)
                   11628:       # MinGW DLLs use traditional 'lib' prefix
                   11629:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11630:       ;;
                   11631:     pw32*)
                   11632:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   11633:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11634:       ;;
                   11635:     esac
                   11636:     dynamic_linker='Win32 ld.exe'
                   11637:     ;;
                   11638: 
                   11639:   *,cl*)
                   11640:     # Native MSVC
                   11641:     libname_spec='$name'
                   11642:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   11643:     library_names_spec='${libname}.dll.lib'
                   11644: 
                   11645:     case $build_os in
                   11646:     mingw*)
                   11647:       sys_lib_search_path_spec=
                   11648:       lt_save_ifs=$IFS
                   11649:       IFS=';'
                   11650:       for lt_path in $LIB
                   11651:       do
                   11652:         IFS=$lt_save_ifs
                   11653:         # Let DOS variable expansion print the short 8.3 style file name.
                   11654:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   11655:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   11656:       done
                   11657:       IFS=$lt_save_ifs
                   11658:       # Convert to MSYS style.
                   11659:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   11660:       ;;
                   11661:     cygwin*)
                   11662:       # Convert to unix form, then to dos form, then back to unix form
                   11663:       # but this time dos style (no spaces!) so that the unix form looks
                   11664:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   11665:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   11666:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   11667:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11668:       ;;
                   11669:     *)
                   11670:       sys_lib_search_path_spec="$LIB"
                   11671:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   11672:         # It is most probably a Windows format PATH.
                   11673:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   11674:       else
                   11675:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   11676:       fi
                   11677:       # FIXME: find the short name or the path components, as spaces are
                   11678:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   11679:       ;;
                   11680:     esac
                   11681: 
                   11682:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   11683:     postinstall_cmds='base_file=`basename \${file}`~
                   11684:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   11685:       dldir=$destdir/`dirname \$dlpath`~
                   11686:       test -d \$dldir || mkdir -p \$dldir~
                   11687:       $install_prog $dir/$dlname \$dldir/$dlname'
                   11688:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   11689:       dlpath=$dir/\$dldll~
                   11690:        $RM \$dlpath'
                   11691:     shlibpath_overrides_runpath=yes
                   11692:     dynamic_linker='Win32 link.exe'
                   11693:     ;;
                   11694: 
                   11695:   *)
                   11696:     # Assume MSVC wrapper
                   11697:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   11698:     dynamic_linker='Win32 ld.exe'
                   11699:     ;;
                   11700:   esac
                   11701:   # FIXME: first we should search . and the directory the executable is in
                   11702:   shlibpath_var=PATH
                   11703:   ;;
                   11704: 
                   11705: darwin* | rhapsody*)
                   11706:   dynamic_linker="$host_os dyld"
                   11707:   version_type=darwin
                   11708:   need_lib_prefix=no
                   11709:   need_version=no
                   11710:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   11711:   soname_spec='${libname}${release}${major}$shared_ext'
                   11712:   shlibpath_overrides_runpath=yes
                   11713:   shlibpath_var=DYLD_LIBRARY_PATH
                   11714:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   11715: 
                   11716:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   11717:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   11718:   ;;
                   11719: 
                   11720: dgux*)
                   11721:   version_type=linux # correct to gnu/linux during the next big refactor
                   11722:   need_lib_prefix=no
                   11723:   need_version=no
                   11724:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   11725:   soname_spec='${libname}${release}${shared_ext}$major'
                   11726:   shlibpath_var=LD_LIBRARY_PATH
                   11727:   ;;
                   11728: 
                   11729: freebsd* | dragonfly*)
                   11730:   # DragonFly does not have aout.  When/if they implement a new
                   11731:   # versioning mechanism, adjust this.
                   11732:   if test -x /usr/bin/objformat; then
                   11733:     objformat=`/usr/bin/objformat`
                   11734:   else
                   11735:     case $host_os in
                   11736:     freebsd[23].*) objformat=aout ;;
                   11737:     *) objformat=elf ;;
                   11738:     esac
                   11739:   fi
                   11740:   version_type=freebsd-$objformat
                   11741:   case $version_type in
                   11742:     freebsd-elf*)
                   11743:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11744:       need_version=no
                   11745:       need_lib_prefix=no
                   11746:       ;;
                   11747:     freebsd-*)
                   11748:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   11749:       need_version=yes
                   11750:       ;;
                   11751:   esac
                   11752:   shlibpath_var=LD_LIBRARY_PATH
                   11753:   case $host_os in
                   11754:   freebsd2.*)
                   11755:     shlibpath_overrides_runpath=yes
                   11756:     ;;
                   11757:   freebsd3.[01]* | freebsdelf3.[01]*)
                   11758:     shlibpath_overrides_runpath=yes
                   11759:     hardcode_into_libs=yes
                   11760:     ;;
                   11761:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   11762:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   11763:     shlibpath_overrides_runpath=no
                   11764:     hardcode_into_libs=yes
                   11765:     ;;
                   11766:   *) # from 4.6 on, and DragonFly
                   11767:     shlibpath_overrides_runpath=yes
                   11768:     hardcode_into_libs=yes
                   11769:     ;;
                   11770:   esac
                   11771:   ;;
                   11772: 
                   11773: gnu*)
                   11774:   version_type=linux # correct to gnu/linux during the next big refactor
                   11775:   need_lib_prefix=no
                   11776:   need_version=no
                   11777:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11778:   soname_spec='${libname}${release}${shared_ext}$major'
                   11779:   shlibpath_var=LD_LIBRARY_PATH
                   11780:   shlibpath_overrides_runpath=no
                   11781:   hardcode_into_libs=yes
                   11782:   ;;
                   11783: 
                   11784: haiku*)
                   11785:   version_type=linux # correct to gnu/linux during the next big refactor
                   11786:   need_lib_prefix=no
                   11787:   need_version=no
                   11788:   dynamic_linker="$host_os runtime_loader"
                   11789:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   11790:   soname_spec='${libname}${release}${shared_ext}$major'
                   11791:   shlibpath_var=LIBRARY_PATH
                   11792:   shlibpath_overrides_runpath=yes
                   11793:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   11794:   hardcode_into_libs=yes
                   11795:   ;;
                   11796: 
                   11797: hpux9* | hpux10* | hpux11*)
                   11798:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11799:   # link against other versions.
                   11800:   version_type=sunos
                   11801:   need_lib_prefix=no
                   11802:   need_version=no
                   11803:   case $host_cpu in
                   11804:   ia64*)
                   11805:     shrext_cmds='.so'
                   11806:     hardcode_into_libs=yes
                   11807:     dynamic_linker="$host_os dld.so"
                   11808:     shlibpath_var=LD_LIBRARY_PATH
                   11809:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11810:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11811:     soname_spec='${libname}${release}${shared_ext}$major'
                   11812:     if test "X$HPUX_IA64_MODE" = X32; then
                   11813:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11814:     else
                   11815:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11816:     fi
                   11817:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11818:     ;;
                   11819:   hppa*64*)
                   11820:     shrext_cmds='.sl'
                   11821:     hardcode_into_libs=yes
                   11822:     dynamic_linker="$host_os dld.sl"
                   11823:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11824:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11825:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11826:     soname_spec='${libname}${release}${shared_ext}$major'
                   11827:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11828:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11829:     ;;
                   11830:   *)
                   11831:     shrext_cmds='.sl'
                   11832:     dynamic_linker="$host_os dld.sl"
                   11833:     shlibpath_var=SHLIB_PATH
                   11834:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11835:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11836:     soname_spec='${libname}${release}${shared_ext}$major'
                   11837:     ;;
                   11838:   esac
                   11839:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11840:   postinstall_cmds='chmod 555 $lib'
                   11841:   # or fails outright, so override atomically:
                   11842:   install_override_mode=555
                   11843:   ;;
                   11844: 
                   11845: interix[3-9]*)
                   11846:   version_type=linux # correct to gnu/linux during the next big refactor
                   11847:   need_lib_prefix=no
                   11848:   need_version=no
                   11849:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11850:   soname_spec='${libname}${release}${shared_ext}$major'
                   11851:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11852:   shlibpath_var=LD_LIBRARY_PATH
                   11853:   shlibpath_overrides_runpath=no
                   11854:   hardcode_into_libs=yes
                   11855:   ;;
                   11856: 
                   11857: irix5* | irix6* | nonstopux*)
                   11858:   case $host_os in
                   11859:     nonstopux*) version_type=nonstopux ;;
                   11860:     *)
                   11861:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   11862:                version_type=linux # correct to gnu/linux during the next big refactor
                   11863:        else
                   11864:                version_type=irix
                   11865:        fi ;;
                   11866:   esac
                   11867:   need_lib_prefix=no
                   11868:   need_version=no
                   11869:   soname_spec='${libname}${release}${shared_ext}$major'
                   11870:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11871:   case $host_os in
                   11872:   irix5* | nonstopux*)
                   11873:     libsuff= shlibsuff=
                   11874:     ;;
                   11875:   *)
                   11876:     case $LD in # libtool.m4 will add one of these switches to LD
                   11877:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11878:       libsuff= shlibsuff= libmagic=32-bit;;
                   11879:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11880:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11881:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11882:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11883:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11884:     esac
                   11885:     ;;
                   11886:   esac
                   11887:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11888:   shlibpath_overrides_runpath=no
                   11889:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11890:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11891:   hardcode_into_libs=yes
                   11892:   ;;
                   11893: 
                   11894: # No shared lib support for Linux oldld, aout, or coff.
                   11895: linux*oldld* | linux*aout* | linux*coff*)
                   11896:   dynamic_linker=no
                   11897:   ;;
                   11898: 
                   11899: # This must be glibc/ELF.
                   11900: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11901:   version_type=linux # correct to gnu/linux during the next big refactor
                   11902:   need_lib_prefix=no
                   11903:   need_version=no
                   11904:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11905:   soname_spec='${libname}${release}${shared_ext}$major'
                   11906:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11907:   shlibpath_var=LD_LIBRARY_PATH
                   11908:   shlibpath_overrides_runpath=no
                   11909: 
                   11910:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     11911:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11912:   $as_echo_n "(cached) " >&6
1.128     moko     11913: else
                   11914:   lt_cv_shlibpath_overrides_runpath=no
                   11915:     save_LDFLAGS=$LDFLAGS
                   11916:     save_libdir=$libdir
                   11917:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11918:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.150     moko     11919:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     11920: /* end confdefs.h.  */
                   11921: 
                   11922: int
                   11923: main ()
                   11924: {
                   11925: 
                   11926:   ;
                   11927:   return 0;
                   11928: }
                   11929: _ACEOF
1.150     moko     11930: if ac_fn_c_try_link "$LINENO"; then :
                   11931:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     11932:   lt_cv_shlibpath_overrides_runpath=yes
                   11933: fi
                   11934: fi
1.150     moko     11935: rm -f core conftest.err conftest.$ac_objext \
                   11936:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     11937:     LDFLAGS=$save_LDFLAGS
                   11938:     libdir=$save_libdir
                   11939: 
                   11940: fi
                   11941: 
                   11942:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11943: 
                   11944:   # This implies no fast_install, which is unacceptable.
                   11945:   # Some rework will be needed to allow for fast_install
                   11946:   # before this can be enabled.
                   11947:   hardcode_into_libs=yes
                   11948: 
                   11949:   # Append ld.so.conf contents to the search path
                   11950:   if test -f /etc/ld.so.conf; then
                   11951:     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' ' '`
                   11952:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   11953:   fi
                   11954: 
                   11955:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11956:   # powerpc, because MkLinux only supported shared libraries with the
                   11957:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11958:   # most powerpc-linux boxes support dynamic linking these days and
                   11959:   # people can always --disable-shared, the test was removed, and we
                   11960:   # assume the GNU/Linux dynamic linker is in use.
                   11961:   dynamic_linker='GNU/Linux ld.so'
                   11962:   ;;
                   11963: 
                   11964: netbsd*)
                   11965:   version_type=sunos
                   11966:   need_lib_prefix=no
                   11967:   need_version=no
                   11968:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11969:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11970:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11971:     dynamic_linker='NetBSD (a.out) ld.so'
                   11972:   else
                   11973:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11974:     soname_spec='${libname}${release}${shared_ext}$major'
                   11975:     dynamic_linker='NetBSD ld.elf_so'
                   11976:   fi
                   11977:   shlibpath_var=LD_LIBRARY_PATH
                   11978:   shlibpath_overrides_runpath=yes
                   11979:   hardcode_into_libs=yes
                   11980:   ;;
                   11981: 
                   11982: newsos6)
                   11983:   version_type=linux # correct to gnu/linux during the next big refactor
                   11984:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11985:   shlibpath_var=LD_LIBRARY_PATH
                   11986:   shlibpath_overrides_runpath=yes
                   11987:   ;;
                   11988: 
                   11989: *nto* | *qnx*)
                   11990:   version_type=qnx
                   11991:   need_lib_prefix=no
                   11992:   need_version=no
                   11993:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11994:   soname_spec='${libname}${release}${shared_ext}$major'
                   11995:   shlibpath_var=LD_LIBRARY_PATH
                   11996:   shlibpath_overrides_runpath=no
                   11997:   hardcode_into_libs=yes
                   11998:   dynamic_linker='ldqnx.so'
                   11999:   ;;
                   12000: 
                   12001: openbsd*)
                   12002:   version_type=sunos
                   12003:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12004:   need_lib_prefix=no
                   12005:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12006:   case $host_os in
                   12007:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12008:     *)                         need_version=no  ;;
                   12009:   esac
                   12010:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12011:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12012:   shlibpath_var=LD_LIBRARY_PATH
                   12013:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12014:     case $host_os in
                   12015:       openbsd2.[89] | openbsd2.[89].*)
                   12016:        shlibpath_overrides_runpath=no
                   12017:        ;;
                   12018:       *)
                   12019:        shlibpath_overrides_runpath=yes
                   12020:        ;;
                   12021:       esac
                   12022:   else
                   12023:     shlibpath_overrides_runpath=yes
                   12024:   fi
                   12025:   ;;
                   12026: 
                   12027: os2*)
                   12028:   libname_spec='$name'
                   12029:   shrext_cmds=".dll"
                   12030:   need_lib_prefix=no
                   12031:   library_names_spec='$libname${shared_ext} $libname.a'
                   12032:   dynamic_linker='OS/2 ld.exe'
                   12033:   shlibpath_var=LIBPATH
                   12034:   ;;
                   12035: 
                   12036: osf3* | osf4* | osf5*)
                   12037:   version_type=osf
                   12038:   need_lib_prefix=no
                   12039:   need_version=no
                   12040:   soname_spec='${libname}${release}${shared_ext}$major'
                   12041:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12042:   shlibpath_var=LD_LIBRARY_PATH
                   12043:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12044:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12045:   ;;
                   12046: 
                   12047: rdos*)
                   12048:   dynamic_linker=no
                   12049:   ;;
                   12050: 
                   12051: solaris*)
                   12052:   version_type=linux # correct to gnu/linux during the next big refactor
                   12053:   need_lib_prefix=no
                   12054:   need_version=no
                   12055:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12056:   soname_spec='${libname}${release}${shared_ext}$major'
                   12057:   shlibpath_var=LD_LIBRARY_PATH
                   12058:   shlibpath_overrides_runpath=yes
                   12059:   hardcode_into_libs=yes
                   12060:   # ldd complains unless libraries are executable
                   12061:   postinstall_cmds='chmod +x $lib'
                   12062:   ;;
                   12063: 
                   12064: sunos4*)
                   12065:   version_type=sunos
                   12066:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12067:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12068:   shlibpath_var=LD_LIBRARY_PATH
                   12069:   shlibpath_overrides_runpath=yes
                   12070:   if test "$with_gnu_ld" = yes; then
                   12071:     need_lib_prefix=no
                   12072:   fi
                   12073:   need_version=yes
                   12074:   ;;
                   12075: 
                   12076: sysv4 | sysv4.3*)
                   12077:   version_type=linux # correct to gnu/linux during the next big refactor
                   12078:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12079:   soname_spec='${libname}${release}${shared_ext}$major'
                   12080:   shlibpath_var=LD_LIBRARY_PATH
                   12081:   case $host_vendor in
                   12082:     sni)
                   12083:       shlibpath_overrides_runpath=no
                   12084:       need_lib_prefix=no
                   12085:       runpath_var=LD_RUN_PATH
                   12086:       ;;
                   12087:     siemens)
                   12088:       need_lib_prefix=no
                   12089:       ;;
                   12090:     motorola)
                   12091:       need_lib_prefix=no
                   12092:       need_version=no
                   12093:       shlibpath_overrides_runpath=no
                   12094:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12095:       ;;
                   12096:   esac
                   12097:   ;;
                   12098: 
                   12099: sysv4*MP*)
                   12100:   if test -d /usr/nec ;then
                   12101:     version_type=linux # correct to gnu/linux during the next big refactor
                   12102:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12103:     soname_spec='$libname${shared_ext}.$major'
                   12104:     shlibpath_var=LD_LIBRARY_PATH
                   12105:   fi
                   12106:   ;;
                   12107: 
                   12108: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12109:   version_type=freebsd-elf
                   12110:   need_lib_prefix=no
                   12111:   need_version=no
                   12112:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12113:   soname_spec='${libname}${release}${shared_ext}$major'
                   12114:   shlibpath_var=LD_LIBRARY_PATH
                   12115:   shlibpath_overrides_runpath=yes
                   12116:   hardcode_into_libs=yes
                   12117:   if test "$with_gnu_ld" = yes; then
                   12118:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12119:   else
                   12120:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12121:     case $host_os in
                   12122:       sco3.2v5*)
                   12123:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12124:        ;;
                   12125:     esac
                   12126:   fi
                   12127:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12128:   ;;
                   12129: 
                   12130: tpf*)
                   12131:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   12132:   version_type=linux # correct to gnu/linux during the next big refactor
                   12133:   need_lib_prefix=no
                   12134:   need_version=no
                   12135:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12136:   shlibpath_var=LD_LIBRARY_PATH
                   12137:   shlibpath_overrides_runpath=no
                   12138:   hardcode_into_libs=yes
                   12139:   ;;
                   12140: 
                   12141: uts4*)
                   12142:   version_type=linux # correct to gnu/linux during the next big refactor
                   12143:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12144:   soname_spec='${libname}${release}${shared_ext}$major'
                   12145:   shlibpath_var=LD_LIBRARY_PATH
                   12146:   ;;
                   12147: 
                   12148: *)
                   12149:   dynamic_linker=no
                   12150:   ;;
                   12151: esac
1.150     moko     12152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12153: $as_echo "$dynamic_linker" >&6; }
1.128     moko     12154: test "$dynamic_linker" = no && can_build_shared=no
                   12155: 
                   12156: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12157: if test "$GCC" = yes; then
                   12158:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12159: fi
                   12160: 
                   12161: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12162:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12163: fi
                   12164: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12165:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12166: fi
                   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: 
                   12205: 
                   12206: 
                   12207: 
                   12208: 
                   12209: 
                   12210: 
                   12211: 
                   12212: 
                   12213: 
                   12214: 
                   12215: 
                   12216: 
                   12217: 
                   12218: 
                   12219: 
                   12220: 
                   12221: 
                   12222: 
                   12223: 
                   12224: 
                   12225: 
                   12226: 
                   12227: 
                   12228: 
                   12229: 
                   12230: 
                   12231: 
                   12232: 
                   12233: 
                   12234: 
                   12235: 
                   12236: 
                   12237: 
                   12238: 
                   12239: 
                   12240: 
                   12241: 
                   12242: 
                   12243: 
                   12244: 
                   12245: 
                   12246: 
                   12247: 
                   12248: 
                   12249: 
                   12250: 
                   12251: 
                   12252: 
                   12253: 
                   12254: 
                   12255: 
                   12256: 
                   12257: 
                   12258: 
1.150     moko     12259:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12260: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     12261: hardcode_action=
                   12262: if test -n "$hardcode_libdir_flag_spec" ||
                   12263:    test -n "$runpath_var" ||
                   12264:    test "X$hardcode_automatic" = "Xyes" ; then
                   12265: 
                   12266:   # We can hardcode non-existent directories.
                   12267:   if test "$hardcode_direct" != no &&
                   12268:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12269:      # have to relink, otherwise we might link with an installed library
                   12270:      # when we should be linking with a yet-to-be-installed one
                   12271:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12272:      test "$hardcode_minus_L" != no; then
                   12273:     # Linking always hardcodes the temporary library directory.
                   12274:     hardcode_action=relink
                   12275:   else
                   12276:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12277:     hardcode_action=immediate
                   12278:   fi
                   12279: else
                   12280:   # We cannot hardcode anything, or else we can only hardcode existing
                   12281:   # directories.
                   12282:   hardcode_action=unsupported
                   12283: fi
1.150     moko     12284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12285: $as_echo "$hardcode_action" >&6; }
1.128     moko     12286: 
                   12287: if test "$hardcode_action" = relink ||
                   12288:    test "$inherit_rpath" = yes; then
                   12289:   # Fast installation is not supported
                   12290:   enable_fast_install=no
                   12291: elif test "$shlibpath_overrides_runpath" = yes ||
                   12292:      test "$enable_shared" = no; then
                   12293:   # Fast installation is not necessary
                   12294:   enable_fast_install=needless
                   12295: fi
                   12296: 
                   12297: 
                   12298: 
                   12299: 
                   12300: 
                   12301: 
                   12302:   if test "x$enable_dlopen" != xyes; then
                   12303:   enable_dlopen=unknown
                   12304:   enable_dlopen_self=unknown
                   12305:   enable_dlopen_self_static=unknown
                   12306: else
                   12307:   lt_cv_dlopen=no
                   12308:   lt_cv_dlopen_libs=
                   12309: 
                   12310:   case $host_os in
                   12311:   beos*)
                   12312:     lt_cv_dlopen="load_add_on"
                   12313:     lt_cv_dlopen_libs=
                   12314:     lt_cv_dlopen_self=yes
                   12315:     ;;
                   12316: 
                   12317:   mingw* | pw32* | cegcc*)
                   12318:     lt_cv_dlopen="LoadLibrary"
                   12319:     lt_cv_dlopen_libs=
                   12320:     ;;
                   12321: 
                   12322:   cygwin*)
                   12323:     lt_cv_dlopen="dlopen"
                   12324:     lt_cv_dlopen_libs=
                   12325:     ;;
                   12326: 
                   12327:   darwin*)
                   12328:   # if libdl is installed we need to link against it
1.150     moko     12329:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12330: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12331: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12332:   $as_echo_n "(cached) " >&6
1.128     moko     12333: else
                   12334:   ac_check_lib_save_LIBS=$LIBS
                   12335: LIBS="-ldl  $LIBS"
1.150     moko     12336: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12337: /* end confdefs.h.  */
                   12338: 
1.150     moko     12339: /* Override any GCC internal prototype to avoid an error.
                   12340:    Use char because int might match the return type of a GCC
                   12341:    builtin and then its argument prototype would still apply.  */
1.128     moko     12342: #ifdef __cplusplus
                   12343: extern "C"
                   12344: #endif
                   12345: char dlopen ();
                   12346: int
                   12347: main ()
                   12348: {
1.150     moko     12349: return dlopen ();
1.128     moko     12350:   ;
                   12351:   return 0;
                   12352: }
                   12353: _ACEOF
1.150     moko     12354: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12355:   ac_cv_lib_dl_dlopen=yes
                   12356: else
1.150     moko     12357:   ac_cv_lib_dl_dlopen=no
1.128     moko     12358: fi
1.150     moko     12359: rm -f core conftest.err conftest.$ac_objext \
                   12360:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12361: LIBS=$ac_check_lib_save_LIBS
                   12362: fi
1.150     moko     12363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12364: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12365: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12366:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12367: else
                   12368: 
                   12369:     lt_cv_dlopen="dyld"
                   12370:     lt_cv_dlopen_libs=
                   12371:     lt_cv_dlopen_self=yes
                   12372: 
                   12373: fi
                   12374: 
                   12375:     ;;
                   12376: 
                   12377:   *)
1.150     moko     12378:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12379: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     12380:   lt_cv_dlopen="shl_load"
                   12381: else
1.150     moko     12382:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12383: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12384: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12385:   $as_echo_n "(cached) " >&6
1.128     moko     12386: else
                   12387:   ac_check_lib_save_LIBS=$LIBS
                   12388: LIBS="-ldld  $LIBS"
1.150     moko     12389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12390: /* end confdefs.h.  */
                   12391: 
1.150     moko     12392: /* Override any GCC internal prototype to avoid an error.
                   12393:    Use char because int might match the return type of a GCC
                   12394:    builtin and then its argument prototype would still apply.  */
1.128     moko     12395: #ifdef __cplusplus
                   12396: extern "C"
                   12397: #endif
                   12398: char shl_load ();
                   12399: int
                   12400: main ()
                   12401: {
1.150     moko     12402: return shl_load ();
1.128     moko     12403:   ;
                   12404:   return 0;
                   12405: }
                   12406: _ACEOF
1.150     moko     12407: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12408:   ac_cv_lib_dld_shl_load=yes
                   12409: else
1.150     moko     12410:   ac_cv_lib_dld_shl_load=no
1.128     moko     12411: fi
1.150     moko     12412: rm -f core conftest.err conftest.$ac_objext \
                   12413:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12414: LIBS=$ac_check_lib_save_LIBS
                   12415: fi
1.150     moko     12416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   12417: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   12418: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.128     moko     12419:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   12420: else
1.150     moko     12421:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   12422: if test "x$ac_cv_func_dlopen" = xyes; then :
1.128     moko     12423:   lt_cv_dlopen="dlopen"
                   12424: else
1.150     moko     12425:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12426: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12427: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12428:   $as_echo_n "(cached) " >&6
1.128     moko     12429: else
                   12430:   ac_check_lib_save_LIBS=$LIBS
                   12431: LIBS="-ldl  $LIBS"
1.150     moko     12432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12433: /* end confdefs.h.  */
                   12434: 
1.150     moko     12435: /* Override any GCC internal prototype to avoid an error.
                   12436:    Use char because int might match the return type of a GCC
                   12437:    builtin and then its argument prototype would still apply.  */
1.128     moko     12438: #ifdef __cplusplus
                   12439: extern "C"
                   12440: #endif
                   12441: char dlopen ();
                   12442: int
                   12443: main ()
                   12444: {
1.150     moko     12445: return dlopen ();
1.128     moko     12446:   ;
                   12447:   return 0;
                   12448: }
                   12449: _ACEOF
1.150     moko     12450: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12451:   ac_cv_lib_dl_dlopen=yes
                   12452: else
1.150     moko     12453:   ac_cv_lib_dl_dlopen=no
1.128     moko     12454: fi
1.150     moko     12455: rm -f core conftest.err conftest.$ac_objext \
                   12456:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12457: LIBS=$ac_check_lib_save_LIBS
                   12458: fi
1.150     moko     12459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12460: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12461: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.128     moko     12462:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12463: else
1.150     moko     12464:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   12465: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   12466: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   12467:   $as_echo_n "(cached) " >&6
1.128     moko     12468: else
                   12469:   ac_check_lib_save_LIBS=$LIBS
                   12470: LIBS="-lsvld  $LIBS"
1.150     moko     12471: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12472: /* end confdefs.h.  */
                   12473: 
1.150     moko     12474: /* Override any GCC internal prototype to avoid an error.
                   12475:    Use char because int might match the return type of a GCC
                   12476:    builtin and then its argument prototype would still apply.  */
1.128     moko     12477: #ifdef __cplusplus
                   12478: extern "C"
                   12479: #endif
                   12480: char dlopen ();
                   12481: int
                   12482: main ()
                   12483: {
1.150     moko     12484: return dlopen ();
1.128     moko     12485:   ;
                   12486:   return 0;
                   12487: }
                   12488: _ACEOF
1.150     moko     12489: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12490:   ac_cv_lib_svld_dlopen=yes
                   12491: else
1.150     moko     12492:   ac_cv_lib_svld_dlopen=no
1.128     moko     12493: fi
1.150     moko     12494: rm -f core conftest.err conftest.$ac_objext \
                   12495:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12496: LIBS=$ac_check_lib_save_LIBS
                   12497: fi
1.150     moko     12498: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   12499: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   12500: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     12501:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   12502: else
1.150     moko     12503:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   12504: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   12505: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   12506:   $as_echo_n "(cached) " >&6
1.128     moko     12507: else
                   12508:   ac_check_lib_save_LIBS=$LIBS
                   12509: LIBS="-ldld  $LIBS"
1.150     moko     12510: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12511: /* end confdefs.h.  */
                   12512: 
1.150     moko     12513: /* Override any GCC internal prototype to avoid an error.
                   12514:    Use char because int might match the return type of a GCC
                   12515:    builtin and then its argument prototype would still apply.  */
1.128     moko     12516: #ifdef __cplusplus
                   12517: extern "C"
                   12518: #endif
                   12519: char dld_link ();
                   12520: int
                   12521: main ()
                   12522: {
1.150     moko     12523: return dld_link ();
1.128     moko     12524:   ;
                   12525:   return 0;
                   12526: }
                   12527: _ACEOF
1.150     moko     12528: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     12529:   ac_cv_lib_dld_dld_link=yes
                   12530: else
1.150     moko     12531:   ac_cv_lib_dld_dld_link=no
                   12532: fi
                   12533: rm -f core conftest.err conftest.$ac_objext \
                   12534:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     12535: LIBS=$ac_check_lib_save_LIBS
                   12536: fi
1.150     moko     12537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   12538: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   12539: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     12540:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   12541: fi
                   12542: 
                   12543: 
                   12544: fi
                   12545: 
                   12546: 
                   12547: fi
                   12548: 
                   12549: 
                   12550: fi
                   12551: 
                   12552: 
                   12553: fi
                   12554: 
                   12555: 
                   12556: fi
                   12557: 
                   12558:     ;;
                   12559:   esac
                   12560: 
                   12561:   if test "x$lt_cv_dlopen" != xno; then
                   12562:     enable_dlopen=yes
                   12563:   else
                   12564:     enable_dlopen=no
                   12565:   fi
                   12566: 
                   12567:   case $lt_cv_dlopen in
                   12568:   dlopen)
                   12569:     save_CPPFLAGS="$CPPFLAGS"
                   12570:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   12571: 
                   12572:     save_LDFLAGS="$LDFLAGS"
                   12573:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   12574: 
                   12575:     save_LIBS="$LIBS"
                   12576:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   12577: 
1.150     moko     12578:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   12579: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   12580: if ${lt_cv_dlopen_self+:} false; then :
                   12581:   $as_echo_n "(cached) " >&6
1.128     moko     12582: else
                   12583:          if test "$cross_compiling" = yes; then :
                   12584:   lt_cv_dlopen_self=cross
                   12585: else
                   12586:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12587:   lt_status=$lt_dlunknown
                   12588:   cat > conftest.$ac_ext <<_LT_EOF
                   12589: #line $LINENO "configure"
                   12590: #include "confdefs.h"
                   12591: 
                   12592: #if HAVE_DLFCN_H
                   12593: #include <dlfcn.h>
                   12594: #endif
                   12595: 
                   12596: #include <stdio.h>
                   12597: 
                   12598: #ifdef RTLD_GLOBAL
                   12599: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12600: #else
                   12601: #  ifdef DL_GLOBAL
                   12602: #    define LT_DLGLOBAL                DL_GLOBAL
                   12603: #  else
                   12604: #    define LT_DLGLOBAL                0
                   12605: #  endif
                   12606: #endif
                   12607: 
                   12608: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12609:    find out it does not work in some platform. */
                   12610: #ifndef LT_DLLAZY_OR_NOW
                   12611: #  ifdef RTLD_LAZY
                   12612: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12613: #  else
                   12614: #    ifdef DL_LAZY
                   12615: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12616: #    else
                   12617: #      ifdef RTLD_NOW
                   12618: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12619: #      else
                   12620: #        ifdef DL_NOW
                   12621: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12622: #        else
                   12623: #          define LT_DLLAZY_OR_NOW     0
                   12624: #        endif
                   12625: #      endif
                   12626: #    endif
                   12627: #  endif
                   12628: #endif
                   12629: 
                   12630: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12631:    correspondingly for the symbols needed.  */
                   12632: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12633: int fnord () __attribute__((visibility("default")));
                   12634: #endif
                   12635: 
                   12636: int fnord () { return 42; }
                   12637: int main ()
                   12638: {
                   12639:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12640:   int status = $lt_dlunknown;
                   12641: 
                   12642:   if (self)
                   12643:     {
                   12644:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12645:       else
                   12646:         {
                   12647:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12648:           else puts (dlerror ());
                   12649:        }
                   12650:       /* dlclose (self); */
                   12651:     }
                   12652:   else
                   12653:     puts (dlerror ());
                   12654: 
                   12655:   return status;
                   12656: }
                   12657: _LT_EOF
1.150     moko     12658:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12659:   (eval $ac_link) 2>&5
                   12660:   ac_status=$?
1.150     moko     12661:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12662:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12663:     (./conftest; exit; ) >&5 2>/dev/null
                   12664:     lt_status=$?
                   12665:     case x$lt_status in
                   12666:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   12667:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   12668:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   12669:     esac
                   12670:   else :
                   12671:     # compilation failed
                   12672:     lt_cv_dlopen_self=no
                   12673:   fi
                   12674: fi
                   12675: rm -fr conftest*
                   12676: 
                   12677: 
                   12678: fi
1.150     moko     12679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   12680: $as_echo "$lt_cv_dlopen_self" >&6; }
1.128     moko     12681: 
                   12682:     if test "x$lt_cv_dlopen_self" = xyes; then
                   12683:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.150     moko     12684:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   12685: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   12686: if ${lt_cv_dlopen_self_static+:} false; then :
                   12687:   $as_echo_n "(cached) " >&6
1.128     moko     12688: else
                   12689:          if test "$cross_compiling" = yes; then :
                   12690:   lt_cv_dlopen_self_static=cross
                   12691: else
                   12692:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12693:   lt_status=$lt_dlunknown
                   12694:   cat > conftest.$ac_ext <<_LT_EOF
                   12695: #line $LINENO "configure"
                   12696: #include "confdefs.h"
                   12697: 
                   12698: #if HAVE_DLFCN_H
                   12699: #include <dlfcn.h>
                   12700: #endif
                   12701: 
                   12702: #include <stdio.h>
                   12703: 
                   12704: #ifdef RTLD_GLOBAL
                   12705: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12706: #else
                   12707: #  ifdef DL_GLOBAL
                   12708: #    define LT_DLGLOBAL                DL_GLOBAL
                   12709: #  else
                   12710: #    define LT_DLGLOBAL                0
                   12711: #  endif
                   12712: #endif
                   12713: 
                   12714: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12715:    find out it does not work in some platform. */
                   12716: #ifndef LT_DLLAZY_OR_NOW
                   12717: #  ifdef RTLD_LAZY
                   12718: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12719: #  else
                   12720: #    ifdef DL_LAZY
                   12721: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12722: #    else
                   12723: #      ifdef RTLD_NOW
                   12724: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12725: #      else
                   12726: #        ifdef DL_NOW
                   12727: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12728: #        else
                   12729: #          define LT_DLLAZY_OR_NOW     0
                   12730: #        endif
                   12731: #      endif
                   12732: #    endif
                   12733: #  endif
                   12734: #endif
                   12735: 
                   12736: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12737:    correspondingly for the symbols needed.  */
                   12738: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12739: int fnord () __attribute__((visibility("default")));
                   12740: #endif
                   12741: 
                   12742: int fnord () { return 42; }
                   12743: int main ()
                   12744: {
                   12745:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12746:   int status = $lt_dlunknown;
                   12747: 
                   12748:   if (self)
                   12749:     {
                   12750:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12751:       else
                   12752:         {
                   12753:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12754:           else puts (dlerror ());
                   12755:        }
                   12756:       /* dlclose (self); */
                   12757:     }
                   12758:   else
                   12759:     puts (dlerror ());
                   12760: 
                   12761:   return status;
                   12762: }
                   12763: _LT_EOF
1.150     moko     12764:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     12765:   (eval $ac_link) 2>&5
                   12766:   ac_status=$?
1.150     moko     12767:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12768:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     12769:     (./conftest; exit; ) >&5 2>/dev/null
                   12770:     lt_status=$?
                   12771:     case x$lt_status in
                   12772:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   12773:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   12774:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   12775:     esac
                   12776:   else :
                   12777:     # compilation failed
                   12778:     lt_cv_dlopen_self_static=no
                   12779:   fi
                   12780: fi
                   12781: rm -fr conftest*
                   12782: 
                   12783: 
                   12784: fi
1.150     moko     12785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   12786: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.128     moko     12787:     fi
                   12788: 
                   12789:     CPPFLAGS="$save_CPPFLAGS"
                   12790:     LDFLAGS="$save_LDFLAGS"
                   12791:     LIBS="$save_LIBS"
                   12792:     ;;
                   12793:   esac
                   12794: 
                   12795:   case $lt_cv_dlopen_self in
                   12796:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12797:   *) enable_dlopen_self=unknown ;;
                   12798:   esac
                   12799: 
                   12800:   case $lt_cv_dlopen_self_static in
                   12801:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12802:   *) enable_dlopen_self_static=unknown ;;
                   12803:   esac
                   12804: fi
                   12805: 
                   12806: 
                   12807: 
                   12808: 
                   12809: 
                   12810: 
                   12811: 
                   12812: 
                   12813: 
                   12814: 
                   12815: 
                   12816: 
                   12817: 
                   12818: 
                   12819: 
                   12820: 
                   12821: 
                   12822: striplib=
                   12823: old_striplib=
1.150     moko     12824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12825: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1.128     moko     12826: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12827:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12828:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.150     moko     12829:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12830: $as_echo "yes" >&6; }
1.128     moko     12831: else
                   12832: # FIXME - insert some real tests, host_os isn't really good enough
                   12833:   case $host_os in
                   12834:   darwin*)
                   12835:     if test -n "$STRIP" ; then
                   12836:       striplib="$STRIP -x"
                   12837:       old_striplib="$STRIP -S"
1.150     moko     12838:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12839: $as_echo "yes" >&6; }
1.128     moko     12840:     else
1.150     moko     12841:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12842: $as_echo "no" >&6; }
1.128     moko     12843:     fi
                   12844:     ;;
                   12845:   *)
1.150     moko     12846:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12847: $as_echo "no" >&6; }
1.128     moko     12848:     ;;
                   12849:   esac
                   12850: fi
                   12851: 
                   12852: 
                   12853: 
                   12854: 
                   12855: 
                   12856: 
                   12857: 
                   12858: 
                   12859: 
                   12860: 
                   12861: 
                   12862: 
                   12863:   # Report which library types will actually be built
1.150     moko     12864:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12865: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12866:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12867: $as_echo "$can_build_shared" >&6; }
1.128     moko     12868: 
1.150     moko     12869:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12870: $as_echo_n "checking whether to build shared libraries... " >&6; }
1.128     moko     12871:   test "$can_build_shared" = "no" && enable_shared=no
                   12872: 
                   12873:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12874:   # are all built from PIC.
                   12875:   case $host_os in
                   12876:   aix3*)
                   12877:     test "$enable_shared" = yes && enable_static=no
                   12878:     if test -n "$RANLIB"; then
                   12879:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12880:       postinstall_cmds='$RANLIB $lib'
                   12881:     fi
                   12882:     ;;
                   12883: 
                   12884:   aix[4-9]*)
                   12885:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12886:       test "$enable_shared" = yes && enable_static=no
                   12887:     fi
                   12888:     ;;
                   12889:   esac
1.150     moko     12890:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12891: $as_echo "$enable_shared" >&6; }
1.128     moko     12892: 
1.150     moko     12893:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12894: $as_echo_n "checking whether to build static libraries... " >&6; }
1.128     moko     12895:   # Make sure either enable_shared or enable_static is yes.
                   12896:   test "$enable_shared" = yes || enable_static=yes
1.150     moko     12897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12898: $as_echo "$enable_static" >&6; }
1.128     moko     12899: 
                   12900: 
                   12901: 
                   12902: 
                   12903: fi
                   12904: ac_ext=c
                   12905: ac_cpp='$CPP $CPPFLAGS'
                   12906: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12907: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12908: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12909: 
                   12910: CC="$lt_save_CC"
                   12911: 
                   12912:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   12913:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   12914:     (test "X$CXX" != "Xg++"))) ; then
1.150     moko     12915:   ac_ext=cpp
1.128     moko     12916: ac_cpp='$CXXCPP $CPPFLAGS'
                   12917: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12918: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12919: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1.150     moko     12920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
                   12921: $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
1.128     moko     12922: if test -z "$CXXCPP"; then
1.150     moko     12923:   if ${ac_cv_prog_CXXCPP+:} false; then :
                   12924:   $as_echo_n "(cached) " >&6
1.128     moko     12925: else
                   12926:       # Double quotes because CXXCPP needs to be expanded
                   12927:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   12928:     do
                   12929:       ac_preproc_ok=false
                   12930: for ac_cxx_preproc_warn_flag in '' yes
                   12931: do
                   12932:   # Use a header file that comes with gcc, so configuring glibc
                   12933:   # with a fresh cross-compiler works.
                   12934:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12935:   # <limits.h> exists even on freestanding compilers.
                   12936:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12937:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12938:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12939: /* end confdefs.h.  */
                   12940: #ifdef __STDC__
                   12941: # include <limits.h>
                   12942: #else
                   12943: # include <assert.h>
                   12944: #endif
                   12945:                     Syntax error
                   12946: _ACEOF
1.150     moko     12947: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   12948: 
1.128     moko     12949: else
                   12950:   # Broken: fails on valid input.
                   12951: continue
                   12952: fi
1.150     moko     12953: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12954: 
1.150     moko     12955:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     12956:   # can be detected and how.
1.150     moko     12957:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12958: /* end confdefs.h.  */
                   12959: #include <ac_nonexistent.h>
                   12960: _ACEOF
1.150     moko     12961: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     12962:   # Broken: success on invalid input.
                   12963: continue
                   12964: else
                   12965:   # Passes both tests.
                   12966: ac_preproc_ok=:
                   12967: break
                   12968: fi
1.150     moko     12969: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     12970: 
                   12971: done
                   12972: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     12973: rm -f conftest.i conftest.err conftest.$ac_ext
                   12974: if $ac_preproc_ok; then :
1.128     moko     12975:   break
                   12976: fi
                   12977: 
                   12978:     done
                   12979:     ac_cv_prog_CXXCPP=$CXXCPP
                   12980: 
                   12981: fi
                   12982:   CXXCPP=$ac_cv_prog_CXXCPP
                   12983: else
                   12984:   ac_cv_prog_CXXCPP=$CXXCPP
                   12985: fi
1.150     moko     12986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
                   12987: $as_echo "$CXXCPP" >&6; }
1.128     moko     12988: ac_preproc_ok=false
                   12989: for ac_cxx_preproc_warn_flag in '' yes
                   12990: do
                   12991:   # Use a header file that comes with gcc, so configuring glibc
                   12992:   # with a fresh cross-compiler works.
                   12993:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   12994:   # <limits.h> exists even on freestanding compilers.
                   12995:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   12996:   # not just through cpp. "Syntax error" is here to catch this case.
1.150     moko     12997:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     12998: /* end confdefs.h.  */
                   12999: #ifdef __STDC__
                   13000: # include <limits.h>
                   13001: #else
                   13002: # include <assert.h>
                   13003: #endif
                   13004:                     Syntax error
                   13005: _ACEOF
1.150     moko     13006: if ac_fn_cxx_try_cpp "$LINENO"; then :
                   13007: 
1.128     moko     13008: else
                   13009:   # Broken: fails on valid input.
                   13010: continue
                   13011: fi
1.150     moko     13012: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13013: 
1.150     moko     13014:   # OK, works on sane cases.  Now check whether nonexistent headers
1.128     moko     13015:   # can be detected and how.
1.150     moko     13016:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13017: /* end confdefs.h.  */
                   13018: #include <ac_nonexistent.h>
                   13019: _ACEOF
1.150     moko     13020: if ac_fn_cxx_try_cpp "$LINENO"; then :
1.128     moko     13021:   # Broken: success on invalid input.
                   13022: continue
                   13023: else
                   13024:   # Passes both tests.
                   13025: ac_preproc_ok=:
                   13026: break
                   13027: fi
1.150     moko     13028: rm -f conftest.err conftest.i conftest.$ac_ext
1.128     moko     13029: 
                   13030: done
                   13031: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.150     moko     13032: rm -f conftest.i conftest.err conftest.$ac_ext
                   13033: if $ac_preproc_ok; then :
                   13034: 
1.128     moko     13035: else
1.150     moko     13036:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13037: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13038: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
                   13039: See \`config.log' for more details" "$LINENO" 5; }
1.128     moko     13040: fi
                   13041: 
                   13042: ac_ext=c
                   13043: ac_cpp='$CPP $CPPFLAGS'
                   13044: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13045: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13046: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13047: 
                   13048: else
                   13049:   _lt_caught_CXX_error=yes
                   13050: fi
                   13051: 
1.150     moko     13052: ac_ext=cpp
1.128     moko     13053: ac_cpp='$CXXCPP $CPPFLAGS'
                   13054: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13055: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13056: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   13057: 
                   13058: archive_cmds_need_lc_CXX=no
                   13059: allow_undefined_flag_CXX=
                   13060: always_export_symbols_CXX=no
                   13061: archive_expsym_cmds_CXX=
                   13062: compiler_needs_object_CXX=no
                   13063: export_dynamic_flag_spec_CXX=
                   13064: hardcode_direct_CXX=no
                   13065: hardcode_direct_absolute_CXX=no
                   13066: hardcode_libdir_flag_spec_CXX=
                   13067: hardcode_libdir_separator_CXX=
                   13068: hardcode_minus_L_CXX=no
                   13069: hardcode_shlibpath_var_CXX=unsupported
                   13070: hardcode_automatic_CXX=no
                   13071: inherit_rpath_CXX=no
                   13072: module_cmds_CXX=
                   13073: module_expsym_cmds_CXX=
                   13074: link_all_deplibs_CXX=unknown
                   13075: old_archive_cmds_CXX=$old_archive_cmds
                   13076: reload_flag_CXX=$reload_flag
                   13077: reload_cmds_CXX=$reload_cmds
                   13078: no_undefined_flag_CXX=
                   13079: whole_archive_flag_spec_CXX=
                   13080: enable_shared_with_static_runtimes_CXX=no
                   13081: 
                   13082: # Source file extension for C++ test sources.
                   13083: ac_ext=cpp
                   13084: 
                   13085: # Object file extension for compiled C++ test sources.
                   13086: objext=o
                   13087: objext_CXX=$objext
                   13088: 
                   13089: # No sense in running all these tests if we already determined that
                   13090: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   13091: # are currently assumed to apply to all compilers on this platform,
                   13092: # and will be corrupted by setting them based on a non-working compiler.
                   13093: if test "$_lt_caught_CXX_error" != yes; then
                   13094:   # Code to be used in simple compile tests
                   13095:   lt_simple_compile_test_code="int some_variable = 0;"
                   13096: 
                   13097:   # Code to be used in simple link tests
                   13098:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   13099: 
                   13100:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   13101: 
                   13102: 
                   13103: 
                   13104: 
                   13105: 
                   13106: 
                   13107: # If no C compiler was specified, use CC.
                   13108: LTCC=${LTCC-"$CC"}
                   13109: 
                   13110: # If no C compiler flags were specified, use CFLAGS.
                   13111: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   13112: 
                   13113: # Allow CC to be a program name with arguments.
                   13114: compiler=$CC
                   13115: 
                   13116: 
                   13117:   # save warnings/boilerplate of simple test code
                   13118:   ac_outfile=conftest.$ac_objext
                   13119: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   13120: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13121: _lt_compiler_boilerplate=`cat conftest.err`
                   13122: $RM conftest*
                   13123: 
                   13124:   ac_outfile=conftest.$ac_objext
                   13125: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   13126: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   13127: _lt_linker_boilerplate=`cat conftest.err`
                   13128: $RM -r conftest*
                   13129: 
                   13130: 
                   13131:   # Allow CC to be a program name with arguments.
                   13132:   lt_save_CC=$CC
                   13133:   lt_save_CFLAGS=$CFLAGS
                   13134:   lt_save_LD=$LD
                   13135:   lt_save_GCC=$GCC
                   13136:   GCC=$GXX
                   13137:   lt_save_with_gnu_ld=$with_gnu_ld
                   13138:   lt_save_path_LD=$lt_cv_path_LD
                   13139:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   13140:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   13141:   else
                   13142:     $as_unset lt_cv_prog_gnu_ld
                   13143:   fi
                   13144:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   13145:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   13146:   else
                   13147:     $as_unset lt_cv_path_LD
                   13148:   fi
                   13149:   test -z "${LDCXX+set}" || LD=$LDCXX
                   13150:   CC=${CXX-"c++"}
                   13151:   CFLAGS=$CXXFLAGS
                   13152:   compiler=$CC
                   13153:   compiler_CXX=$CC
                   13154:   for cc_temp in $compiler""; do
                   13155:   case $cc_temp in
                   13156:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   13157:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   13158:     \-*) ;;
                   13159:     *) break;;
                   13160:   esac
                   13161: done
                   13162: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   13163: 
                   13164: 
                   13165:   if test -n "$compiler"; then
                   13166:     # We don't want -fno-exception when compiling C++ code, so set the
                   13167:     # no_builtin_flag separately
                   13168:     if test "$GXX" = yes; then
                   13169:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   13170:     else
                   13171:       lt_prog_compiler_no_builtin_flag_CXX=
                   13172:     fi
                   13173: 
                   13174:     if test "$GXX" = yes; then
                   13175:       # Set up default GNU C++ configuration
                   13176: 
                   13177: 
                   13178: 
1.150     moko     13179: # Check whether --with-gnu-ld was given.
                   13180: if test "${with_gnu_ld+set}" = set; then :
                   13181:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.128     moko     13182: else
                   13183:   with_gnu_ld=no
1.150     moko     13184: fi
                   13185: 
1.128     moko     13186: ac_prog=ld
                   13187: if test "$GCC" = yes; then
                   13188:   # Check if gcc -print-prog-name=ld gives a path.
1.150     moko     13189:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   13190: $as_echo_n "checking for ld used by $CC... " >&6; }
1.128     moko     13191:   case $host in
                   13192:   *-*-mingw*)
                   13193:     # gcc leaves a trailing carriage return which upsets mingw
                   13194:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   13195:   *)
                   13196:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   13197:   esac
                   13198:   case $ac_prog in
                   13199:     # Accept absolute paths.
                   13200:     [\\/]* | ?:[\\/]*)
                   13201:       re_direlt='/[^/][^/]*/\.\./'
                   13202:       # Canonicalize the pathname of ld
                   13203:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   13204:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   13205:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   13206:       done
                   13207:       test -z "$LD" && LD="$ac_prog"
                   13208:       ;;
                   13209:   "")
                   13210:     # If it fails, then pretend we aren't using GCC.
                   13211:     ac_prog=ld
                   13212:     ;;
                   13213:   *)
                   13214:     # If it is relative, then search for the first ld in PATH.
                   13215:     with_gnu_ld=unknown
                   13216:     ;;
                   13217:   esac
                   13218: elif test "$with_gnu_ld" = yes; then
1.150     moko     13219:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   13220: $as_echo_n "checking for GNU ld... " >&6; }
1.128     moko     13221: else
1.150     moko     13222:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   13223: $as_echo_n "checking for non-GNU ld... " >&6; }
1.128     moko     13224: fi
1.150     moko     13225: if ${lt_cv_path_LD+:} false; then :
                   13226:   $as_echo_n "(cached) " >&6
1.128     moko     13227: else
                   13228:   if test -z "$LD"; then
                   13229:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   13230:   for ac_dir in $PATH; do
                   13231:     IFS="$lt_save_ifs"
                   13232:     test -z "$ac_dir" && ac_dir=.
                   13233:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   13234:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   13235:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   13236:       # but apparently some variants of GNU ld only accept -v.
                   13237:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   13238:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   13239:       *GNU* | *'with BFD'*)
                   13240:        test "$with_gnu_ld" != no && break
                   13241:        ;;
                   13242:       *)
                   13243:        test "$with_gnu_ld" != yes && break
                   13244:        ;;
                   13245:       esac
                   13246:     fi
                   13247:   done
                   13248:   IFS="$lt_save_ifs"
                   13249: else
                   13250:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   13251: fi
                   13252: fi
                   13253: 
                   13254: LD="$lt_cv_path_LD"
                   13255: if test -n "$LD"; then
1.150     moko     13256:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   13257: $as_echo "$LD" >&6; }
1.128     moko     13258: else
1.150     moko     13259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13260: $as_echo "no" >&6; }
1.128     moko     13261: fi
1.150     moko     13262: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   13263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   13264: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   13265: if ${lt_cv_prog_gnu_ld+:} false; then :
                   13266:   $as_echo_n "(cached) " >&6
1.128     moko     13267: else
                   13268:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   13269: case `$LD -v 2>&1 </dev/null` in
                   13270: *GNU* | *'with BFD'*)
                   13271:   lt_cv_prog_gnu_ld=yes
                   13272:   ;;
                   13273: *)
                   13274:   lt_cv_prog_gnu_ld=no
                   13275:   ;;
                   13276: esac
                   13277: fi
1.150     moko     13278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   13279: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.128     moko     13280: with_gnu_ld=$lt_cv_prog_gnu_ld
                   13281: 
                   13282: 
                   13283: 
                   13284: 
                   13285: 
                   13286: 
                   13287: 
                   13288:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   13289:       # archiving commands below assume that GNU ld is being used.
                   13290:       if test "$with_gnu_ld" = yes; then
                   13291:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13292:         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'
                   13293: 
                   13294:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13295:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13296: 
                   13297:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   13298:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   13299:         #     investigate it a little bit more. (MM)
                   13300:         wlarc='${wl}'
                   13301: 
                   13302:         # ancient GNU ld didn't support --whole-archive et. al.
                   13303:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   13304:          $GREP 'no-whole-archive' > /dev/null; then
                   13305:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13306:         else
                   13307:           whole_archive_flag_spec_CXX=
                   13308:         fi
                   13309:       else
                   13310:         with_gnu_ld=no
                   13311:         wlarc=
                   13312: 
                   13313:         # A generic and very simple default shared library creation
                   13314:         # command for GNU C++ for the case where it uses the native
                   13315:         # linker, instead of GNU ld.  If possible, this setting should
                   13316:         # overridden to take advantage of the native linker features on
                   13317:         # the platform it is being used on.
                   13318:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13319:       fi
                   13320: 
                   13321:       # Commands to make compiler produce verbose output that lists
                   13322:       # what "hidden" libraries, object files and flags are used when
                   13323:       # linking a shared library.
                   13324:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13325: 
                   13326:     else
                   13327:       GXX=no
                   13328:       with_gnu_ld=no
                   13329:       wlarc=
                   13330:     fi
                   13331: 
                   13332:     # PORTME: fill in a description of your system's C++ link characteristics
1.150     moko     13333:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   13334: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     13335:     ld_shlibs_CXX=yes
                   13336:     case $host_os in
                   13337:       aix3*)
                   13338:         # FIXME: insert proper C++ library support
                   13339:         ld_shlibs_CXX=no
                   13340:         ;;
                   13341:       aix[4-9]*)
                   13342:         if test "$host_cpu" = ia64; then
                   13343:           # On IA64, the linker does run time linking by default, so we don't
                   13344:           # have to do anything special.
                   13345:           aix_use_runtimelinking=no
                   13346:           exp_sym_flag='-Bexport'
                   13347:           no_entry_flag=""
                   13348:         else
                   13349:           aix_use_runtimelinking=no
                   13350: 
                   13351:           # Test if we are trying to use run time linking or normal
                   13352:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   13353:           # need to do runtime linking.
                   13354:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   13355:            for ld_flag in $LDFLAGS; do
                   13356:              case $ld_flag in
                   13357:              *-brtl*)
                   13358:                aix_use_runtimelinking=yes
                   13359:                break
                   13360:                ;;
                   13361:              esac
                   13362:            done
                   13363:            ;;
                   13364:           esac
                   13365: 
                   13366:           exp_sym_flag='-bexport'
                   13367:           no_entry_flag='-bnoentry'
                   13368:         fi
                   13369: 
                   13370:         # When large executables or shared objects are built, AIX ld can
                   13371:         # have problems creating the table of contents.  If linking a library
                   13372:         # or program results in "error TOC overflow" add -mminimal-toc to
                   13373:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   13374:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   13375: 
                   13376:         archive_cmds_CXX=''
                   13377:         hardcode_direct_CXX=yes
                   13378:         hardcode_direct_absolute_CXX=yes
                   13379:         hardcode_libdir_separator_CXX=':'
                   13380:         link_all_deplibs_CXX=yes
                   13381:         file_list_spec_CXX='${wl}-f,'
                   13382: 
                   13383:         if test "$GXX" = yes; then
                   13384:           case $host_os in aix4.[012]|aix4.[012].*)
                   13385:           # We only want to do this on AIX 4.2 and lower, the check
                   13386:           # below for broken collect2 doesn't work under 4.3+
                   13387:          collect2name=`${CC} -print-prog-name=collect2`
                   13388:          if test -f "$collect2name" &&
                   13389:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   13390:          then
                   13391:            # We have reworked collect2
                   13392:            :
                   13393:          else
                   13394:            # We have old collect2
                   13395:            hardcode_direct_CXX=unsupported
                   13396:            # It fails to find uninstalled libraries when the uninstalled
                   13397:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   13398:            # to unsupported forces relinking
                   13399:            hardcode_minus_L_CXX=yes
                   13400:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13401:            hardcode_libdir_separator_CXX=
                   13402:          fi
                   13403:           esac
                   13404:           shared_flag='-shared'
                   13405:          if test "$aix_use_runtimelinking" = yes; then
                   13406:            shared_flag="$shared_flag "'${wl}-G'
                   13407:          fi
                   13408:         else
                   13409:           # not using gcc
                   13410:           if test "$host_cpu" = ia64; then
                   13411:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   13412:          # chokes on -Wl,-G. The following line is correct:
                   13413:          shared_flag='-G'
                   13414:           else
                   13415:            if test "$aix_use_runtimelinking" = yes; then
                   13416:              shared_flag='${wl}-G'
                   13417:            else
                   13418:              shared_flag='${wl}-bM:SRE'
                   13419:            fi
                   13420:           fi
                   13421:         fi
                   13422: 
                   13423:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   13424:         # It seems that -bexpall does not export symbols beginning with
                   13425:         # underscore (_), so it is better to generate a list of symbols to
                   13426:        # export.
                   13427:         always_export_symbols_CXX=yes
                   13428:         if test "$aix_use_runtimelinking" = yes; then
                   13429:           # Warning - without using the other runtime loading flags (-brtl),
                   13430:           # -berok will link without error, but may produce a broken library.
                   13431:           allow_undefined_flag_CXX='-berok'
                   13432:           # Determine the default libpath from the value encoded in an empty
                   13433:           # 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: 
                   13479:           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"
                   13480:         else
                   13481:           if test "$host_cpu" = ia64; then
                   13482:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   13483:            allow_undefined_flag_CXX="-z nodefs"
                   13484:            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"
                   13485:           else
                   13486:            # Determine the default libpath from the value encoded in an
                   13487:            # empty executable.
                   13488:            if test "${lt_cv_aix_libpath+set}" = set; then
                   13489:   aix_libpath=$lt_cv_aix_libpath
                   13490: else
1.150     moko     13491:   if ${lt_cv_aix_libpath__CXX+:} false; then :
                   13492:   $as_echo_n "(cached) " >&6
1.128     moko     13493: else
1.150     moko     13494:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     13495: /* end confdefs.h.  */
                   13496: 
                   13497: int
                   13498: main ()
                   13499: {
                   13500: 
                   13501:   ;
                   13502:   return 0;
                   13503: }
                   13504: _ACEOF
1.150     moko     13505: if ac_fn_cxx_try_link "$LINENO"; then :
1.128     moko     13506: 
                   13507:   lt_aix_libpath_sed='
                   13508:       /Import File Strings/,/^$/ {
                   13509:          /^0/ {
                   13510:              s/^0  *\([^ ]*\) *$/\1/
                   13511:              p
                   13512:          }
                   13513:       }'
                   13514:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13515:   # Check for a 64-bit object if we didn't find anything.
                   13516:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13517:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   13518:   fi
                   13519: fi
1.150     moko     13520: rm -f core conftest.err conftest.$ac_objext \
                   13521:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     13522:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   13523:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   13524:   fi
                   13525: 
                   13526: fi
                   13527: 
                   13528:   aix_libpath=$lt_cv_aix_libpath__CXX
                   13529: fi
                   13530: 
                   13531:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   13532:            # Warning - without using the other run time loading flags,
                   13533:            # -berok will link without error, but may produce a broken library.
                   13534:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   13535:            allow_undefined_flag_CXX=' ${wl}-berok'
                   13536:            if test "$with_gnu_ld" = yes; then
                   13537:              # We only use this code for GNU lds that support --whole-archive.
                   13538:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13539:            else
                   13540:              # Exported symbols can be pulled into shared objects from archives
                   13541:              whole_archive_flag_spec_CXX='$convenience'
                   13542:            fi
                   13543:            archive_cmds_need_lc_CXX=yes
                   13544:            # This is similar to how AIX traditionally builds its shared
                   13545:            # libraries.
                   13546:            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'
                   13547:           fi
                   13548:         fi
                   13549:         ;;
                   13550: 
                   13551:       beos*)
                   13552:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   13553:          allow_undefined_flag_CXX=unsupported
                   13554:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   13555:          # support --undefined.  This deserves some investigation.  FIXME
                   13556:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13557:        else
                   13558:          ld_shlibs_CXX=no
                   13559:        fi
                   13560:        ;;
                   13561: 
                   13562:       chorus*)
                   13563:         case $cc_basename in
                   13564:           *)
                   13565:          # FIXME: insert proper C++ library support
                   13566:          ld_shlibs_CXX=no
                   13567:          ;;
                   13568:         esac
                   13569:         ;;
                   13570: 
                   13571:       cygwin* | mingw* | pw32* | cegcc*)
                   13572:        case $GXX,$cc_basename in
                   13573:        ,cl* | no,cl*)
                   13574:          # Native MSVC
                   13575:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   13576:          # no search path for DLLs.
                   13577:          hardcode_libdir_flag_spec_CXX=' '
                   13578:          allow_undefined_flag_CXX=unsupported
                   13579:          always_export_symbols_CXX=yes
                   13580:          file_list_spec_CXX='@'
                   13581:          # Tell ltmain to make .lib files, not .a files.
                   13582:          libext=lib
                   13583:          # Tell ltmain to make .dll files, not .so files.
                   13584:          shrext_cmds=".dll"
                   13585:          # FIXME: Setting linknames here is a bad hack.
                   13586:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   13587:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13588:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   13589:            else
                   13590:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   13591:            fi~
                   13592:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   13593:            linknames='
                   13594:          # The linker will not automatically build a static lib if we build a DLL.
                   13595:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   13596:          enable_shared_with_static_runtimes_CXX=yes
                   13597:          # Don't use ranlib
                   13598:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   13599:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   13600:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   13601:            case $lt_outputfile in
                   13602:              *.exe|*.EXE) ;;
                   13603:              *)
                   13604:                lt_outputfile="$lt_outputfile.exe"
                   13605:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   13606:                ;;
                   13607:            esac~
                   13608:            func_to_tool_file "$lt_outputfile"~
                   13609:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   13610:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   13611:              $RM "$lt_outputfile.manifest";
                   13612:            fi'
                   13613:          ;;
                   13614:        *)
                   13615:          # g++
                   13616:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   13617:          # as there is no search path for DLLs.
                   13618:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   13619:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   13620:          allow_undefined_flag_CXX=unsupported
                   13621:          always_export_symbols_CXX=no
                   13622:          enable_shared_with_static_runtimes_CXX=yes
                   13623: 
                   13624:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   13625:            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'
                   13626:            # If the export-symbols file already is a .def file (1st line
                   13627:            # is EXPORTS), use it as is; otherwise, prepend...
                   13628:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   13629:              cp $export_symbols $output_objdir/$soname.def;
                   13630:            else
                   13631:              echo EXPORTS > $output_objdir/$soname.def;
                   13632:              cat $export_symbols >> $output_objdir/$soname.def;
                   13633:            fi~
                   13634:            $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'
                   13635:          else
                   13636:            ld_shlibs_CXX=no
                   13637:          fi
                   13638:          ;;
                   13639:        esac
                   13640:        ;;
                   13641:       darwin* | rhapsody*)
                   13642: 
                   13643: 
                   13644:   archive_cmds_need_lc_CXX=no
                   13645:   hardcode_direct_CXX=no
                   13646:   hardcode_automatic_CXX=yes
                   13647:   hardcode_shlibpath_var_CXX=unsupported
                   13648:   if test "$lt_cv_ld_force_load" = "yes"; then
                   13649:     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\"`'
                   13650: 
                   13651:   else
                   13652:     whole_archive_flag_spec_CXX=''
                   13653:   fi
                   13654:   link_all_deplibs_CXX=yes
                   13655:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   13656:   case $cc_basename in
                   13657:      ifort*) _lt_dar_can_shared=yes ;;
                   13658:      *) _lt_dar_can_shared=$GCC ;;
                   13659:   esac
                   13660:   if test "$_lt_dar_can_shared" = "yes"; then
                   13661:     output_verbose_link_cmd=func_echo_all
                   13662:     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}"
                   13663:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   13664:     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}"
                   13665:     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}"
                   13666:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   13667:       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}"
                   13668:       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}"
                   13669:     fi
                   13670: 
                   13671:   else
                   13672:   ld_shlibs_CXX=no
                   13673:   fi
                   13674: 
                   13675:        ;;
                   13676: 
                   13677:       dgux*)
                   13678:         case $cc_basename in
                   13679:           ec++*)
                   13680:            # FIXME: insert proper C++ library support
                   13681:            ld_shlibs_CXX=no
                   13682:            ;;
                   13683:           ghcx*)
                   13684:            # Green Hills C++ Compiler
                   13685:            # FIXME: insert proper C++ library support
                   13686:            ld_shlibs_CXX=no
                   13687:            ;;
                   13688:           *)
                   13689:            # FIXME: insert proper C++ library support
                   13690:            ld_shlibs_CXX=no
                   13691:            ;;
                   13692:         esac
                   13693:         ;;
                   13694: 
                   13695:       freebsd2.*)
                   13696:         # C++ shared libraries reported to be fairly broken before
                   13697:        # switch to ELF
                   13698:         ld_shlibs_CXX=no
                   13699:         ;;
                   13700: 
                   13701:       freebsd-elf*)
                   13702:         archive_cmds_need_lc_CXX=no
                   13703:         ;;
                   13704: 
                   13705:       freebsd* | dragonfly*)
                   13706:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   13707:         # conventions
                   13708:         ld_shlibs_CXX=yes
                   13709:         ;;
                   13710: 
                   13711:       gnu*)
                   13712:         ;;
                   13713: 
                   13714:       haiku*)
                   13715:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13716:         link_all_deplibs_CXX=yes
                   13717:         ;;
                   13718: 
                   13719:       hpux9*)
                   13720:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13721:         hardcode_libdir_separator_CXX=:
                   13722:         export_dynamic_flag_spec_CXX='${wl}-E'
                   13723:         hardcode_direct_CXX=yes
                   13724:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13725:                                             # but as the default
                   13726:                                             # location of the library.
                   13727: 
                   13728:         case $cc_basename in
                   13729:           CC*)
                   13730:             # FIXME: insert proper C++ library support
                   13731:             ld_shlibs_CXX=no
                   13732:             ;;
                   13733:           aCC*)
                   13734:             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'
                   13735:             # Commands to make compiler produce verbose output that lists
                   13736:             # what "hidden" libraries, object files and flags are used when
                   13737:             # linking a shared library.
                   13738:             #
                   13739:             # There doesn't appear to be a way to prevent this compiler from
                   13740:             # explicitly linking system object files so we need to strip them
                   13741:             # from the output so that they don't get included in the library
                   13742:             # dependencies.
                   13743:             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"'
                   13744:             ;;
                   13745:           *)
                   13746:             if test "$GXX" = yes; then
                   13747:               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'
                   13748:             else
                   13749:               # FIXME: insert proper C++ library support
                   13750:               ld_shlibs_CXX=no
                   13751:             fi
                   13752:             ;;
                   13753:         esac
                   13754:         ;;
                   13755: 
                   13756:       hpux10*|hpux11*)
                   13757:         if test $with_gnu_ld = no; then
                   13758:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   13759:          hardcode_libdir_separator_CXX=:
                   13760: 
                   13761:           case $host_cpu in
                   13762:             hppa*64*|ia64*)
                   13763:               ;;
                   13764:             *)
                   13765:              export_dynamic_flag_spec_CXX='${wl}-E'
                   13766:               ;;
                   13767:           esac
                   13768:         fi
                   13769:         case $host_cpu in
                   13770:           hppa*64*|ia64*)
                   13771:             hardcode_direct_CXX=no
                   13772:             hardcode_shlibpath_var_CXX=no
                   13773:             ;;
                   13774:           *)
                   13775:             hardcode_direct_CXX=yes
                   13776:             hardcode_direct_absolute_CXX=yes
                   13777:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   13778:                                                 # but as the default
                   13779:                                                 # location of the library.
                   13780:             ;;
                   13781:         esac
                   13782: 
                   13783:         case $cc_basename in
                   13784:           CC*)
                   13785:            # FIXME: insert proper C++ library support
                   13786:            ld_shlibs_CXX=no
                   13787:            ;;
                   13788:           aCC*)
                   13789:            case $host_cpu in
                   13790:              hppa*64*)
                   13791:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13792:                ;;
                   13793:              ia64*)
                   13794:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13795:                ;;
                   13796:              *)
                   13797:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13798:                ;;
                   13799:            esac
                   13800:            # Commands to make compiler produce verbose output that lists
                   13801:            # what "hidden" libraries, object files and flags are used when
                   13802:            # linking a shared library.
                   13803:            #
                   13804:            # There doesn't appear to be a way to prevent this compiler from
                   13805:            # explicitly linking system object files so we need to strip them
                   13806:            # from the output so that they don't get included in the library
                   13807:            # dependencies.
                   13808:            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"'
                   13809:            ;;
                   13810:           *)
                   13811:            if test "$GXX" = yes; then
                   13812:              if test $with_gnu_ld = no; then
                   13813:                case $host_cpu in
                   13814:                  hppa*64*)
                   13815:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13816:                    ;;
                   13817:                  ia64*)
                   13818:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13819:                    ;;
                   13820:                  *)
                   13821:                    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'
                   13822:                    ;;
                   13823:                esac
                   13824:              fi
                   13825:            else
                   13826:              # FIXME: insert proper C++ library support
                   13827:              ld_shlibs_CXX=no
                   13828:            fi
                   13829:            ;;
                   13830:         esac
                   13831:         ;;
                   13832: 
                   13833:       interix[3-9]*)
                   13834:        hardcode_direct_CXX=no
                   13835:        hardcode_shlibpath_var_CXX=no
                   13836:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13837:        export_dynamic_flag_spec_CXX='${wl}-E'
                   13838:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   13839:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   13840:        # default) and relocated if they conflict, which is a slow very memory
                   13841:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   13842:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   13843:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   13844:        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'
                   13845:        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'
                   13846:        ;;
                   13847:       irix5* | irix6*)
                   13848:         case $cc_basename in
                   13849:           CC*)
                   13850:            # SGI C++
                   13851:            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'
                   13852: 
                   13853:            # Archives containing C++ object files must be created using
                   13854:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   13855:            # necessary to make sure instantiated templates are included
                   13856:            # in the archive.
                   13857:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   13858:            ;;
                   13859:           *)
                   13860:            if test "$GXX" = yes; then
                   13861:              if test "$with_gnu_ld" = no; then
                   13862:                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'
                   13863:              else
                   13864:                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'
                   13865:              fi
                   13866:            fi
                   13867:            link_all_deplibs_CXX=yes
                   13868:            ;;
                   13869:         esac
                   13870:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13871:         hardcode_libdir_separator_CXX=:
                   13872:         inherit_rpath_CXX=yes
                   13873:         ;;
                   13874: 
                   13875:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13876:         case $cc_basename in
                   13877:           KCC*)
                   13878:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13879: 
                   13880:            # KCC will only create a shared library if the output file
                   13881:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13882:            # to its proper name (with version) after linking.
                   13883:            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'
                   13884:            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'
                   13885:            # Commands to make compiler produce verbose output that lists
                   13886:            # what "hidden" libraries, object files and flags are used when
                   13887:            # linking a shared library.
                   13888:            #
                   13889:            # There doesn't appear to be a way to prevent this compiler from
                   13890:            # explicitly linking system object files so we need to strip them
                   13891:            # from the output so that they don't get included in the library
                   13892:            # dependencies.
                   13893:            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"'
                   13894: 
                   13895:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13896:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13897: 
                   13898:            # Archives containing C++ object files must be created using
                   13899:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   13900:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   13901:            ;;
                   13902:          icpc* | ecpc* )
                   13903:            # Intel C++
                   13904:            with_gnu_ld=yes
                   13905:            # version 8.0 and above of icpc choke on multiply defined symbols
                   13906:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   13907:            # earlier do not add the objects themselves.
                   13908:            case `$CC -V 2>&1` in
                   13909:              *"Version 7."*)
                   13910:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13911:                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'
                   13912:                ;;
                   13913:              *)  # Version 8.0 or newer
                   13914:                tmp_idyn=
                   13915:                case $host_cpu in
                   13916:                  ia64*) tmp_idyn=' -i_dynamic';;
                   13917:                esac
                   13918:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13919:                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'
                   13920:                ;;
                   13921:            esac
                   13922:            archive_cmds_need_lc_CXX=no
                   13923:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13924:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13925:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   13926:            ;;
                   13927:           pgCC* | pgcpp*)
                   13928:             # Portland Group C++ compiler
                   13929:            case `$CC -V` in
                   13930:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   13931:              prelink_cmds_CXX='tpldir=Template.dir~
                   13932:                rm -rf $tpldir~
                   13933:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   13934:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   13935:              old_archive_cmds_CXX='tpldir=Template.dir~
                   13936:                rm -rf $tpldir~
                   13937:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   13938:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   13939:                $RANLIB $oldlib'
                   13940:              archive_cmds_CXX='tpldir=Template.dir~
                   13941:                rm -rf $tpldir~
                   13942:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13943:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13944:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   13945:                rm -rf $tpldir~
                   13946:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   13947:                $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'
                   13948:              ;;
                   13949:            *) # Version 6 and above use weak symbols
                   13950:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   13951:              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'
                   13952:              ;;
                   13953:            esac
                   13954: 
                   13955:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   13956:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13957:            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'
                   13958:             ;;
                   13959:          cxx*)
                   13960:            # Compaq C++
                   13961:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13962:            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'
                   13963: 
                   13964:            runpath_var=LD_RUN_PATH
                   13965:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13966:            hardcode_libdir_separator_CXX=:
                   13967: 
                   13968:            # Commands to make compiler produce verbose output that lists
                   13969:            # what "hidden" libraries, object files and flags are used when
                   13970:            # linking a shared library.
                   13971:            #
                   13972:            # There doesn't appear to be a way to prevent this compiler from
                   13973:            # explicitly linking system object files so we need to strip them
                   13974:            # from the output so that they don't get included in the library
                   13975:            # dependencies.
                   13976:            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'
                   13977:            ;;
                   13978:          xl* | mpixl* | bgxl*)
                   13979:            # IBM XL 8.0 on PPC, with GNU ld
                   13980:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13981:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   13982:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   13983:            if test "x$supports_anon_versioning" = xyes; then
                   13984:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   13985:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   13986:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   13987:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   13988:            fi
                   13989:            ;;
                   13990:          *)
                   13991:            case `$CC -V 2>&1 | sed 5q` in
                   13992:            *Sun\ C*)
                   13993:              # Sun C++ 5.9
                   13994:              no_undefined_flag_CXX=' -zdefs'
                   13995:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13996:              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'
                   13997:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13998:              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'
                   13999:              compiler_needs_object_CXX=yes
                   14000: 
                   14001:              # Not sure whether something based on
                   14002:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   14003:              # would be better.
                   14004:              output_verbose_link_cmd='func_echo_all'
                   14005: 
                   14006:              # Archives containing C++ object files must be created using
                   14007:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14008:              # necessary to make sure instantiated templates are included
                   14009:              # in the archive.
                   14010:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14011:              ;;
                   14012:            esac
                   14013:            ;;
                   14014:        esac
                   14015:        ;;
                   14016: 
                   14017:       lynxos*)
                   14018:         # FIXME: insert proper C++ library support
                   14019:        ld_shlibs_CXX=no
                   14020:        ;;
                   14021: 
                   14022:       m88k*)
                   14023:         # FIXME: insert proper C++ library support
                   14024:         ld_shlibs_CXX=no
                   14025:        ;;
                   14026: 
                   14027:       mvs*)
                   14028:         case $cc_basename in
                   14029:           cxx*)
                   14030:            # FIXME: insert proper C++ library support
                   14031:            ld_shlibs_CXX=no
                   14032:            ;;
                   14033:          *)
                   14034:            # FIXME: insert proper C++ library support
                   14035:            ld_shlibs_CXX=no
                   14036:            ;;
                   14037:        esac
                   14038:        ;;
                   14039: 
                   14040:       netbsd*)
                   14041:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14042:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   14043:          wlarc=
                   14044:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14045:          hardcode_direct_CXX=yes
                   14046:          hardcode_shlibpath_var_CXX=no
                   14047:        fi
                   14048:        # Workaround some broken pre-1.5 toolchains
                   14049:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   14050:        ;;
                   14051: 
                   14052:       *nto* | *qnx*)
                   14053:         ld_shlibs_CXX=yes
                   14054:        ;;
                   14055: 
                   14056:       openbsd2*)
                   14057:         # C++ shared libraries are fairly broken
                   14058:        ld_shlibs_CXX=no
                   14059:        ;;
                   14060: 
                   14061:       openbsd*)
                   14062:        if test -f /usr/libexec/ld.so; then
                   14063:          hardcode_direct_CXX=yes
                   14064:          hardcode_shlibpath_var_CXX=no
                   14065:          hardcode_direct_absolute_CXX=yes
                   14066:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   14067:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14068:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14069:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   14070:            export_dynamic_flag_spec_CXX='${wl}-E'
                   14071:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   14072:          fi
                   14073:          output_verbose_link_cmd=func_echo_all
                   14074:        else
                   14075:          ld_shlibs_CXX=no
                   14076:        fi
                   14077:        ;;
                   14078: 
                   14079:       osf3* | osf4* | osf5*)
                   14080:         case $cc_basename in
                   14081:           KCC*)
                   14082:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   14083: 
                   14084:            # KCC will only create a shared library if the output file
                   14085:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   14086:            # to its proper name (with version) after linking.
                   14087:            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'
                   14088: 
                   14089:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   14090:            hardcode_libdir_separator_CXX=:
                   14091: 
                   14092:            # Archives containing C++ object files must be created using
                   14093:            # the KAI C++ compiler.
                   14094:            case $host in
                   14095:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   14096:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   14097:            esac
                   14098:            ;;
                   14099:           RCC*)
                   14100:            # Rational C++ 2.4.1
                   14101:            # FIXME: insert proper C++ library support
                   14102:            ld_shlibs_CXX=no
                   14103:            ;;
                   14104:           cxx*)
                   14105:            case $host in
                   14106:              osf3*)
                   14107:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14108:                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'
                   14109:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14110:                ;;
                   14111:              *)
                   14112:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   14113:                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'
                   14114:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   14115:                  echo "-hidden">> $lib.exp~
                   14116:                  $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~
                   14117:                  $RM $lib.exp'
                   14118:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   14119:                ;;
                   14120:            esac
                   14121: 
                   14122:            hardcode_libdir_separator_CXX=:
                   14123: 
                   14124:            # Commands to make compiler produce verbose output that lists
                   14125:            # what "hidden" libraries, object files and flags are used when
                   14126:            # linking a shared library.
                   14127:            #
                   14128:            # There doesn't appear to be a way to prevent this compiler from
                   14129:            # explicitly linking system object files so we need to strip them
                   14130:            # from the output so that they don't get included in the library
                   14131:            # dependencies.
                   14132:            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"'
                   14133:            ;;
                   14134:          *)
                   14135:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14136:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   14137:              case $host in
                   14138:                osf3*)
                   14139:                  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'
                   14140:                  ;;
                   14141:                *)
                   14142:                  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'
                   14143:                  ;;
                   14144:              esac
                   14145: 
                   14146:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   14147:              hardcode_libdir_separator_CXX=:
                   14148: 
                   14149:              # Commands to make compiler produce verbose output that lists
                   14150:              # what "hidden" libraries, object files and flags are used when
                   14151:              # linking a shared library.
                   14152:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14153: 
                   14154:            else
                   14155:              # FIXME: insert proper C++ library support
                   14156:              ld_shlibs_CXX=no
                   14157:            fi
                   14158:            ;;
                   14159:         esac
                   14160:         ;;
                   14161: 
                   14162:       psos*)
                   14163:         # FIXME: insert proper C++ library support
                   14164:         ld_shlibs_CXX=no
                   14165:         ;;
                   14166: 
                   14167:       sunos4*)
                   14168:         case $cc_basename in
                   14169:           CC*)
                   14170:            # Sun C++ 4.x
                   14171:            # FIXME: insert proper C++ library support
                   14172:            ld_shlibs_CXX=no
                   14173:            ;;
                   14174:           lcc*)
                   14175:            # Lucid
                   14176:            # FIXME: insert proper C++ library support
                   14177:            ld_shlibs_CXX=no
                   14178:            ;;
                   14179:           *)
                   14180:            # FIXME: insert proper C++ library support
                   14181:            ld_shlibs_CXX=no
                   14182:            ;;
                   14183:         esac
                   14184:         ;;
                   14185: 
                   14186:       solaris*)
                   14187:         case $cc_basename in
                   14188:           CC* | sunCC*)
                   14189:            # Sun C++ 4.2, 5.x and Centerline C++
                   14190:             archive_cmds_need_lc_CXX=yes
                   14191:            no_undefined_flag_CXX=' -zdefs'
                   14192:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   14193:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14194:              $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'
                   14195: 
                   14196:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   14197:            hardcode_shlibpath_var_CXX=no
                   14198:            case $host_os in
                   14199:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14200:              *)
                   14201:                # The compiler driver will combine and reorder linker options,
                   14202:                # but understands `-z linker_flag'.
                   14203:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   14204:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   14205:                ;;
                   14206:            esac
                   14207:            link_all_deplibs_CXX=yes
                   14208: 
                   14209:            output_verbose_link_cmd='func_echo_all'
                   14210: 
                   14211:            # Archives containing C++ object files must be created using
                   14212:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   14213:            # necessary to make sure instantiated templates are included
                   14214:            # in the archive.
                   14215:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   14216:            ;;
                   14217:           gcx*)
                   14218:            # Green Hills C++ Compiler
                   14219:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14220: 
                   14221:            # The C++ compiler must be used to create the archive.
                   14222:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   14223:            ;;
                   14224:           *)
                   14225:            # GNU C++ compiler with Solaris linker
                   14226:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   14227:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   14228:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   14229:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14230:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14231:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14232: 
                   14233:                # Commands to make compiler produce verbose output that lists
                   14234:                # what "hidden" libraries, object files and flags are used when
                   14235:                # linking a shared library.
                   14236:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14237:              else
                   14238:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   14239:                # platform.
                   14240:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   14241:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   14242:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   14243: 
                   14244:                # Commands to make compiler produce verbose output that lists
                   14245:                # what "hidden" libraries, object files and flags are used when
                   14246:                # linking a shared library.
                   14247:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   14248:              fi
                   14249: 
                   14250:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   14251:              case $host_os in
                   14252:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   14253:                *)
                   14254:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   14255:                  ;;
                   14256:              esac
                   14257:            fi
                   14258:            ;;
                   14259:         esac
                   14260:         ;;
                   14261: 
                   14262:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   14263:       no_undefined_flag_CXX='${wl}-z,text'
                   14264:       archive_cmds_need_lc_CXX=no
                   14265:       hardcode_shlibpath_var_CXX=no
                   14266:       runpath_var='LD_RUN_PATH'
                   14267: 
                   14268:       case $cc_basename in
                   14269:         CC*)
                   14270:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14271:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14272:          ;;
                   14273:        *)
                   14274:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14275:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14276:          ;;
                   14277:       esac
                   14278:       ;;
                   14279: 
                   14280:       sysv5* | sco3.2v5* | sco5v6*)
                   14281:        # Note: We can NOT use -z defs as we might desire, because we do not
                   14282:        # link with -lc, and that would cause any symbols used from libc to
                   14283:        # always be unresolved, which means just about no library would
                   14284:        # ever link correctly.  If we're not using GNU ld we use -z text
                   14285:        # though, which does catch some bad symbols but isn't as heavy-handed
                   14286:        # as -z defs.
                   14287:        no_undefined_flag_CXX='${wl}-z,text'
                   14288:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   14289:        archive_cmds_need_lc_CXX=no
                   14290:        hardcode_shlibpath_var_CXX=no
                   14291:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   14292:        hardcode_libdir_separator_CXX=':'
                   14293:        link_all_deplibs_CXX=yes
                   14294:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   14295:        runpath_var='LD_RUN_PATH'
                   14296: 
                   14297:        case $cc_basename in
                   14298:           CC*)
                   14299:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14300:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14301:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   14302:              '"$old_archive_cmds_CXX"
                   14303:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   14304:              '"$reload_cmds_CXX"
                   14305:            ;;
                   14306:          *)
                   14307:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14308:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   14309:            ;;
                   14310:        esac
                   14311:       ;;
                   14312: 
                   14313:       tandem*)
                   14314:         case $cc_basename in
                   14315:           NCC*)
                   14316:            # NonStop-UX NCC 3.20
                   14317:            # FIXME: insert proper C++ library support
                   14318:            ld_shlibs_CXX=no
                   14319:            ;;
                   14320:           *)
                   14321:            # FIXME: insert proper C++ library support
                   14322:            ld_shlibs_CXX=no
                   14323:            ;;
                   14324:         esac
                   14325:         ;;
                   14326: 
                   14327:       vxworks*)
                   14328:         # FIXME: insert proper C++ library support
                   14329:         ld_shlibs_CXX=no
                   14330:         ;;
                   14331: 
                   14332:       *)
                   14333:         # FIXME: insert proper C++ library support
                   14334:         ld_shlibs_CXX=no
                   14335:         ;;
                   14336:     esac
                   14337: 
1.150     moko     14338:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   14339: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     14340:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14341: 
                   14342:     GCC_CXX="$GXX"
                   14343:     LD_CXX="$LD"
                   14344: 
                   14345:     ## CAVEAT EMPTOR:
                   14346:     ## There is no encapsulation within the following macros, do not change
                   14347:     ## the running order or otherwise move them around unless you know exactly
                   14348:     ## what you are doing...
                   14349:     # Dependencies to place before and after the object being linked:
                   14350: predep_objects_CXX=
                   14351: postdep_objects_CXX=
                   14352: predeps_CXX=
                   14353: postdeps_CXX=
                   14354: compiler_lib_search_path_CXX=
                   14355: 
                   14356: cat > conftest.$ac_ext <<_LT_EOF
                   14357: class Foo
                   14358: {
                   14359: public:
                   14360:   Foo (void) { a = 0; }
                   14361: private:
                   14362:   int a;
                   14363: };
                   14364: _LT_EOF
                   14365: 
                   14366: 
                   14367: _lt_libdeps_save_CFLAGS=$CFLAGS
                   14368: case "$CC $CFLAGS " in #(
                   14369: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   14370: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   14371: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   14372: esac
                   14373: 
1.150     moko     14374: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     14375:   (eval $ac_compile) 2>&5
                   14376:   ac_status=$?
1.150     moko     14377:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14378:   test $ac_status = 0; }; then
1.128     moko     14379:   # Parse the compiler output and extract the necessary
                   14380:   # objects, libraries and library flags.
                   14381: 
                   14382:   # Sentinel used to keep track of whether or not we are before
                   14383:   # the conftest object file.
                   14384:   pre_test_object_deps_done=no
                   14385: 
                   14386:   for p in `eval "$output_verbose_link_cmd"`; do
                   14387:     case ${prev}${p} in
                   14388: 
                   14389:     -L* | -R* | -l*)
                   14390:        # Some compilers place space between "-{L,R}" and the path.
                   14391:        # Remove the space.
                   14392:        if test $p = "-L" ||
                   14393:           test $p = "-R"; then
                   14394:         prev=$p
                   14395:         continue
                   14396:        fi
                   14397: 
                   14398:        # Expand the sysroot to ease extracting the directories later.
                   14399:        if test -z "$prev"; then
                   14400:          case $p in
                   14401:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   14402:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   14403:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   14404:          esac
                   14405:        fi
                   14406:        case $p in
                   14407:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   14408:        esac
                   14409:        if test "$pre_test_object_deps_done" = no; then
                   14410:         case ${prev} in
                   14411:         -L | -R)
                   14412:           # Internal compiler library paths should come after those
                   14413:           # provided the user.  The postdeps already come after the
                   14414:           # user supplied libs so there is no need to process them.
                   14415:           if test -z "$compiler_lib_search_path_CXX"; then
                   14416:             compiler_lib_search_path_CXX="${prev}${p}"
                   14417:           else
                   14418:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   14419:           fi
                   14420:           ;;
                   14421:         # The "-l" case would never come before the object being
                   14422:         # linked, so don't bother handling this case.
                   14423:         esac
                   14424:        else
                   14425:         if test -z "$postdeps_CXX"; then
                   14426:           postdeps_CXX="${prev}${p}"
                   14427:         else
                   14428:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   14429:         fi
                   14430:        fi
                   14431:        prev=
                   14432:        ;;
                   14433: 
                   14434:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   14435:     *.$objext)
                   14436:        # This assumes that the test object file only shows up
                   14437:        # once in the compiler output.
                   14438:        if test "$p" = "conftest.$objext"; then
                   14439:         pre_test_object_deps_done=yes
                   14440:         continue
                   14441:        fi
                   14442: 
                   14443:        if test "$pre_test_object_deps_done" = no; then
                   14444:         if test -z "$predep_objects_CXX"; then
                   14445:           predep_objects_CXX="$p"
                   14446:         else
                   14447:           predep_objects_CXX="$predep_objects_CXX $p"
                   14448:         fi
                   14449:        else
                   14450:         if test -z "$postdep_objects_CXX"; then
                   14451:           postdep_objects_CXX="$p"
                   14452:         else
                   14453:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   14454:         fi
                   14455:        fi
                   14456:        ;;
                   14457: 
                   14458:     *) ;; # Ignore the rest.
                   14459: 
                   14460:     esac
                   14461:   done
                   14462: 
                   14463:   # Clean up.
                   14464:   rm -f a.out a.exe
                   14465: else
                   14466:   echo "libtool.m4: error: problem compiling CXX test program"
                   14467: fi
                   14468: 
                   14469: $RM -f confest.$objext
                   14470: CFLAGS=$_lt_libdeps_save_CFLAGS
                   14471: 
                   14472: # PORTME: override above test on systems where it is broken
                   14473: case $host_os in
                   14474: interix[3-9]*)
                   14475:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   14476:   # hack all around it, let's just trust "g++" to DTRT.
                   14477:   predep_objects_CXX=
                   14478:   postdep_objects_CXX=
                   14479:   postdeps_CXX=
                   14480:   ;;
                   14481: 
                   14482: linux*)
                   14483:   case `$CC -V 2>&1 | sed 5q` in
                   14484:   *Sun\ C*)
                   14485:     # Sun C++ 5.9
                   14486: 
                   14487:     # The more standards-conforming stlport4 library is
                   14488:     # incompatible with the Cstd library. Avoid specifying
                   14489:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14490:     # -library=stlport4 depends on it.
                   14491:     case " $CXX $CXXFLAGS " in
                   14492:     *" -library=stlport4 "*)
                   14493:       solaris_use_stlport4=yes
                   14494:       ;;
                   14495:     esac
                   14496: 
                   14497:     if test "$solaris_use_stlport4" != yes; then
                   14498:       postdeps_CXX='-library=Cstd -library=Crun'
                   14499:     fi
                   14500:     ;;
                   14501:   esac
                   14502:   ;;
                   14503: 
                   14504: solaris*)
                   14505:   case $cc_basename in
                   14506:   CC* | sunCC*)
                   14507:     # The more standards-conforming stlport4 library is
                   14508:     # incompatible with the Cstd library. Avoid specifying
                   14509:     # it if it's in CXXFLAGS. Ignore libCrun as
                   14510:     # -library=stlport4 depends on it.
                   14511:     case " $CXX $CXXFLAGS " in
                   14512:     *" -library=stlport4 "*)
                   14513:       solaris_use_stlport4=yes
                   14514:       ;;
                   14515:     esac
                   14516: 
                   14517:     # Adding this requires a known-good setup of shared libraries for
                   14518:     # Sun compiler versions before 5.6, else PIC objects from an old
                   14519:     # archive will be linked into the output, leading to subtle bugs.
                   14520:     if test "$solaris_use_stlport4" != yes; then
                   14521:       postdeps_CXX='-library=Cstd -library=Crun'
                   14522:     fi
                   14523:     ;;
                   14524:   esac
                   14525:   ;;
                   14526: esac
                   14527: 
                   14528: 
                   14529: case " $postdeps_CXX " in
                   14530: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   14531: esac
                   14532:  compiler_lib_search_dirs_CXX=
                   14533: if test -n "${compiler_lib_search_path_CXX}"; then
                   14534:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   14535: fi
                   14536: 
                   14537: 
                   14538: 
                   14539: 
                   14540: 
                   14541: 
                   14542: 
                   14543: 
                   14544: 
                   14545: 
                   14546: 
                   14547: 
                   14548: 
                   14549: 
                   14550: 
                   14551: 
                   14552: 
                   14553: 
                   14554: 
                   14555: 
                   14556: 
                   14557: 
                   14558: 
                   14559: 
                   14560: 
                   14561: 
                   14562: 
                   14563: 
                   14564: 
                   14565: 
                   14566: 
                   14567:     lt_prog_compiler_wl_CXX=
                   14568: lt_prog_compiler_pic_CXX=
                   14569: lt_prog_compiler_static_CXX=
                   14570: 
                   14571: 
                   14572:   # C++ specific cases for pic, static, wl, etc.
                   14573:   if test "$GXX" = yes; then
                   14574:     lt_prog_compiler_wl_CXX='-Wl,'
                   14575:     lt_prog_compiler_static_CXX='-static'
                   14576: 
                   14577:     case $host_os in
                   14578:     aix*)
                   14579:       # All AIX code is PIC.
                   14580:       if test "$host_cpu" = ia64; then
                   14581:        # AIX 5 now supports IA64 processor
                   14582:        lt_prog_compiler_static_CXX='-Bstatic'
                   14583:       fi
                   14584:       ;;
                   14585: 
                   14586:     amigaos*)
                   14587:       case $host_cpu in
                   14588:       powerpc)
                   14589:             # see comment about AmigaOS4 .so support
                   14590:             lt_prog_compiler_pic_CXX='-fPIC'
                   14591:         ;;
                   14592:       m68k)
                   14593:             # FIXME: we need at least 68020 code to build shared libraries, but
                   14594:             # adding the `-m68020' flag to GCC prevents building anything better,
                   14595:             # like `-m68040'.
                   14596:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   14597:         ;;
                   14598:       esac
                   14599:       ;;
                   14600: 
                   14601:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   14602:       # PIC is the default for these OSes.
                   14603:       ;;
                   14604:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14605:       # This hack is so that the source file can tell whether it is being
                   14606:       # built for inclusion in a dll (and should export symbols for example).
                   14607:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   14608:       # (--disable-auto-import) libraries
                   14609:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14610:       ;;
                   14611:     darwin* | rhapsody*)
                   14612:       # PIC is the default on this platform
                   14613:       # Common symbols not allowed in MH_DYLIB files
                   14614:       lt_prog_compiler_pic_CXX='-fno-common'
                   14615:       ;;
                   14616:     *djgpp*)
                   14617:       # DJGPP does not support shared libraries at all
                   14618:       lt_prog_compiler_pic_CXX=
                   14619:       ;;
                   14620:     haiku*)
                   14621:       # PIC is the default for Haiku.
                   14622:       # The "-static" flag exists, but is broken.
                   14623:       lt_prog_compiler_static_CXX=
                   14624:       ;;
                   14625:     interix[3-9]*)
                   14626:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   14627:       # Instead, we relocate shared libraries at runtime.
                   14628:       ;;
                   14629:     sysv4*MP*)
                   14630:       if test -d /usr/nec; then
                   14631:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   14632:       fi
                   14633:       ;;
                   14634:     hpux*)
                   14635:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   14636:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   14637:       # sets the default TLS model and affects inlining.
                   14638:       case $host_cpu in
                   14639:       hppa*64*)
                   14640:        ;;
                   14641:       *)
                   14642:        lt_prog_compiler_pic_CXX='-fPIC'
                   14643:        ;;
                   14644:       esac
                   14645:       ;;
                   14646:     *qnx* | *nto*)
                   14647:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14648:       # it will coredump.
                   14649:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14650:       ;;
                   14651:     *)
                   14652:       lt_prog_compiler_pic_CXX='-fPIC'
                   14653:       ;;
                   14654:     esac
                   14655:   else
                   14656:     case $host_os in
                   14657:       aix[4-9]*)
                   14658:        # All AIX code is PIC.
                   14659:        if test "$host_cpu" = ia64; then
                   14660:          # AIX 5 now supports IA64 processor
                   14661:          lt_prog_compiler_static_CXX='-Bstatic'
                   14662:        else
                   14663:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   14664:        fi
                   14665:        ;;
                   14666:       chorus*)
                   14667:        case $cc_basename in
                   14668:        cxch68*)
                   14669:          # Green Hills C++ Compiler
                   14670:          # _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"
                   14671:          ;;
                   14672:        esac
                   14673:        ;;
                   14674:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   14675:        # This hack is so that the source file can tell whether it is being
                   14676:        # built for inclusion in a dll (and should export symbols for example).
                   14677:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   14678:        ;;
                   14679:       dgux*)
                   14680:        case $cc_basename in
                   14681:          ec++*)
                   14682:            lt_prog_compiler_pic_CXX='-KPIC'
                   14683:            ;;
                   14684:          ghcx*)
                   14685:            # Green Hills C++ Compiler
                   14686:            lt_prog_compiler_pic_CXX='-pic'
                   14687:            ;;
                   14688:          *)
                   14689:            ;;
                   14690:        esac
                   14691:        ;;
                   14692:       freebsd* | dragonfly*)
                   14693:        # FreeBSD uses GNU C++
                   14694:        ;;
                   14695:       hpux9* | hpux10* | hpux11*)
                   14696:        case $cc_basename in
                   14697:          CC*)
                   14698:            lt_prog_compiler_wl_CXX='-Wl,'
                   14699:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14700:            if test "$host_cpu" != ia64; then
                   14701:              lt_prog_compiler_pic_CXX='+Z'
                   14702:            fi
                   14703:            ;;
                   14704:          aCC*)
                   14705:            lt_prog_compiler_wl_CXX='-Wl,'
                   14706:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   14707:            case $host_cpu in
                   14708:            hppa*64*|ia64*)
                   14709:              # +Z the default
                   14710:              ;;
                   14711:            *)
                   14712:              lt_prog_compiler_pic_CXX='+Z'
                   14713:              ;;
                   14714:            esac
                   14715:            ;;
                   14716:          *)
                   14717:            ;;
                   14718:        esac
                   14719:        ;;
                   14720:       interix*)
                   14721:        # This is c89, which is MS Visual C++ (no shared libs)
                   14722:        # Anyone wants to do a port?
                   14723:        ;;
                   14724:       irix5* | irix6* | nonstopux*)
                   14725:        case $cc_basename in
                   14726:          CC*)
                   14727:            lt_prog_compiler_wl_CXX='-Wl,'
                   14728:            lt_prog_compiler_static_CXX='-non_shared'
                   14729:            # CC pic flag -KPIC is the default.
                   14730:            ;;
                   14731:          *)
                   14732:            ;;
                   14733:        esac
                   14734:        ;;
                   14735:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14736:        case $cc_basename in
                   14737:          KCC*)
                   14738:            # KAI C++ Compiler
                   14739:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14740:            lt_prog_compiler_pic_CXX='-fPIC'
                   14741:            ;;
                   14742:          ecpc* )
                   14743:            # old Intel C++ for x86_64 which still supported -KPIC.
                   14744:            lt_prog_compiler_wl_CXX='-Wl,'
                   14745:            lt_prog_compiler_pic_CXX='-KPIC'
                   14746:            lt_prog_compiler_static_CXX='-static'
                   14747:            ;;
                   14748:          icpc* )
                   14749:            # Intel C++, used to be incompatible with GCC.
                   14750:            # ICC 10 doesn't accept -KPIC any more.
                   14751:            lt_prog_compiler_wl_CXX='-Wl,'
                   14752:            lt_prog_compiler_pic_CXX='-fPIC'
                   14753:            lt_prog_compiler_static_CXX='-static'
                   14754:            ;;
                   14755:          pgCC* | pgcpp*)
                   14756:            # Portland Group C++ compiler
                   14757:            lt_prog_compiler_wl_CXX='-Wl,'
                   14758:            lt_prog_compiler_pic_CXX='-fpic'
                   14759:            lt_prog_compiler_static_CXX='-Bstatic'
                   14760:            ;;
                   14761:          cxx*)
                   14762:            # Compaq C++
                   14763:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14764:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14765:            lt_prog_compiler_pic_CXX=
                   14766:            lt_prog_compiler_static_CXX='-non_shared'
                   14767:            ;;
                   14768:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   14769:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   14770:            lt_prog_compiler_wl_CXX='-Wl,'
                   14771:            lt_prog_compiler_pic_CXX='-qpic'
                   14772:            lt_prog_compiler_static_CXX='-qstaticlink'
                   14773:            ;;
                   14774:          *)
                   14775:            case `$CC -V 2>&1 | sed 5q` in
                   14776:            *Sun\ C*)
                   14777:              # Sun C++ 5.9
                   14778:              lt_prog_compiler_pic_CXX='-KPIC'
                   14779:              lt_prog_compiler_static_CXX='-Bstatic'
                   14780:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   14781:              ;;
                   14782:            esac
                   14783:            ;;
                   14784:        esac
                   14785:        ;;
                   14786:       lynxos*)
                   14787:        ;;
                   14788:       m88k*)
                   14789:        ;;
                   14790:       mvs*)
                   14791:        case $cc_basename in
                   14792:          cxx*)
                   14793:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   14794:            ;;
                   14795:          *)
                   14796:            ;;
                   14797:        esac
                   14798:        ;;
                   14799:       netbsd*)
                   14800:        ;;
                   14801:       *qnx* | *nto*)
                   14802:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   14803:         # it will coredump.
                   14804:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   14805:         ;;
                   14806:       osf3* | osf4* | osf5*)
                   14807:        case $cc_basename in
                   14808:          KCC*)
                   14809:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   14810:            ;;
                   14811:          RCC*)
                   14812:            # Rational C++ 2.4.1
                   14813:            lt_prog_compiler_pic_CXX='-pic'
                   14814:            ;;
                   14815:          cxx*)
                   14816:            # Digital/Compaq C++
                   14817:            lt_prog_compiler_wl_CXX='-Wl,'
                   14818:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   14819:            # Linux and Compaq Tru64 Unix objects are PIC.
                   14820:            lt_prog_compiler_pic_CXX=
                   14821:            lt_prog_compiler_static_CXX='-non_shared'
                   14822:            ;;
                   14823:          *)
                   14824:            ;;
                   14825:        esac
                   14826:        ;;
                   14827:       psos*)
                   14828:        ;;
                   14829:       solaris*)
                   14830:        case $cc_basename in
                   14831:          CC* | sunCC*)
                   14832:            # Sun C++ 4.2, 5.x and Centerline C++
                   14833:            lt_prog_compiler_pic_CXX='-KPIC'
                   14834:            lt_prog_compiler_static_CXX='-Bstatic'
                   14835:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   14836:            ;;
                   14837:          gcx*)
                   14838:            # Green Hills C++ Compiler
                   14839:            lt_prog_compiler_pic_CXX='-PIC'
                   14840:            ;;
                   14841:          *)
                   14842:            ;;
                   14843:        esac
                   14844:        ;;
                   14845:       sunos4*)
                   14846:        case $cc_basename in
                   14847:          CC*)
                   14848:            # Sun C++ 4.x
                   14849:            lt_prog_compiler_pic_CXX='-pic'
                   14850:            lt_prog_compiler_static_CXX='-Bstatic'
                   14851:            ;;
                   14852:          lcc*)
                   14853:            # Lucid
                   14854:            lt_prog_compiler_pic_CXX='-pic'
                   14855:            ;;
                   14856:          *)
                   14857:            ;;
                   14858:        esac
                   14859:        ;;
                   14860:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   14861:        case $cc_basename in
                   14862:          CC*)
                   14863:            lt_prog_compiler_wl_CXX='-Wl,'
                   14864:            lt_prog_compiler_pic_CXX='-KPIC'
                   14865:            lt_prog_compiler_static_CXX='-Bstatic'
                   14866:            ;;
                   14867:        esac
                   14868:        ;;
                   14869:       tandem*)
                   14870:        case $cc_basename in
                   14871:          NCC*)
                   14872:            # NonStop-UX NCC 3.20
                   14873:            lt_prog_compiler_pic_CXX='-KPIC'
                   14874:            ;;
                   14875:          *)
                   14876:            ;;
                   14877:        esac
                   14878:        ;;
                   14879:       vxworks*)
                   14880:        ;;
                   14881:       *)
                   14882:        lt_prog_compiler_can_build_shared_CXX=no
                   14883:        ;;
                   14884:     esac
                   14885:   fi
                   14886: 
                   14887: case $host_os in
                   14888:   # For platforms which do not support PIC, -DPIC is meaningless:
                   14889:   *djgpp*)
                   14890:     lt_prog_compiler_pic_CXX=
                   14891:     ;;
                   14892:   *)
                   14893:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   14894:     ;;
                   14895: esac
                   14896: 
1.150     moko     14897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   14898: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   14899: if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
                   14900:   $as_echo_n "(cached) " >&6
1.128     moko     14901: else
                   14902:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   14903: fi
1.150     moko     14904: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   14905: $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
1.128     moko     14906: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   14907: 
                   14908: #
                   14909: # Check to make sure the PIC flag actually works.
                   14910: #
                   14911: if test -n "$lt_prog_compiler_pic_CXX"; then
1.150     moko     14912:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   14913: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
                   14914: if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
                   14915:   $as_echo_n "(cached) " >&6
1.128     moko     14916: else
                   14917:   lt_cv_prog_compiler_pic_works_CXX=no
                   14918:    ac_outfile=conftest.$ac_objext
                   14919:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14920:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   14921:    # Insert the option either (1) after the last *FLAGS variable, or
                   14922:    # (2) before a word containing "conftest.", or (3) at the end.
                   14923:    # Note that $ac_compile itself does not contain backslashes and begins
                   14924:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14925:    # The option is referenced via a variable to avoid confusing sed.
                   14926:    lt_compile=`echo "$ac_compile" | $SED \
                   14927:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14928:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14929:    -e 's:$: $lt_compiler_flag:'`
                   14930:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14931:    (eval "$lt_compile" 2>conftest.err)
                   14932:    ac_status=$?
                   14933:    cat conftest.err >&5
                   14934:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14935:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   14936:      # The compiler can only warn and ignore the option if not recognized
                   14937:      # So say no if there are warnings other than the usual output.
                   14938:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   14939:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14940:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   14941:        lt_cv_prog_compiler_pic_works_CXX=yes
                   14942:      fi
                   14943:    fi
                   14944:    $RM conftest*
                   14945: 
                   14946: fi
1.150     moko     14947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   14948: $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1.128     moko     14949: 
                   14950: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   14951:     case $lt_prog_compiler_pic_CXX in
                   14952:      "" | " "*) ;;
                   14953:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   14954:      esac
                   14955: else
                   14956:     lt_prog_compiler_pic_CXX=
                   14957:      lt_prog_compiler_can_build_shared_CXX=no
                   14958: fi
                   14959: 
                   14960: fi
                   14961: 
                   14962: 
                   14963: 
                   14964: 
                   14965: 
                   14966: #
                   14967: # Check to make sure the static flag actually works.
                   14968: #
                   14969: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
1.150     moko     14970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   14971: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   14972: if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
                   14973:   $as_echo_n "(cached) " >&6
1.128     moko     14974: else
                   14975:   lt_cv_prog_compiler_static_works_CXX=no
                   14976:    save_LDFLAGS="$LDFLAGS"
                   14977:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   14978:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   14979:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   14980:      # The linker can only warn and ignore the option if not recognized
                   14981:      # So say no if there are warnings
                   14982:      if test -s conftest.err; then
                   14983:        # Append any errors to the config.log.
                   14984:        cat conftest.err 1>&5
                   14985:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   14986:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   14987:        if diff conftest.exp conftest.er2 >/dev/null; then
                   14988:          lt_cv_prog_compiler_static_works_CXX=yes
                   14989:        fi
                   14990:      else
                   14991:        lt_cv_prog_compiler_static_works_CXX=yes
                   14992:      fi
                   14993:    fi
                   14994:    $RM -r conftest*
                   14995:    LDFLAGS="$save_LDFLAGS"
                   14996: 
                   14997: fi
1.150     moko     14998: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   14999: $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1.128     moko     15000: 
                   15001: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   15002:     :
                   15003: else
                   15004:     lt_prog_compiler_static_CXX=
                   15005: fi
                   15006: 
                   15007: 
                   15008: 
                   15009: 
1.150     moko     15010:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15011: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15012: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15013:   $as_echo_n "(cached) " >&6
1.128     moko     15014: else
                   15015:   lt_cv_prog_compiler_c_o_CXX=no
                   15016:    $RM -r conftest 2>/dev/null
                   15017:    mkdir conftest
                   15018:    cd conftest
                   15019:    mkdir out
                   15020:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15021: 
                   15022:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15023:    # Insert the option either (1) after the last *FLAGS variable, or
                   15024:    # (2) before a word containing "conftest.", or (3) at the end.
                   15025:    # Note that $ac_compile itself does not contain backslashes and begins
                   15026:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15027:    lt_compile=`echo "$ac_compile" | $SED \
                   15028:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15029:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15030:    -e 's:$: $lt_compiler_flag:'`
                   15031:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15032:    (eval "$lt_compile" 2>out/conftest.err)
                   15033:    ac_status=$?
                   15034:    cat out/conftest.err >&5
                   15035:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15036:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15037:    then
                   15038:      # The compiler can only warn and ignore the option if not recognized
                   15039:      # So say no if there are warnings
                   15040:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15041:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15042:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15043:        lt_cv_prog_compiler_c_o_CXX=yes
                   15044:      fi
                   15045:    fi
                   15046:    chmod u+w . 2>&5
                   15047:    $RM conftest*
                   15048:    # SGI C++ compiler will create directory out/ii_files/ for
                   15049:    # template instantiation
                   15050:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15051:    $RM out/* && rmdir out
                   15052:    cd ..
                   15053:    $RM -r conftest
                   15054:    $RM conftest*
                   15055: 
                   15056: fi
1.150     moko     15057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15058: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15059: 
                   15060: 
                   15061: 
1.150     moko     15062:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   15063: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   15064: if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
                   15065:   $as_echo_n "(cached) " >&6
1.128     moko     15066: else
                   15067:   lt_cv_prog_compiler_c_o_CXX=no
                   15068:    $RM -r conftest 2>/dev/null
                   15069:    mkdir conftest
                   15070:    cd conftest
                   15071:    mkdir out
                   15072:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15073: 
                   15074:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   15075:    # Insert the option either (1) after the last *FLAGS variable, or
                   15076:    # (2) before a word containing "conftest.", or (3) at the end.
                   15077:    # Note that $ac_compile itself does not contain backslashes and begins
                   15078:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   15079:    lt_compile=`echo "$ac_compile" | $SED \
                   15080:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   15081:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   15082:    -e 's:$: $lt_compiler_flag:'`
                   15083:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   15084:    (eval "$lt_compile" 2>out/conftest.err)
                   15085:    ac_status=$?
                   15086:    cat out/conftest.err >&5
                   15087:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15088:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   15089:    then
                   15090:      # The compiler can only warn and ignore the option if not recognized
                   15091:      # So say no if there are warnings
                   15092:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   15093:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   15094:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   15095:        lt_cv_prog_compiler_c_o_CXX=yes
                   15096:      fi
                   15097:    fi
                   15098:    chmod u+w . 2>&5
                   15099:    $RM conftest*
                   15100:    # SGI C++ compiler will create directory out/ii_files/ for
                   15101:    # template instantiation
                   15102:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   15103:    $RM out/* && rmdir out
                   15104:    cd ..
                   15105:    $RM -r conftest
                   15106:    $RM conftest*
                   15107: 
                   15108: fi
1.150     moko     15109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   15110: $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1.128     moko     15111: 
                   15112: 
                   15113: 
                   15114: 
                   15115: hard_links="nottested"
                   15116: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   15117:   # do not overwrite the value of need_locks provided by the user
1.150     moko     15118:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   15119: $as_echo_n "checking if we can lock with hard links... " >&6; }
1.128     moko     15120:   hard_links=yes
                   15121:   $RM conftest*
                   15122:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   15123:   touch conftest.a
                   15124:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   15125:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.150     moko     15126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   15127: $as_echo "$hard_links" >&6; }
1.128     moko     15128:   if test "$hard_links" = no; then
1.150     moko     15129:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   15130: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.128     moko     15131:     need_locks=warn
                   15132:   fi
                   15133: else
                   15134:   need_locks=no
                   15135: fi
                   15136: 
                   15137: 
                   15138: 
1.150     moko     15139:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   15140: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.128     moko     15141: 
                   15142:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15143:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   15144:   case $host_os in
                   15145:   aix[4-9]*)
                   15146:     # If we're using GNU nm, then we don't want the "-C" option.
                   15147:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   15148:     # Also, AIX nm treats weak defined symbols like other global defined
                   15149:     # symbols, whereas GNU nm marks them as "W".
                   15150:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   15151:       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'
                   15152:     else
                   15153:       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'
                   15154:     fi
                   15155:     ;;
                   15156:   pw32*)
                   15157:     export_symbols_cmds_CXX="$ltdll_cmds"
                   15158:     ;;
                   15159:   cygwin* | mingw* | cegcc*)
                   15160:     case $cc_basename in
                   15161:     cl*)
                   15162:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   15163:       ;;
                   15164:     *)
                   15165:       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'
                   15166:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   15167:       ;;
                   15168:     esac
                   15169:     ;;
                   15170:   *)
                   15171:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   15172:     ;;
                   15173:   esac
                   15174: 
1.150     moko     15175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
                   15176: $as_echo "$ld_shlibs_CXX" >&6; }
1.128     moko     15177: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   15178: 
                   15179: with_gnu_ld_CXX=$with_gnu_ld
                   15180: 
                   15181: 
                   15182: 
                   15183: 
                   15184: 
                   15185: 
                   15186: #
                   15187: # Do we need to explicitly link libc?
                   15188: #
                   15189: case "x$archive_cmds_need_lc_CXX" in
                   15190: x|xyes)
                   15191:   # Assume -lc should be added
                   15192:   archive_cmds_need_lc_CXX=yes
                   15193: 
                   15194:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   15195:     case $archive_cmds_CXX in
                   15196:     *'~'*)
                   15197:       # FIXME: we may have to deal with multi-command sequences.
                   15198:       ;;
                   15199:     '$CC '*)
                   15200:       # Test whether the compiler implicitly links with -lc since on some
                   15201:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   15202:       # to ld, don't add -lc before -lgcc.
1.150     moko     15203:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   15204: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   15205: if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
                   15206:   $as_echo_n "(cached) " >&6
1.128     moko     15207: else
                   15208:   $RM conftest*
                   15209:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   15210: 
1.150     moko     15211:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     15212:   (eval $ac_compile) 2>&5
                   15213:   ac_status=$?
1.150     moko     15214:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15215:   test $ac_status = 0; } 2>conftest.err; then
1.128     moko     15216:          soname=conftest
                   15217:          lib=conftest
                   15218:          libobjs=conftest.$ac_objext
                   15219:          deplibs=
                   15220:          wl=$lt_prog_compiler_wl_CXX
                   15221:          pic_flag=$lt_prog_compiler_pic_CXX
                   15222:          compiler_flags=-v
                   15223:          linker_flags=-v
                   15224:          verstring=
                   15225:          output_objdir=.
                   15226:          libname=conftest
                   15227:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   15228:          allow_undefined_flag_CXX=
1.150     moko     15229:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.128     moko     15230:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   15231:   ac_status=$?
1.150     moko     15232:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   15233:   test $ac_status = 0; }
1.128     moko     15234:          then
                   15235:            lt_cv_archive_cmds_need_lc_CXX=no
                   15236:          else
                   15237:            lt_cv_archive_cmds_need_lc_CXX=yes
                   15238:          fi
                   15239:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   15240:        else
                   15241:          cat conftest.err 1>&5
                   15242:        fi
                   15243:        $RM conftest*
                   15244: 
                   15245: fi
1.150     moko     15246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   15247: $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
1.128     moko     15248:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   15249:       ;;
                   15250:     esac
                   15251:   fi
                   15252:   ;;
                   15253: esac
                   15254: 
                   15255: 
                   15256: 
                   15257: 
                   15258: 
                   15259: 
                   15260: 
                   15261: 
                   15262: 
                   15263: 
                   15264: 
                   15265: 
                   15266: 
                   15267: 
                   15268: 
                   15269: 
                   15270: 
                   15271: 
                   15272: 
                   15273: 
                   15274: 
                   15275: 
                   15276: 
                   15277: 
                   15278: 
                   15279: 
                   15280: 
                   15281: 
                   15282: 
                   15283: 
                   15284: 
                   15285: 
                   15286: 
                   15287: 
                   15288: 
                   15289: 
                   15290: 
                   15291: 
                   15292: 
                   15293: 
                   15294: 
                   15295: 
                   15296: 
                   15297: 
                   15298: 
                   15299: 
                   15300: 
                   15301: 
                   15302: 
                   15303: 
                   15304: 
                   15305: 
                   15306: 
                   15307: 
                   15308: 
                   15309: 
                   15310: 
                   15311: 
                   15312: 
                   15313: 
                   15314: 
                   15315: 
1.150     moko     15316:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   15317: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.128     moko     15318: 
                   15319: library_names_spec=
                   15320: libname_spec='lib$name'
                   15321: soname_spec=
                   15322: shrext_cmds=".so"
                   15323: postinstall_cmds=
                   15324: postuninstall_cmds=
                   15325: finish_cmds=
                   15326: finish_eval=
                   15327: shlibpath_var=
                   15328: shlibpath_overrides_runpath=unknown
                   15329: version_type=none
                   15330: dynamic_linker="$host_os ld.so"
                   15331: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   15332: need_lib_prefix=unknown
                   15333: hardcode_into_libs=no
                   15334: 
                   15335: # when you set need_version to no, make sure it does not cause -set_version
                   15336: # flags to be left without arguments
                   15337: need_version=unknown
                   15338: 
                   15339: case $host_os in
                   15340: aix3*)
                   15341:   version_type=linux # correct to gnu/linux during the next big refactor
                   15342:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   15343:   shlibpath_var=LIBPATH
                   15344: 
                   15345:   # AIX 3 has no versioning support, so we append a major version to the name.
                   15346:   soname_spec='${libname}${release}${shared_ext}$major'
                   15347:   ;;
                   15348: 
                   15349: aix[4-9]*)
                   15350:   version_type=linux # correct to gnu/linux during the next big refactor
                   15351:   need_lib_prefix=no
                   15352:   need_version=no
                   15353:   hardcode_into_libs=yes
                   15354:   if test "$host_cpu" = ia64; then
                   15355:     # AIX 5 supports IA64
                   15356:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   15357:     shlibpath_var=LD_LIBRARY_PATH
                   15358:   else
                   15359:     # With GCC up to 2.95.x, collect2 would create an import file
                   15360:     # for dependence libraries.  The import file would start with
                   15361:     # the line `#! .'.  This would cause the generated library to
                   15362:     # depend on `.', always an invalid library.  This was fixed in
                   15363:     # development snapshots of GCC prior to 3.0.
                   15364:     case $host_os in
                   15365:       aix4 | aix4.[01] | aix4.[01].*)
                   15366:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   15367:           echo ' yes '
                   15368:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   15369:        :
                   15370:       else
                   15371:        can_build_shared=no
                   15372:       fi
                   15373:       ;;
                   15374:     esac
                   15375:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   15376:     # soname into executable. Probably we can add versioning support to
                   15377:     # collect2, so additional links can be useful in future.
                   15378:     if test "$aix_use_runtimelinking" = yes; then
                   15379:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   15380:       # instead of lib<name>.a to let people know that these are not
                   15381:       # typical AIX shared libraries.
                   15382:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15383:     else
                   15384:       # We preserve .a as extension for shared libraries through AIX4.2
                   15385:       # and later when we are not doing run time linking.
                   15386:       library_names_spec='${libname}${release}.a $libname.a'
                   15387:       soname_spec='${libname}${release}${shared_ext}$major'
                   15388:     fi
                   15389:     shlibpath_var=LIBPATH
                   15390:   fi
                   15391:   ;;
                   15392: 
                   15393: amigaos*)
                   15394:   case $host_cpu in
                   15395:   powerpc)
                   15396:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   15397:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   15398:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15399:     ;;
                   15400:   m68k)
                   15401:     library_names_spec='$libname.ixlibrary $libname.a'
                   15402:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   15403:     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'
                   15404:     ;;
                   15405:   esac
                   15406:   ;;
                   15407: 
                   15408: beos*)
                   15409:   library_names_spec='${libname}${shared_ext}'
                   15410:   dynamic_linker="$host_os ld.so"
                   15411:   shlibpath_var=LIBRARY_PATH
                   15412:   ;;
                   15413: 
                   15414: bsdi[45]*)
                   15415:   version_type=linux # correct to gnu/linux during the next big refactor
                   15416:   need_version=no
                   15417:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15418:   soname_spec='${libname}${release}${shared_ext}$major'
                   15419:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   15420:   shlibpath_var=LD_LIBRARY_PATH
                   15421:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   15422:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   15423:   # the default ld.so.conf also contains /usr/contrib/lib and
                   15424:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   15425:   # libtool to hard-code these into programs
                   15426:   ;;
                   15427: 
                   15428: cygwin* | mingw* | pw32* | cegcc*)
                   15429:   version_type=windows
                   15430:   shrext_cmds=".dll"
                   15431:   need_version=no
                   15432:   need_lib_prefix=no
                   15433: 
                   15434:   case $GCC,$cc_basename in
                   15435:   yes,*)
                   15436:     # gcc
                   15437:     library_names_spec='$libname.dll.a'
                   15438:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15439:     postinstall_cmds='base_file=`basename \${file}`~
                   15440:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15441:       dldir=$destdir/`dirname \$dlpath`~
                   15442:       test -d \$dldir || mkdir -p \$dldir~
                   15443:       $install_prog $dir/$dlname \$dldir/$dlname~
                   15444:       chmod a+x \$dldir/$dlname~
                   15445:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   15446:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   15447:       fi'
                   15448:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15449:       dlpath=$dir/\$dldll~
                   15450:        $RM \$dlpath'
                   15451:     shlibpath_overrides_runpath=yes
                   15452: 
                   15453:     case $host_os in
                   15454:     cygwin*)
                   15455:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   15456:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15457: 
                   15458:       ;;
                   15459:     mingw* | cegcc*)
                   15460:       # MinGW DLLs use traditional 'lib' prefix
                   15461:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15462:       ;;
                   15463:     pw32*)
                   15464:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   15465:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15466:       ;;
                   15467:     esac
                   15468:     dynamic_linker='Win32 ld.exe'
                   15469:     ;;
                   15470: 
                   15471:   *,cl*)
                   15472:     # Native MSVC
                   15473:     libname_spec='$name'
                   15474:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   15475:     library_names_spec='${libname}.dll.lib'
                   15476: 
                   15477:     case $build_os in
                   15478:     mingw*)
                   15479:       sys_lib_search_path_spec=
                   15480:       lt_save_ifs=$IFS
                   15481:       IFS=';'
                   15482:       for lt_path in $LIB
                   15483:       do
                   15484:         IFS=$lt_save_ifs
                   15485:         # Let DOS variable expansion print the short 8.3 style file name.
                   15486:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   15487:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   15488:       done
                   15489:       IFS=$lt_save_ifs
                   15490:       # Convert to MSYS style.
                   15491:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   15492:       ;;
                   15493:     cygwin*)
                   15494:       # Convert to unix form, then to dos form, then back to unix form
                   15495:       # but this time dos style (no spaces!) so that the unix form looks
                   15496:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   15497:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   15498:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   15499:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15500:       ;;
                   15501:     *)
                   15502:       sys_lib_search_path_spec="$LIB"
                   15503:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   15504:         # It is most probably a Windows format PATH.
                   15505:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   15506:       else
                   15507:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   15508:       fi
                   15509:       # FIXME: find the short name or the path components, as spaces are
                   15510:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   15511:       ;;
                   15512:     esac
                   15513: 
                   15514:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   15515:     postinstall_cmds='base_file=`basename \${file}`~
                   15516:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   15517:       dldir=$destdir/`dirname \$dlpath`~
                   15518:       test -d \$dldir || mkdir -p \$dldir~
                   15519:       $install_prog $dir/$dlname \$dldir/$dlname'
                   15520:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   15521:       dlpath=$dir/\$dldll~
                   15522:        $RM \$dlpath'
                   15523:     shlibpath_overrides_runpath=yes
                   15524:     dynamic_linker='Win32 link.exe'
                   15525:     ;;
                   15526: 
                   15527:   *)
                   15528:     # Assume MSVC wrapper
                   15529:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   15530:     dynamic_linker='Win32 ld.exe'
                   15531:     ;;
                   15532:   esac
                   15533:   # FIXME: first we should search . and the directory the executable is in
                   15534:   shlibpath_var=PATH
                   15535:   ;;
                   15536: 
                   15537: darwin* | rhapsody*)
                   15538:   dynamic_linker="$host_os dyld"
                   15539:   version_type=darwin
                   15540:   need_lib_prefix=no
                   15541:   need_version=no
                   15542:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   15543:   soname_spec='${libname}${release}${major}$shared_ext'
                   15544:   shlibpath_overrides_runpath=yes
                   15545:   shlibpath_var=DYLD_LIBRARY_PATH
                   15546:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   15547: 
                   15548:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   15549:   ;;
                   15550: 
                   15551: dgux*)
                   15552:   version_type=linux # correct to gnu/linux during the next big refactor
                   15553:   need_lib_prefix=no
                   15554:   need_version=no
                   15555:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   15556:   soname_spec='${libname}${release}${shared_ext}$major'
                   15557:   shlibpath_var=LD_LIBRARY_PATH
                   15558:   ;;
                   15559: 
                   15560: freebsd* | dragonfly*)
                   15561:   # DragonFly does not have aout.  When/if they implement a new
                   15562:   # versioning mechanism, adjust this.
                   15563:   if test -x /usr/bin/objformat; then
                   15564:     objformat=`/usr/bin/objformat`
                   15565:   else
                   15566:     case $host_os in
                   15567:     freebsd[23].*) objformat=aout ;;
                   15568:     *) objformat=elf ;;
                   15569:     esac
                   15570:   fi
                   15571:   version_type=freebsd-$objformat
                   15572:   case $version_type in
                   15573:     freebsd-elf*)
                   15574:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15575:       need_version=no
                   15576:       need_lib_prefix=no
                   15577:       ;;
                   15578:     freebsd-*)
                   15579:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   15580:       need_version=yes
                   15581:       ;;
                   15582:   esac
                   15583:   shlibpath_var=LD_LIBRARY_PATH
                   15584:   case $host_os in
                   15585:   freebsd2.*)
                   15586:     shlibpath_overrides_runpath=yes
                   15587:     ;;
                   15588:   freebsd3.[01]* | freebsdelf3.[01]*)
                   15589:     shlibpath_overrides_runpath=yes
                   15590:     hardcode_into_libs=yes
                   15591:     ;;
                   15592:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   15593:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   15594:     shlibpath_overrides_runpath=no
                   15595:     hardcode_into_libs=yes
                   15596:     ;;
                   15597:   *) # from 4.6 on, and DragonFly
                   15598:     shlibpath_overrides_runpath=yes
                   15599:     hardcode_into_libs=yes
                   15600:     ;;
                   15601:   esac
                   15602:   ;;
                   15603: 
                   15604: gnu*)
                   15605:   version_type=linux # correct to gnu/linux during the next big refactor
                   15606:   need_lib_prefix=no
                   15607:   need_version=no
                   15608:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15609:   soname_spec='${libname}${release}${shared_ext}$major'
                   15610:   shlibpath_var=LD_LIBRARY_PATH
                   15611:   shlibpath_overrides_runpath=no
                   15612:   hardcode_into_libs=yes
                   15613:   ;;
                   15614: 
                   15615: haiku*)
                   15616:   version_type=linux # correct to gnu/linux during the next big refactor
                   15617:   need_lib_prefix=no
                   15618:   need_version=no
                   15619:   dynamic_linker="$host_os runtime_loader"
                   15620:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   15621:   soname_spec='${libname}${release}${shared_ext}$major'
                   15622:   shlibpath_var=LIBRARY_PATH
                   15623:   shlibpath_overrides_runpath=yes
                   15624:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   15625:   hardcode_into_libs=yes
                   15626:   ;;
                   15627: 
                   15628: hpux9* | hpux10* | hpux11*)
                   15629:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   15630:   # link against other versions.
                   15631:   version_type=sunos
                   15632:   need_lib_prefix=no
                   15633:   need_version=no
                   15634:   case $host_cpu in
                   15635:   ia64*)
                   15636:     shrext_cmds='.so'
                   15637:     hardcode_into_libs=yes
                   15638:     dynamic_linker="$host_os dld.so"
                   15639:     shlibpath_var=LD_LIBRARY_PATH
                   15640:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15641:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15642:     soname_spec='${libname}${release}${shared_ext}$major'
                   15643:     if test "X$HPUX_IA64_MODE" = X32; then
                   15644:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   15645:     else
                   15646:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   15647:     fi
                   15648:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15649:     ;;
                   15650:   hppa*64*)
                   15651:     shrext_cmds='.sl'
                   15652:     hardcode_into_libs=yes
                   15653:     dynamic_linker="$host_os dld.sl"
                   15654:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   15655:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   15656:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15657:     soname_spec='${libname}${release}${shared_ext}$major'
                   15658:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   15659:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   15660:     ;;
                   15661:   *)
                   15662:     shrext_cmds='.sl'
                   15663:     dynamic_linker="$host_os dld.sl"
                   15664:     shlibpath_var=SHLIB_PATH
                   15665:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   15666:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15667:     soname_spec='${libname}${release}${shared_ext}$major'
                   15668:     ;;
                   15669:   esac
                   15670:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   15671:   postinstall_cmds='chmod 555 $lib'
                   15672:   # or fails outright, so override atomically:
                   15673:   install_override_mode=555
                   15674:   ;;
                   15675: 
                   15676: interix[3-9]*)
                   15677:   version_type=linux # correct to gnu/linux during the next big refactor
                   15678:   need_lib_prefix=no
                   15679:   need_version=no
                   15680:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15681:   soname_spec='${libname}${release}${shared_ext}$major'
                   15682:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   15683:   shlibpath_var=LD_LIBRARY_PATH
                   15684:   shlibpath_overrides_runpath=no
                   15685:   hardcode_into_libs=yes
                   15686:   ;;
                   15687: 
                   15688: irix5* | irix6* | nonstopux*)
                   15689:   case $host_os in
                   15690:     nonstopux*) version_type=nonstopux ;;
                   15691:     *)
                   15692:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   15693:                version_type=linux # correct to gnu/linux during the next big refactor
                   15694:        else
                   15695:                version_type=irix
                   15696:        fi ;;
                   15697:   esac
                   15698:   need_lib_prefix=no
                   15699:   need_version=no
                   15700:   soname_spec='${libname}${release}${shared_ext}$major'
                   15701:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15702:   case $host_os in
                   15703:   irix5* | nonstopux*)
                   15704:     libsuff= shlibsuff=
                   15705:     ;;
                   15706:   *)
                   15707:     case $LD in # libtool.m4 will add one of these switches to LD
                   15708:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   15709:       libsuff= shlibsuff= libmagic=32-bit;;
                   15710:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   15711:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   15712:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   15713:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   15714:     *) libsuff= shlibsuff= libmagic=never-match;;
                   15715:     esac
                   15716:     ;;
                   15717:   esac
                   15718:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   15719:   shlibpath_overrides_runpath=no
                   15720:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   15721:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   15722:   hardcode_into_libs=yes
                   15723:   ;;
                   15724: 
                   15725: # No shared lib support for Linux oldld, aout, or coff.
                   15726: linux*oldld* | linux*aout* | linux*coff*)
                   15727:   dynamic_linker=no
                   15728:   ;;
                   15729: 
                   15730: # This must be glibc/ELF.
                   15731: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   15732:   version_type=linux # correct to gnu/linux during the next big refactor
                   15733:   need_lib_prefix=no
                   15734:   need_version=no
                   15735:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15736:   soname_spec='${libname}${release}${shared_ext}$major'
                   15737:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   15738:   shlibpath_var=LD_LIBRARY_PATH
                   15739:   shlibpath_overrides_runpath=no
                   15740: 
                   15741:   # Some binutils ld are patched to set DT_RUNPATH
1.150     moko     15742:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   15743:   $as_echo_n "(cached) " >&6
1.128     moko     15744: else
                   15745:   lt_cv_shlibpath_overrides_runpath=no
                   15746:     save_LDFLAGS=$LDFLAGS
                   15747:     save_libdir=$libdir
                   15748:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   15749:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
1.150     moko     15750:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     15751: /* end confdefs.h.  */
                   15752: 
                   15753: int
                   15754: main ()
                   15755: {
                   15756: 
                   15757:   ;
                   15758:   return 0;
                   15759: }
                   15760: _ACEOF
1.150     moko     15761: if ac_fn_cxx_try_link "$LINENO"; then :
                   15762:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.128     moko     15763:   lt_cv_shlibpath_overrides_runpath=yes
                   15764: fi
                   15765: fi
1.150     moko     15766: rm -f core conftest.err conftest.$ac_objext \
                   15767:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     15768:     LDFLAGS=$save_LDFLAGS
                   15769:     libdir=$save_libdir
                   15770: 
                   15771: fi
                   15772: 
                   15773:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   15774: 
                   15775:   # This implies no fast_install, which is unacceptable.
                   15776:   # Some rework will be needed to allow for fast_install
                   15777:   # before this can be enabled.
                   15778:   hardcode_into_libs=yes
                   15779: 
                   15780:   # Append ld.so.conf contents to the search path
                   15781:   if test -f /etc/ld.so.conf; then
                   15782:     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' ' '`
                   15783:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   15784:   fi
                   15785: 
                   15786:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   15787:   # powerpc, because MkLinux only supported shared libraries with the
                   15788:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   15789:   # most powerpc-linux boxes support dynamic linking these days and
                   15790:   # people can always --disable-shared, the test was removed, and we
                   15791:   # assume the GNU/Linux dynamic linker is in use.
                   15792:   dynamic_linker='GNU/Linux ld.so'
                   15793:   ;;
                   15794: 
                   15795: netbsd*)
                   15796:   version_type=sunos
                   15797:   need_lib_prefix=no
                   15798:   need_version=no
                   15799:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   15800:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15801:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15802:     dynamic_linker='NetBSD (a.out) ld.so'
                   15803:   else
                   15804:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   15805:     soname_spec='${libname}${release}${shared_ext}$major'
                   15806:     dynamic_linker='NetBSD ld.elf_so'
                   15807:   fi
                   15808:   shlibpath_var=LD_LIBRARY_PATH
                   15809:   shlibpath_overrides_runpath=yes
                   15810:   hardcode_into_libs=yes
                   15811:   ;;
                   15812: 
                   15813: newsos6)
                   15814:   version_type=linux # correct to gnu/linux during the next big refactor
                   15815:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15816:   shlibpath_var=LD_LIBRARY_PATH
                   15817:   shlibpath_overrides_runpath=yes
                   15818:   ;;
                   15819: 
                   15820: *nto* | *qnx*)
                   15821:   version_type=qnx
                   15822:   need_lib_prefix=no
                   15823:   need_version=no
                   15824:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15825:   soname_spec='${libname}${release}${shared_ext}$major'
                   15826:   shlibpath_var=LD_LIBRARY_PATH
                   15827:   shlibpath_overrides_runpath=no
                   15828:   hardcode_into_libs=yes
                   15829:   dynamic_linker='ldqnx.so'
                   15830:   ;;
                   15831: 
                   15832: openbsd*)
                   15833:   version_type=sunos
                   15834:   sys_lib_dlsearch_path_spec="/usr/lib"
                   15835:   need_lib_prefix=no
                   15836:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   15837:   case $host_os in
                   15838:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   15839:     *)                         need_version=no  ;;
                   15840:   esac
                   15841:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15842:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   15843:   shlibpath_var=LD_LIBRARY_PATH
                   15844:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   15845:     case $host_os in
                   15846:       openbsd2.[89] | openbsd2.[89].*)
                   15847:        shlibpath_overrides_runpath=no
                   15848:        ;;
                   15849:       *)
                   15850:        shlibpath_overrides_runpath=yes
                   15851:        ;;
                   15852:       esac
                   15853:   else
                   15854:     shlibpath_overrides_runpath=yes
                   15855:   fi
                   15856:   ;;
                   15857: 
                   15858: os2*)
                   15859:   libname_spec='$name'
                   15860:   shrext_cmds=".dll"
                   15861:   need_lib_prefix=no
                   15862:   library_names_spec='$libname${shared_ext} $libname.a'
                   15863:   dynamic_linker='OS/2 ld.exe'
                   15864:   shlibpath_var=LIBPATH
                   15865:   ;;
                   15866: 
                   15867: osf3* | osf4* | osf5*)
                   15868:   version_type=osf
                   15869:   need_lib_prefix=no
                   15870:   need_version=no
                   15871:   soname_spec='${libname}${release}${shared_ext}$major'
                   15872:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15873:   shlibpath_var=LD_LIBRARY_PATH
                   15874:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   15875:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   15876:   ;;
                   15877: 
                   15878: rdos*)
                   15879:   dynamic_linker=no
                   15880:   ;;
                   15881: 
                   15882: solaris*)
                   15883:   version_type=linux # correct to gnu/linux during the next big refactor
                   15884:   need_lib_prefix=no
                   15885:   need_version=no
                   15886:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15887:   soname_spec='${libname}${release}${shared_ext}$major'
                   15888:   shlibpath_var=LD_LIBRARY_PATH
                   15889:   shlibpath_overrides_runpath=yes
                   15890:   hardcode_into_libs=yes
                   15891:   # ldd complains unless libraries are executable
                   15892:   postinstall_cmds='chmod +x $lib'
                   15893:   ;;
                   15894: 
                   15895: sunos4*)
                   15896:   version_type=sunos
                   15897:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   15898:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   15899:   shlibpath_var=LD_LIBRARY_PATH
                   15900:   shlibpath_overrides_runpath=yes
                   15901:   if test "$with_gnu_ld" = yes; then
                   15902:     need_lib_prefix=no
                   15903:   fi
                   15904:   need_version=yes
                   15905:   ;;
                   15906: 
                   15907: sysv4 | sysv4.3*)
                   15908:   version_type=linux # correct to gnu/linux during the next big refactor
                   15909:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15910:   soname_spec='${libname}${release}${shared_ext}$major'
                   15911:   shlibpath_var=LD_LIBRARY_PATH
                   15912:   case $host_vendor in
                   15913:     sni)
                   15914:       shlibpath_overrides_runpath=no
                   15915:       need_lib_prefix=no
                   15916:       runpath_var=LD_RUN_PATH
                   15917:       ;;
                   15918:     siemens)
                   15919:       need_lib_prefix=no
                   15920:       ;;
                   15921:     motorola)
                   15922:       need_lib_prefix=no
                   15923:       need_version=no
                   15924:       shlibpath_overrides_runpath=no
                   15925:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   15926:       ;;
                   15927:   esac
                   15928:   ;;
                   15929: 
                   15930: sysv4*MP*)
                   15931:   if test -d /usr/nec ;then
                   15932:     version_type=linux # correct to gnu/linux during the next big refactor
                   15933:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   15934:     soname_spec='$libname${shared_ext}.$major'
                   15935:     shlibpath_var=LD_LIBRARY_PATH
                   15936:   fi
                   15937:   ;;
                   15938: 
                   15939: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   15940:   version_type=freebsd-elf
                   15941:   need_lib_prefix=no
                   15942:   need_version=no
                   15943:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   15944:   soname_spec='${libname}${release}${shared_ext}$major'
                   15945:   shlibpath_var=LD_LIBRARY_PATH
                   15946:   shlibpath_overrides_runpath=yes
                   15947:   hardcode_into_libs=yes
                   15948:   if test "$with_gnu_ld" = yes; then
                   15949:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   15950:   else
                   15951:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   15952:     case $host_os in
                   15953:       sco3.2v5*)
                   15954:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   15955:        ;;
                   15956:     esac
                   15957:   fi
                   15958:   sys_lib_dlsearch_path_spec='/usr/lib'
                   15959:   ;;
                   15960: 
                   15961: tpf*)
                   15962:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   15963:   version_type=linux # correct to gnu/linux during the next big refactor
                   15964:   need_lib_prefix=no
                   15965:   need_version=no
                   15966:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15967:   shlibpath_var=LD_LIBRARY_PATH
                   15968:   shlibpath_overrides_runpath=no
                   15969:   hardcode_into_libs=yes
                   15970:   ;;
                   15971: 
                   15972: uts4*)
                   15973:   version_type=linux # correct to gnu/linux during the next big refactor
                   15974:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15975:   soname_spec='${libname}${release}${shared_ext}$major'
                   15976:   shlibpath_var=LD_LIBRARY_PATH
                   15977:   ;;
                   15978: 
                   15979: *)
                   15980:   dynamic_linker=no
                   15981:   ;;
                   15982: esac
1.150     moko     15983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   15984: $as_echo "$dynamic_linker" >&6; }
1.128     moko     15985: test "$dynamic_linker" = no && can_build_shared=no
                   15986: 
                   15987: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15988: if test "$GCC" = yes; then
                   15989:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15990: fi
                   15991: 
                   15992: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15993:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15994: fi
                   15995: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15996:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15997: fi
                   15998: 
                   15999: 
                   16000: 
                   16001: 
                   16002: 
                   16003: 
                   16004: 
                   16005: 
                   16006: 
                   16007: 
                   16008: 
                   16009: 
                   16010: 
                   16011: 
                   16012: 
                   16013: 
                   16014: 
                   16015: 
                   16016: 
                   16017: 
                   16018: 
                   16019: 
                   16020: 
                   16021: 
                   16022: 
                   16023: 
                   16024: 
                   16025: 
                   16026: 
                   16027: 
                   16028: 
                   16029: 
                   16030: 
                   16031: 
                   16032: 
                   16033: 
                   16034: 
                   16035: 
1.150     moko     16036:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   16037: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.128     moko     16038: hardcode_action_CXX=
                   16039: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   16040:    test -n "$runpath_var_CXX" ||
                   16041:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   16042: 
                   16043:   # We can hardcode non-existent directories.
                   16044:   if test "$hardcode_direct_CXX" != no &&
                   16045:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   16046:      # have to relink, otherwise we might link with an installed library
                   16047:      # when we should be linking with a yet-to-be-installed one
                   16048:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   16049:      test "$hardcode_minus_L_CXX" != no; then
                   16050:     # Linking always hardcodes the temporary library directory.
                   16051:     hardcode_action_CXX=relink
                   16052:   else
                   16053:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   16054:     hardcode_action_CXX=immediate
                   16055:   fi
                   16056: else
                   16057:   # We cannot hardcode anything, or else we can only hardcode existing
                   16058:   # directories.
                   16059:   hardcode_action_CXX=unsupported
                   16060: fi
1.150     moko     16061: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
                   16062: $as_echo "$hardcode_action_CXX" >&6; }
1.128     moko     16063: 
                   16064: if test "$hardcode_action_CXX" = relink ||
                   16065:    test "$inherit_rpath_CXX" = yes; then
                   16066:   # Fast installation is not supported
                   16067:   enable_fast_install=no
                   16068: elif test "$shlibpath_overrides_runpath" = yes ||
                   16069:      test "$enable_shared" = no; then
                   16070:   # Fast installation is not necessary
                   16071:   enable_fast_install=needless
                   16072: fi
                   16073: 
                   16074: 
                   16075: 
                   16076: 
                   16077: 
                   16078: 
                   16079: 
                   16080:   fi # test -n "$compiler"
                   16081: 
                   16082:   CC=$lt_save_CC
                   16083:   CFLAGS=$lt_save_CFLAGS
                   16084:   LDCXX=$LD
                   16085:   LD=$lt_save_LD
                   16086:   GCC=$lt_save_GCC
                   16087:   with_gnu_ld=$lt_save_with_gnu_ld
                   16088:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   16089:   lt_cv_path_LD=$lt_save_path_LD
                   16090:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   16091:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   16092: fi # test "$_lt_caught_CXX_error" != yes
                   16093: 
                   16094: ac_ext=c
                   16095: ac_cpp='$CPP $CPPFLAGS'
                   16096: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16097: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16098: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16099: 
                   16100: 
                   16101: 
                   16102: 
                   16103: 
                   16104: 
                   16105: 
                   16106: 
                   16107: 
                   16108: 
                   16109: 
                   16110: 
                   16111: 
                   16112: 
                   16113: 
1.150     moko     16114:         ac_config_commands="$ac_config_commands libtool"
1.128     moko     16115: 
                   16116: 
                   16117: 
                   16118: 
                   16119: # Only expand once:
                   16120: 
                   16121: 
1.150     moko     16122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   16123: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   16124: if ${libltdl_cv_shlibext+:} false; then :
                   16125:   $as_echo_n "(cached) " >&6
1.128     moko     16126: else
                   16127: 
                   16128: module=yes
                   16129: eval libltdl_cv_shlibext=$shrext_cmds
                   16130: module=no
                   16131: eval libltdl_cv_shrext=$shrext_cmds
                   16132: 
                   16133: fi
1.150     moko     16134: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   16135: $as_echo "$libltdl_cv_shlibext" >&6; }
1.128     moko     16136: if test -n "$libltdl_cv_shlibext"; then
                   16137: 
                   16138: cat >>confdefs.h <<_ACEOF
                   16139: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   16140: _ACEOF
                   16141: 
                   16142: fi
                   16143: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   16144: 
                   16145: cat >>confdefs.h <<_ACEOF
                   16146: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   16147: _ACEOF
                   16148: 
                   16149: fi
                   16150: 
1.150     moko     16151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   16152: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   16153: if ${lt_cv_module_path_var+:} false; then :
                   16154:   $as_echo_n "(cached) " >&6
1.128     moko     16155: else
                   16156:   lt_cv_module_path_var="$shlibpath_var"
                   16157: fi
1.150     moko     16158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   16159: $as_echo "$lt_cv_module_path_var" >&6; }
1.128     moko     16160: if test -n "$lt_cv_module_path_var"; then
                   16161: 
                   16162: cat >>confdefs.h <<_ACEOF
                   16163: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   16164: _ACEOF
                   16165: 
                   16166: fi
                   16167: 
1.150     moko     16168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   16169: $as_echo_n "checking for the default library search path... " >&6; }
                   16170: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   16171:   $as_echo_n "(cached) " >&6
1.128     moko     16172: else
                   16173:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   16174: fi
1.150     moko     16175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   16176: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
1.128     moko     16177: if test -n "$lt_cv_sys_dlsearch_path"; then
                   16178:   sys_dlsearch_path=
                   16179:   for dir in $lt_cv_sys_dlsearch_path; do
                   16180:     if test -z "$sys_dlsearch_path"; then
                   16181:       sys_dlsearch_path="$dir"
                   16182:     else
                   16183:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   16184:     fi
                   16185:   done
                   16186: 
                   16187: cat >>confdefs.h <<_ACEOF
                   16188: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   16189: _ACEOF
                   16190: 
                   16191: fi
                   16192: 
                   16193: 
                   16194: LT_DLLOADERS=
                   16195: 
                   16196: 
                   16197: ac_ext=c
                   16198: ac_cpp='$CPP $CPPFLAGS'
                   16199: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16200: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16201: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16202: 
                   16203: 
                   16204: LIBADD_DLOPEN=
1.150     moko     16205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   16206: $as_echo_n "checking for library containing dlopen... " >&6; }
                   16207: if ${ac_cv_search_dlopen+:} false; then :
                   16208:   $as_echo_n "(cached) " >&6
1.128     moko     16209: else
                   16210:   ac_func_search_save_LIBS=$LIBS
1.150     moko     16211: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16212: /* end confdefs.h.  */
                   16213: 
1.150     moko     16214: /* Override any GCC internal prototype to avoid an error.
                   16215:    Use char because int might match the return type of a GCC
                   16216:    builtin and then its argument prototype would still apply.  */
1.128     moko     16217: #ifdef __cplusplus
                   16218: extern "C"
                   16219: #endif
                   16220: char dlopen ();
                   16221: int
                   16222: main ()
                   16223: {
1.150     moko     16224: return dlopen ();
1.128     moko     16225:   ;
                   16226:   return 0;
                   16227: }
                   16228: _ACEOF
1.150     moko     16229: for ac_lib in '' dl; do
                   16230:   if test -z "$ac_lib"; then
                   16231:     ac_res="none required"
                   16232:   else
                   16233:     ac_res=-l$ac_lib
                   16234:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16235:   fi
                   16236:   if ac_fn_c_try_link "$LINENO"; then :
                   16237:   ac_cv_search_dlopen=$ac_res
                   16238: fi
                   16239: rm -f core conftest.err conftest.$ac_objext \
                   16240:     conftest$ac_exeext
                   16241:   if ${ac_cv_search_dlopen+:} false; then :
                   16242:   break
1.128     moko     16243: fi
1.150     moko     16244: done
                   16245: if ${ac_cv_search_dlopen+:} false; then :
1.128     moko     16246: 
                   16247: else
1.150     moko     16248:   ac_cv_search_dlopen=no
1.128     moko     16249: fi
1.150     moko     16250: rm conftest.$ac_ext
1.128     moko     16251: LIBS=$ac_func_search_save_LIBS
                   16252: fi
1.150     moko     16253: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   16254: $as_echo "$ac_cv_search_dlopen" >&6; }
                   16255: ac_res=$ac_cv_search_dlopen
                   16256: if test "$ac_res" != no; then :
                   16257:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.128     moko     16258: 
1.150     moko     16259: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16260: 
                   16261:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   16262:          LIBADD_DLOPEN="-ldl"
                   16263:        fi
                   16264:        libltdl_cv_lib_dl_dlopen="yes"
                   16265:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16266: else
1.150     moko     16267:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16268: /* end confdefs.h.  */
                   16269: #if HAVE_DLFCN_H
                   16270: #  include <dlfcn.h>
                   16271: #endif
                   16272: 
                   16273: int
                   16274: main ()
                   16275: {
                   16276: dlopen(0, 0);
                   16277:   ;
                   16278:   return 0;
                   16279: }
                   16280: _ACEOF
1.150     moko     16281: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16282: 
1.150     moko     16283: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16284: 
                   16285:            libltdl_cv_func_dlopen="yes"
                   16286:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16287: else
1.150     moko     16288:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   16289: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   16290: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   16291:   $as_echo_n "(cached) " >&6
1.128     moko     16292: else
                   16293:   ac_check_lib_save_LIBS=$LIBS
                   16294: LIBS="-lsvld  $LIBS"
1.150     moko     16295: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     16296: /* end confdefs.h.  */
                   16297: 
1.150     moko     16298: /* Override any GCC internal prototype to avoid an error.
                   16299:    Use char because int might match the return type of a GCC
                   16300:    builtin and then its argument prototype would still apply.  */
1.128     moko     16301: #ifdef __cplusplus
                   16302: extern "C"
                   16303: #endif
                   16304: char dlopen ();
                   16305: int
                   16306: main ()
                   16307: {
1.150     moko     16308: return dlopen ();
1.128     moko     16309:   ;
                   16310:   return 0;
                   16311: }
                   16312: _ACEOF
1.150     moko     16313: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16314:   ac_cv_lib_svld_dlopen=yes
                   16315: else
1.150     moko     16316:   ac_cv_lib_svld_dlopen=no
1.128     moko     16317: fi
1.150     moko     16318: rm -f core conftest.err conftest.$ac_objext \
                   16319:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16320: LIBS=$ac_check_lib_save_LIBS
                   16321: fi
1.150     moko     16322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   16323: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   16324: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.128     moko     16325: 
1.150     moko     16326: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.128     moko     16327: 
                   16328:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   16329:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   16330: fi
                   16331: 
                   16332: fi
1.150     moko     16333: rm -f core conftest.err conftest.$ac_objext \
                   16334:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16335: fi
                   16336: 
                   16337: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   16338: then
                   16339:   lt_save_LIBS="$LIBS"
                   16340:   LIBS="$LIBS $LIBADD_DLOPEN"
1.150     moko     16341:   for ac_func in dlerror
                   16342: do :
                   16343:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   16344: if test "x$ac_cv_func_dlerror" = xyes; then :
1.128     moko     16345:   cat >>confdefs.h <<_ACEOF
1.150     moko     16346: #define HAVE_DLERROR 1
1.128     moko     16347: _ACEOF
                   16348: 
                   16349: fi
                   16350: done
                   16351: 
                   16352:   LIBS="$lt_save_LIBS"
                   16353: fi
                   16354: 
                   16355: 
                   16356: LIBADD_SHL_LOAD=
1.150     moko     16357: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   16358: if test "x$ac_cv_func_shl_load" = xyes; then :
1.128     moko     16359: 
1.150     moko     16360: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.128     moko     16361: 
                   16362:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
1.66      paf      16363: else
1.150     moko     16364:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   16365: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   16366: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   16367:   $as_echo_n "(cached) " >&6
1.66      paf      16368: else
                   16369:   ac_check_lib_save_LIBS=$LIBS
                   16370: LIBS="-ldld  $LIBS"
1.150     moko     16371: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16372: /* end confdefs.h.  */
1.10      paf      16373: 
1.150     moko     16374: /* Override any GCC internal prototype to avoid an error.
                   16375:    Use char because int might match the return type of a GCC
                   16376:    builtin and then its argument prototype would still apply.  */
1.66      paf      16377: #ifdef __cplusplus
                   16378: extern "C"
                   16379: #endif
                   16380: char shl_load ();
                   16381: int
                   16382: main ()
                   16383: {
1.150     moko     16384: return shl_load ();
1.66      paf      16385:   ;
                   16386:   return 0;
                   16387: }
                   16388: _ACEOF
1.150     moko     16389: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      16390:   ac_cv_lib_dld_shl_load=yes
                   16391: else
1.150     moko     16392:   ac_cv_lib_dld_shl_load=no
1.66      paf      16393: fi
1.150     moko     16394: rm -f core conftest.err conftest.$ac_objext \
                   16395:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      16396: LIBS=$ac_check_lib_save_LIBS
                   16397: fi
1.150     moko     16398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   16399: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   16400: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       paf      16401: 
1.150     moko     16402: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
1.1       paf      16403: 
1.128     moko     16404:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   16405:            LIBADD_SHL_LOAD="-ldld"
                   16406: fi
                   16407: 
                   16408: fi
                   16409: 
                   16410: 
                   16411: 
                   16412: case $host_os in
                   16413: darwin[1567].*)
                   16414: # We only want this for pre-Mac OS X 10.4.
1.150     moko     16415:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   16416: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   16417: 
                   16418: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
1.128     moko     16419: 
1.150     moko     16420:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   16421: fi
1.128     moko     16422: 
1.150     moko     16423:   ;;
                   16424: beos*)
1.128     moko     16425:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   16426:   ;;
                   16427: cygwin* | mingw* | os2* | pw32*)
1.150     moko     16428:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   16429: "
                   16430: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   16431:   ac_have_decl=1
1.128     moko     16432: else
1.150     moko     16433:   ac_have_decl=0
1.128     moko     16434: fi
                   16435: 
                   16436: cat >>confdefs.h <<_ACEOF
1.150     moko     16437: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.128     moko     16438: _ACEOF
                   16439: 
                   16440:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   16441:   ;;
                   16442: esac
                   16443: 
1.150     moko     16444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   16445: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   16446: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   16447:   $as_echo_n "(cached) " >&6
1.66      paf      16448: else
                   16449:   ac_check_lib_save_LIBS=$LIBS
1.128     moko     16450: LIBS="-ldld  $LIBS"
1.150     moko     16451: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      16452: /* end confdefs.h.  */
1.62      paf      16453: 
1.150     moko     16454: /* Override any GCC internal prototype to avoid an error.
                   16455:    Use char because int might match the return type of a GCC
                   16456:    builtin and then its argument prototype would still apply.  */
1.66      paf      16457: #ifdef __cplusplus
                   16458: extern "C"
                   16459: #endif
1.128     moko     16460: char dld_link ();
1.66      paf      16461: int
                   16462: main ()
                   16463: {
1.150     moko     16464: return dld_link ();
1.66      paf      16465:   ;
                   16466:   return 0;
                   16467: }
                   16468: _ACEOF
1.150     moko     16469: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16470:   ac_cv_lib_dld_dld_link=yes
1.66      paf      16471: else
1.150     moko     16472:   ac_cv_lib_dld_dld_link=no
1.128     moko     16473: fi
1.150     moko     16474: rm -f core conftest.err conftest.$ac_objext \
                   16475:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16476: LIBS=$ac_check_lib_save_LIBS
                   16477: fi
1.150     moko     16478: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   16479: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   16480: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.128     moko     16481: 
1.150     moko     16482: $as_echo "#define HAVE_DLD 1" >>confdefs.h
1.128     moko     16483: 
                   16484:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16485: fi
                   16486: 
                   16487: 
                   16488: 
                   16489: 
                   16490: LT_DLPREOPEN=
                   16491: if test -n "$LT_DLLOADERS"
                   16492: then
                   16493:   for lt_loader in $LT_DLLOADERS; do
                   16494:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16495:   done
                   16496: 
1.150     moko     16497: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
1.128     moko     16498: 
                   16499: fi
                   16500: 
                   16501: 
                   16502: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16503: 
                   16504: 
                   16505: ac_ext=c
                   16506: ac_cpp='$CPP $CPPFLAGS'
                   16507: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16508: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16509: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16510: 
                   16511: 
1.150     moko     16512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   16513: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   16514: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   16515:   $as_echo_n "(cached) " >&6
1.128     moko     16516: else
                   16517:   lt_cv_sys_symbol_underscore=no
                   16518:   cat > conftest.$ac_ext <<_LT_EOF
                   16519: void nm_test_func(){}
                   16520: int main(){nm_test_func;return 0;}
                   16521: _LT_EOF
1.150     moko     16522:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.128     moko     16523:   (eval $ac_compile) 2>&5
                   16524:   ac_status=$?
1.150     moko     16525:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16526:   test $ac_status = 0; }; then
1.128     moko     16527:     # Now try to grab the symbols.
                   16528:     ac_nlist=conftest.nm
1.150     moko     16529:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
1.128     moko     16530:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16531:   ac_status=$?
1.150     moko     16532:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16533:   test $ac_status = 0; } && test -s "$ac_nlist"; then
1.128     moko     16534:       # See whether the symbols have a leading underscore.
                   16535:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16536:         lt_cv_sys_symbol_underscore=yes
                   16537:       else
                   16538:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16539:          :
                   16540:         else
                   16541:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16542:         fi
                   16543:       fi
                   16544:     else
                   16545:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16546:     fi
                   16547:   else
                   16548:     echo "configure: failed program was:" >&5
                   16549:     cat conftest.c >&5
                   16550:   fi
                   16551:   rm -rf conftest*
1.29      paf      16552: 
1.66      paf      16553: fi
1.150     moko     16554: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   16555: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
1.128     moko     16556:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
1.29      paf      16557: 
1.62      paf      16558: 
1.128     moko     16559: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16560:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16561:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
1.150     moko     16562:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   16563: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   16564: if ${libltdl_cv_need_uscore+:} false; then :
                   16565:   $as_echo_n "(cached) " >&6
1.66      paf      16566: else
1.128     moko     16567:   libltdl_cv_need_uscore=unknown
                   16568:           save_LIBS="$LIBS"
                   16569:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16570:          if test "$cross_compiling" = yes; then :
                   16571:   libltdl_cv_need_uscore=cross
                   16572: else
                   16573:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16574:   lt_status=$lt_dlunknown
                   16575:   cat > conftest.$ac_ext <<_LT_EOF
                   16576: #line $LINENO "configure"
                   16577: #include "confdefs.h"
                   16578: 
1.66      paf      16579: #if HAVE_DLFCN_H
1.128     moko     16580: #include <dlfcn.h>
                   16581: #endif
                   16582: 
                   16583: #include <stdio.h>
                   16584: 
                   16585: #ifdef RTLD_GLOBAL
                   16586: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16587: #else
                   16588: #  ifdef DL_GLOBAL
                   16589: #    define LT_DLGLOBAL                DL_GLOBAL
                   16590: #  else
                   16591: #    define LT_DLGLOBAL                0
                   16592: #  endif
                   16593: #endif
                   16594: 
                   16595: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16596:    find out it does not work in some platform. */
                   16597: #ifndef LT_DLLAZY_OR_NOW
                   16598: #  ifdef RTLD_LAZY
                   16599: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16600: #  else
                   16601: #    ifdef DL_LAZY
                   16602: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16603: #    else
                   16604: #      ifdef RTLD_NOW
                   16605: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16606: #      else
                   16607: #        ifdef DL_NOW
                   16608: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16609: #        else
                   16610: #          define LT_DLLAZY_OR_NOW     0
                   16611: #        endif
                   16612: #      endif
                   16613: #    endif
                   16614: #  endif
                   16615: #endif
                   16616: 
                   16617: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16618:    correspondingly for the symbols needed.  */
                   16619: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16620: int fnord () __attribute__((visibility("default")));
1.66      paf      16621: #endif
1.62      paf      16622: 
1.128     moko     16623: int fnord () { return 42; }
                   16624: int main ()
1.66      paf      16625: {
1.128     moko     16626:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16627:   int status = $lt_dlunknown;
                   16628: 
                   16629:   if (self)
                   16630:     {
                   16631:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16632:       else
                   16633:         {
                   16634:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16635:           else puts (dlerror ());
                   16636:        }
                   16637:       /* dlclose (self); */
                   16638:     }
                   16639:   else
                   16640:     puts (dlerror ());
                   16641: 
                   16642:   return status;
1.66      paf      16643: }
1.128     moko     16644: _LT_EOF
1.150     moko     16645:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.128     moko     16646:   (eval $ac_link) 2>&5
1.66      paf      16647:   ac_status=$?
1.150     moko     16648:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   16649:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.128     moko     16650:     (./conftest; exit; ) >&5 2>/dev/null
                   16651:     lt_status=$?
                   16652:     case x$lt_status in
                   16653:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16654:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16655:       x$lt_dlunknown|x*)  ;;
                   16656:     esac
                   16657:   else :
                   16658:     # compilation failed
                   16659: 
                   16660:   fi
                   16661: fi
                   16662: rm -fr conftest*
                   16663: 
                   16664:          LIBS="$save_LIBS"
                   16665: 
                   16666: fi
1.150     moko     16667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   16668: $as_echo "$libltdl_cv_need_uscore" >&6; }
1.128     moko     16669:   fi
                   16670: fi
                   16671: 
                   16672: if test x"$libltdl_cv_need_uscore" = xyes; then
1.29      paf      16673: 
1.150     moko     16674: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.29      paf      16675: 
1.128     moko     16676: fi
                   16677: 
1.150     moko     16678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   16679: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   16680: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   16681:   $as_echo_n "(cached) " >&6
1.66      paf      16682: else
1.128     moko     16683:   # PORTME does your system automatically load deplibs for dlopen?
                   16684:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16685:   # For now, we just catch OSes we know something about -- in the
                   16686:   # future, we'll try test this programmatically.
                   16687:   lt_cv_sys_dlopen_deplibs=unknown
                   16688:   case $host_os in
                   16689:   aix3*|aix4.1.*|aix4.2.*)
                   16690:     # Unknown whether this is true for these versions of AIX, but
                   16691:     # we want this `case' here to explicitly catch those versions.
                   16692:     lt_cv_sys_dlopen_deplibs=unknown
                   16693:     ;;
                   16694:   aix[4-9]*)
                   16695:     lt_cv_sys_dlopen_deplibs=yes
                   16696:     ;;
                   16697:   amigaos*)
                   16698:     case $host_cpu in
                   16699:     powerpc)
                   16700:       lt_cv_sys_dlopen_deplibs=no
                   16701:       ;;
                   16702:     esac
                   16703:     ;;
                   16704:   darwin*)
                   16705:     # Assuming the user has installed a libdl from somewhere, this is true
                   16706:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16707:     lt_cv_sys_dlopen_deplibs=yes
                   16708:     ;;
                   16709:   freebsd* | dragonfly*)
                   16710:     lt_cv_sys_dlopen_deplibs=yes
                   16711:     ;;
                   16712:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16713:     # GNU and its variants, using gnu ld.so (Glibc)
                   16714:     lt_cv_sys_dlopen_deplibs=yes
                   16715:     ;;
                   16716:   hpux10*|hpux11*)
                   16717:     lt_cv_sys_dlopen_deplibs=yes
                   16718:     ;;
                   16719:   interix*)
                   16720:     lt_cv_sys_dlopen_deplibs=yes
                   16721:     ;;
                   16722:   irix[12345]*|irix6.[01]*)
                   16723:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16724:     # know how it worked for any of those versions.
                   16725:     lt_cv_sys_dlopen_deplibs=unknown
                   16726:     ;;
                   16727:   irix*)
                   16728:     # The case above catches anything before 6.2, and it's known that
                   16729:     # at 6.2 and later dlopen does load deplibs.
                   16730:     lt_cv_sys_dlopen_deplibs=yes
                   16731:     ;;
                   16732:   netbsd*)
                   16733:     lt_cv_sys_dlopen_deplibs=yes
                   16734:     ;;
                   16735:   openbsd*)
                   16736:     lt_cv_sys_dlopen_deplibs=yes
                   16737:     ;;
                   16738:   osf[1234]*)
                   16739:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16740:     # it did *not* use an RPATH in a shared library to find objects the
                   16741:     # library depends on, so we explicitly say `no'.
                   16742:     lt_cv_sys_dlopen_deplibs=no
                   16743:     ;;
                   16744:   osf5.0|osf5.0a|osf5.1)
                   16745:     # dlopen *does* load deplibs and with the right loader patch applied
                   16746:     # it even uses RPATH in a shared library to search for shared objects
                   16747:     # that the library depends on, but there's no easy way to know if that
                   16748:     # patch is installed.  Since this is the case, all we can really
                   16749:     # say is unknown -- it depends on the patch being installed.  If
                   16750:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16751:     lt_cv_sys_dlopen_deplibs=unknown
                   16752:     ;;
                   16753:   osf*)
                   16754:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16755:     # the comments above for what we know about them.
                   16756:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16757:     # is used to find them so we can finally say `yes'.
                   16758:     lt_cv_sys_dlopen_deplibs=yes
                   16759:     ;;
                   16760:   qnx*)
                   16761:     lt_cv_sys_dlopen_deplibs=yes
                   16762:     ;;
                   16763:   solaris*)
                   16764:     lt_cv_sys_dlopen_deplibs=yes
                   16765:     ;;
                   16766:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16767:     libltdl_cv_sys_dlopen_deplibs=yes
                   16768:     ;;
                   16769:   esac
                   16770: 
                   16771: fi
1.150     moko     16772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16773: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
1.128     moko     16774: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16775: 
1.150     moko     16776: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.128     moko     16777: 
                   16778: fi
                   16779: 
                   16780: :
                   16781: 
                   16782: for ac_header in argz.h
1.150     moko     16783: do :
                   16784:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   16785: "
                   16786: if test "x$ac_cv_header_argz_h" = xyes; then :
1.128     moko     16787:   cat >>confdefs.h <<_ACEOF
1.150     moko     16788: #define HAVE_ARGZ_H 1
1.128     moko     16789: _ACEOF
                   16790: 
1.66      paf      16791: fi
1.62      paf      16792: 
1.128     moko     16793: done
                   16794: 
1.29      paf      16795: 
1.150     moko     16796: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
1.128     moko     16797: #  include <argz.h>
                   16798: #endif
1.150     moko     16799: "
                   16800: if test "x$ac_cv_type_error_t" = xyes; then :
1.29      paf      16801: 
1.128     moko     16802: cat >>confdefs.h <<_ACEOF
                   16803: #define HAVE_ERROR_T 1
1.62      paf      16804: _ACEOF
1.16      paf      16805: 
                   16806: 
1.128     moko     16807: else
1.16      paf      16808: 
1.150     moko     16809: $as_echo "#define error_t int" >>confdefs.h
1.16      paf      16810: 
1.12      paf      16811: 
1.150     moko     16812: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.12      paf      16813: 
1.66      paf      16814: fi
1.12      paf      16815: 
1.128     moko     16816: 
                   16817: ARGZ_H=
                   16818: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16819:        argz_next argz_stringify
1.150     moko     16820: do :
                   16821:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16822: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16823: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     16824:   cat >>confdefs.h <<_ACEOF
1.150     moko     16825: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     16826: _ACEOF
                   16827: 
                   16828: else
                   16829:   ARGZ_H=argz.h;
                   16830: 
                   16831:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16832: 
                   16833: fi
                   16834: done
                   16835: 
                   16836: 
1.150     moko     16837: if test -z "$ARGZ_H"; then :
                   16838:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   16839: $as_echo_n "checking if argz actually works... " >&6; }
                   16840: if ${lt_cv_sys_argz_works+:} false; then :
                   16841:   $as_echo_n "(cached) " >&6
1.128     moko     16842: else
                   16843:   case $host_os in #(
                   16844:         *cygwin*)
                   16845:           lt_cv_sys_argz_works=no
                   16846:           if test "$cross_compiling" != no; then
                   16847:             lt_cv_sys_argz_works="guessing no"
                   16848:           else
                   16849:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16850:             save_IFS=$IFS
                   16851:             IFS=-.
                   16852:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16853:             IFS=$save_IFS
                   16854:             lt_os_major=${2-0}
                   16855:             lt_os_minor=${3-0}
                   16856:             lt_os_micro=${4-0}
                   16857:             if test "$lt_os_major" -gt 1 \
                   16858:                || { test "$lt_os_major" -eq 1 \
                   16859:                  && { test "$lt_os_minor" -gt 5 \
                   16860:                    || { test "$lt_os_minor" -eq 5 \
                   16861:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16862:               lt_cv_sys_argz_works=yes
                   16863:             fi
                   16864:           fi
                   16865:           ;; #(
                   16866:         *) lt_cv_sys_argz_works=yes ;;
                   16867:         esac
                   16868: fi
1.150     moko     16869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   16870: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   16871:      if test "$lt_cv_sys_argz_works" = yes; then :
1.128     moko     16872: 
1.150     moko     16873: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.128     moko     16874: 
1.62      paf      16875: else
1.128     moko     16876:   ARGZ_H=argz.h
                   16877: 
                   16878: 
                   16879:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16880: 
                   16881: fi
1.62      paf      16882: fi
1.128     moko     16883: 
                   16884: 
                   16885: 
1.150     moko     16886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16887: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   16888: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   16889:   $as_echo_n "(cached) " >&6
1.128     moko     16890: else
                   16891:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16892:     libltdl_cv_preloaded_symbols=yes
                   16893:   else
                   16894:     libltdl_cv_preloaded_symbols=no
                   16895:   fi
                   16896: 
1.62      paf      16897: fi
1.150     moko     16898: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   16899: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
1.128     moko     16900: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16901: 
1.150     moko     16902: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.66      paf      16903: 
                   16904: fi
                   16905: 
1.150     moko     16906: 
                   16907: 
1.128     moko     16908: # Set options
                   16909: 
                   16910: 
                   16911: 
                   16912: 
                   16913: 
                   16914: 
                   16915: 
                   16916: 
                   16917: 
                   16918: 
1.66      paf      16919: 
                   16920: 
1.150     moko     16921: # Check whether --with-included_ltdl was given.
                   16922: if test "${with_included_ltdl+set}" = set; then :
                   16923:   withval=$with_included_ltdl;
                   16924: fi
1.64      paf      16925: 
                   16926: 
1.128     moko     16927: if test "x$with_included_ltdl" != xyes; then
                   16928:   # We are not being forced to use the included libltdl sources, so
                   16929:   # decide whether there is a useful installed version we can use.
1.150     moko     16930:   ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
1.128     moko     16931: 
1.150     moko     16932: "
                   16933: if test "x$ac_cv_header_ltdl_h" = xyes; then :
                   16934:   ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
1.128     moko     16935:            #include <ltdl.h>
1.150     moko     16936: "
                   16937: if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
                   16938:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
                   16939: $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
                   16940: if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
                   16941:   $as_echo_n "(cached) " >&6
1.79      paf      16942: else
1.128     moko     16943:   ac_check_lib_save_LIBS=$LIBS
                   16944: LIBS="-lltdl  $LIBS"
1.150     moko     16945: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.79      paf      16946: /* end confdefs.h.  */
1.128     moko     16947: 
1.150     moko     16948: /* Override any GCC internal prototype to avoid an error.
                   16949:    Use char because int might match the return type of a GCC
                   16950:    builtin and then its argument prototype would still apply.  */
1.128     moko     16951: #ifdef __cplusplus
                   16952: extern "C"
                   16953: #endif
                   16954: char lt_dladvise_preload ();
1.79      paf      16955: int
                   16956: main ()
                   16957: {
1.150     moko     16958: return lt_dladvise_preload ();
1.79      paf      16959:   ;
                   16960:   return 0;
                   16961: }
                   16962: _ACEOF
1.150     moko     16963: if ac_fn_c_try_link "$LINENO"; then :
1.128     moko     16964:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
1.79      paf      16965: else
1.150     moko     16966:   ac_cv_lib_ltdl_lt_dladvise_preload=no
1.128     moko     16967: fi
1.150     moko     16968: rm -f core conftest.err conftest.$ac_objext \
                   16969:     conftest$ac_exeext conftest.$ac_ext
1.128     moko     16970: LIBS=$ac_check_lib_save_LIBS
1.79      paf      16971: fi
1.150     moko     16972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16973: $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
                   16974: if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
1.128     moko     16975:   with_included_ltdl=no
1.79      paf      16976: else
1.128     moko     16977:   with_included_ltdl=yes
                   16978: fi
                   16979: 
1.79      paf      16980: else
1.128     moko     16981:   with_included_ltdl=yes
                   16982: fi
1.79      paf      16983: 
1.128     moko     16984: else
                   16985:   with_included_ltdl=yes
1.79      paf      16986: fi
1.128     moko     16987: 
                   16988: 
1.79      paf      16989: fi
1.128     moko     16990: 
                   16991: 
                   16992: 
                   16993: 
1.150     moko     16994: # Check whether --with-ltdl_include was given.
                   16995: if test "${with_ltdl_include+set}" = set; then :
                   16996:   withval=$with_ltdl_include;
                   16997: fi
1.128     moko     16998: 
                   16999: 
                   17000: if test -n "$with_ltdl_include"; then
                   17001:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   17002:   else
1.150     moko     17003:     as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
1.128     moko     17004:   fi
                   17005: else
                   17006:   with_ltdl_include=no
1.79      paf      17007: fi
1.128     moko     17008: 
                   17009: 
1.150     moko     17010: # Check whether --with-ltdl_lib was given.
                   17011: if test "${with_ltdl_lib+set}" = set; then :
                   17012:   withval=$with_ltdl_lib;
                   17013: fi
1.128     moko     17014: 
                   17015: 
                   17016: if test -n "$with_ltdl_lib"; then
                   17017:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   17018:   else
1.150     moko     17019:     as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
1.128     moko     17020:   fi
                   17021: else
                   17022:   with_ltdl_lib=no
1.79      paf      17023: fi
                   17024: 
1.128     moko     17025: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   17026:   ,yes,no,no,)
                   17027:        case $enable_ltdl_convenience in
1.150     moko     17028:   no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
1.128     moko     17029:   "") enable_ltdl_convenience=yes
                   17030:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   17031: esac
1.150     moko     17032: LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
1.128     moko     17033: LTDLDEPS=$LIBLTDL
                   17034: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   17035: 
                   17036: 
                   17037: 
                   17038: 
                   17039: 
                   17040: # For backwards non-gettext consistent compatibility...
                   17041: INCLTDL="$LTDLINCL"
                   17042: 
1.79      paf      17043: 
1.128     moko     17044:        ;;
                   17045:   ,no,no,no,)
                   17046:        # If the included ltdl is not to be used, then use the
                   17047:        # preinstalled libltdl we found.
1.79      paf      17048: 
1.150     moko     17049: $as_echo "#define HAVE_LTDL 1" >>confdefs.h
1.79      paf      17050: 
1.128     moko     17051:        LIBLTDL=-lltdl
                   17052:        LTDLDEPS=
                   17053:        LTDLINCL=
                   17054:        ;;
                   17055:   ,no*,no,*)
1.150     moko     17056:        as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
1.128     moko     17057:        ;;
                   17058:   *)   with_included_ltdl=no
                   17059:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   17060:        LTDLDEPS=
                   17061:        LTDLINCL="-I$with_ltdl_include"
                   17062:        ;;
                   17063: esac
                   17064: INCLTDL="$LTDLINCL"
                   17065: 
                   17066: # Report our decision...
1.150     moko     17067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
                   17068: $as_echo_n "checking where to find libltdl headers... " >&6; }
                   17069: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
                   17070: $as_echo "$LTDLINCL" >&6; }
                   17071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
                   17072: $as_echo_n "checking where to find libltdl library... " >&6; }
                   17073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
                   17074: $as_echo "$LIBLTDL" >&6; }
1.128     moko     17075: 
                   17076: 
                   17077: 
1.150     moko     17078: # Check whether --enable-ltdl-install was given.
                   17079: if test "${enable_ltdl_install+set}" = set; then :
                   17080:   enableval=$enable_ltdl_install;
                   17081: fi
1.128     moko     17082: 
                   17083: 
                   17084: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   17085:   *yes*) ;;
                   17086:   *) enable_ltdl_convenience=yes ;;
                   17087: esac
                   17088: 
1.150     moko     17089:  if test x"${enable_ltdl_install-no}" != xno; then
1.128     moko     17090:   INSTALL_LTDL_TRUE=
                   17091:   INSTALL_LTDL_FALSE='#'
                   17092: else
                   17093:   INSTALL_LTDL_TRUE='#'
                   17094:   INSTALL_LTDL_FALSE=
                   17095: fi
                   17096: 
1.150     moko     17097:   if test x"${enable_ltdl_convenience-no}" != xno; then
1.128     moko     17098:   CONVENIENCE_LTDL_TRUE=
                   17099:   CONVENIENCE_LTDL_FALSE='#'
                   17100: else
                   17101:   CONVENIENCE_LTDL_TRUE='#'
                   17102:   CONVENIENCE_LTDL_FALSE=
                   17103: fi
                   17104: 
                   17105: 
                   17106: 
1.150     moko     17107:     subdirs="$subdirs src/lib/ltdl"
1.128     moko     17108: 
                   17109: 
                   17110: 
                   17111: 
                   17112: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17113: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17114: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17115: # definitions required by ltdl.c.
                   17116: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17117: 
                   17118: 
                   17119: 
1.150     moko     17120: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17121: do :
                   17122:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17123: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   17124: "
                   17125: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17126:   cat >>confdefs.h <<_ACEOF
                   17127: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17128: _ACEOF
1.128     moko     17129: 
1.150     moko     17130: fi
1.128     moko     17131: 
1.150     moko     17132: done
1.128     moko     17133: 
                   17134: 
1.150     moko     17135: for ac_func in closedir opendir readdir
                   17136: do :
                   17137:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17138: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17139: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17140:   cat >>confdefs.h <<_ACEOF
                   17141: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17142: _ACEOF
1.66      paf      17143: 
                   17144: else
1.64      paf      17145: 
1.66      paf      17146: 
1.128     moko     17147:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
1.1       paf      17148: 
1.66      paf      17149: fi
1.128     moko     17150: done
                   17151: 
                   17152: for ac_func in strlcat strlcpy
1.150     moko     17153: do :
                   17154:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17155: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17156: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.128     moko     17157:   cat >>confdefs.h <<_ACEOF
1.150     moko     17158: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.128     moko     17159: _ACEOF
                   17160: 
                   17161: else
                   17162: 
                   17163: 
                   17164:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17165: 
1.62      paf      17166: fi
1.128     moko     17167: done
                   17168: 
                   17169: 
1.64      paf      17170: 
1.128     moko     17171: cat >>confdefs.h <<_ACEOF
                   17172: #define LT_LIBEXT "$libext"
1.62      paf      17173: _ACEOF
1.64      paf      17174: 
1.128     moko     17175: 
                   17176: name=
                   17177: eval "lt_libprefix=\"$libname_spec\""
                   17178: 
                   17179: cat >>confdefs.h <<_ACEOF
                   17180: #define LT_LIBPREFIX "$lt_libprefix"
1.66      paf      17181: _ACEOF
1.128     moko     17182: 
                   17183: 
                   17184: name=ltdl
                   17185: eval "LTDLOPEN=\"$libname_spec\""
                   17186: 
                   17187: 
                   17188: 
                   17189: 
                   17190: 
                   17191: 
                   17192: 
                   17193: 
                   17194: # Only expand once:
                   17195: 
                   17196: 
                   17197: 
                   17198: 
1.150     moko     17199:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17200: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17201: if ${ac_cv_c_bigendian+:} false; then :
                   17202:   $as_echo_n "(cached) " >&6
                   17203: else
                   17204:   ac_cv_c_bigendian=unknown
                   17205:     # See if we're dealing with a universal compiler.
                   17206:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17207: /* end confdefs.h.  */
                   17208: #ifndef __APPLE_CC__
                   17209:               not a universal capable compiler
                   17210:             #endif
                   17211:             typedef int dummy;
                   17212: 
                   17213: _ACEOF
                   17214: if ac_fn_c_try_compile "$LINENO"; then :
                   17215: 
                   17216:        # Check for potential -arch flags.  It is not universal unless
                   17217:        # there are at least two -arch flags with different values.
                   17218:        ac_arch=
                   17219:        ac_prev=
                   17220:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17221:         if test -n "$ac_prev"; then
                   17222:           case $ac_word in
                   17223:             i?86 | x86_64 | ppc | ppc64)
                   17224:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17225:                 ac_arch=$ac_word
                   17226:               else
                   17227:                 ac_cv_c_bigendian=universal
                   17228:                 break
                   17229:               fi
                   17230:               ;;
                   17231:           esac
                   17232:           ac_prev=
                   17233:         elif test "x$ac_word" = "x-arch"; then
                   17234:           ac_prev=arch
                   17235:         fi
                   17236:        done
                   17237: fi
                   17238: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17239:     if test $ac_cv_c_bigendian = unknown; then
                   17240:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17241:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.66      paf      17242: /* end confdefs.h.  */
1.128     moko     17243: #include <sys/types.h>
1.150     moko     17244:             #include <sys/param.h>
1.128     moko     17245: 
                   17246: int
                   17247: main ()
                   17248: {
1.150     moko     17249: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17250:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17251:                     && LITTLE_ENDIAN)
                   17252:              bogus endian macros
                   17253:             #endif
1.64      paf      17254: 
1.128     moko     17255:   ;
                   17256:   return 0;
                   17257: }
1.66      paf      17258: _ACEOF
1.150     moko     17259: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17260:   # It does; now see whether it defined to BIG_ENDIAN or not.
1.150     moko     17261:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.64      paf      17262: /* end confdefs.h.  */
1.128     moko     17263: #include <sys/types.h>
1.150     moko     17264:                #include <sys/param.h>
1.64      paf      17265: 
                   17266: int
                   17267: main ()
1.128     moko     17268: {
                   17269: #if BYTE_ORDER != BIG_ENDIAN
1.150     moko     17270:                 not big endian
                   17271:                #endif
1.128     moko     17272: 
                   17273:   ;
                   17274:   return 0;
1.64      paf      17275: }
                   17276: _ACEOF
1.150     moko     17277: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17278:   ac_cv_c_bigendian=yes
1.64      paf      17279: else
1.150     moko     17280:   ac_cv_c_bigendian=no
                   17281: fi
                   17282: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17283: fi
                   17284: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17285:     fi
                   17286:     if test $ac_cv_c_bigendian = unknown; then
                   17287:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17288:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17289: /* end confdefs.h.  */
                   17290: #include <limits.h>
1.64      paf      17291: 
1.150     moko     17292: int
                   17293: main ()
                   17294: {
                   17295: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17296:              bogus endian macros
                   17297:             #endif
1.66      paf      17298: 
1.150     moko     17299:   ;
                   17300:   return 0;
                   17301: }
1.62      paf      17302: _ACEOF
1.150     moko     17303: if ac_fn_c_try_compile "$LINENO"; then :
                   17304:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17305:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17306: /* end confdefs.h.  */
1.150     moko     17307: #include <limits.h>
                   17308: 
1.128     moko     17309: int
                   17310: main ()
                   17311: {
1.150     moko     17312: #ifndef _BIG_ENDIAN
                   17313:                 not big endian
                   17314:                #endif
                   17315: 
1.128     moko     17316:   ;
                   17317:   return 0;
                   17318: }
1.62      paf      17319: _ACEOF
1.150     moko     17320: if ac_fn_c_try_compile "$LINENO"; then :
1.128     moko     17321:   ac_cv_c_bigendian=yes
1.150     moko     17322: else
                   17323:   ac_cv_c_bigendian=no
1.128     moko     17324: fi
1.150     moko     17325: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17326: fi
1.150     moko     17327: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17328:     fi
                   17329:     if test $ac_cv_c_bigendian = unknown; then
                   17330:       # Compile a test program.
                   17331:       if test "$cross_compiling" = yes; then :
                   17332:   # Try to guess by grepping values from an object file.
                   17333:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17334: /* end confdefs.h.  */
                   17335: short int ascii_mm[] =
                   17336:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17337:                short int ascii_ii[] =
                   17338:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17339:                int use_ascii (int i) {
                   17340:                  return ascii_mm[i] + ascii_ii[i];
                   17341:                }
                   17342:                short int ebcdic_ii[] =
                   17343:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17344:                short int ebcdic_mm[] =
                   17345:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17346:                int use_ebcdic (int i) {
                   17347:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17348:                }
                   17349:                extern int foo;
1.62      paf      17350: 
1.150     moko     17351: int
                   17352: main ()
                   17353: {
                   17354: return use_ascii (foo) == use_ebcdic (foo);
                   17355:   ;
                   17356:   return 0;
                   17357: }
                   17358: _ACEOF
                   17359: if ac_fn_c_try_compile "$LINENO"; then :
                   17360:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17361:              ac_cv_c_bigendian=yes
                   17362:            fi
                   17363:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17364:              if test "$ac_cv_c_bigendian" = unknown; then
                   17365:                ac_cv_c_bigendian=no
                   17366:              else
                   17367:                # finding both strings is unlikely to happen, but who knows?
                   17368:                ac_cv_c_bigendian=unknown
                   17369:              fi
                   17370:            fi
1.128     moko     17371: fi
1.150     moko     17372: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.128     moko     17373: else
1.150     moko     17374:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.128     moko     17375: /* end confdefs.h.  */
1.150     moko     17376: $ac_includes_default
1.128     moko     17377: int
                   17378: main ()
                   17379: {
1.150     moko     17380: 
                   17381:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17382:             union
                   17383:             {
                   17384:               long int l;
                   17385:               char c[sizeof (long int)];
                   17386:             } u;
                   17387:             u.l = 1;
                   17388:             return u.c[sizeof (long int) - 1] == 1;
                   17389: 
                   17390:   ;
                   17391:   return 0;
1.128     moko     17392: }
                   17393: _ACEOF
1.150     moko     17394: if ac_fn_c_try_run "$LINENO"; then :
1.128     moko     17395:   ac_cv_c_bigendian=no
                   17396: else
1.150     moko     17397:   ac_cv_c_bigendian=yes
1.128     moko     17398: fi
1.150     moko     17399: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17400:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.128     moko     17401: fi
1.150     moko     17402: 
                   17403:     fi
1.66      paf      17404: fi
1.150     moko     17405: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17406: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17407:  case $ac_cv_c_bigendian in #(
                   17408:    yes)
                   17409: 
                   17410: $as_echo "#define PA_BIG_ENDIAN /**/" >>confdefs.h
                   17411: 
                   17412: ;; #(
                   17413:    no)
1.128     moko     17414: 
1.150     moko     17415: $as_echo "#define PA_LITTLE_ENDIAN /**/" >>confdefs.h
1.66      paf      17416: 
1.150     moko     17417:  ;; #(
                   17418:    universal)
1.128     moko     17419: 
1.150     moko     17420: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1.1       paf      17421: 
1.150     moko     17422:      ;; #(
                   17423:    *)
                   17424:      as_fn_error $? "word endianness not determined for some obscure reason" "$LINENO" 5
1.128     moko     17425:  ;;
1.150     moko     17426:  esac
1.66      paf      17427: 
                   17428: 
1.150     moko     17429: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17430: if test "x$ac_cv_type_size_t" = xyes; then :
1.62      paf      17431: 
1.66      paf      17432: else
1.1       paf      17433: 
1.66      paf      17434: cat >>confdefs.h <<_ACEOF
1.150     moko     17435: #define size_t unsigned int
1.66      paf      17436: _ACEOF
1.62      paf      17437: 
                   17438: fi
1.66      paf      17439: 
1.156     moko     17440: ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
                   17441: if test "x$ac_cv_type_ssize_t" = xyes; then :
                   17442: 
                   17443: else
                   17444: 
                   17445: cat >>confdefs.h <<_ACEOF
                   17446: #define ssize_t int
                   17447: _ACEOF
                   17448: 
                   17449: fi
                   17450: 
1.159     moko     17451: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   17452: case $ac_cv_c_uint8_t in #(
                   17453:   no|yes) ;; #(
                   17454:   *)
                   17455: 
                   17456: $as_echo "#define _UINT8_T 1" >>confdefs.h
                   17457: 
                   17458: 
                   17459: cat >>confdefs.h <<_ACEOF
                   17460: #define uint8_t $ac_cv_c_uint8_t
                   17461: _ACEOF
                   17462: ;;
                   17463:   esac
                   17464: 
1.165   ! moko     17465: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
        !          17466: case $ac_cv_c_uint16_t in #(
        !          17467:   no|yes) ;; #(
        !          17468:   *)
        !          17469: 
        !          17470: 
        !          17471: cat >>confdefs.h <<_ACEOF
        !          17472: #define uint16_t $ac_cv_c_uint16_t
        !          17473: _ACEOF
        !          17474: ;;
        !          17475:   esac
        !          17476: 
1.156     moko     17477: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   17478: case $ac_cv_c_uint32_t in #(
                   17479:   no|yes) ;; #(
                   17480:   *)
                   17481: 
                   17482: $as_echo "#define _UINT32_T 1" >>confdefs.h
                   17483: 
                   17484: 
                   17485: cat >>confdefs.h <<_ACEOF
                   17486: #define uint32_t $ac_cv_c_uint32_t
                   17487: _ACEOF
                   17488: ;;
                   17489:   esac
1.128     moko     17490: 
1.159     moko     17491: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   17492: case $ac_cv_c_uint64_t in #(
                   17493:   no|yes) ;; #(
                   17494:   *)
                   17495: 
                   17496: $as_echo "#define _UINT64_T 1" >>confdefs.h
                   17497: 
                   17498: 
                   17499: cat >>confdefs.h <<_ACEOF
                   17500: #define uint64_t $ac_cv_c_uint64_t
                   17501: _ACEOF
                   17502: ;;
                   17503:   esac
                   17504: 
                   17505: 
1.161     moko     17506: ac_header_dirent=no
                   17507: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   17508:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   17509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   17510: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   17511: if eval \${$as_ac_Header+:} false; then :
                   17512:   $as_echo_n "(cached) " >&6
                   17513: else
                   17514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17515: /* end confdefs.h.  */
                   17516: #include <sys/types.h>
                   17517: #include <$ac_hdr>
                   17518: 
                   17519: int
                   17520: main ()
                   17521: {
                   17522: if ((DIR *) 0)
                   17523: return 0;
                   17524:   ;
                   17525:   return 0;
                   17526: }
                   17527: _ACEOF
                   17528: if ac_fn_c_try_compile "$LINENO"; then :
                   17529:   eval "$as_ac_Header=yes"
                   17530: else
                   17531:   eval "$as_ac_Header=no"
                   17532: fi
                   17533: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17534: fi
                   17535: eval ac_res=\$$as_ac_Header
                   17536:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   17537: $as_echo "$ac_res" >&6; }
                   17538: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17539:   cat >>confdefs.h <<_ACEOF
                   17540: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   17541: _ACEOF
                   17542: 
                   17543: ac_header_dirent=$ac_hdr; break
                   17544: fi
                   17545: 
                   17546: done
                   17547: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   17548: if test $ac_header_dirent = dirent.h; then
                   17549:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17550: $as_echo_n "checking for library containing opendir... " >&6; }
                   17551: if ${ac_cv_search_opendir+:} false; then :
                   17552:   $as_echo_n "(cached) " >&6
                   17553: else
                   17554:   ac_func_search_save_LIBS=$LIBS
                   17555: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17556: /* end confdefs.h.  */
                   17557: 
                   17558: /* Override any GCC internal prototype to avoid an error.
                   17559:    Use char because int might match the return type of a GCC
                   17560:    builtin and then its argument prototype would still apply.  */
                   17561: #ifdef __cplusplus
                   17562: extern "C"
                   17563: #endif
                   17564: char opendir ();
                   17565: int
                   17566: main ()
                   17567: {
                   17568: return opendir ();
                   17569:   ;
                   17570:   return 0;
                   17571: }
                   17572: _ACEOF
                   17573: for ac_lib in '' dir; do
                   17574:   if test -z "$ac_lib"; then
                   17575:     ac_res="none required"
                   17576:   else
                   17577:     ac_res=-l$ac_lib
                   17578:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17579:   fi
                   17580:   if ac_fn_c_try_link "$LINENO"; then :
                   17581:   ac_cv_search_opendir=$ac_res
                   17582: fi
                   17583: rm -f core conftest.err conftest.$ac_objext \
                   17584:     conftest$ac_exeext
                   17585:   if ${ac_cv_search_opendir+:} false; then :
                   17586:   break
                   17587: fi
                   17588: done
                   17589: if ${ac_cv_search_opendir+:} false; then :
                   17590: 
                   17591: else
                   17592:   ac_cv_search_opendir=no
                   17593: fi
                   17594: rm conftest.$ac_ext
                   17595: LIBS=$ac_func_search_save_LIBS
                   17596: fi
                   17597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17598: $as_echo "$ac_cv_search_opendir" >&6; }
                   17599: ac_res=$ac_cv_search_opendir
                   17600: if test "$ac_res" != no; then :
                   17601:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17602: 
                   17603: fi
                   17604: 
                   17605: else
                   17606:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   17607: $as_echo_n "checking for library containing opendir... " >&6; }
                   17608: if ${ac_cv_search_opendir+:} false; then :
                   17609:   $as_echo_n "(cached) " >&6
                   17610: else
                   17611:   ac_func_search_save_LIBS=$LIBS
                   17612: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17613: /* end confdefs.h.  */
                   17614: 
                   17615: /* Override any GCC internal prototype to avoid an error.
                   17616:    Use char because int might match the return type of a GCC
                   17617:    builtin and then its argument prototype would still apply.  */
                   17618: #ifdef __cplusplus
                   17619: extern "C"
                   17620: #endif
                   17621: char opendir ();
                   17622: int
                   17623: main ()
                   17624: {
                   17625: return opendir ();
                   17626:   ;
                   17627:   return 0;
                   17628: }
                   17629: _ACEOF
                   17630: for ac_lib in '' x; do
                   17631:   if test -z "$ac_lib"; then
                   17632:     ac_res="none required"
                   17633:   else
                   17634:     ac_res=-l$ac_lib
                   17635:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   17636:   fi
                   17637:   if ac_fn_c_try_link "$LINENO"; then :
                   17638:   ac_cv_search_opendir=$ac_res
                   17639: fi
                   17640: rm -f core conftest.err conftest.$ac_objext \
                   17641:     conftest$ac_exeext
                   17642:   if ${ac_cv_search_opendir+:} false; then :
                   17643:   break
                   17644: fi
                   17645: done
                   17646: if ${ac_cv_search_opendir+:} false; then :
                   17647: 
                   17648: else
                   17649:   ac_cv_search_opendir=no
                   17650: fi
                   17651: rm conftest.$ac_ext
                   17652: LIBS=$ac_func_search_save_LIBS
                   17653: fi
                   17654: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   17655: $as_echo "$ac_cv_search_opendir" >&6; }
                   17656: ac_res=$ac_cv_search_opendir
                   17657: if test "$ac_res" != no; then :
                   17658:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   17659: 
                   17660: fi
                   17661: 
                   17662: fi
                   17663: 
                   17664: 
                   17665: 
                   17666:   ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
                   17667: #include <sys/types.h>
                   17668: #ifdef HAVE_DIRENT_H
                   17669: # include <dirent.h>
                   17670: #else
                   17671: # define dirent direct
                   17672: # ifdef HAVE_SYS_NDIR_H
                   17673: #  include <sys/ndir.h>
                   17674: # endif
                   17675: # ifdef HAVE_SYS_DIR_H
                   17676: #  include <sys/dir.h>
                   17677: # endif
                   17678: # ifdef HAVE_NDIR_H
                   17679: #  include <ndir.h>
                   17680: # endif
                   17681: #endif
                   17682: 
                   17683: "
                   17684: if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
                   17685: 
                   17686: cat >>confdefs.h <<_ACEOF
                   17687: #define HAVE_STRUCT_DIRENT_D_TYPE 1
                   17688: _ACEOF
                   17689: 
                   17690: 
                   17691: fi
                   17692: 
                   17693: 
1.159     moko     17694: 
                   17695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   17696: $as_echo_n "checking for ANSI C header files... " >&6; }
                   17697: if ${ac_cv_header_stdc+:} false; then :
                   17698:   $as_echo_n "(cached) " >&6
                   17699: else
                   17700:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17701: /* end confdefs.h.  */
                   17702: #include <stdlib.h>
                   17703: #include <stdarg.h>
                   17704: #include <string.h>
                   17705: #include <float.h>
                   17706: 
                   17707: int
                   17708: main ()
                   17709: {
                   17710: 
                   17711:   ;
                   17712:   return 0;
                   17713: }
                   17714: _ACEOF
                   17715: if ac_fn_c_try_compile "$LINENO"; then :
                   17716:   ac_cv_header_stdc=yes
                   17717: else
                   17718:   ac_cv_header_stdc=no
                   17719: fi
                   17720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17721: 
                   17722: if test $ac_cv_header_stdc = yes; then
                   17723:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   17724:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17725: /* end confdefs.h.  */
                   17726: #include <string.h>
                   17727: 
                   17728: _ACEOF
                   17729: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17730:   $EGREP "memchr" >/dev/null 2>&1; then :
                   17731: 
                   17732: else
                   17733:   ac_cv_header_stdc=no
                   17734: fi
                   17735: rm -f conftest*
                   17736: 
                   17737: fi
                   17738: 
                   17739: if test $ac_cv_header_stdc = yes; then
                   17740:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   17741:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17742: /* end confdefs.h.  */
                   17743: #include <stdlib.h>
                   17744: 
                   17745: _ACEOF
                   17746: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17747:   $EGREP "free" >/dev/null 2>&1; then :
                   17748: 
                   17749: else
                   17750:   ac_cv_header_stdc=no
                   17751: fi
                   17752: rm -f conftest*
                   17753: 
                   17754: fi
                   17755: 
                   17756: if test $ac_cv_header_stdc = yes; then
                   17757:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   17758:   if test "$cross_compiling" = yes; then :
                   17759:   :
                   17760: else
                   17761:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17762: /* end confdefs.h.  */
                   17763: #include <ctype.h>
                   17764: #include <stdlib.h>
                   17765: #if ((' ' & 0x0FF) == 0x020)
                   17766: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   17767: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   17768: #else
                   17769: # define ISLOWER(c) \
                   17770:                   (('a' <= (c) && (c) <= 'i') \
                   17771:                     || ('j' <= (c) && (c) <= 'r') \
                   17772:                     || ('s' <= (c) && (c) <= 'z'))
                   17773: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   17774: #endif
                   17775: 
                   17776: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   17777: int
                   17778: main ()
                   17779: {
                   17780:   int i;
                   17781:   for (i = 0; i < 256; i++)
                   17782:     if (XOR (islower (i), ISLOWER (i))
                   17783:        || toupper (i) != TOUPPER (i))
                   17784:       return 2;
                   17785:   return 0;
                   17786: }
                   17787: _ACEOF
                   17788: if ac_fn_c_try_run "$LINENO"; then :
                   17789: 
                   17790: else
                   17791:   ac_cv_header_stdc=no
                   17792: fi
                   17793: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17794:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   17795: fi
                   17796: 
                   17797: fi
                   17798: fi
                   17799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   17800: $as_echo "$ac_cv_header_stdc" >&6; }
                   17801: if test $ac_cv_header_stdc = yes; then
                   17802: 
                   17803: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   17804: 
                   17805: fi
1.128     moko     17806: 
1.150     moko     17807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17808: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17809: if ${ac_cv_header_time+:} false; then :
                   17810:   $as_echo_n "(cached) " >&6
1.62      paf      17811: else
1.150     moko     17812:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17813: /* end confdefs.h.  */
1.66      paf      17814: #include <sys/types.h>
                   17815: #include <sys/time.h>
                   17816: #include <time.h>
1.62      paf      17817: 
                   17818: int
                   17819: main ()
                   17820: {
1.66      paf      17821: if ((struct tm *) 0)
                   17822: return 0;
1.62      paf      17823:   ;
                   17824:   return 0;
                   17825: }
                   17826: _ACEOF
1.150     moko     17827: if ac_fn_c_try_compile "$LINENO"; then :
1.66      paf      17828:   ac_cv_header_time=yes
1.1       paf      17829: else
1.150     moko     17830:   ac_cv_header_time=no
1.1       paf      17831: fi
1.150     moko     17832: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.66      paf      17833: fi
1.150     moko     17834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17835: $as_echo "$ac_cv_header_time" >&6; }
1.66      paf      17836: if test $ac_cv_header_time = yes; then
1.1       paf      17837: 
1.150     moko     17838: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.66      paf      17839: 
1.1       paf      17840: fi
1.66      paf      17841: 
1.1       paf      17842: 
1.159     moko     17843: for ac_header in stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h strings.h inttypes.h stdint.h unistd.h
                   17844: do :
                   17845:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17846: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17847: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17848:   cat >>confdefs.h <<_ACEOF
                   17849: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17850: _ACEOF
                   17851: 
                   17852: fi
1.150     moko     17853: 
1.159     moko     17854: done
                   17855: 
                   17856: for ac_header in assert.h limits.h ctype.h math.h process.h stdarg.h setjmp.h signal.h
                   17857: do :
                   17858:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17859: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17860: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17861:   cat >>confdefs.h <<_ACEOF
                   17862: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17863: _ACEOF
                   17864: 
                   17865: fi
                   17866: 
                   17867: done
                   17868: 
1.164     moko     17869: for ac_header in errno.h dirent.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.h sys/wait.h
1.159     moko     17870: do :
                   17871:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17872: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17873: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17874:   cat >>confdefs.h <<_ACEOF
                   17875: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17876: _ACEOF
                   17877: 
                   17878: fi
                   17879: 
                   17880: done
                   17881: 
1.163     moko     17882: for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h
1.150     moko     17883: do :
                   17884:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17885: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17886: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.66      paf      17887:   cat >>confdefs.h <<_ACEOF
1.150     moko     17888: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.62      paf      17889: _ACEOF
                   17890: 
                   17891: fi
                   17892: 
1.66      paf      17893: done
1.62      paf      17894: 
                   17895: 
                   17896: 
1.66      paf      17897: case "$host" in
1.107     misha    17898:   *-freebsd4*)
                   17899: 
1.150     moko     17900: $as_echo "#define FREEBSD4 /**/" >>confdefs.h
1.107     misha    17901: 
                   17902:   ;;
1.66      paf      17903:   *-sunos5.6* | *-solaris2.6*)
1.150     moko     17904:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   17905: $as_echo_n "checking for main in -lxnet... " >&6; }
                   17906: if ${ac_cv_lib_xnet_main+:} false; then :
                   17907:   $as_echo_n "(cached) " >&6
1.62      paf      17908: else
1.66      paf      17909:   ac_check_lib_save_LIBS=$LIBS
                   17910: LIBS="-lxnet  $LIBS"
1.150     moko     17911: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17912: /* end confdefs.h.  */
                   17913: 
1.66      paf      17914: 
                   17915: int
                   17916: main ()
                   17917: {
1.150     moko     17918: return main ();
1.66      paf      17919:   ;
                   17920:   return 0;
                   17921: }
1.62      paf      17922: _ACEOF
1.150     moko     17923: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17924:   ac_cv_lib_xnet_main=yes
1.62      paf      17925: else
1.150     moko     17926:   ac_cv_lib_xnet_main=no
1.62      paf      17927: fi
1.150     moko     17928: rm -f core conftest.err conftest.$ac_objext \
                   17929:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17930: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17931: fi
1.150     moko     17932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   17933: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   17934: if test "x$ac_cv_lib_xnet_main" = xyes; then :
1.62      paf      17935:   cat >>confdefs.h <<_ACEOF
1.66      paf      17936: #define HAVE_LIBXNET 1
1.62      paf      17937: _ACEOF
1.1       paf      17938: 
1.66      paf      17939:   LIBS="-lxnet $LIBS"
                   17940: 
1.1       paf      17941: fi
                   17942: 
1.66      paf      17943:   ;;
                   17944:   *-sunos5* | *-solaris2*)
1.150     moko     17945:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   17946: $as_echo_n "checking for main in -lsocket... " >&6; }
                   17947: if ${ac_cv_lib_socket_main+:} false; then :
                   17948:   $as_echo_n "(cached) " >&6
1.62      paf      17949: else
1.66      paf      17950:   ac_check_lib_save_LIBS=$LIBS
                   17951: LIBS="-lsocket  $LIBS"
1.150     moko     17952: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17953: /* end confdefs.h.  */
1.66      paf      17954: 
                   17955: 
1.62      paf      17956: int
                   17957: main ()
                   17958: {
1.150     moko     17959: return main ();
1.62      paf      17960:   ;
                   17961:   return 0;
                   17962: }
                   17963: _ACEOF
1.150     moko     17964: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      17965:   ac_cv_lib_socket_main=yes
1.1       paf      17966: else
1.150     moko     17967:   ac_cv_lib_socket_main=no
1.1       paf      17968: fi
1.150     moko     17969: rm -f core conftest.err conftest.$ac_objext \
                   17970:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      17971: LIBS=$ac_check_lib_save_LIBS
1.62      paf      17972: fi
1.150     moko     17973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   17974: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   17975: if test "x$ac_cv_lib_socket_main" = xyes; then :
1.66      paf      17976:   cat >>confdefs.h <<_ACEOF
                   17977: #define HAVE_LIBSOCKET 1
                   17978: _ACEOF
1.1       paf      17979: 
1.66      paf      17980:   LIBS="-lsocket $LIBS"
1.1       paf      17981: 
                   17982: fi
                   17983: 
1.150     moko     17984:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   17985: $as_echo_n "checking for main in -lnsl... " >&6; }
                   17986: if ${ac_cv_lib_nsl_main+:} false; then :
                   17987:   $as_echo_n "(cached) " >&6
1.62      paf      17988: else
1.66      paf      17989:   ac_check_lib_save_LIBS=$LIBS
                   17990: LIBS="-lnsl  $LIBS"
1.150     moko     17991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      17992: /* end confdefs.h.  */
1.66      paf      17993: 
                   17994: 
1.62      paf      17995: int
                   17996: main ()
                   17997: {
1.150     moko     17998: return main ();
1.62      paf      17999:   ;
                   18000:   return 0;
                   18001: }
                   18002: _ACEOF
1.150     moko     18003: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18004:   ac_cv_lib_nsl_main=yes
1.30      paf      18005: else
1.150     moko     18006:   ac_cv_lib_nsl_main=no
1.30      paf      18007: fi
1.150     moko     18008: rm -f core conftest.err conftest.$ac_objext \
                   18009:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18010: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18011: fi
1.150     moko     18012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   18013: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   18014: if test "x$ac_cv_lib_nsl_main" = xyes; then :
1.66      paf      18015:   cat >>confdefs.h <<_ACEOF
                   18016: #define HAVE_LIBNSL 1
                   18017: _ACEOF
1.30      paf      18018: 
1.66      paf      18019:   LIBS="-lnsl $LIBS"
1.30      paf      18020: 
                   18021: fi
                   18022: 
1.66      paf      18023:   ;;
                   18024:   *-nec-sysv4*)
1.150     moko     18025:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   18026: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   18027: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   18028:   $as_echo_n "(cached) " >&6
1.62      paf      18029: else
1.66      paf      18030:   ac_check_lib_save_LIBS=$LIBS
                   18031: LIBS="-lnsl  $LIBS"
1.150     moko     18032: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18033: /* end confdefs.h.  */
1.66      paf      18034: 
1.150     moko     18035: /* Override any GCC internal prototype to avoid an error.
                   18036:    Use char because int might match the return type of a GCC
                   18037:    builtin and then its argument prototype would still apply.  */
1.66      paf      18038: #ifdef __cplusplus
                   18039: extern "C"
                   18040: #endif
                   18041: char gethostbyname ();
1.62      paf      18042: int
                   18043: main ()
                   18044: {
1.150     moko     18045: return gethostbyname ();
1.62      paf      18046:   ;
                   18047:   return 0;
                   18048: }
                   18049: _ACEOF
1.150     moko     18050: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18051:   ac_cv_lib_nsl_gethostbyname=yes
1.30      paf      18052: else
1.150     moko     18053:   ac_cv_lib_nsl_gethostbyname=no
1.30      paf      18054: fi
1.150     moko     18055: rm -f core conftest.err conftest.$ac_objext \
                   18056:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18057: LIBS=$ac_check_lib_save_LIBS
1.62      paf      18058: fi
1.150     moko     18059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   18060: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   18061: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.66      paf      18062:   cat >>confdefs.h <<_ACEOF
                   18063: #define HAVE_LIBNSL 1
                   18064: _ACEOF
1.30      paf      18065: 
1.66      paf      18066:   LIBS="-lnsl $LIBS"
1.30      paf      18067: 
                   18068: fi
                   18069: 
1.150     moko     18070:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   18071: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   18072: if ${ac_cv_lib_socket_socket+:} false; then :
                   18073:   $as_echo_n "(cached) " >&6
1.8       paf      18074: else
1.66      paf      18075:   ac_check_lib_save_LIBS=$LIBS
                   18076: LIBS="-lsocket  $LIBS"
1.150     moko     18077: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18078: /* end confdefs.h.  */
                   18079: 
1.150     moko     18080: /* Override any GCC internal prototype to avoid an error.
                   18081:    Use char because int might match the return type of a GCC
                   18082:    builtin and then its argument prototype would still apply.  */
1.66      paf      18083: #ifdef __cplusplus
                   18084: extern "C"
                   18085: #endif
                   18086: char socket ();
1.62      paf      18087: int
                   18088: main ()
                   18089: {
1.150     moko     18090: return socket ();
1.62      paf      18091:   ;
                   18092:   return 0;
                   18093: }
                   18094: _ACEOF
1.150     moko     18095: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18096:   ac_cv_lib_socket_socket=yes
1.8       paf      18097: else
1.150     moko     18098:   ac_cv_lib_socket_socket=no
1.8       paf      18099: fi
1.150     moko     18100: rm -f core conftest.err conftest.$ac_objext \
                   18101:     conftest$ac_exeext conftest.$ac_ext
1.66      paf      18102: LIBS=$ac_check_lib_save_LIBS
1.8       paf      18103: fi
1.150     moko     18104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   18105: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   18106: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.66      paf      18107:   cat >>confdefs.h <<_ACEOF
1.128     moko     18108: #define HAVE_LIBSOCKET 1
1.66      paf      18109: _ACEOF
                   18110: 
1.128     moko     18111:   LIBS="-lsocket $LIBS"
1.66      paf      18112: 
1.62      paf      18113: fi
                   18114: 
1.66      paf      18115:   ;;
1.128     moko     18116:   *-cygwin*)
                   18117: 
1.150     moko     18118: $as_echo "#define WIN32 /**/" >>confdefs.h
1.128     moko     18119: 
1.66      paf      18120:   ;;
                   18121: esac
1.1       paf      18122: 
1.150     moko     18123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
                   18124: $as_echo_n "checking for sin in -lm... " >&6; }
                   18125: if ${ac_cv_lib_m_sin+:} false; then :
                   18126:   $as_echo_n "(cached) " >&6
1.1       paf      18127: else
1.62      paf      18128:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18129: LIBS="-lm  $LIBS"
1.150     moko     18130: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18131: /* end confdefs.h.  */
                   18132: 
1.150     moko     18133: /* Override any GCC internal prototype to avoid an error.
                   18134:    Use char because int might match the return type of a GCC
                   18135:    builtin and then its argument prototype would still apply.  */
1.66      paf      18136: #ifdef __cplusplus
                   18137: extern "C"
                   18138: #endif
                   18139: char sin ();
1.62      paf      18140: int
                   18141: main ()
                   18142: {
1.150     moko     18143: return sin ();
1.62      paf      18144:   ;
                   18145:   return 0;
                   18146: }
                   18147: _ACEOF
1.150     moko     18148: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18149:   ac_cv_lib_m_sin=yes
1.62      paf      18150: else
1.150     moko     18151:   ac_cv_lib_m_sin=no
1.62      paf      18152: fi
1.150     moko     18153: rm -f core conftest.err conftest.$ac_objext \
                   18154:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18155: LIBS=$ac_check_lib_save_LIBS
                   18156: fi
1.150     moko     18157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
                   18158: $as_echo "$ac_cv_lib_m_sin" >&6; }
                   18159: if test "x$ac_cv_lib_m_sin" = xyes; then :
1.62      paf      18160:   cat >>confdefs.h <<_ACEOF
1.66      paf      18161: #define HAVE_LIBM 1
1.62      paf      18162: _ACEOF
1.1       paf      18163: 
1.66      paf      18164:   LIBS="-lm $LIBS"
1.1       paf      18165: 
                   18166: fi
                   18167: 
1.150     moko     18168: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18169: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18170: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18171:   $as_echo_n "(cached) " >&6
1.1       paf      18172: else
1.62      paf      18173:   ac_check_lib_save_LIBS=$LIBS
1.66      paf      18174: LIBS="-lcrypt  $LIBS"
1.150     moko     18175: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18176: /* end confdefs.h.  */
                   18177: 
1.150     moko     18178: /* Override any GCC internal prototype to avoid an error.
                   18179:    Use char because int might match the return type of a GCC
                   18180:    builtin and then its argument prototype would still apply.  */
1.66      paf      18181: #ifdef __cplusplus
                   18182: extern "C"
                   18183: #endif
                   18184: char crypt ();
1.62      paf      18185: int
                   18186: main ()
                   18187: {
1.150     moko     18188: return crypt ();
1.62      paf      18189:   ;
                   18190:   return 0;
                   18191: }
                   18192: _ACEOF
1.150     moko     18193: if ac_fn_c_try_link "$LINENO"; then :
1.66      paf      18194:   ac_cv_lib_crypt_crypt=yes
1.62      paf      18195: else
1.150     moko     18196:   ac_cv_lib_crypt_crypt=no
1.62      paf      18197: fi
1.150     moko     18198: rm -f core conftest.err conftest.$ac_objext \
                   18199:     conftest$ac_exeext conftest.$ac_ext
1.62      paf      18200: LIBS=$ac_check_lib_save_LIBS
                   18201: fi
1.150     moko     18202: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18203: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18204: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
1.62      paf      18205:   cat >>confdefs.h <<_ACEOF
1.66      paf      18206: #define HAVE_LIBCRYPT 1
1.62      paf      18207: _ACEOF
1.1       paf      18208: 
1.66      paf      18209:   LIBS="-lcrypt $LIBS"
                   18210: 
                   18211: fi
                   18212: 
                   18213: 
                   18214: 
1.159     moko     18215: for ac_func in flock _locking fcntl lockf ftruncate fchmod
                   18216: do :
                   18217:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18218: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18219: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   18220:   cat >>confdefs.h <<_ACEOF
                   18221: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   18222: _ACEOF
                   18223: 
                   18224: fi
                   18225: done
1.66      paf      18226: 
1.159     moko     18227: for ac_func in getrusage gettimeofday crypt sigsetjmp siglongjmp unsetenv
1.150     moko     18228: do :
                   18229:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   18230: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   18231: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.62      paf      18232:   cat >>confdefs.h <<_ACEOF
1.150     moko     18233: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.62      paf      18234: _ACEOF
1.1       paf      18235: 
1.66      paf      18236: fi
                   18237: done
                   18238: 
1.1       paf      18239: 
                   18240: 
1.159     moko     18241: 
1.67      paf      18242: pa_func=sigsetjmp
1.150     moko     18243: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) function $pa_func" >&5
                   18244: $as_echo_n "checking for (maybe built-in) function $pa_func... " >&6; }
                   18245: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18246: /* end confdefs.h.  */
                   18247: 
                   18248: #ifdef HAVE_SETJMP_H
                   18249: #      include <setjmp.h>
                   18250: #endif
                   18251: 
                   18252: int
                   18253: main ()
                   18254: {
                   18255: 
                   18256:         $pa_func(0,0);
                   18257: 
                   18258:   ;
                   18259:   return 0;
                   18260: }
                   18261: _ACEOF
1.150     moko     18262: if ac_fn_c_try_compile "$LINENO"; then :
                   18263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18264: $as_echo "yes" >&6; }
1.67      paf      18265: cat >>confdefs.h <<_ACEOF
1.150     moko     18266: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp` 1
1.67      paf      18267: _ACEOF
                   18268: 
                   18269: 
                   18270: else
1.150     moko     18271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18272: $as_echo "no" >&6; }
1.67      paf      18273: 
                   18274: fi
1.150     moko     18275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.67      paf      18276: 
                   18277: 
                   18278: 
1.159     moko     18279: 
1.150     moko     18280: ac_ext=cpp
1.67      paf      18281: ac_cpp='$CXXCPP $CPPFLAGS'
                   18282: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18283: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18284: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   18285: 
                   18286: 
                   18287: 
1.158     moko     18288: for pa_func in trunc round sign
1.67      paf      18289: do
                   18290: 
1.150     moko     18291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (maybe built-in) math function $pa_func" >&5
                   18292: $as_echo_n "checking for (maybe built-in) math function $pa_func... " >&6; }
                   18293: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.67      paf      18294: /* end confdefs.h.  */
                   18295: 
                   18296: #ifdef HAVE_MATH_H
                   18297: #       include <math.h>
                   18298: #endif
                   18299: 
                   18300: int
                   18301: main ()
                   18302: {
                   18303: 
                   18304:         double result=$pa_func(1.6);
                   18305: 
                   18306:   ;
                   18307:   return 0;
                   18308: }
                   18309: _ACEOF
1.150     moko     18310: if ac_fn_cxx_try_compile "$LINENO"; then :
                   18311:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   18312: $as_echo "yes" >&6; }
1.67      paf      18313: cat >>confdefs.h <<_ACEOF
1.150     moko     18314: #define `$as_echo "HAVE_$pa_func" | $as_tr_cpp`  1
1.62      paf      18315: _ACEOF
1.66      paf      18316: 
1.62      paf      18317: else
1.150     moko     18318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18319: $as_echo "no" >&6; }
1.62      paf      18320: 
                   18321: fi
1.150     moko     18322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18323: 
                   18324: done
                   18325: 
                   18326: ac_ext=c
                   18327: ac_cpp='$CPP $CPPFLAGS'
                   18328: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   18329: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   18330: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   18331: 
                   18332: 
                   18333: 
                   18334: for ac_func in qsort
                   18335: do :
                   18336:   ac_fn_c_check_func "$LINENO" "qsort" "ac_cv_func_qsort"
                   18337: if test "x$ac_cv_func_qsort" = xyes; then :
1.62      paf      18338:   cat >>confdefs.h <<_ACEOF
1.150     moko     18339: #define HAVE_QSORT 1
1.62      paf      18340: _ACEOF
1.1       paf      18341: 
1.66      paf      18342: else
1.150     moko     18343:   as_fn_error $? "No qsort library function." "$LINENO" 5
1.1       paf      18344: fi
1.66      paf      18345: done
1.1       paf      18346: 
                   18347: 
1.62      paf      18348: 
1.159     moko     18349: 
1.150     moko     18350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
                   18351: $as_echo_n "checking for timezone variable... " >&6; }
                   18352: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18353: /* end confdefs.h.  */
1.66      paf      18354: #include <time.h>
1.62      paf      18355: int
                   18356: main ()
                   18357: {
1.66      paf      18358: time_t test=timezone;
1.62      paf      18359:   ;
                   18360:   return 0;
                   18361: }
                   18362: _ACEOF
1.150     moko     18363: if ac_fn_c_try_compile "$LINENO"; then :
                   18364:   $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
1.158     moko     18365:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18366: $as_echo "yes" >&6; }
1.62      paf      18367: else
1.150     moko     18368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18369: $as_echo "no" >&6; }
1.62      paf      18370: fi
1.150     moko     18371: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18372: 
1.150     moko     18373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
                   18374: $as_echo_n "checking for daylight variable... " >&6; }
                   18375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18376: /* end confdefs.h.  */
1.66      paf      18377: #include <time.h>
1.62      paf      18378: int
                   18379: main ()
                   18380: {
1.66      paf      18381: int test=daylight;
1.62      paf      18382:   ;
                   18383:   return 0;
                   18384: }
                   18385: _ACEOF
1.150     moko     18386: if ac_fn_c_try_compile "$LINENO"; then :
                   18387:   $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
1.158     moko     18388:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18389: $as_echo "yes" >&6; }
1.62      paf      18390: else
1.150     moko     18391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18392: $as_echo "no" >&6; }
1.62      paf      18393: fi
1.150     moko     18394: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.62      paf      18395: 
1.150     moko     18396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
                   18397: $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
                   18398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18399: /* end confdefs.h.  */
1.66      paf      18400: #include <time.h>
1.62      paf      18401: int
                   18402: main ()
                   18403: {
1.158     moko     18404: struct tm tm; tm.tm_gmtoff=0;
1.62      paf      18405:   ;
                   18406:   return 0;
                   18407: }
                   18408: _ACEOF
1.150     moko     18409: if ac_fn_c_try_compile "$LINENO"; then :
                   18410:   $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
1.158     moko     18411:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18412: $as_echo "yes" >&6; }
1.62      paf      18413: else
1.150     moko     18414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18415: $as_echo "no" >&6; }
1.62      paf      18416: fi
1.150     moko     18417: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       paf      18418: 
1.150     moko     18419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_tzadj in struct tm" >&5
                   18420: $as_echo_n "checking for tm_tzadj in struct tm... " >&6; }
                   18421: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.62      paf      18422: /* end confdefs.h.  */
1.66      paf      18423: #include <time.h>
1.62      paf      18424: int
                   18425: main ()
                   18426: {
1.158     moko     18427: struct tm tm; tm.tm_tzadj=0;
1.62      paf      18428:   ;
                   18429:   return 0;
                   18430: }
                   18431: _ACEOF
1.150     moko     18432: if ac_fn_c_try_compile "$LINENO"; then :
                   18433:   $as_echo "#define HAVE_TM_TZADJ 1" >>confdefs.h
1.158     moko     18434:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.150     moko     18435: $as_echo "yes" >&6; }
1.62      paf      18436: else
1.150     moko     18437:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   18438: $as_echo "no" >&6; }
1.62      paf      18439: fi
1.150     moko     18440: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.31      paf      18441: 
1.1       paf      18442: 
                   18443: 
                   18444: 
1.62      paf      18445: 
                   18446: 
                   18447: 
1.150     moko     18448: ac_config_headers="$ac_config_headers src/include/pa_config_auto.h"
1.62      paf      18449: 
                   18450: 
1.150     moko     18451: 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      18452: 
                   18453: cat >confcache <<\_ACEOF
1.1       paf      18454: # This file is a shell script that caches the results of configure
                   18455: # tests run on this system so they can be shared between configure
1.62      paf      18456: # scripts and configure runs, see configure's option --config-cache.
                   18457: # It is not useful on other systems.  If it contains results you don't
                   18458: # want to keep, you may remove or edit it.
1.1       paf      18459: #
1.62      paf      18460: # config.status only pays attention to the cache file if you give it
                   18461: # the --recheck option to rerun configure.
1.1       paf      18462: #
1.62      paf      18463: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   18464: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   18465: # following values.
                   18466: 
                   18467: _ACEOF
                   18468: 
1.1       paf      18469: # The following way of writing the cache mishandles newlines in values,
                   18470: # but we know of no workaround that is simple, portable, and efficient.
1.150     moko     18471: # So, we kill variables containing newlines.
1.1       paf      18472: # Ultrix sh set writes to stderr and can't be redirected directly,
                   18473: # and sets the high bit in the cache file unless we assign to the vars.
1.150     moko     18474: (
                   18475:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   18476:     eval ac_val=\$$ac_var
                   18477:     case $ac_val in #(
                   18478:     *${as_nl}*)
                   18479:       case $ac_var in #(
                   18480:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   18481: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   18482:       esac
                   18483:       case $ac_var in #(
                   18484:       _ | IFS | as_nl) ;; #(
                   18485:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   18486:       *) { eval $ac_var=; unset $ac_var;} ;;
                   18487:       esac ;;
                   18488:     esac
                   18489:   done
                   18490: 
1.62      paf      18491:   (set) 2>&1 |
1.150     moko     18492:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   18493:     *${as_nl}ac_space=\ *)
                   18494:       # `set' does not quote correctly, so add quotes: double-quote
                   18495:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.62      paf      18496:       sed -n \
1.86      paf      18497:        "s/'/'\\\\''/g;
                   18498:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.150     moko     18499:       ;; #(
1.62      paf      18500:     *)
                   18501:       # `set' quotes correctly as required by POSIX, so do not add quotes.
1.150     moko     18502:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.62      paf      18503:       ;;
1.150     moko     18504:     esac |
                   18505:     sort
                   18506: ) |
1.62      paf      18507:   sed '
1.150     moko     18508:      /^ac_cv_env_/b end
1.62      paf      18509:      t clear
1.150     moko     18510:      :clear
1.62      paf      18511:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   18512:      t end
1.150     moko     18513:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   18514:      :end' >>confcache
                   18515: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   18516:   if test -w "$cache_file"; then
                   18517:     if test "x$cache_file" != "x/dev/null"; then
                   18518:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   18519: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   18520:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   18521:        cat confcache >"$cache_file"
                   18522:       else
                   18523:         case $cache_file in #(
                   18524:         */* | ?:*)
                   18525:          mv -f confcache "$cache_file"$$ &&
                   18526:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   18527:         *)
                   18528:          mv -f confcache "$cache_file" ;;
                   18529:        esac
                   18530:       fi
                   18531:     fi
1.1       paf      18532:   else
1.150     moko     18533:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   18534: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       paf      18535:   fi
                   18536: fi
                   18537: rm -f confcache
                   18538: 
                   18539: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   18540: # Let make expand exec_prefix.
                   18541: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   18542: 
1.62      paf      18543: DEFS=-DHAVE_CONFIG_H
                   18544: 
                   18545: ac_libobjs=
                   18546: ac_ltlibobjs=
1.150     moko     18547: U=
1.62      paf      18548: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   18549:   # 1. Remove the extension, and $U if already installed.
1.150     moko     18550:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   18551:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   18552:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   18553:   #    will be set to the directory where LIBOBJS objects are built.
                   18554:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   18555:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.62      paf      18556: done
                   18557: LIBOBJS=$ac_libobjs
                   18558: 
                   18559: LTLIBOBJS=$ac_ltlibobjs
1.1       paf      18560: 
                   18561: 
1.150     moko     18562:  if test -n "$EXEEXT"; then
                   18563:   am__EXEEXT_TRUE=
                   18564:   am__EXEEXT_FALSE='#'
                   18565: else
                   18566:   am__EXEEXT_TRUE='#'
                   18567:   am__EXEEXT_FALSE=
                   18568: fi
                   18569: 
1.62      paf      18570: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.150     moko     18571:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   18572: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18573: fi
1.66      paf      18574: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
1.150     moko     18575:   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
                   18576: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18577: fi
1.66      paf      18578: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.150     moko     18579:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   18580: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18581: fi
1.122     moko     18582: if test -z "${COMPILE_APACHE_MODULE_TRUE}" && test -z "${COMPILE_APACHE_MODULE_FALSE}"; then
1.150     moko     18583:   as_fn_error $? "conditional \"COMPILE_APACHE_MODULE\" was never defined.
                   18584: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.62      paf      18585: fi
1.128     moko     18586: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
1.150     moko     18587:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   18588: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18589: fi
                   18590: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
1.150     moko     18591:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   18592: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.128     moko     18593: fi
1.150     moko     18594: LT_CONFIG_H=src/include/pa_config_auto.h
1.128     moko     18595: 
                   18596:     _ltdl_libobjs=
                   18597:     _ltdl_ltlibobjs=
                   18598:     if test -n "$_LT_LIBOBJS"; then
                   18599:       # Remove the extension.
                   18600:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   18601:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   18602:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   18603:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   18604:       done
                   18605:     fi
                   18606:     ltdl_LIBOBJS=$_ltdl_libobjs
                   18607: 
                   18608:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   18609: 
                   18610: 
1.62      paf      18611: 
1.150     moko     18612: 
                   18613: : "${CONFIG_STATUS=./config.status}"
                   18614: ac_write_fail=0
1.62      paf      18615: ac_clean_files_save=$ac_clean_files
                   18616: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.150     moko     18617: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   18618: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   18619: as_write_fail=0
                   18620: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.62      paf      18621: #! $SHELL
                   18622: # Generated by $as_me.
                   18623: # Run this file to recreate the current configuration.
                   18624: # Compiler output produced by configure, useful for debugging
                   18625: # configure, is in config.log if it exists.
                   18626: 
                   18627: debug=false
                   18628: ac_cs_recheck=false
                   18629: ac_cs_silent=false
1.150     moko     18630: 
1.62      paf      18631: SHELL=\${CONFIG_SHELL-$SHELL}
1.150     moko     18632: export SHELL
                   18633: _ASEOF
                   18634: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   18635: ## -------------------- ##
                   18636: ## M4sh Initialization. ##
                   18637: ## -------------------- ##
1.62      paf      18638: 
1.150     moko     18639: # Be more Bourne compatible
                   18640: DUALCASE=1; export DUALCASE # for MKS sh
                   18641: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.62      paf      18642:   emulate sh
                   18643:   NULLCMD=:
1.150     moko     18644:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.62      paf      18645:   # is contrary to our usage.  Disable this feature.
                   18646:   alias -g '${1+"$@"}'='"$@"'
1.150     moko     18647:   setopt NO_GLOB_SUBST
                   18648: else
                   18649:   case `(set -o) 2>/dev/null` in #(
                   18650:   *posix*) :
                   18651:     set -o posix ;; #(
                   18652:   *) :
                   18653:      ;;
                   18654: esac
                   18655: fi
                   18656: 
                   18657: 
                   18658: as_nl='
                   18659: '
                   18660: export as_nl
                   18661: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   18662: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   18663: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   18664: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   18665: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   18666: # but without wasting forks for bash or zsh.
                   18667: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   18668:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18669:   as_echo='print -r --'
                   18670:   as_echo_n='print -rn --'
                   18671: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   18672:   as_echo='printf %s\n'
                   18673:   as_echo_n='printf %s'
                   18674: else
                   18675:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   18676:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   18677:     as_echo_n='/usr/ucb/echo -n'
                   18678:   else
                   18679:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   18680:     as_echo_n_body='eval
                   18681:       arg=$1;
                   18682:       case $arg in #(
                   18683:       *"$as_nl"*)
                   18684:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   18685:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   18686:       esac;
                   18687:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   18688:     '
                   18689:     export as_echo_n_body
                   18690:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   18691:   fi
                   18692:   export as_echo_body
                   18693:   as_echo='sh -c $as_echo_body as_echo'
1.62      paf      18694: fi
                   18695: 
1.150     moko     18696: # The user is always right.
                   18697: if test "${PATH_SEPARATOR+set}" != set; then
                   18698:   PATH_SEPARATOR=:
                   18699:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   18700:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   18701:       PATH_SEPARATOR=';'
                   18702:   }
1.62      paf      18703: fi
                   18704: 
                   18705: 
1.150     moko     18706: # IFS
                   18707: # We need space, tab and new line, in precisely that order.  Quoting is
                   18708: # there to prevent editors from complaining about space-tab.
                   18709: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   18710: # splitting by setting IFS to empty value.)
                   18711: IFS=" ""       $as_nl"
                   18712: 
                   18713: # Find who we are.  Look in the path if we contain no directory separator.
                   18714: as_myself=
                   18715: case $0 in #((
                   18716:   *[\\/]* ) as_myself=$0 ;;
                   18717:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18718: for as_dir in $PATH
                   18719: do
                   18720:   IFS=$as_save_IFS
                   18721:   test -z "$as_dir" && as_dir=.
                   18722:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   18723:   done
                   18724: IFS=$as_save_IFS
                   18725: 
                   18726:      ;;
                   18727: esac
                   18728: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18729: # in which case we are not to be found in the path.
                   18730: if test "x$as_myself" = x; then
                   18731:   as_myself=$0
                   18732: fi
                   18733: if test ! -f "$as_myself"; then
                   18734:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   18735:   exit 1
                   18736: fi
                   18737: 
                   18738: # Unset variables that we do not need and which cause bugs (e.g. in
                   18739: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   18740: # suppresses any "Segmentation fault" message there.  '((' could
                   18741: # trigger a bug in pdksh 5.2.14.
                   18742: for as_var in BASH_ENV ENV MAIL MAILPATH
                   18743: do eval test x\${$as_var+set} = xset \
                   18744:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   18745: done
1.62      paf      18746: PS1='$ '
                   18747: PS2='> '
                   18748: PS4='+ '
                   18749: 
                   18750: # NLS nuisances.
1.150     moko     18751: LC_ALL=C
                   18752: export LC_ALL
                   18753: LANGUAGE=C
                   18754: export LANGUAGE
                   18755: 
                   18756: # CDPATH.
                   18757: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18758: 
                   18759: 
                   18760: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   18761: # ----------------------------------------
                   18762: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   18763: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   18764: # script with STATUS, using 1 if that was 0.
                   18765: as_fn_error ()
                   18766: {
                   18767:   as_status=$1; test $as_status -eq 0 && as_status=1
                   18768:   if test "$4"; then
                   18769:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   18770:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   18771:   fi
                   18772:   $as_echo "$as_me: error: $2" >&2
                   18773:   as_fn_exit $as_status
                   18774: } # as_fn_error
                   18775: 
                   18776: 
                   18777: # as_fn_set_status STATUS
                   18778: # -----------------------
                   18779: # Set $? to STATUS, without forking.
                   18780: as_fn_set_status ()
                   18781: {
                   18782:   return $1
                   18783: } # as_fn_set_status
                   18784: 
                   18785: # as_fn_exit STATUS
                   18786: # -----------------
                   18787: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   18788: as_fn_exit ()
                   18789: {
                   18790:   set +e
                   18791:   as_fn_set_status $1
                   18792:   exit $1
                   18793: } # as_fn_exit
                   18794: 
                   18795: # as_fn_unset VAR
                   18796: # ---------------
                   18797: # Portably unset VAR.
                   18798: as_fn_unset ()
                   18799: {
                   18800:   { eval $1=; unset $1;}
                   18801: }
                   18802: as_unset=as_fn_unset
                   18803: # as_fn_append VAR VALUE
                   18804: # ----------------------
                   18805: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   18806: # advantage of any shell optimizations that allow amortized linear growth over
                   18807: # repeated appends, instead of the typical quadratic growth present in naive
                   18808: # implementations.
                   18809: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   18810:   eval 'as_fn_append ()
                   18811:   {
                   18812:     eval $1+=\$2
                   18813:   }'
                   18814: else
                   18815:   as_fn_append ()
                   18816:   {
                   18817:     eval $1=\$$1\$2
                   18818:   }
                   18819: fi # as_fn_append
                   18820: 
                   18821: # as_fn_arith ARG...
                   18822: # ------------------
                   18823: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   18824: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   18825: # must be portable across $(()) and expr.
                   18826: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   18827:   eval 'as_fn_arith ()
                   18828:   {
                   18829:     as_val=$(( $* ))
                   18830:   }'
                   18831: else
                   18832:   as_fn_arith ()
                   18833:   {
                   18834:     as_val=`expr "$@" || test $? -eq 1`
                   18835:   }
                   18836: fi # as_fn_arith
                   18837: 
1.1       paf      18838: 
1.150     moko     18839: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   18840:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.62      paf      18841:   as_expr=expr
                   18842: else
                   18843:   as_expr=false
                   18844: fi
                   18845: 
1.150     moko     18846: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.62      paf      18847:   as_basename=basename
                   18848: else
                   18849:   as_basename=false
                   18850: fi
                   18851: 
1.150     moko     18852: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   18853:   as_dirname=dirname
                   18854: else
                   18855:   as_dirname=false
                   18856: fi
1.62      paf      18857: 
1.150     moko     18858: as_me=`$as_basename -- "$0" ||
1.62      paf      18859: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   18860:         X"$0" : 'X\(//\)$' \| \
1.150     moko     18861:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   18862: $as_echo X/"$0" |
                   18863:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   18864:            s//\1/
                   18865:            q
                   18866:          }
                   18867:          /^X\/\(\/\/\)$/{
                   18868:            s//\1/
                   18869:            q
                   18870:          }
                   18871:          /^X\/\(\/\).*/{
                   18872:            s//\1/
                   18873:            q
                   18874:          }
                   18875:          s/.*/./; q'`
1.62      paf      18876: 
                   18877: # Avoid depending upon Character Ranges.
                   18878: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   18879: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   18880: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   18881: as_cr_digits='0123456789'
                   18882: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   18883: 
1.150     moko     18884: ECHO_C= ECHO_N= ECHO_T=
                   18885: case `echo -n x` in #(((((
                   18886: -n*)
                   18887:   case `echo 'xy\c'` in
                   18888:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   18889:   xy)  ECHO_C='\c';;
                   18890:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   18891:        ECHO_T='        ';;
                   18892:   esac;;
                   18893: *)
                   18894:   ECHO_N='-n';;
1.62      paf      18895: esac
                   18896: 
1.150     moko     18897: rm -f conf$$ conf$$.exe conf$$.file
                   18898: if test -d conf$$.dir; then
                   18899:   rm -f conf$$.dir/conf$$.file
1.62      paf      18900: else
1.150     moko     18901:   rm -f conf$$.dir
                   18902:   mkdir conf$$.dir 2>/dev/null
1.62      paf      18903: fi
1.150     moko     18904: if (echo >conf$$.file) 2>/dev/null; then
                   18905:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18906:     as_ln_s='ln -s'
                   18907:     # ... but there are two gotchas:
                   18908:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   18909:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   18910:     # In both cases, we have to default to `cp -p'.
                   18911:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   18912:       as_ln_s='cp -p'
                   18913:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   18914:     as_ln_s=ln
                   18915:   else
1.62      paf      18916:     as_ln_s='cp -p'
                   18917:   fi
                   18918: else
                   18919:   as_ln_s='cp -p'
                   18920: fi
1.150     moko     18921: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   18922: rmdir conf$$.dir 2>/dev/null
                   18923: 
                   18924: 
                   18925: # as_fn_mkdir_p
                   18926: # -------------
                   18927: # Create "$as_dir" as a directory, including parents if necessary.
                   18928: as_fn_mkdir_p ()
                   18929: {
                   18930: 
                   18931:   case $as_dir in #(
                   18932:   -*) as_dir=./$as_dir;;
                   18933:   esac
                   18934:   test -d "$as_dir" || eval $as_mkdir_p || {
                   18935:     as_dirs=
                   18936:     while :; do
                   18937:       case $as_dir in #(
                   18938:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   18939:       *) as_qdir=$as_dir;;
                   18940:       esac
                   18941:       as_dirs="'$as_qdir' $as_dirs"
                   18942:       as_dir=`$as_dirname -- "$as_dir" ||
                   18943: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18944:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18945:         X"$as_dir" : 'X\(//\)$' \| \
                   18946:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   18947: $as_echo X"$as_dir" |
                   18948:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   18949:            s//\1/
                   18950:            q
                   18951:          }
                   18952:          /^X\(\/\/\)[^/].*/{
                   18953:            s//\1/
                   18954:            q
                   18955:          }
                   18956:          /^X\(\/\/\)$/{
                   18957:            s//\1/
                   18958:            q
                   18959:          }
                   18960:          /^X\(\/\).*/{
                   18961:            s//\1/
                   18962:            q
                   18963:          }
                   18964:          s/.*/./; q'`
                   18965:       test -d "$as_dir" && break
                   18966:     done
                   18967:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   18968:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   18969: 
1.62      paf      18970: 
1.150     moko     18971: } # as_fn_mkdir_p
1.62      paf      18972: if mkdir -p . 2>/dev/null; then
1.150     moko     18973:   as_mkdir_p='mkdir -p "$as_dir"'
1.62      paf      18974: else
1.86      paf      18975:   test -d ./-p && rmdir ./-p
1.62      paf      18976:   as_mkdir_p=false
                   18977: fi
                   18978: 
1.150     moko     18979: if test -x / >/dev/null 2>&1; then
                   18980:   as_test_x='test -x'
                   18981: else
                   18982:   if ls -dL / >/dev/null 2>&1; then
                   18983:     as_ls_L_option=L
                   18984:   else
                   18985:     as_ls_L_option=
                   18986:   fi
                   18987:   as_test_x='
                   18988:     eval sh -c '\''
                   18989:       if test -d "$1"; then
                   18990:        test -d "$1/.";
                   18991:       else
                   18992:        case $1 in #(
                   18993:        -*)set "./$1";;
                   18994:        esac;
                   18995:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   18996:        ???[sx]*):;;*)false;;esac;fi
                   18997:     '\'' sh
                   18998:   '
                   18999: fi
                   19000: as_executable_p=$as_test_x
1.62      paf      19001: 
                   19002: # Sed expression to map a string onto a valid CPP name.
1.86      paf      19003: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19004: 
                   19005: # Sed expression to map a string onto a valid variable name.
1.86      paf      19006: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.62      paf      19007: 
                   19008: 
                   19009: exec 6>&1
1.150     moko     19010: ## ----------------------------------- ##
                   19011: ## Main body of $CONFIG_STATUS script. ##
                   19012: ## ----------------------------------- ##
                   19013: _ASEOF
                   19014: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.62      paf      19015: 
1.150     moko     19016: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19017: # Save the log message, to keep $0 and so on meaningful, and to
1.62      paf      19018: # report actual input values of CONFIG_FILES etc. instead of their
1.150     moko     19019: # values after options handling.
                   19020: ac_log="
1.157     moko     19021: This file was extended by parser $as_me 3.4.3b, which was
1.150     moko     19022: generated by GNU Autoconf 2.68.  Invocation command line was
1.62      paf      19023: 
                   19024:   CONFIG_FILES    = $CONFIG_FILES
                   19025:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   19026:   CONFIG_LINKS    = $CONFIG_LINKS
                   19027:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   19028:   $ $0 $@
                   19029: 
1.150     moko     19030: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   19031: "
                   19032: 
1.62      paf      19033: _ACEOF
                   19034: 
1.150     moko     19035: case $ac_config_files in *"
                   19036: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   19037: esac
1.62      paf      19038: 
1.150     moko     19039: case $ac_config_headers in *"
                   19040: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   19041: esac
1.62      paf      19042: 
                   19043: 
1.150     moko     19044: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19045: # Files that config.status was made for.
                   19046: config_files="$ac_config_files"
                   19047: config_headers="$ac_config_headers"
                   19048: config_commands="$ac_config_commands"
1.62      paf      19049: 
1.150     moko     19050: _ACEOF
1.62      paf      19051: 
1.150     moko     19052: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19053: ac_cs_usage="\
1.150     moko     19054: \`$as_me' instantiates files and other configuration actions
                   19055: from templates according to the current configuration.  Unless the files
                   19056: and actions are specified as TAGs, all are instantiated by default.
1.62      paf      19057: 
1.150     moko     19058: Usage: $0 [OPTION]... [TAG]...
1.62      paf      19059: 
                   19060:   -h, --help       print this help, then exit
1.150     moko     19061:   -V, --version    print version number and configuration settings, then exit
                   19062:       --config     print configuration, then exit
                   19063:   -q, --quiet, --silent
                   19064:                    do not print progress messages
1.62      paf      19065:   -d, --debug      don't remove temporary files
                   19066:       --recheck    update $as_me by reconfiguring in the same conditions
1.150     moko     19067:       --file=FILE[:TEMPLATE]
                   19068:                    instantiate the configuration file FILE
                   19069:       --header=FILE[:TEMPLATE]
                   19070:                    instantiate the configuration header FILE
1.62      paf      19071: 
                   19072: Configuration files:
                   19073: $config_files
                   19074: 
                   19075: Configuration headers:
                   19076: $config_headers
                   19077: 
                   19078: Configuration commands:
                   19079: $config_commands
                   19080: 
1.150     moko     19081: Report bugs to the package provider."
                   19082: 
1.62      paf      19083: _ACEOF
1.150     moko     19084: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19085: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.62      paf      19086: ac_cs_version="\\
1.157     moko     19087: parser config.status 3.4.3b
1.150     moko     19088: configured by $0, generated by GNU Autoconf 2.68,
                   19089:   with options \\"\$ac_cs_config\\"
1.62      paf      19090: 
1.150     moko     19091: Copyright (C) 2010 Free Software Foundation, Inc.
1.62      paf      19092: This config.status script is free software; the Free Software Foundation
                   19093: gives unlimited permission to copy, distribute and modify it."
1.150     moko     19094: 
                   19095: ac_pwd='$ac_pwd'
                   19096: srcdir='$srcdir'
                   19097: INSTALL='$INSTALL'
                   19098: MKDIR_P='$MKDIR_P'
                   19099: AWK='$AWK'
                   19100: test -n "\$AWK" || AWK=awk
1.62      paf      19101: _ACEOF
                   19102: 
1.150     moko     19103: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19104: # The default lists apply if the user does not specify any file.
1.62      paf      19105: ac_need_defaults=:
                   19106: while test $# != 0
                   19107: do
                   19108:   case $1 in
1.150     moko     19109:   --*=?*)
                   19110:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19111:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.62      paf      19112:     ac_shift=:
                   19113:     ;;
1.150     moko     19114:   --*=)
                   19115:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   19116:     ac_optarg=
                   19117:     ac_shift=:
                   19118:     ;;
                   19119:   *)
1.62      paf      19120:     ac_option=$1
                   19121:     ac_optarg=$2
                   19122:     ac_shift=shift
                   19123:     ;;
                   19124:   esac
                   19125: 
                   19126:   case $ac_option in
                   19127:   # Handling of the options.
                   19128:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   19129:     ac_cs_recheck=: ;;
1.150     moko     19130:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   19131:     $as_echo "$ac_cs_version"; exit ;;
                   19132:   --config | --confi | --conf | --con | --co | --c )
                   19133:     $as_echo "$ac_cs_config"; exit ;;
                   19134:   --debug | --debu | --deb | --de | --d | -d )
1.62      paf      19135:     debug=: ;;
                   19136:   --file | --fil | --fi | --f )
                   19137:     $ac_shift
1.150     moko     19138:     case $ac_optarg in
                   19139:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19140:     '') as_fn_error $? "missing file argument" ;;
                   19141:     esac
                   19142:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.62      paf      19143:     ac_need_defaults=false;;
                   19144:   --header | --heade | --head | --hea )
                   19145:     $ac_shift
1.150     moko     19146:     case $ac_optarg in
                   19147:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   19148:     esac
                   19149:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.62      paf      19150:     ac_need_defaults=false;;
1.150     moko     19151:   --he | --h)
                   19152:     # Conflict between --help and --header
                   19153:     as_fn_error $? "ambiguous option: \`$1'
                   19154: Try \`$0 --help' for more information.";;
                   19155:   --help | --hel | -h )
                   19156:     $as_echo "$ac_cs_usage"; exit ;;
1.62      paf      19157:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   19158:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   19159:     ac_cs_silent=: ;;
                   19160: 
                   19161:   # This is an error.
1.150     moko     19162:   -*) as_fn_error $? "unrecognized option: \`$1'
                   19163: Try \`$0 --help' for more information." ;;
1.62      paf      19164: 
1.150     moko     19165:   *) as_fn_append ac_config_targets " $1"
                   19166:      ac_need_defaults=false ;;
1.62      paf      19167: 
                   19168:   esac
                   19169:   shift
                   19170: done
                   19171: 
                   19172: ac_configure_extra_args=
                   19173: 
                   19174: if $ac_cs_silent; then
                   19175:   exec 6>/dev/null
1.150     moko     19176:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   19177: fi
                   19178: 
                   19179: _ACEOF
                   19180: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19181: if \$ac_cs_recheck; then
                   19182:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   19183:   shift
                   19184:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   19185:   CONFIG_SHELL='$SHELL'
                   19186:   export CONFIG_SHELL
                   19187:   exec "\$@"
                   19188: fi
                   19189: 
                   19190: _ACEOF
                   19191: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19192: exec 5>>config.log
                   19193: {
                   19194:   echo
                   19195:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   19196: ## Running $as_me. ##
                   19197: _ASBOX
                   19198:   $as_echo "$ac_log"
                   19199: } >&5
1.62      paf      19200: 
                   19201: _ACEOF
1.150     moko     19202: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       paf      19203: #
1.150     moko     19204: # INIT-COMMANDS
1.1       paf      19205: #
1.62      paf      19206: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   19207: 
1.128     moko     19208: 
                   19209: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   19210: # if CDPATH is set.
                   19211: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   19212: 
                   19213: sed_quote_subst='$sed_quote_subst'
                   19214: double_quote_subst='$double_quote_subst'
                   19215: delay_variable_subst='$delay_variable_subst'
                   19216: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   19217: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   19218: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   19219: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   19220: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
1.145     moko     19221: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
1.128     moko     19222: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
1.138     moko     19223: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.128     moko     19224: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   19225: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   19226: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   19227: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   19228: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   19229: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   19230: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   19231: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   19232: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   19233: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   19234: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   19235: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   19236: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   19237: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   19238: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   19239: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   19240: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   19241: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   19242: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   19243: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   19244: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   19245: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   19246: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   19247: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   19248: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19249: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   19250: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   19251: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   19252: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   19253: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   19254: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   19255: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   19256: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   19257: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   19258: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   19259: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   19260: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   19261: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   19262: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19263: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19264: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19265: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   19266: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   19267: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   19268: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   19269: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   19270: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   19271: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   19272: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   19273: 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"`'
                   19274: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19275: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   19276: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   19277: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   19278: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   19279: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   19280: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   19281: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   19282: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   19283: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   19284: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   19285: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   19286: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   19287: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   19288: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   19289: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   19290: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   19291: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   19292: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19293: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   19294: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   19295: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19296: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19297: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   19298: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   19299: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   19300: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   19301: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19302: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   19303: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   19304: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   19305: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19306: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   19307: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   19308: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   19309: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   19310: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   19311: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   19312: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19313: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   19314: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   19315: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   19316: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   19317: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   19318: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   19319: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   19320: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   19321: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   19322: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   19323: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   19324: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   19325: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   19326: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   19327: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   19328: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   19329: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   19330: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   19331: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   19332: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   19333: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   19334: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19335: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   19336: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   19337: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   19338: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   19339: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   19340: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   19341: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   19342: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   19343: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   19344: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   19345: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   19346: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   19347: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   19348: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   19349: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   19350: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   19351: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   19352: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   19353: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   19354: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19355: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19356: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19357: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   19358: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   19359: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19360: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   19361: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   19362: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   19363: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   19364: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   19365: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   19366: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19367: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19368: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   19369: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19370: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19371: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19372: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19373: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19374: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19375: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   19376: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19377: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   19378: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19379: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   19380: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   19381: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   19382: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   19383: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   19384: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   19385: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   19386: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   19387: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   19388: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19389: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19390: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   19391: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19392: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   19393: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   19394: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   19395: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   19396: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19397: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   19398: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19399: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   19400: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   19401: 
                   19402: LTCC='$LTCC'
                   19403: LTCFLAGS='$LTCFLAGS'
                   19404: compiler='$compiler_DEFAULT'
                   19405: 
                   19406: # A function that is used when there is no print builtin or printf.
                   19407: func_fallback_echo ()
                   19408: {
                   19409:   eval 'cat <<_LTECHO_EOF
                   19410: \$1
                   19411: _LTECHO_EOF'
                   19412: }
                   19413: 
                   19414: # Quote evaled strings.
                   19415: for var in AS \
                   19416: DLLTOOL \
                   19417: OBJDUMP \
                   19418: SHELL \
                   19419: ECHO \
                   19420: PATH_SEPARATOR \
                   19421: SED \
                   19422: GREP \
                   19423: EGREP \
                   19424: FGREP \
                   19425: LD \
                   19426: NM \
                   19427: LN_S \
                   19428: lt_SP2NL \
                   19429: lt_NL2SP \
                   19430: reload_flag \
                   19431: deplibs_check_method \
                   19432: file_magic_cmd \
                   19433: file_magic_glob \
                   19434: want_nocaseglob \
                   19435: sharedlib_from_linklib_cmd \
                   19436: AR \
                   19437: AR_FLAGS \
                   19438: archiver_list_spec \
                   19439: STRIP \
                   19440: RANLIB \
                   19441: CC \
                   19442: CFLAGS \
                   19443: compiler \
                   19444: lt_cv_sys_global_symbol_pipe \
                   19445: lt_cv_sys_global_symbol_to_cdecl \
                   19446: lt_cv_sys_global_symbol_to_c_name_address \
                   19447: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   19448: nm_file_list_spec \
                   19449: lt_prog_compiler_no_builtin_flag \
                   19450: lt_prog_compiler_pic \
                   19451: lt_prog_compiler_wl \
                   19452: lt_prog_compiler_static \
                   19453: lt_cv_prog_compiler_c_o \
                   19454: need_locks \
                   19455: MANIFEST_TOOL \
                   19456: DSYMUTIL \
                   19457: NMEDIT \
                   19458: LIPO \
                   19459: OTOOL \
                   19460: OTOOL64 \
                   19461: shrext_cmds \
                   19462: export_dynamic_flag_spec \
                   19463: whole_archive_flag_spec \
                   19464: compiler_needs_object \
                   19465: with_gnu_ld \
                   19466: allow_undefined_flag \
                   19467: no_undefined_flag \
                   19468: hardcode_libdir_flag_spec \
                   19469: hardcode_libdir_separator \
                   19470: exclude_expsyms \
                   19471: include_expsyms \
                   19472: file_list_spec \
                   19473: variables_saved_for_relink \
                   19474: libname_spec \
                   19475: library_names_spec \
                   19476: soname_spec \
                   19477: install_override_mode \
                   19478: finish_eval \
                   19479: old_striplib \
                   19480: striplib \
                   19481: compiler_lib_search_dirs \
                   19482: predep_objects \
                   19483: postdep_objects \
                   19484: predeps \
                   19485: postdeps \
                   19486: compiler_lib_search_path \
                   19487: LD_CXX \
                   19488: reload_flag_CXX \
                   19489: compiler_CXX \
                   19490: lt_prog_compiler_no_builtin_flag_CXX \
                   19491: lt_prog_compiler_pic_CXX \
                   19492: lt_prog_compiler_wl_CXX \
                   19493: lt_prog_compiler_static_CXX \
                   19494: lt_cv_prog_compiler_c_o_CXX \
                   19495: export_dynamic_flag_spec_CXX \
                   19496: whole_archive_flag_spec_CXX \
                   19497: compiler_needs_object_CXX \
                   19498: with_gnu_ld_CXX \
                   19499: allow_undefined_flag_CXX \
                   19500: no_undefined_flag_CXX \
                   19501: hardcode_libdir_flag_spec_CXX \
                   19502: hardcode_libdir_separator_CXX \
                   19503: exclude_expsyms_CXX \
                   19504: include_expsyms_CXX \
                   19505: file_list_spec_CXX \
                   19506: compiler_lib_search_dirs_CXX \
                   19507: predep_objects_CXX \
                   19508: postdep_objects_CXX \
                   19509: predeps_CXX \
                   19510: postdeps_CXX \
                   19511: compiler_lib_search_path_CXX; do
                   19512:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19513:     *[\\\\\\\`\\"\\\$]*)
                   19514:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   19515:       ;;
                   19516:     *)
                   19517:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19518:       ;;
                   19519:     esac
                   19520: done
                   19521: 
                   19522: # Double-quote double-evaled strings.
                   19523: for var in reload_cmds \
                   19524: old_postinstall_cmds \
                   19525: old_postuninstall_cmds \
                   19526: old_archive_cmds \
                   19527: extract_expsyms_cmds \
                   19528: old_archive_from_new_cmds \
                   19529: old_archive_from_expsyms_cmds \
                   19530: archive_cmds \
                   19531: archive_expsym_cmds \
                   19532: module_cmds \
                   19533: module_expsym_cmds \
                   19534: export_symbols_cmds \
                   19535: prelink_cmds \
                   19536: postlink_cmds \
                   19537: postinstall_cmds \
                   19538: postuninstall_cmds \
                   19539: finish_cmds \
                   19540: sys_lib_search_path_spec \
                   19541: sys_lib_dlsearch_path_spec \
                   19542: reload_cmds_CXX \
                   19543: old_archive_cmds_CXX \
                   19544: old_archive_from_new_cmds_CXX \
                   19545: old_archive_from_expsyms_cmds_CXX \
                   19546: archive_cmds_CXX \
                   19547: archive_expsym_cmds_CXX \
                   19548: module_cmds_CXX \
                   19549: module_expsym_cmds_CXX \
                   19550: export_symbols_cmds_CXX \
                   19551: prelink_cmds_CXX \
                   19552: postlink_cmds_CXX; do
                   19553:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   19554:     *[\\\\\\\`\\"\\\$]*)
                   19555:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   19556:       ;;
                   19557:     *)
                   19558:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   19559:       ;;
                   19560:     esac
                   19561: done
                   19562: 
                   19563: ac_aux_dir='$ac_aux_dir'
                   19564: xsi_shell='$xsi_shell'
                   19565: lt_shell_append='$lt_shell_append'
                   19566: 
                   19567: # See if we are running on zsh, and set the options which allow our
                   19568: # commands through without removal of \ escapes INIT.
                   19569: if test -n "\${ZSH_VERSION+set}" ; then
                   19570:    setopt NO_GLOB_SUBST
                   19571: fi
                   19572: 
                   19573: 
                   19574:     PACKAGE='$PACKAGE'
                   19575:     VERSION='$VERSION'
                   19576:     TIMESTAMP='$TIMESTAMP'
                   19577:     RM='$RM'
                   19578:     ofile='$ofile'
                   19579: 
                   19580: 
                   19581: 
                   19582: 
                   19583: 
                   19584: 
1.62      paf      19585: _ACEOF
                   19586: 
1.150     moko     19587: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      19588: 
1.150     moko     19589: # Handling of arguments.
1.62      paf      19590: for ac_config_target in $ac_config_targets
1.1       paf      19591: do
1.150     moko     19592:   case $ac_config_target in
                   19593:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   19594:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   19595:     "src/include/pa_config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/pa_config_auto.h" ;;
                   19596:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   19597:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   19598:     "src/types/Makefile") CONFIG_FILES="$CONFIG_FILES src/types/Makefile" ;;
                   19599:     "src/classes/Makefile") CONFIG_FILES="$CONFIG_FILES src/classes/Makefile" ;;
                   19600:     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
                   19601:     "src/main/Makefile") CONFIG_FILES="$CONFIG_FILES src/main/Makefile" ;;
                   19602:     "src/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/sql/Makefile" ;;
                   19603:     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
                   19604:     "src/lib/gd/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gd/Makefile" ;;
                   19605:     "src/lib/smtp/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/smtp/Makefile" ;;
                   19606:     "src/lib/gc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/Makefile" ;;
                   19607:     "src/lib/gc/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/gc/include/Makefile" ;;
                   19608:     "src/lib/pcre/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/pcre/Makefile" ;;
                   19609:     "src/lib/cord/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/Makefile" ;;
                   19610:     "src/lib/cord/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/Makefile" ;;
                   19611:     "src/lib/cord/include/private/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cord/include/private/Makefile" ;;
                   19612:     "src/lib/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/md5/Makefile" ;;
                   19613:     "src/lib/sdbm/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/Makefile" ;;
                   19614:     "src/lib/sdbm/pa-include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/sdbm/pa-include/Makefile" ;;
                   19615:     "src/lib/json/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/json/Makefile" ;;
                   19616:     "src/lib/memcached/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/memcached/Makefile" ;;
                   19617:     "src/lib/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/curl/Makefile" ;;
                   19618:     "src/targets/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/Makefile" ;;
                   19619:     "src/targets/cgi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/cgi/Makefile" ;;
                   19620:     "src/targets/apache/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/apache/Makefile" ;;
                   19621:     "src/targets/isapi/Makefile") CONFIG_FILES="$CONFIG_FILES src/targets/isapi/Makefile" ;;
                   19622:     "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
                   19623:     "etc/parser3.charsets/Makefile") CONFIG_FILES="$CONFIG_FILES etc/parser3.charsets/Makefile" ;;
                   19624:     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
                   19625:     "bin/auto.p.dist") CONFIG_FILES="$CONFIG_FILES bin/auto.p.dist" ;;
                   19626: 
                   19627:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       paf      19628:   esac
                   19629: done
                   19630: 
1.150     moko     19631: 
1.62      paf      19632: # If the user did not use the arguments to specify the items to instantiate,
                   19633: # then the envvar interface is used.  Set only those that are not.
                   19634: # We use the long form for the default assignment because of an extremely
                   19635: # bizarre bug on SunOS 4.1.3.
                   19636: if $ac_need_defaults; then
                   19637:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   19638:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   19639:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   19640: fi
                   19641: 
                   19642: # Have a temporary directory for convenience.  Make it in the build tree
1.150     moko     19643: # simply because there is no reason against having it here, and in addition,
1.62      paf      19644: # creating and moving files from /tmp can sometimes cause problems.
1.150     moko     19645: # Hook for its removal unless debugging.
                   19646: # Note that there is a small window in which the directory will not be cleaned:
                   19647: # after its creation but before its name has been assigned to `$tmp'.
1.62      paf      19648: $debug ||
                   19649: {
1.150     moko     19650:   tmp= ac_tmp=
                   19651:   trap 'exit_status=$?
                   19652:   : "${ac_tmp:=$tmp}"
                   19653:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   19654: ' 0
                   19655:   trap 'as_fn_exit 1' 1 2 13 15
1.62      paf      19656: }
                   19657: # Create a (secure) tmp directory for tmp files.
                   19658: 
                   19659: {
1.150     moko     19660:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   19661:   test -d "$tmp"
1.62      paf      19662: }  ||
                   19663: {
1.150     moko     19664:   tmp=./conf$$-$RANDOM
                   19665:   (umask 077 && mkdir "$tmp")
                   19666: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   19667: ac_tmp=$tmp
                   19668: 
                   19669: # Set up the scripts for CONFIG_FILES section.
                   19670: # No need to generate them if there are no CONFIG_FILES.
                   19671: # This happens for instance with `./config.status config.h'.
                   19672: if test -n "$CONFIG_FILES"; then
                   19673: 
                   19674: 
                   19675: ac_cr=`echo X | tr X '\015'`
                   19676: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   19677: # But we know of no other shell where ac_cr would be empty at this
                   19678: # point, so we can use a bashism as a fallback.
                   19679: if test "x$ac_cr" = x; then
                   19680:   eval ac_cr=\$\'\\r\'
                   19681: fi
                   19682: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   19683: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   19684:   ac_cs_awk_cr='\\r'
                   19685: else
                   19686:   ac_cs_awk_cr=$ac_cr
                   19687: fi
                   19688: 
                   19689: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   19690: _ACEOF
                   19691: 
                   19692: 
1.62      paf      19693: {
1.150     moko     19694:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   19695:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   19696:   echo "_ACEOF"
                   19697: } >conf$$subs.sh ||
                   19698:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19699: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   19700: ac_delim='%!_!# '
                   19701: for ac_last_try in false false false false false :; do
                   19702:   . ./conf$$subs.sh ||
                   19703:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19704: 
                   19705:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   19706:   if test $ac_delim_n = $ac_delim_num; then
                   19707:     break
                   19708:   elif $ac_last_try; then
                   19709:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   19710:   else
                   19711:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   19712:   fi
                   19713: done
                   19714: rm -f conf$$subs.sh
                   19715: 
                   19716: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19717: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   19718: _ACEOF
                   19719: sed -n '
                   19720: h
                   19721: s/^/S["/; s/!.*/"]=/
                   19722: p
                   19723: g
                   19724: s/^[^!]*!//
                   19725: :repl
                   19726: t repl
                   19727: s/'"$ac_delim"'$//
                   19728: t delim
                   19729: :nl
                   19730: h
                   19731: s/\(.\{148\}\)..*/\1/
                   19732: t more1
                   19733: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   19734: p
                   19735: n
                   19736: b repl
                   19737: :more1
                   19738: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19739: p
                   19740: g
                   19741: s/.\{148\}//
                   19742: t nl
                   19743: :delim
                   19744: h
                   19745: s/\(.\{148\}\)..*/\1/
                   19746: t more2
                   19747: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   19748: p
                   19749: b
                   19750: :more2
                   19751: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   19752: p
                   19753: g
                   19754: s/.\{148\}//
                   19755: t delim
                   19756: ' <conf$$subs.awk | sed '
                   19757: /^[^""]/{
                   19758:   N
                   19759:   s/\n//
                   19760: }
                   19761: ' >>$CONFIG_STATUS || ac_write_fail=1
                   19762: rm -f conf$$subs.awk
                   19763: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19764: _ACAWK
                   19765: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   19766:   for (key in S) S_is_set[key] = 1
                   19767:   FS = ""
                   19768: 
                   19769: }
                   19770: {
                   19771:   line = $ 0
                   19772:   nfields = split(line, field, "@")
                   19773:   substed = 0
                   19774:   len = length(field[1])
                   19775:   for (i = 2; i < nfields; i++) {
                   19776:     key = field[i]
                   19777:     keylen = length(key)
                   19778:     if (S_is_set[key]) {
                   19779:       value = S[key]
                   19780:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   19781:       len += length(value) + length(field[++i])
                   19782:       substed = 1
                   19783:     } else
                   19784:       len += 1 + keylen
                   19785:   }
                   19786: 
                   19787:   print line
1.62      paf      19788: }
                   19789: 
1.150     moko     19790: _ACAWK
                   19791: _ACEOF
                   19792: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19793: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   19794:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   19795: else
                   19796:   cat
                   19797: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   19798:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.62      paf      19799: _ACEOF
1.1       paf      19800: 
1.150     moko     19801: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   19802: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   19803: # trailing colons and then remove the whole line if VPATH becomes empty
                   19804: # (actually we leave an empty line to preserve line numbers).
                   19805: if test "x$srcdir" = x.; then
                   19806:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   19807: h
                   19808: s///
                   19809: s/^/:/
                   19810: s/[     ]*$/:/
                   19811: s/:\$(srcdir):/:/g
                   19812: s/:\${srcdir}:/:/g
                   19813: s/:@srcdir@:/:/g
                   19814: s/^:*//
                   19815: s/:*$//
                   19816: x
                   19817: s/\(=[  ]*\).*/\1/
                   19818: G
                   19819: s/\n//
                   19820: s/^[^=]*=[      ]*$//
                   19821: }'
                   19822: fi
1.62      paf      19823: 
1.150     moko     19824: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19825: fi # test -n "$CONFIG_FILES"
1.1       paf      19826: 
1.150     moko     19827: # Set up the scripts for CONFIG_HEADERS section.
                   19828: # No need to generate them if there are no CONFIG_HEADERS.
                   19829: # This happens for instance with `./config.status Makefile'.
                   19830: if test -n "$CONFIG_HEADERS"; then
                   19831: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   19832: BEGIN {
                   19833: _ACEOF
                   19834: 
                   19835: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   19836: # here-document in config.status, that substitutes the proper values into
                   19837: # config.h.in to produce config.h.
                   19838: 
                   19839: # Create a delimiter string that does not exist in confdefs.h, to ease
                   19840: # handling of long lines.
                   19841: ac_delim='%!_!# '
                   19842: for ac_last_try in false false :; do
                   19843:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   19844:   if test -z "$ac_tt"; then
                   19845:     break
                   19846:   elif $ac_last_try; then
                   19847:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   19848:   else
                   19849:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1.1       paf      19850:   fi
1.150     moko     19851: done
1.1       paf      19852: 
1.150     moko     19853: # For the awk script, D is an array of macro values keyed by name,
                   19854: # likewise P contains macro parameters if any.  Preserve backslash
                   19855: # newline sequences.
                   19856: 
                   19857: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   19858: sed -n '
                   19859: s/.\{148\}/&'"$ac_delim"'/g
                   19860: t rset
                   19861: :rset
                   19862: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   19863: t def
                   19864: d
                   19865: :def
                   19866: s/\\$//
                   19867: t bsnl
                   19868: s/["\\]/\\&/g
                   19869: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19870: D["\1"]=" \3"/p
                   19871: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   19872: d
                   19873: :bsnl
                   19874: s/["\\]/\\&/g
                   19875: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   19876: D["\1"]=" \3\\\\\\n"\\/p
                   19877: t cont
                   19878: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   19879: t cont
                   19880: d
                   19881: :cont
                   19882: n
                   19883: s/.\{148\}/&'"$ac_delim"'/g
                   19884: t clear
                   19885: :clear
                   19886: s/\\$//
                   19887: t bsnlc
                   19888: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   19889: d
                   19890: :bsnlc
                   19891: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   19892: b cont
                   19893: ' <confdefs.h | sed '
                   19894: s/'"$ac_delim"'/"\\\
                   19895: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   19896: 
                   19897: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   19898:   for (key in D) D_is_set[key] = 1
                   19899:   FS = ""
                   19900: }
                   19901: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   19902:   line = \$ 0
                   19903:   split(line, arg, " ")
                   19904:   if (arg[1] == "#") {
                   19905:     defundef = arg[2]
                   19906:     mac1 = arg[3]
                   19907:   } else {
                   19908:     defundef = substr(arg[1], 2)
                   19909:     mac1 = arg[2]
                   19910:   }
                   19911:   split(mac1, mac2, "(") #)
                   19912:   macro = mac2[1]
                   19913:   prefix = substr(line, 1, index(line, defundef) - 1)
                   19914:   if (D_is_set[macro]) {
                   19915:     # Preserve the white space surrounding the "#".
                   19916:     print prefix "define", macro P[macro] D[macro]
                   19917:     next
                   19918:   } else {
                   19919:     # Replace #undef with comments.  This is necessary, for example,
                   19920:     # in the case of _POSIX_SOURCE, which is predefined and required
                   19921:     # on some systems where configure will not decide to define it.
                   19922:     if (defundef == "undef") {
                   19923:       print "/*", prefix defundef, macro, "*/"
                   19924:       next
                   19925:     }
                   19926:   }
                   19927: }
                   19928: { print }
                   19929: _ACAWK
1.62      paf      19930: _ACEOF
1.150     moko     19931: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   19932:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   19933: fi # test -n "$CONFIG_HEADERS"
                   19934: 
                   19935: 
                   19936: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   19937: shift
                   19938: for ac_tag
                   19939: do
                   19940:   case $ac_tag in
                   19941:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   19942:   esac
                   19943:   case $ac_mode$ac_tag in
                   19944:   :[FHL]*:*);;
                   19945:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   19946:   :[FH]-) ac_tag=-:-;;
                   19947:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   19948:   esac
                   19949:   ac_save_IFS=$IFS
                   19950:   IFS=:
                   19951:   set x $ac_tag
                   19952:   IFS=$ac_save_IFS
                   19953:   shift
                   19954:   ac_file=$1
                   19955:   shift
                   19956: 
                   19957:   case $ac_mode in
                   19958:   :L) ac_source=$1;;
                   19959:   :[FH])
                   19960:     ac_file_inputs=
                   19961:     for ac_f
                   19962:     do
                   19963:       case $ac_f in
                   19964:       -) ac_f="$ac_tmp/stdin";;
                   19965:       *) # Look for the file first in the build tree, then in the source tree
                   19966:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   19967:         # because $ac_f cannot contain `:'.
                   19968:         test -f "$ac_f" ||
                   19969:           case $ac_f in
                   19970:           [\\/$]*) false;;
                   19971:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   19972:           esac ||
                   19973:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   19974:       esac
                   19975:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   19976:       as_fn_append ac_file_inputs " '$ac_f'"
                   19977:     done
                   19978: 
                   19979:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19980:     # use $as_me), people would be surprised to read:
                   19981:     #    /* config.h.  Generated by config.status.  */
                   19982:     configure_input='Generated from '`
                   19983:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   19984:        `' by configure.'
                   19985:     if test x"$ac_file" != x-; then
                   19986:       configure_input="$ac_file.  $configure_input"
                   19987:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   19988: $as_echo "$as_me: creating $ac_file" >&6;}
                   19989:     fi
                   19990:     # Neutralize special characters interpreted by sed in replacement strings.
                   19991:     case $configure_input in #(
                   19992:     *\&* | *\|* | *\\* )
                   19993:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   19994:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   19995:     *) ac_sed_conf_input=$configure_input;;
                   19996:     esac
                   19997: 
                   19998:     case $ac_tag in
                   19999:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   20000:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   20001:     esac
                   20002:     ;;
1.1       paf      20003:   esac
                   20004: 
1.150     moko     20005:   ac_dir=`$as_dirname -- "$ac_file" ||
1.62      paf      20006: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20007:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   20008:         X"$ac_file" : 'X\(//\)$' \| \
1.150     moko     20009:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   20010: $as_echo X"$ac_file" |
                   20011:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20012:            s//\1/
                   20013:            q
                   20014:          }
                   20015:          /^X\(\/\/\)[^/].*/{
                   20016:            s//\1/
                   20017:            q
                   20018:          }
                   20019:          /^X\(\/\/\)$/{
                   20020:            s//\1/
                   20021:            q
                   20022:          }
                   20023:          /^X\(\/\).*/{
                   20024:            s//\1/
                   20025:            q
                   20026:          }
                   20027:          s/.*/./; q'`
                   20028:   as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      20029:   ac_builddir=.
                   20030: 
1.150     moko     20031: case "$ac_dir" in
                   20032: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20033: *)
                   20034:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   20035:   # A ".." for each directory in $ac_dir_suffix.
                   20036:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   20037:   case $ac_top_builddir_sub in
                   20038:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   20039:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   20040:   esac ;;
                   20041: esac
                   20042: ac_abs_top_builddir=$ac_pwd
                   20043: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   20044: # for backward compatibility:
                   20045: ac_top_builddir=$ac_top_build_prefix
1.62      paf      20046: 
                   20047: case $srcdir in
1.150     moko     20048:   .)  # We are building in place.
1.62      paf      20049:     ac_srcdir=.
1.150     moko     20050:     ac_top_srcdir=$ac_top_builddir_sub
                   20051:     ac_abs_top_srcdir=$ac_pwd ;;
                   20052:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      20053:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     20054:     ac_top_srcdir=$srcdir
                   20055:     ac_abs_top_srcdir=$srcdir ;;
                   20056:   *) # Relative name.
                   20057:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   20058:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   20059:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.62      paf      20060: esac
1.150     moko     20061: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.86      paf      20062: 
1.62      paf      20063: 
1.150     moko     20064:   case $ac_mode in
                   20065:   :F)
                   20066:   #
                   20067:   # CONFIG_FILE
                   20068:   #
1.1       paf      20069: 
1.62      paf      20070:   case $INSTALL in
                   20071:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.150     moko     20072:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1       paf      20073:   esac
1.150     moko     20074:   ac_MKDIR_P=$MKDIR_P
                   20075:   case $MKDIR_P in
                   20076:   [\\/$]* | ?:[\\/]* ) ;;
                   20077:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   20078:   esac
                   20079: _ACEOF
1.1       paf      20080: 
1.150     moko     20081: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   20082: # If the template does not know about datarootdir, expand it.
                   20083: # FIXME: This hack should be removed a few years after 2.60.
                   20084: ac_datarootdir_hack=; ac_datarootdir_seen=
                   20085: ac_sed_dataroot='
                   20086: /datarootdir/ {
                   20087:   p
                   20088:   q
                   20089: }
                   20090: /@datadir@/p
                   20091: /@docdir@/p
                   20092: /@infodir@/p
                   20093: /@localedir@/p
                   20094: /@mandir@/p'
                   20095: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   20096: *datarootdir*) ac_datarootdir_seen=yes;;
                   20097: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   20098:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   20099: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   20100: _ACEOF
                   20101: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20102:   ac_datarootdir_hack='
                   20103:   s&@datadir@&$datadir&g
                   20104:   s&@docdir@&$docdir&g
                   20105:   s&@infodir@&$infodir&g
                   20106:   s&@localedir@&$localedir&g
                   20107:   s&@mandir@&$mandir&g
                   20108:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   20109: esac
                   20110: _ACEOF
1.62      paf      20111: 
1.150     moko     20112: # Neutralize VPATH when `$srcdir' = `.'.
                   20113: # Shell code in configure.ac might set extrasub.
                   20114: # FIXME: do we really want to maintain this feature?
                   20115: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   20116: ac_sed_extra="$ac_vpsub
1.62      paf      20117: $extrasub
                   20118: _ACEOF
1.150     moko     20119: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.62      paf      20120: :t
                   20121: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.150     moko     20122: s|@configure_input@|$ac_sed_conf_input|;t t
                   20123: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   20124: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   20125: s&@srcdir@&$ac_srcdir&;t t
                   20126: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   20127: s&@top_srcdir@&$ac_top_srcdir&;t t
                   20128: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   20129: s&@builddir@&$ac_builddir&;t t
                   20130: s&@abs_builddir@&$ac_abs_builddir&;t t
                   20131: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   20132: s&@INSTALL@&$ac_INSTALL&;t t
                   20133: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   20134: $ac_datarootdir_hack
                   20135: "
                   20136: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   20137:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20138: 
                   20139: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   20140:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   20141:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   20142:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   20143:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20144: which seems to be undefined.  Please make sure it is defined" >&5
                   20145: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   20146: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       paf      20147: 
1.150     moko     20148:   rm -f "$ac_tmp/stdin"
1.62      paf      20149:   case $ac_file in
1.150     moko     20150:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   20151:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   20152:   esac \
                   20153:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20154:  ;;
                   20155:   :H)
                   20156:   #
                   20157:   # CONFIG_HEADER
                   20158:   #
1.62      paf      20159:   if test x"$ac_file" != x-; then
1.150     moko     20160:     {
                   20161:       $as_echo "/* $configure_input  */" \
                   20162:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   20163:     } >"$ac_tmp/config.h" \
                   20164:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   20165:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   20166:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   20167: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.62      paf      20168:     else
1.150     moko     20169:       rm -f "$ac_file"
                   20170:       mv "$ac_tmp/config.h" "$ac_file" \
                   20171:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.62      paf      20172:     fi
                   20173:   else
1.150     moko     20174:     $as_echo "/* $configure_input  */" \
                   20175:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   20176:       || as_fn_error $? "could not create -" "$LINENO" 5
1.62      paf      20177:   fi
1.150     moko     20178: # Compute "$ac_file"'s index in $config_headers.
                   20179: _am_arg="$ac_file"
1.86      paf      20180: _am_stamp_count=1
                   20181: for _am_header in $config_headers :; do
                   20182:   case $_am_header in
1.150     moko     20183:     $_am_arg | $_am_arg:* )
1.86      paf      20184:       break ;;
                   20185:     * )
                   20186:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   20187:   esac
                   20188: done
1.150     moko     20189: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   20190: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   20191:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   20192:         X"$_am_arg" : 'X\(//\)$' \| \
                   20193:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   20194: $as_echo X"$_am_arg" |
                   20195:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20196:            s//\1/
                   20197:            q
                   20198:          }
                   20199:          /^X\(\/\/\)[^/].*/{
                   20200:            s//\1/
                   20201:            q
                   20202:          }
                   20203:          /^X\(\/\/\)$/{
                   20204:            s//\1/
                   20205:            q
                   20206:          }
                   20207:          /^X\(\/\).*/{
                   20208:            s//\1/
                   20209:            q
                   20210:          }
                   20211:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   20212:  ;;
1.62      paf      20213: 
1.150     moko     20214:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   20215: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   20216:  ;;
                   20217:   esac
1.86      paf      20218: 
1.62      paf      20219: 
1.150     moko     20220:   case $ac_file$ac_mode in
                   20221:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   20222:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   20223:   # are listed without --file.  Let's play safe and only enable the eval
                   20224:   # if we detect the quoting.
                   20225:   case $CONFIG_FILES in
                   20226:   *\'*) eval set x "$CONFIG_FILES" ;;
                   20227:   *)   set x $CONFIG_FILES ;;
                   20228:   esac
                   20229:   shift
                   20230:   for mf
                   20231:   do
                   20232:     # Strip MF so we end up with the name of the file.
                   20233:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   20234:     # Check whether this is an Automake generated Makefile or not.
                   20235:     # We used to match only the files named `Makefile.in', but
                   20236:     # some people rename them; so instead we look at the file content.
                   20237:     # Grep'ing the first line is not enough: some people post-process
                   20238:     # each Makefile.in and add a new line on top of each file to say so.
                   20239:     # Grep'ing the whole file is not good either: AIX grep has a line
                   20240:     # limit of 2048, but all sed's we know have understand at least 4000.
                   20241:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   20242:       dirpart=`$as_dirname -- "$mf" ||
1.62      paf      20243: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20244:         X"$mf" : 'X\(//\)[^/]' \| \
                   20245:         X"$mf" : 'X\(//\)$' \| \
1.150     moko     20246:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   20247: $as_echo X"$mf" |
                   20248:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20249:            s//\1/
                   20250:            q
                   20251:          }
                   20252:          /^X\(\/\/\)[^/].*/{
                   20253:            s//\1/
                   20254:            q
                   20255:          }
                   20256:          /^X\(\/\/\)$/{
                   20257:            s//\1/
                   20258:            q
                   20259:          }
                   20260:          /^X\(\/\).*/{
                   20261:            s//\1/
                   20262:            q
                   20263:          }
                   20264:          s/.*/./; q'`
                   20265:     else
                   20266:       continue
                   20267:     fi
                   20268:     # Extract the definition of DEPDIR, am__include, and am__quote
                   20269:     # from the Makefile without running `make'.
                   20270:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   20271:     test -z "$DEPDIR" && continue
                   20272:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   20273:     test -z "am__include" && continue
                   20274:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   20275:     # When using ansi2knr, U may be empty or an underscore; expand it
                   20276:     U=`sed -n 's/^U = //p' < "$mf"`
                   20277:     # Find all dependency output files, they are included files with
                   20278:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   20279:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   20280:     # expansion.
                   20281:     for file in `sed -n "
                   20282:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   20283:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   20284:       # Make sure the directory exists.
                   20285:       test -f "$dirpart/$file" && continue
                   20286:       fdir=`$as_dirname -- "$file" ||
1.62      paf      20287: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.86      paf      20288:         X"$file" : 'X\(//\)[^/]' \| \
                   20289:         X"$file" : 'X\(//\)$' \| \
1.150     moko     20290:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   20291: $as_echo X"$file" |
                   20292:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   20293:            s//\1/
                   20294:            q
                   20295:          }
                   20296:          /^X\(\/\/\)[^/].*/{
                   20297:            s//\1/
                   20298:            q
                   20299:          }
                   20300:          /^X\(\/\/\)$/{
                   20301:            s//\1/
                   20302:            q
                   20303:          }
                   20304:          /^X\(\/\).*/{
                   20305:            s//\1/
                   20306:            q
                   20307:          }
                   20308:          s/.*/./; q'`
                   20309:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   20310:       # echo "creating $dirpart/$file"
                   20311:       echo '# dummy' > "$dirpart/$file"
1.62      paf      20312:     done
                   20313:   done
1.150     moko     20314: }
1.62      paf      20315:  ;;
1.150     moko     20316:     "libtool":C)
1.128     moko     20317: 
                   20318:     # See if we are running on zsh, and set the options which allow our
                   20319:     # commands through without removal of \ escapes.
                   20320:     if test -n "${ZSH_VERSION+set}" ; then
                   20321:       setopt NO_GLOB_SUBST
                   20322:     fi
                   20323: 
                   20324:     cfgfile="${ofile}T"
                   20325:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   20326:     $RM "$cfgfile"
                   20327: 
                   20328:     cat <<_LT_EOF >> "$cfgfile"
                   20329: #! $SHELL
                   20330: 
                   20331: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   20332: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   20333: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   20334: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   20335: #
                   20336: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   20337: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   20338: #                 Foundation, Inc.
                   20339: #   Written by Gordon Matzigkeit, 1996
                   20340: #
                   20341: #   This file is part of GNU Libtool.
                   20342: #
                   20343: # GNU Libtool is free software; you can redistribute it and/or
                   20344: # modify it under the terms of the GNU General Public License as
                   20345: # published by the Free Software Foundation; either version 2 of
                   20346: # the License, or (at your option) any later version.
                   20347: #
                   20348: # As a special exception to the GNU General Public License,
                   20349: # if you distribute this file as part of a program or library that
                   20350: # is built using GNU Libtool, you may include this file under the
                   20351: # same distribution terms that you use for the rest of that program.
                   20352: #
                   20353: # GNU Libtool is distributed in the hope that it will be useful,
                   20354: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   20355: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   20356: # GNU General Public License for more details.
                   20357: #
                   20358: # You should have received a copy of the GNU General Public License
                   20359: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   20360: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   20361: # obtained by writing to the Free Software Foundation, Inc.,
                   20362: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   20363: 
                   20364: 
                   20365: # The names of the tagged configurations supported by this script.
                   20366: available_tags="CXX "
                   20367: 
                   20368: # ### BEGIN LIBTOOL CONFIG
                   20369: 
                   20370: # Which release of libtool.m4 was used?
                   20371: macro_version=$macro_version
                   20372: macro_revision=$macro_revision
                   20373: 
                   20374: # Assembler program.
                   20375: AS=$lt_AS
                   20376: 
                   20377: # DLL creation program.
                   20378: DLLTOOL=$lt_DLLTOOL
                   20379: 
                   20380: # Object dumper program.
                   20381: OBJDUMP=$lt_OBJDUMP
                   20382: 
1.145     moko     20383: # What type of objects to build.
                   20384: pic_mode=$pic_mode
                   20385: 
1.128     moko     20386: # Whether or not to build shared libraries.
                   20387: build_libtool_libs=$enable_shared
                   20388: 
1.138     moko     20389: # Whether or not to build static libraries.
                   20390: build_old_libs=$enable_static
                   20391: 
1.128     moko     20392: # Whether or not to optimize for fast installation.
                   20393: fast_install=$enable_fast_install
                   20394: 
                   20395: # Shell to use when invoking shell scripts.
                   20396: SHELL=$lt_SHELL
                   20397: 
                   20398: # An echo program that protects backslashes.
                   20399: ECHO=$lt_ECHO
                   20400: 
                   20401: # The PATH separator for the build system.
                   20402: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   20403: 
                   20404: # The host system.
                   20405: host_alias=$host_alias
                   20406: host=$host
                   20407: host_os=$host_os
                   20408: 
                   20409: # The build system.
                   20410: build_alias=$build_alias
                   20411: build=$build
                   20412: build_os=$build_os
                   20413: 
                   20414: # A sed program that does not truncate output.
                   20415: SED=$lt_SED
                   20416: 
                   20417: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   20418: Xsed="\$SED -e 1s/^X//"
                   20419: 
                   20420: # A grep program that handles long lines.
                   20421: GREP=$lt_GREP
                   20422: 
                   20423: # An ERE matcher.
                   20424: EGREP=$lt_EGREP
                   20425: 
                   20426: # A literal string matcher.
                   20427: FGREP=$lt_FGREP
                   20428: 
                   20429: # A BSD- or MS-compatible name lister.
                   20430: NM=$lt_NM
                   20431: 
                   20432: # Whether we need soft or hard links.
                   20433: LN_S=$lt_LN_S
                   20434: 
                   20435: # What is the maximum length of a command?
                   20436: max_cmd_len=$max_cmd_len
                   20437: 
                   20438: # Object file suffix (normally "o").
                   20439: objext=$ac_objext
                   20440: 
                   20441: # Executable file suffix (normally "").
                   20442: exeext=$exeext
                   20443: 
                   20444: # whether the shell understands "unset".
                   20445: lt_unset=$lt_unset
                   20446: 
                   20447: # turn spaces into newlines.
                   20448: SP2NL=$lt_lt_SP2NL
                   20449: 
                   20450: # turn newlines into spaces.
                   20451: NL2SP=$lt_lt_NL2SP
                   20452: 
                   20453: # convert \$build file names to \$host format.
                   20454: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   20455: 
                   20456: # convert \$build files to toolchain format.
                   20457: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   20458: 
                   20459: # Method to check whether dependent libraries are shared objects.
                   20460: deplibs_check_method=$lt_deplibs_check_method
                   20461: 
                   20462: # Command to use when deplibs_check_method = "file_magic".
                   20463: file_magic_cmd=$lt_file_magic_cmd
                   20464: 
                   20465: # How to find potential files when deplibs_check_method = "file_magic".
                   20466: file_magic_glob=$lt_file_magic_glob
                   20467: 
                   20468: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   20469: want_nocaseglob=$lt_want_nocaseglob
                   20470: 
                   20471: # Command to associate shared and link libraries.
                   20472: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   20473: 
                   20474: # The archiver.
                   20475: AR=$lt_AR
                   20476: 
                   20477: # Flags to create an archive.
                   20478: AR_FLAGS=$lt_AR_FLAGS
                   20479: 
                   20480: # How to feed a file listing to the archiver.
                   20481: archiver_list_spec=$lt_archiver_list_spec
                   20482: 
                   20483: # A symbol stripping program.
                   20484: STRIP=$lt_STRIP
                   20485: 
                   20486: # Commands used to install an old-style archive.
                   20487: RANLIB=$lt_RANLIB
                   20488: old_postinstall_cmds=$lt_old_postinstall_cmds
                   20489: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   20490: 
                   20491: # Whether to use a lock for old archive extraction.
                   20492: lock_old_archive_extraction=$lock_old_archive_extraction
                   20493: 
                   20494: # A C compiler.
                   20495: LTCC=$lt_CC
                   20496: 
                   20497: # LTCC compiler flags.
                   20498: LTCFLAGS=$lt_CFLAGS
                   20499: 
                   20500: # Take the output of nm and produce a listing of raw symbols and C names.
                   20501: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   20502: 
                   20503: # Transform the output of nm in a proper C declaration.
                   20504: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   20505: 
                   20506: # Transform the output of nm in a C name address pair.
                   20507: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   20508: 
                   20509: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   20510: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   20511: 
                   20512: # Specify filename containing input files for \$NM.
                   20513: nm_file_list_spec=$lt_nm_file_list_spec
                   20514: 
                   20515: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   20516: lt_sysroot=$lt_sysroot
                   20517: 
                   20518: # The name of the directory that contains temporary libtool files.
                   20519: objdir=$objdir
                   20520: 
                   20521: # Used to examine libraries when file_magic_cmd begins with "file".
                   20522: MAGIC_CMD=$MAGIC_CMD
                   20523: 
                   20524: # Must we lock files when doing compilation?
                   20525: need_locks=$lt_need_locks
                   20526: 
                   20527: # Manifest tool.
                   20528: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   20529: 
                   20530: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   20531: DSYMUTIL=$lt_DSYMUTIL
                   20532: 
                   20533: # Tool to change global to local symbols on Mac OS X.
                   20534: NMEDIT=$lt_NMEDIT
                   20535: 
                   20536: # Tool to manipulate fat objects and archives on Mac OS X.
                   20537: LIPO=$lt_LIPO
                   20538: 
                   20539: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   20540: OTOOL=$lt_OTOOL
                   20541: 
                   20542: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   20543: OTOOL64=$lt_OTOOL64
                   20544: 
                   20545: # Old archive suffix (normally "a").
                   20546: libext=$libext
                   20547: 
                   20548: # Shared library suffix (normally ".so").
                   20549: shrext_cmds=$lt_shrext_cmds
                   20550: 
                   20551: # The commands to extract the exported symbol list from a shared archive.
                   20552: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   20553: 
                   20554: # Variables whose values should be saved in libtool wrapper scripts and
                   20555: # restored at link time.
                   20556: variables_saved_for_relink=$lt_variables_saved_for_relink
                   20557: 
                   20558: # Do we need the "lib" prefix for modules?
                   20559: need_lib_prefix=$need_lib_prefix
                   20560: 
                   20561: # Do we need a version for libraries?
                   20562: need_version=$need_version
                   20563: 
                   20564: # Library versioning type.
                   20565: version_type=$version_type
                   20566: 
                   20567: # Shared library runtime path variable.
                   20568: runpath_var=$runpath_var
                   20569: 
                   20570: # Shared library path variable.
                   20571: shlibpath_var=$shlibpath_var
                   20572: 
                   20573: # Is shlibpath searched before the hard-coded library search path?
                   20574: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   20575: 
                   20576: # Format of library name prefix.
                   20577: libname_spec=$lt_libname_spec
                   20578: 
                   20579: # List of archive names.  First name is the real one, the rest are links.
                   20580: # The last name is the one that the linker finds with -lNAME
                   20581: library_names_spec=$lt_library_names_spec
                   20582: 
                   20583: # The coded name of the library, if different from the real name.
                   20584: soname_spec=$lt_soname_spec
                   20585: 
                   20586: # Permission mode override for installation of shared libraries.
                   20587: install_override_mode=$lt_install_override_mode
                   20588: 
                   20589: # Command to use after installation of a shared archive.
                   20590: postinstall_cmds=$lt_postinstall_cmds
                   20591: 
                   20592: # Command to use after uninstallation of a shared archive.
                   20593: postuninstall_cmds=$lt_postuninstall_cmds
                   20594: 
                   20595: # Commands used to finish a libtool library installation in a directory.
                   20596: finish_cmds=$lt_finish_cmds
                   20597: 
                   20598: # As "finish_cmds", except a single script fragment to be evaled but
                   20599: # not shown.
                   20600: finish_eval=$lt_finish_eval
                   20601: 
                   20602: # Whether we should hardcode library paths into libraries.
                   20603: hardcode_into_libs=$hardcode_into_libs
                   20604: 
                   20605: # Compile-time system search path for libraries.
                   20606: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   20607: 
                   20608: # Run-time system search path for libraries.
                   20609: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   20610: 
                   20611: # Whether dlopen is supported.
                   20612: dlopen_support=$enable_dlopen
                   20613: 
                   20614: # Whether dlopen of programs is supported.
                   20615: dlopen_self=$enable_dlopen_self
                   20616: 
                   20617: # Whether dlopen of statically linked programs is supported.
                   20618: dlopen_self_static=$enable_dlopen_self_static
                   20619: 
                   20620: # Commands to strip libraries.
                   20621: old_striplib=$lt_old_striplib
                   20622: striplib=$lt_striplib
                   20623: 
                   20624: 
                   20625: # The linker used to build libraries.
                   20626: LD=$lt_LD
                   20627: 
                   20628: # How to create reloadable object files.
                   20629: reload_flag=$lt_reload_flag
                   20630: reload_cmds=$lt_reload_cmds
                   20631: 
                   20632: # Commands used to build an old-style archive.
                   20633: old_archive_cmds=$lt_old_archive_cmds
                   20634: 
                   20635: # A language specific compiler.
                   20636: CC=$lt_compiler
                   20637: 
                   20638: # Is the compiler the GNU compiler?
                   20639: with_gcc=$GCC
                   20640: 
                   20641: # Compiler flag to turn off builtin functions.
                   20642: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   20643: 
                   20644: # Additional compiler flags for building library objects.
                   20645: pic_flag=$lt_lt_prog_compiler_pic
                   20646: 
                   20647: # How to pass a linker flag through the compiler.
                   20648: wl=$lt_lt_prog_compiler_wl
                   20649: 
                   20650: # Compiler flag to prevent dynamic linking.
                   20651: link_static_flag=$lt_lt_prog_compiler_static
                   20652: 
                   20653: # Does compiler simultaneously support -c and -o options?
                   20654: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   20655: 
                   20656: # Whether or not to add -lc for building shared libraries.
                   20657: build_libtool_need_lc=$archive_cmds_need_lc
                   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
                   20661: 
                   20662: # Compiler flag to allow reflexive dlopens.
                   20663: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   20664: 
                   20665: # Compiler flag to generate shared objects directly from archives.
                   20666: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   20667: 
                   20668: # Whether the compiler copes with passing no objects directly.
                   20669: compiler_needs_object=$lt_compiler_needs_object
                   20670: 
                   20671: # Create an old-style archive from a shared archive.
                   20672: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   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
                   20676: 
                   20677: # Commands used to build a shared archive.
                   20678: archive_cmds=$lt_archive_cmds
                   20679: archive_expsym_cmds=$lt_archive_expsym_cmds
                   20680: 
                   20681: # Commands used to build a loadable module if different from building
                   20682: # a shared archive.
                   20683: module_cmds=$lt_module_cmds
                   20684: module_expsym_cmds=$lt_module_expsym_cmds
                   20685: 
                   20686: # Whether we are building with GNU ld or not.
                   20687: with_gnu_ld=$lt_with_gnu_ld
                   20688: 
                   20689: # Flag that allows shared libraries with undefined symbols to be built.
                   20690: allow_undefined_flag=$lt_allow_undefined_flag
                   20691: 
                   20692: # Flag that enforces no undefined symbols.
                   20693: no_undefined_flag=$lt_no_undefined_flag
                   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
                   20698: 
                   20699: # Whether we need a single "-rpath" flag with a separated argument.
                   20700: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   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
                   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
                   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
                   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
                   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
                   20724: 
                   20725: # Set to yes if linker adds runtime paths of dependent libraries
                   20726: # to runtime path list.
                   20727: inherit_rpath=$inherit_rpath
                   20728: 
                   20729: # Whether libtool must link a program against all its dependency libraries.
                   20730: link_all_deplibs=$link_all_deplibs
                   20731: 
                   20732: # Set to "yes" if exported symbols are required.
                   20733: always_export_symbols=$always_export_symbols
                   20734: 
                   20735: # The commands to list exported symbols.
                   20736: export_symbols_cmds=$lt_export_symbols_cmds
                   20737: 
                   20738: # Symbols that should not be listed in the preloaded symbols.
                   20739: exclude_expsyms=$lt_exclude_expsyms
                   20740: 
                   20741: # Symbols that must always be exported.
                   20742: include_expsyms=$lt_include_expsyms
                   20743: 
                   20744: # Commands necessary for linking programs (against libraries) with templates.
                   20745: prelink_cmds=$lt_prelink_cmds
                   20746: 
                   20747: # Commands necessary for finishing linking programs.
                   20748: postlink_cmds=$lt_postlink_cmds
                   20749: 
                   20750: # Specify filename containing input files.
                   20751: file_list_spec=$lt_file_list_spec
                   20752: 
                   20753: # How to hardcode a shared library path into an executable.
                   20754: hardcode_action=$hardcode_action
                   20755: 
                   20756: # The directories searched by this compiler when creating a shared library.
                   20757: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20758: 
                   20759: # Dependencies to place before and after the objects being linked to
                   20760: # create a shared library.
                   20761: predep_objects=$lt_predep_objects
                   20762: postdep_objects=$lt_postdep_objects
                   20763: predeps=$lt_predeps
                   20764: postdeps=$lt_postdeps
                   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
                   20769: 
                   20770: # ### END LIBTOOL CONFIG
                   20771: 
                   20772: _LT_EOF
                   20773: 
                   20774:   case $host_os in
                   20775:   aix3*)
                   20776:     cat <<\_LT_EOF >> "$cfgfile"
                   20777: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20778: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20779: # vanish in a puff of smoke.
                   20780: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20781:   COLLECT_NAMES=
                   20782:   export COLLECT_NAMES
                   20783: fi
                   20784: _LT_EOF
                   20785:     ;;
                   20786:   esac
                   20787: 
                   20788: 
                   20789: ltmain="$ac_aux_dir/ltmain.sh"
                   20790: 
                   20791: 
                   20792:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20793:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20794:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20795:   # is reportedly fixed, but why not run on old versions too?
                   20796:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20797:      || (rm -f "$cfgfile"; exit 1)
                   20798: 
                   20799:   if test x"$xsi_shell" = xyes; then
                   20800:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20801: func_dirname ()\
                   20802: {\
                   20803: \    case ${1} in\
                   20804: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20805: \      *  ) func_dirname_result="${3}" ;;\
                   20806: \    esac\
                   20807: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20808:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20809:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20810: test 0 -eq $? || _lt_function_replace_fail=:
                   20811: 
                   20812: 
                   20813:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20814: func_basename ()\
                   20815: {\
                   20816: \    func_basename_result="${1##*/}"\
                   20817: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20818:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20819:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20820: test 0 -eq $? || _lt_function_replace_fail=:
                   20821: 
                   20822: 
                   20823:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20824: func_dirname_and_basename ()\
                   20825: {\
                   20826: \    case ${1} in\
                   20827: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20828: \      *  ) func_dirname_result="${3}" ;;\
                   20829: \    esac\
                   20830: \    func_basename_result="${1##*/}"\
                   20831: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20832:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20833:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20834: test 0 -eq $? || _lt_function_replace_fail=:
                   20835: 
                   20836: 
                   20837:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20838: func_stripname ()\
                   20839: {\
                   20840: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20841: \    # positional parameters, so assign one to ordinary parameter first.\
                   20842: \    func_stripname_result=${3}\
                   20843: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20844: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20845: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20846:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20847:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20848: test 0 -eq $? || _lt_function_replace_fail=:
                   20849: 
                   20850: 
                   20851:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20852: func_split_long_opt ()\
                   20853: {\
                   20854: \    func_split_long_opt_name=${1%%=*}\
                   20855: \    func_split_long_opt_arg=${1#*=}\
                   20856: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20857:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20858:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20859: test 0 -eq $? || _lt_function_replace_fail=:
                   20860: 
                   20861: 
                   20862:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20863: func_split_short_opt ()\
                   20864: {\
                   20865: \    func_split_short_opt_arg=${1#??}\
                   20866: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20867: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20868:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20869:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20870: test 0 -eq $? || _lt_function_replace_fail=:
                   20871: 
                   20872: 
                   20873:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20874: func_lo2o ()\
                   20875: {\
                   20876: \    case ${1} in\
                   20877: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20878: \      *)    func_lo2o_result=${1} ;;\
                   20879: \    esac\
                   20880: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20881:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20882:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20883: test 0 -eq $? || _lt_function_replace_fail=:
                   20884: 
                   20885: 
                   20886:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20887: func_xform ()\
                   20888: {\
                   20889:     func_xform_result=${1%.*}.lo\
                   20890: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20891:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20892:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20893: test 0 -eq $? || _lt_function_replace_fail=:
                   20894: 
                   20895: 
                   20896:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20897: func_arith ()\
                   20898: {\
                   20899:     func_arith_result=$(( $* ))\
                   20900: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20901:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20902:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20903: test 0 -eq $? || _lt_function_replace_fail=:
                   20904: 
                   20905: 
                   20906:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20907: func_len ()\
                   20908: {\
                   20909:     func_len_result=${#1}\
                   20910: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20911:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20912:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20913: test 0 -eq $? || _lt_function_replace_fail=:
                   20914: 
                   20915: fi
                   20916: 
                   20917: if test x"$lt_shell_append" = xyes; then
                   20918:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20919: func_append ()\
                   20920: {\
                   20921:     eval "${1}+=\\${2}"\
                   20922: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20923:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20924:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20925: test 0 -eq $? || _lt_function_replace_fail=:
                   20926: 
                   20927: 
                   20928:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20929: func_append_quoted ()\
                   20930: {\
                   20931: \    func_quote_for_eval "${2}"\
                   20932: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20933: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20934:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20935:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20936: test 0 -eq $? || _lt_function_replace_fail=:
                   20937: 
                   20938: 
                   20939:   # Save a `func_append' function call where possible by direct use of '+='
                   20940:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20941:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20942:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20943:   test 0 -eq $? || _lt_function_replace_fail=:
                   20944: else
                   20945:   # Save a `func_append' function call even when '+=' is not available
                   20946:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20947:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20948:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20949:   test 0 -eq $? || _lt_function_replace_fail=:
                   20950: fi
                   20951: 
                   20952: if test x"$_lt_function_replace_fail" = x":"; then
1.150     moko     20953:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20954: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.128     moko     20955: fi
                   20956: 
                   20957: 
                   20958:    mv -f "$cfgfile" "$ofile" ||
                   20959:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20960:   chmod +x "$ofile"
                   20961: 
                   20962: 
                   20963:     cat <<_LT_EOF >> "$ofile"
                   20964: 
                   20965: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20966: 
                   20967: # The linker used to build libraries.
                   20968: LD=$lt_LD_CXX
                   20969: 
                   20970: # How to create reloadable object files.
                   20971: reload_flag=$lt_reload_flag_CXX
                   20972: reload_cmds=$lt_reload_cmds_CXX
                   20973: 
                   20974: # Commands used to build an old-style archive.
                   20975: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20976: 
                   20977: # A language specific compiler.
                   20978: CC=$lt_compiler_CXX
                   20979: 
                   20980: # Is the compiler the GNU compiler?
                   20981: with_gcc=$GCC_CXX
                   20982: 
                   20983: # Compiler flag to turn off builtin functions.
                   20984: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20985: 
                   20986: # Additional compiler flags for building library objects.
                   20987: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20988: 
                   20989: # How to pass a linker flag through the compiler.
                   20990: wl=$lt_lt_prog_compiler_wl_CXX
                   20991: 
                   20992: # Compiler flag to prevent dynamic linking.
                   20993: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20994: 
                   20995: # Does compiler simultaneously support -c and -o options?
                   20996: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20997: 
                   20998: # Whether or not to add -lc for building shared libraries.
                   20999: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   21000: 
                   21001: # Whether or not to disallow shared libs when runtime libs are static.
                   21002: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   21003: 
                   21004: # Compiler flag to allow reflexive dlopens.
                   21005: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   21006: 
                   21007: # Compiler flag to generate shared objects directly from archives.
                   21008: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   21009: 
                   21010: # Whether the compiler copes with passing no objects directly.
                   21011: compiler_needs_object=$lt_compiler_needs_object_CXX
                   21012: 
                   21013: # Create an old-style archive from a shared archive.
                   21014: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   21015: 
                   21016: # Create a temporary old-style archive to link instead of a shared archive.
                   21017: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   21018: 
                   21019: # Commands used to build a shared archive.
                   21020: archive_cmds=$lt_archive_cmds_CXX
                   21021: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   21022: 
                   21023: # Commands used to build a loadable module if different from building
                   21024: # a shared archive.
                   21025: module_cmds=$lt_module_cmds_CXX
                   21026: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   21027: 
                   21028: # Whether we are building with GNU ld or not.
                   21029: with_gnu_ld=$lt_with_gnu_ld_CXX
                   21030: 
                   21031: # Flag that allows shared libraries with undefined symbols to be built.
                   21032: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   21033: 
                   21034: # Flag that enforces no undefined symbols.
                   21035: no_undefined_flag=$lt_no_undefined_flag_CXX
                   21036: 
                   21037: # Flag to hardcode \$libdir into a binary during linking.
                   21038: # This must work even if \$libdir does not exist
                   21039: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   21040: 
                   21041: # Whether we need a single "-rpath" flag with a separated argument.
                   21042: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   21043: 
                   21044: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21045: # DIR into the resulting binary.
                   21046: hardcode_direct=$hardcode_direct_CXX
                   21047: 
                   21048: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   21049: # DIR into the resulting binary and the resulting library dependency is
                   21050: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   21051: # library is relocated.
                   21052: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   21053: 
                   21054: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   21055: # into the resulting binary.
                   21056: hardcode_minus_L=$hardcode_minus_L_CXX
                   21057: 
                   21058: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   21059: # into the resulting binary.
                   21060: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   21061: 
                   21062: # Set to "yes" if building a shared library automatically hardcodes DIR
                   21063: # into the library and all subsequent libraries and executables linked
                   21064: # against it.
                   21065: hardcode_automatic=$hardcode_automatic_CXX
                   21066: 
                   21067: # Set to yes if linker adds runtime paths of dependent libraries
                   21068: # to runtime path list.
                   21069: inherit_rpath=$inherit_rpath_CXX
                   21070: 
                   21071: # Whether libtool must link a program against all its dependency libraries.
                   21072: link_all_deplibs=$link_all_deplibs_CXX
                   21073: 
                   21074: # Set to "yes" if exported symbols are required.
                   21075: always_export_symbols=$always_export_symbols_CXX
                   21076: 
                   21077: # The commands to list exported symbols.
                   21078: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   21079: 
                   21080: # Symbols that should not be listed in the preloaded symbols.
                   21081: exclude_expsyms=$lt_exclude_expsyms_CXX
                   21082: 
                   21083: # Symbols that must always be exported.
                   21084: include_expsyms=$lt_include_expsyms_CXX
                   21085: 
                   21086: # Commands necessary for linking programs (against libraries) with templates.
                   21087: prelink_cmds=$lt_prelink_cmds_CXX
                   21088: 
                   21089: # Commands necessary for finishing linking programs.
                   21090: postlink_cmds=$lt_postlink_cmds_CXX
                   21091: 
                   21092: # Specify filename containing input files.
                   21093: file_list_spec=$lt_file_list_spec_CXX
                   21094: 
                   21095: # How to hardcode a shared library path into an executable.
                   21096: hardcode_action=$hardcode_action_CXX
                   21097: 
                   21098: # The directories searched by this compiler when creating a shared library.
                   21099: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
                   21100: 
                   21101: # Dependencies to place before and after the objects being linked to
                   21102: # create a shared library.
                   21103: predep_objects=$lt_predep_objects_CXX
                   21104: postdep_objects=$lt_postdep_objects_CXX
                   21105: predeps=$lt_predeps_CXX
                   21106: postdeps=$lt_postdeps_CXX
                   21107: 
                   21108: # The library search path used internally by the compiler when linking
                   21109: # a shared library.
                   21110: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
                   21111: 
                   21112: # ### END LIBTOOL TAG CONFIG: CXX
                   21113: _LT_EOF
                   21114: 
                   21115:  ;;
1.150     moko     21116: 
1.62      paf      21117:   esac
1.150     moko     21118: done # for ac_tag
1.62      paf      21119: 
                   21120: 
1.150     moko     21121: as_fn_exit 0
1.62      paf      21122: _ACEOF
                   21123: ac_clean_files=$ac_clean_files_save
                   21124: 
1.150     moko     21125: test $ac_write_fail = 0 ||
                   21126:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   21127: 
1.1       paf      21128: 
1.62      paf      21129: # configure is writing to config.log, and then calls config.status.
                   21130: # config.status does its own redirection, appending to config.log.
                   21131: # Unfortunately, on DOS this fails, as config.log is still kept open
                   21132: # by configure, so config.status won't be able to write to it; its
                   21133: # output is simply discarded.  So we exec the FD to /dev/null,
                   21134: # effectively closing config.log, so it can be properly (re)opened and
                   21135: # appended to by config.status.  When coming back to configure, we
                   21136: # need to make the FD available again.
                   21137: if test "$no_create" != yes; then
                   21138:   ac_cs_success=:
                   21139:   ac_config_status_args=
                   21140:   test "$silent" = yes &&
                   21141:     ac_config_status_args="$ac_config_status_args --quiet"
                   21142:   exec 5>/dev/null
                   21143:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   21144:   exec 5>>config.log
                   21145:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   21146:   # would make configure fail if this is the last instruction.
1.150     moko     21147:   $ac_cs_success || as_fn_exit 1
1.62      paf      21148: fi
                   21149: 
                   21150: #
                   21151: # CONFIG_SUBDIRS section.
                   21152: #
1.1       paf      21153: if test "$no_recursion" != yes; then
                   21154: 
1.150     moko     21155:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   21156:   # so they do not pile up.
1.1       paf      21157:   ac_sub_configure_args=
                   21158:   ac_prev=
1.150     moko     21159:   eval "set x $ac_configure_args"
                   21160:   shift
                   21161:   for ac_arg
                   21162:   do
1.1       paf      21163:     if test -n "$ac_prev"; then
                   21164:       ac_prev=
                   21165:       continue
                   21166:     fi
1.62      paf      21167:     case $ac_arg in
1.1       paf      21168:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   21169:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   21170:       ac_prev=cache_file ;;
                   21171:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.62      paf      21172:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   21173:     | --c=*)
                   21174:       ;;
                   21175:     --config-cache | -C)
1.1       paf      21176:       ;;
                   21177:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   21178:       ac_prev=srcdir ;;
                   21179:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   21180:       ;;
1.62      paf      21181:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   21182:       ac_prev=prefix ;;
                   21183:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   21184:       ;;
1.150     moko     21185:     --disable-option-checking)
                   21186:       ;;
                   21187:     *)
                   21188:       case $ac_arg in
                   21189:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21190:       esac
                   21191:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
1.1       paf      21192:     esac
                   21193:   done
                   21194: 
1.62      paf      21195:   # Always prepend --prefix to ensure using the same prefix
                   21196:   # in subdir configurations.
1.150     moko     21197:   ac_arg="--prefix=$prefix"
                   21198:   case $ac_arg in
                   21199:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21200:   esac
                   21201:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   21202: 
                   21203:   # Pass --silent
                   21204:   if test "$silent" = yes; then
                   21205:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   21206:   fi
                   21207: 
                   21208:   # Always prepend --disable-option-checking to silence warnings, since
                   21209:   # different subdirs can have different --enable and --with options.
                   21210:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
1.62      paf      21211: 
                   21212:   ac_popdir=`pwd`
                   21213:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       paf      21214: 
                   21215:     # Do not complain, so a configure script can configure whichever
                   21216:     # parts of a large source tree are present.
1.150     moko     21217:     test -d "$srcdir/$ac_dir" || continue
1.62      paf      21218: 
1.150     moko     21219:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   21220:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   21221:     $as_echo "$ac_msg" >&6
                   21222:     as_dir="$ac_dir"; as_fn_mkdir_p
1.62      paf      21223:     ac_builddir=.
                   21224: 
1.150     moko     21225: case "$ac_dir" in
                   21226: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21227: *)
                   21228:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   21229:   # A ".." for each directory in $ac_dir_suffix.
                   21230:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   21231:   case $ac_top_builddir_sub in
                   21232:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   21233:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   21234:   esac ;;
                   21235: esac
                   21236: ac_abs_top_builddir=$ac_pwd
                   21237: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   21238: # for backward compatibility:
                   21239: ac_top_builddir=$ac_top_build_prefix
1.62      paf      21240: 
                   21241: case $srcdir in
1.150     moko     21242:   .)  # We are building in place.
1.62      paf      21243:     ac_srcdir=.
1.150     moko     21244:     ac_top_srcdir=$ac_top_builddir_sub
                   21245:     ac_abs_top_srcdir=$ac_pwd ;;
                   21246:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.62      paf      21247:     ac_srcdir=$srcdir$ac_dir_suffix;
1.150     moko     21248:     ac_top_srcdir=$srcdir
                   21249:     ac_abs_top_srcdir=$srcdir ;;
                   21250:   *) # Relative name.
                   21251:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   21252:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   21253:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1.86      paf      21254: esac
1.150     moko     21255: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       paf      21256: 
                   21257: 
1.150     moko     21258:     cd "$ac_dir"
1.1       paf      21259: 
                   21260:     # Check for guested configure; otherwise get Cygnus style configure.
1.150     moko     21261:     if test -f "$ac_srcdir/configure.gnu"; then
                   21262:       ac_sub_configure=$ac_srcdir/configure.gnu
                   21263:     elif test -f "$ac_srcdir/configure"; then
                   21264:       ac_sub_configure=$ac_srcdir/configure
                   21265:     elif test -f "$ac_srcdir/configure.in"; then
                   21266:       # This should be Cygnus configure.
                   21267:       ac_sub_configure=$ac_aux_dir/configure
1.1       paf      21268:     else
1.150     moko     21269:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   21270: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       paf      21271:       ac_sub_configure=
                   21272:     fi
                   21273: 
                   21274:     # The recursion is here.
                   21275:     if test -n "$ac_sub_configure"; then
                   21276:       # Make the cache file name correct relative to the subdirectory.
1.62      paf      21277:       case $cache_file in
                   21278:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.150     moko     21279:       *) # Relative name.
                   21280:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
1.1       paf      21281:       esac
                   21282: 
1.150     moko     21283:       { $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
                   21284: $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      21285:       # The eval makes quoting arguments work.
1.150     moko     21286:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   21287:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   21288:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
1.1       paf      21289:     fi
                   21290: 
1.150     moko     21291:     cd "$ac_popdir"
1.1       paf      21292:   done
                   21293: fi
1.150     moko     21294: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   21295:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   21296: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   21297: fi
1.1       paf      21298: 

E-mail: